Class ByteArrayISO8859Writer

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

    @Deprecated(since="2021-05-27")
    public class ByteArrayISO8859Writer
    extends java.io.Writer
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Byte Array ISO 8859 writer. This class combines the features of a OutputStreamWriter for ISO8859 encoding with that of a ByteArrayOutputStream. It avoids many inefficiencies associated with these standard library classes. It has been optimized for standard ASCII characters.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int capacity()
      Deprecated.
       
      void close()
      Deprecated.
       
      void destroy()
      Deprecated.
       
      void ensureSpareCapacity​(int n)
      Deprecated.
       
      void flush()
      Deprecated.
       
      byte[] getBuf()
      Deprecated.
       
      byte[] getByteArray()
      Deprecated.
       
      java.lang.Object getLock()
      Deprecated.
       
      void resetWriter()
      Deprecated.
       
      void setLength​(int l)
      Deprecated.
       
      int size()
      Deprecated.
       
      int spareCapacity()
      Deprecated.
       
      void write​(char c)
      Deprecated.
       
      void write​(char[] ca)
      Deprecated.
       
      void write​(char[] ca, int offset, int length)
      Deprecated.
       
      void write​(java.lang.String s)
      Deprecated.
       
      void write​(java.lang.String s, int offset, int length)
      Deprecated.
       
      void writeTo​(java.io.OutputStream out)
      Deprecated.
       
      • Methods inherited from class java.io.Writer

        append, append, append, nullWriter, write
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteArrayISO8859Writer

        public ByteArrayISO8859Writer()
        Deprecated.
        Constructor.
      • ByteArrayISO8859Writer

        public ByteArrayISO8859Writer​(int capacity)
        Deprecated.
        Constructor.
        Parameters:
        capacity - Buffer capacity
      • ByteArrayISO8859Writer

        public ByteArrayISO8859Writer​(byte[] buf)
        Deprecated.
    • Method Detail

      • getLock

        public java.lang.Object getLock()
        Deprecated.
      • size

        public int size()
        Deprecated.
      • capacity

        public int capacity()
        Deprecated.
      • spareCapacity

        public int spareCapacity()
        Deprecated.
      • setLength

        public void setLength​(int l)
        Deprecated.
      • getBuf

        public byte[] getBuf()
        Deprecated.
      • writeTo

        public void writeTo​(java.io.OutputStream out)
                     throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • write

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

        public void write​(char[] ca)
                   throws java.io.IOException
        Deprecated.
        Overrides:
        write in class java.io.Writer
        Throws:
        java.io.IOException
      • write

        public void write​(char[] ca,
                          int offset,
                          int length)
                   throws java.io.IOException
        Deprecated.
        Specified by:
        write in class java.io.Writer
        Throws:
        java.io.IOException
      • write

        public void write​(java.lang.String s)
                   throws java.io.IOException
        Deprecated.
        Overrides:
        write in class java.io.Writer
        Throws:
        java.io.IOException
      • write

        public void write​(java.lang.String s,
                          int offset,
                          int length)
                   throws java.io.IOException
        Deprecated.
        Overrides:
        write in class java.io.Writer
        Throws:
        java.io.IOException
      • flush

        public void flush()
        Deprecated.
        Specified by:
        flush in interface java.io.Flushable
        Specified by:
        flush in class java.io.Writer
      • resetWriter

        public void resetWriter()
        Deprecated.
      • close

        public void close()
        Deprecated.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in class java.io.Writer
      • destroy

        public void destroy()
        Deprecated.
      • ensureSpareCapacity

        public void ensureSpareCapacity​(int n)
                                 throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getByteArray

        public byte[] getByteArray()
        Deprecated.