Writer.setNewLine

Overview | Methods | This Package | All Packages

Writer.setNewLine

Sets the line terminator string for this Writer object.

Syntax

public void setNewLine( String value )

Parameters

value

The line terminator string.

Remarks

The line terminator string is written to the text stream whenever one of the writeLine methods are called. For text written by the Writer object to be readable by a Reader object, only one of the following line terminator strings should be used: \r, \n, or \r\n.

See Also   getNewLine