public class SubstitutionReader extends FilterReader
in| Constructor and Description |
|---|
SubstitutionReader(BufferedReader inputReader,
Properties defines)
Construct a new Reader by substituting all defines in the specified Reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(char[] cbuf) |
int |
read(char[] cbuf,
int off,
int len) |
String |
readLine() |
mark, markSupported, ready, reset, skippublic SubstitutionReader(BufferedReader inputReader, Properties defines) throws Exception
inputReader - Reader possibly containing symbols for replacement.defines - symbols and replacement valuesException - on read or write errorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterReaderIOExceptionpublic int read()
throws IOException
read in class FilterReaderIOExceptionpublic int read(char[] cbuf)
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class FilterReaderIOExceptionpublic String readLine() throws IOException
IOExceptionCopyright © 2019. All rights reserved.