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) |
protected void |
finalize() |
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
IOExceptionpublic void write(char c)
throws IOException
IOExceptionpublic void write(char[] ca)
throws IOException
write in class WriterIOExceptionpublic void write(char[] ca,
int offset,
int length)
throws IOException
write in class WriterIOExceptionpublic void write(String s) throws IOException
write in class WriterIOExceptionpublic void write(String s, int offset, int length) throws IOException
write in class WriterIOExceptionpublic void flush()
public void resetWriter()
public void close()
public void destroy()
public void ensureSpareCapacity(int n)
throws IOException
IOExceptionpublic byte[] getByteArray()
Copyright © 2014. All rights reserved.