Package org.a11y.brlapi
Class Strings
java.lang.Object
org.a11y.brlapi.Strings
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
compressEmptyLines
(String text) static String
compressWhitespace
(String text) static int
findNonemptyLine
(CharSequence text) static int
static String
formatParagraphs
(String text) static String
formatParagraphs
(String text, int width) static Matcher
getMatcher
(String expression, String text) static Pattern
getPattern
(String expression) static boolean
isAbbreviation
(String actual, String supplied) static String
static String
replaceAll
(String text, String expression, String replacement) static String
-
Method Details
-
isAbbreviation
-
getPattern
-
getMatcher
-
replaceAll
-
wordify
-
findNonemptyLine
-
findTrailingWhitespace
-
removeTrailingWhitespace
-
compressWhitespace
-
compressEmptyLines
-
formatParagraphs
-
formatParagraphs
-