Top Description Methods
de.siegmar.fastcsv.writer

pack-priv Interface Writable

extends Closeable, Flushable
Known Direct Implementers
de.siegmar.fastcsv.writer.FastBufferedWriter, de.siegmar.fastcsv.writer.UnbufferedWriter
Imports
java.io.Closeable, .Flushable, .IOException

This interface extends the basic functionality provided by java.io.Writer with the addition of the endRecord() method.

Method Summary

Modifier and TypeMethod and Description
public void
endRecord()

Called to indicate that the current record is complete.

public void
write(int
the character to write
c
)

Writes a single character.

public void
write(String
the string to write
value
,
int
the offset from which to start writing characters
off
,
int
the number of characters to write
len
)

Writes a portion of a string.

public void
write(char[]
the array of characters to write
value
,
int
the offset from which to start writing characters
off
,
int
the number of characters to write
len
)

Writes a portion of an array of characters.

Inherited from java.io.Closeable:
close
Inherited from java.io.Flushable:
flush

Method Detail

endRecordback to summary
public void endRecord() throws IOException

Called to indicate that the current record is complete.

Exceptions
IOException:
if an I/O error occurs
writeback to summary
public void write(int c) throws IOException

Writes a single character.

Parameters
c:int

the character to write

See Also
java.io.Writer#write(int)
writeback to summary
public void write(String value, int off, int len) throws IOException

Writes a portion of a string.

Parameters
value:String

the string to write

off:int

the offset from which to start writing characters

len:int

the number of characters to write

See Also
java.io.Writer#write(String, int, int)
writeback to summary
public void write(char[] value, int off, int len) throws IOException

Writes a portion of an array of characters.

Parameters
value:char[]

the array of characters to write

off:int

the offset from which to start writing characters

len:int

the number of characters to write

See Also
java.io.Writer#write(char[], int, int)