Class GenericWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable
    Direct Known Subclasses:
    AbstractByteWriter, ForwardWriter, JavaWriterWriter

    public abstract class GenericWriter
    extends java.io.Writer
    This is a basic writer for presenting text. Its has the pattern as java.io.Writer, but it allows for more overrides for speed. This introduces additional interfaces in addition to the java.lang.Writer. The purpose is to allow for optimizations.
    Since:
    5.2
    Author:
    baldersheim
    • Constructor Detail

      • GenericWriter

        public GenericWriter()
    • Method Detail

      • write

        public GenericWriter write​(char c)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public GenericWriter write​(java.lang.CharSequence s)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public GenericWriter write​(long i)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public GenericWriter write​(short i)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public GenericWriter write​(byte i)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public GenericWriter write​(double i)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public GenericWriter write​(float i)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public GenericWriter write​(boolean i)
                            throws java.io.IOException
        Throws:
        java.io.IOException