public abstract class Writer extends Object
Modifier and Type | Field and Description |
---|---|
protected DateFormats |
formats |
Constructor and Description |
---|
Writer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
abstract void |
flush() |
abstract void |
write(boolean booleanValue) |
void |
write(Date date,
String datePattern) |
abstract void |
write(double doubleValue) |
abstract void |
write(float floatValue) |
abstract void |
write(int intValue) |
abstract void |
write(IWritable writable) |
abstract void |
write(long longValue) |
void |
write(short shortValue) |
abstract void |
write(String string) |
abstract void |
write(StringBuilder stringBuilder) |
abstract void |
write(StringBuilder stringBuilder,
int offset,
int length) |
abstract void |
write(String string,
int offset,
int length) |
protected DateFormats formats
public abstract void flush() throws IOException
IOException
public abstract void close()
public abstract void write(IWritable writable) throws IOException
IOException
public abstract void write(String string, int offset, int length) throws IOException
IOException
public abstract void write(String string) throws IOException
IOException
public abstract void write(StringBuilder stringBuilder, int offset, int length) throws IOException
IOException
public abstract void write(StringBuilder stringBuilder) throws IOException
IOException
public abstract void write(boolean booleanValue) throws IOException
IOException
public abstract void write(int intValue) throws IOException
IOException
public abstract void write(long longValue) throws IOException
IOException
public abstract void write(double doubleValue) throws IOException
IOException
public abstract void write(float floatValue) throws IOException
IOException
public void write(short shortValue) throws IOException
IOException
public void write(Date date, String datePattern) throws IOException
IOException
Copyright © 2018. All rights reserved.