Documentation of 'us.bpsm.edn.parser.Parseable' Java class
Parseable
us.bpsm.edn.parser

Interface Parseable

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable


    public interface Parseable
    extends java.io.Closeable
    An edn Parser parses text from Objects implementing this interface. The class Parsers provides facotry methods for this type.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int END_OF_INPUT
      The value returned by read() to indicate the end of input available through this Parseable.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      int read()
      Read and return the next character from this Parseable as a non-negative integer, or END_OF_INPUT.
      void unread(int ch)
      Unread ch, such that the next call to read() will return ch.
      • Methods inherited from interface java.io.Closeable

        close
    • Field Detail

      • END_OF_INPUT

        static final int END_OF_INPUT
        The value returned by read() to indicate the end of input available through this Parseable.
        See Also:
        Constant Field Values
    • Method Detail

      • read

        int read()
          throws java.io.IOException
        Read and return the next character from this Parseable as a non-negative integer, or END_OF_INPUT.
        Throws:
        java.io.IOException
      • unread

        void unread(int ch)
             throws java.io.IOException
        Unread ch, such that the next call to read() will return ch. Unread can be used to unread at most one character of input.

        The behavior of calling unread before the first call to read() is undefined. The behavior of calling unread(ch) with something other than ch returned by the most recent call to read() is undefined. The behavior of calling unread(ch) more than once without an intervening call to read() is undefined.

        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.