public class ByteArrayISO8859Writer
extends java.io.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() |
java.lang.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(java.lang.String s) |
void |
write(java.lang.String s,
int offset,
int length) |
void |
writeTo(java.io.OutputStream out) |
public ByteArrayISO8859Writer()
public ByteArrayISO8859Writer(int capacity)
capacity - Buffer capacitypublic ByteArrayISO8859Writer(byte[] buf)
public java.lang.Object getLock()
public int size()
public int capacity()
public int spareCapacity()
public void setLength(int l)
public byte[] getBuf()
public void writeTo(java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic void write(char c)
throws java.io.IOException
java.io.IOExceptionpublic void write(char[] ca)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(char[] ca,
int offset,
int length)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String s)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String s,
int offset,
int length)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void flush()
flush in interface java.io.Flushableflush in class java.io.Writerpublic void resetWriter()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerpublic void destroy()
public void ensureSpareCapacity(int n)
throws java.io.IOException
java.io.IOExceptionpublic byte[] getByteArray()
Copyright © 2013 FuseSource, Corp.. All Rights Reserved.