public class TokenReplacingReader extends Reader
read(char[], int, int) and added support for escaping.| Modifier | Constructor and Description |
|---|---|
|
TokenReplacingReader(Reader source,
Map<String,String> tokens) |
protected |
TokenReplacingReader(String source,
Map<String,String> tokens,
Deque<String> activeTokens,
Map<String,String> resolvedTokens) |
public int read(CharBuffer target) throws IOException
read in interface Readableread in class ReaderIOExceptionpublic int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf)
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionpublic long skip(long n)
throws IOException
skip in class ReaderIOExceptionpublic boolean ready()
throws IOException
ready in class ReaderIOExceptionpublic boolean markSupported()
markSupported in class Readerpublic void mark(int readAheadLimit)
throws IOException
mark in class ReaderIOExceptionpublic void reset()
throws IOException
reset in class ReaderIOExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.