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
private abstract static class TransliteratorParser.RuleBody extends java.lang.Object
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 Modifier Constructor Description private
RuleBody()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract java.lang.String
handleNextLine()
Subclass method to return the next line of the source.(package private) java.lang.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.
-
-
-
Method Detail
-
nextLine
java.lang.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
abstract java.lang.String handleNextLine()
Subclass method to return the next line of the source.
-
-