public class ProgressReader extends Reader implements ProgressDataHandler
| Constructor and Description |
|---|
ProgressReader(Reader reader,
long length,
long pulseTime,
String lineSeperator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getIndex() |
ProgressPanel |
getIOProgressPanel() |
long |
getLength() |
void |
mark(int readAheadLimit) |
int |
read() |
int |
read(char[] cbuf) |
int |
read(char[] cbuf,
int off,
int len) |
String |
readLine() |
void |
reset() |
long |
skip(long n) |
markSupported, read, readypublic long getLength()
getLength in interface ProgressDataHandlerpublic long getIndex()
getIndex in interface ProgressDataHandlerpublic ProgressPanel getIOProgressPanel()
public 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 String readLine() throws IOException
IOExceptionpublic long skip(long n)
throws IOException
skip in class ReaderIOExceptionpublic void mark(int readAheadLimit)
throws IOException
mark in class ReaderIOExceptionpublic void reset()
throws IOException
reset in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionCopyright © 2017. All rights reserved.