Overview | Methods | This Package | All Packages
Writes the specified item followed by a line terminator to the text stream.
Syntax
public void writeLine()
public void writeLine( char value )
public void writeLine( char[] buffer )
public void writeLine( char[] buffer, int index, int count )
public void writeLine( boolean b_value )
public void writeLine( int i_value )
public void writeLine( long l_value )
public void writeLine( float f_value )
public void writeLine( double d_value )
public void writeLine( String s_value )
public void writeLine( Object o_value )
Parameters
value
The character to write to the text stream.
buffer
The character array to write to the text stream.
index
The starting index in the buffer.
count
The number of characters to write.
b_value
The boolean value to write.
i_value
The integer to write.
l_value
The long to write.
f_value
The float to write.
d_value
The double to write.
s_value
The string to write.
o_value
The object to write.
Exceptions
WFCInvalidArgumentException thrown if the buffer is null, the index is out of bounds, or the count is out of bounds.
Remarks
The default line terminator is a carriage return followed by a line feed (\r\n), but this value can be changed using the setNewLine method.