Class StructuredFieldParser

    • Constructor Detail

      • StructuredFieldParser

        public StructuredFieldParser​(InputStream stream)
        Constructor with InputStream.
      • StructuredFieldParser

        public StructuredFieldParser​(InputStream stream,
                                     String encoding)
        Constructor with InputStream and supplied encoding
      • StructuredFieldParser

        public StructuredFieldParser​(Reader stream)
        Constructor.
    • Method Detail

      • isFoldingPreserved

        public boolean isFoldingPreserved()
        Should the \r\n folding sequence be preserved?
      • setFoldingPreserved

        public void setFoldingPreserved​(boolean preserveFolding)
        Sets whether the \r\n folding sequence should be preserved.
      • ReInit

        public void ReInit​(InputStream stream)
        Reinitialise.
      • ReInit

        public void ReInit​(InputStream stream,
                           String encoding)
        Reinitialise.
      • ReInit

        public void ReInit​(Reader stream)
        Reinitialise.
      • getNextToken

        public final Token getNextToken()
        Get the next Token.
      • getToken

        public final Token getToken​(int index)
        Get the specific Token.
      • generateParseException

        public ParseException generateParseException()
        Generate ParseException.
      • trace_enabled

        public final boolean trace_enabled()
        Trace enabled.
      • enable_tracing

        public final void enable_tracing()
        Enable tracing.
      • disable_tracing

        public final void disable_tracing()
        Disable tracing.