org.web3d.vrml.io
Class ReportableInputStreamReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.web3d.vrml.io.ReportableInputStreamReader
- public class ReportableInputStreamReader
- extends java.io.FilterReader
Listens for updates to read status on a stream.
- Version:
- $Revision: 1.2 $
- Author:
- Alan Hudson
| Fields inherited from class java.io.FilterReader |
in |
| Fields inherited from class java.io.Reader |
lock |
|
Method Summary |
int |
read()
|
int |
read(char[] b)
|
int |
read(char[] b,
int off,
int len)
|
void |
reset()
|
long |
skip(long n)
|
| Methods inherited from class java.io.FilterReader |
close, mark, markSupported, ready |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportableInputStreamReader
public ReportableInputStreamReader(boolean relative,
int updateSize,
ReadProgressListener listener,
java.io.InputStream in)
- Constructor.
- Parameters:
relative - Whether the update size is relative or absolute.updateSize - The size in bytes to issue updates.
This will be approximately honored.listener - The progress listenerin - The input source
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(char[] b)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(char[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
reset
public void reset()
throws java.io.IOException
- Throws:
java.io.IOException
skip
public long skip(long n)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001 - 2005 Web3D Consortium