Interface IRtfSource

  • All Known Implementing Classes:
    RtfStreamSource, RtfStringSource

    public interface IRtfSource
    Classes implementing this interface can be used as the source of RTF data for the parser to consume.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int read()
      Read a single byte.
      int read​(byte[] b)
      Read enough bytes to fill the array.
      void unread​(int c)
      Push back a single byte to allow it to be read again by the parser.
    • Method Detail

      • read

        int read()
          throws java.io.IOException
        Read a single byte.
        Throws:
        java.io.IOException
      • unread

        void unread​(int c)
             throws java.io.IOException
        Push back a single byte to allow it to be read again by the parser.
        Throws:
        java.io.IOException
      • read

        int read​(byte[] b)
          throws java.io.IOException
        Read enough bytes to fill the array.
        Throws:
        java.io.IOException