public class TranslateReader extends FilterReader
in| Constructor and Description |
|---|
TranslateReader(I2PAppContext ctx,
String bundle,
InputStream in)May be null for tagging only. |
TranslateReader(I2PAppContext ctx,
String bundle,
Reader in)May be null for tagging only. |
| Modifier and Type | Method and Description |
|---|---|
void | close() |
static void | main(String[] args)Do not comment out, used to extract tags as a part of the build process. |
void | mark(int readLimit) |
boolean | markSupported() |
int | read() |
int | read(char[] cbuf,
int off,
int len) |
boolean | ready() |
void | reset() |
long | skip(long n) |
public TranslateReader(I2PAppContext ctx, String bundle, InputStream in) throws IOException
bundle - may be null for tagging onlyin - UTF-8IOExceptionpublic TranslateReader(I2PAppContext ctx, String bundle, Reader in)
bundle - may be null for tagging onlypublic void close()
throws IOExceptionclose in interface Closeableclose in interface AutoCloseableclose in class FilterReaderIOExceptionpublic static void main(String[] args)
public void mark(int readLimit)
mark in class FilterReaderpublic boolean markSupported()
markSupported in class FilterReaderpublic int read()
throws IOExceptionread in class FilterReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOExceptionread in class FilterReaderIOExceptionpublic boolean ready()
throws IOExceptionready in class FilterReaderIOExceptionpublic void reset()
throws IOExceptionreset in class FilterReaderIOExceptionpublic long skip(long n)
throws IOExceptionskip in class FilterReaderIOException