java.io.FilterWriter
Abstract class for writing filtered character streams. The abstract class FilterWriter itself provides default methods that pass all requests to the contained stream. Subclasses of FilterWritershould override some of these methods and may also provide additional methods and fields.
Some methods of FilterWriter class.
close(): This method closes the stream, flushing it first.
flush(): This method flushes the stream.
write(int): This method writes a single character.
write(char[], int, int): This method writes a portion of an array of characters.
write(String, int, int): This method writes a portion of a string.
No comments:
Post a Comment