Package com.ibm.icu.text
Class TransliteratorParser.RuleBody
java.lang.Object
com.ibm.icu.text.TransliteratorParser.RuleBody
- Direct Known Subclasses:
TransliteratorParser.RuleArray
- Enclosing class:
TransliteratorParser
A private abstract class representing the interface to rule
source code that is broken up into lines. Handles the
folding of lines terminated by a backslash. This folding
is limited; it does not account for comments, quotes, or
escapes, so its use to be limited.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract String
Subclass method to return the next line of the source.(package private) String
nextLine()
Retrieve the next line of the source, or return null if none.(package private) abstract void
reset()
Reset to the first line of the source.
-
Constructor Details
-
RuleBody
private RuleBody()
-
-
Method Details
-
nextLine
String nextLine()Retrieve the next line of the source, or return null if none. Folds lines terminated by a backslash into the next line, without regard for comments, quotes, or escapes. -
reset
abstract void reset()Reset to the first line of the source. -
handleNextLine
Subclass method to return the next line of the source.
-