Class ByteArrayISO8859Writer

java.lang.Object
java.io.Writer
org.eclipse.jetty.util.ByteArrayISO8859Writer
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

@Deprecated(since="2021-05-27") public class ByteArrayISO8859Writer extends 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.
  • Constructor Details

    • ByteArrayISO8859Writer

      public ByteArrayISO8859Writer()
      Deprecated.
      Constructor.
    • ByteArrayISO8859Writer

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

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

    • getLock

      public 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(OutputStream out) throws IOException
      Deprecated.
      Throws:
      IOException
    • write

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

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

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

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

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

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

      public void resetWriter()
      Deprecated.
    • close

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

      public void destroy()
      Deprecated.
    • ensureSpareCapacity

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

      public byte[] getByteArray()
      Deprecated.