Class PropertiesParser

java.lang.Object
aQute.lib.utf8properties.PropertiesParser

final class PropertiesParser extends Object
  • Field Details

    • source

      private final char[] source
    • length

      private final int length
    • reporter

      private final Reporter reporter
    • file

      private final String file
    • MIN_DELIMETER

      private static final char MIN_DELIMETER
      See Also:
    • MAX_DELIMETER

      private static final char MAX_DELIMETER
      See Also:
    • INFO

      private static final byte[] INFO
    • WS

      private static final byte WS
      See Also:
    • KEY

      private static final byte KEY
      See Also:
    • LINE

      private static final byte LINE
      See Also:
    • NOKEY

      private static final byte NOKEY
      See Also:
    • n

      private int n
    • line

      private int line
    • pos

      private int pos
    • marker

      private int marker
    • current

      private char current
    • properties

      private Properties properties
    • validKey

      private boolean validKey
    • continuation

      private boolean continuation
    • syntaxHeaders

      private String[] syntaxHeaders
  • Constructor Details

  • Method Details

    • hasNext

      boolean hasNext()
    • next

      char next()
    • skip

      void skip(byte delimeters)
    • peek

      char peek()
    • parse

      void parse()
    • isSyntaxHeader

      private boolean isSyntaxHeader(String key)
    • skipWhitespace

      private void skipWhitespace()
    • isEmptyOrComment

      public boolean isEmptyOrComment(char c)
    • skipLine

      public void skipLine()
    • token

      private String token(byte delimeters, boolean check)
    • isQuote

      private boolean isQuote(char tmp)
    • isEven

      private boolean isEven(int count)
    • countBackslashesAtEnd

      private int countBackslashesAtEnd(StringBuilder sb)
    • invalidWhitespace

      private void invalidWhitespace(int quote, String type)
    • key

      private String key()
    • isIn

      private boolean isIn(byte delimeters)
    • backslash

      private char backslash()
    • error

      private void error(String msg, Object... args)
    • context

      private String context()
    • setSyntaxHeaders

      public void setSyntaxHeaders(String[] syntaxHeaders)