java.lang.Object
java.lang.Enum<TranslateReader.S>
net.i2p.util.TranslateReader.S
All Implemented Interfaces:
Serializable, Comparable<TranslateReader.S>, java.lang.constant.Constable
Enclosing class:
TranslateReader

private static enum TranslateReader.Sextends Enum<TranslateReader.S>
The states of the parser, all of which may transition to START.
  • Enum Constant Details

    • START

      public static final TranslateReader.S START
      Looking for the start of a tag.
    • UNDER

      public static final TranslateReader.S UNDER
      Inside a tag name, before the parenthesis.
    • LPAREN

      public static final TranslateReader.S LPAREN
      Inside the parenthesis, before the quoted text.
    • QUOTE

      public static final TranslateReader.S QUOTE
      Inside the quoted text.
    • BACK

      public static final TranslateReader.S BACK
      Inside the quoted text, after a backslash.
  • Constructor Details

    • S

      private S()
  • Method Details

    • values

      public static TranslateReader.S[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TranslateReader.S valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null