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 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 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

      abstract String handleNextLine()
      Subclass method to return the next line of the source.