Java java.io Writer fields, constructors, methods, implement or subclass

Example usage for Java java.io Writer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io Writer.

The text is from its open source code.

Subclass

java.io.Writer has subclasses.
Click this link to see all its subclasses.

Implementation

java.io.Writer has the following implementations.
Click this link to see all its implementation.

Constructor

Writer()
Creates a new character-stream writer whose critical sections will synchronize on the writer itself.

Method

Writerappend(CharSequence csq)
Appends the specified character sequence to this writer.
Writerappend(char c)
Appends the specified character to this writer.
Writerappend(CharSequence csq, int start, int end)
Appends a subsequence of the specified character sequence to this writer.
voidclose()
Closes the stream, flushing it first.
voidflush()
Flushes the stream.
ClassgetClass()
Returns the runtime class of this Object .
StringtoString()
Returns a string representation of the object.
voidwrite(int c)
Writes a single character.
voidwrite(char cbuf[])
Writes an array of characters.
voidwrite(String str)
Writes a string.
voidwrite(char cbuf[], int off, int len)
Writes a portion of an array of characters.
voidwrite(String str, int off, int len)
Writes a portion of a string.