public class TextIOWrapper extends BinaryIOWrapper
UniversalIOWrapperCHUNK_SIZEDEFAULT_BUFFER_SIZE| Constructor and Description | 
|---|
| TextIOWrapper(BufferedIOBase bufferedIO)Contruct a TextIOWrapper wrapping the given BufferedIOBase. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | read(int size)Read and return up to size bytes, contained in a String. | 
| String | readall()Read until EOF. | 
| String | readline(int size)Read until size, newline or EOF. | 
| int | write(String buf)Write the given String to the IO stream. | 
asInputStream, asOutputStream, close, closed, fileno, flush, getNewlines, isatty, readable, readinto, seek, tell, truncate, writablecheckClosed, checkReadable, checkWritable, seekpublic TextIOWrapper(BufferedIOBase bufferedIO)
bufferedIO - public String read(int size)
TextIOBaseread in class BinaryIOWrappersize - the number of bytes to readpublic String readall()
TextIOBasereadall in class BinaryIOWrapperpublic String readline(int size)
TextIOBasereadline in class BinaryIOWrappersize - the number of bytes to readpublic int write(String buf)
TextIOBasewrite in class BinaryIOWrapperbuf - a String value