public class ByteArrayISO8859Writer extends Writer
Constructor and Description |
---|
ByteArrayISO8859Writer()
Constructor.
|
ByteArrayISO8859Writer(byte[] buf) |
ByteArrayISO8859Writer(int capacity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
capacity() |
void |
close() |
void |
destroy() |
void |
ensureSpareCapacity(int n) |
void |
flush() |
byte[] |
getBuf() |
byte[] |
getByteArray() |
Object |
getLock() |
void |
resetWriter() |
void |
setLength(int l) |
int |
size() |
int |
spareCapacity() |
void |
write(char c) |
void |
write(char[] ca) |
void |
write(char[] ca,
int offset,
int length) |
void |
write(String s) |
void |
write(String s,
int offset,
int length) |
void |
writeTo(OutputStream out) |
public ByteArrayISO8859Writer()
public ByteArrayISO8859Writer(int capacity)
capacity
- Buffer capacitypublic ByteArrayISO8859Writer(byte[] buf)
public Object getLock()
public int size()
public int capacity()
public int spareCapacity()
public void setLength(int l)
public byte[] getBuf()
public void writeTo(OutputStream out) throws IOException
IOException
public void write(char c) throws IOException
IOException
public void write(char[] ca) throws IOException
write
in class Writer
IOException
public void write(char[] ca, int offset, int length) throws IOException
write
in class Writer
IOException
public void write(String s) throws IOException
write
in class Writer
IOException
public void write(String s, int offset, int length) throws IOException
write
in class Writer
IOException
public void flush()
public void resetWriter()
public void close()
public void destroy()
public void ensureSpareCapacity(int n) throws IOException
IOException
public byte[] getByteArray()
Copyright © 1995-2015 Webtide. All Rights Reserved.