|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
wt.fv.local.DownloadInputStream
The class is a wrapper for Input Stream. It contains an Input Stream
attribute and listener attribute. The listener is RedirectDownloadListener.
A signal onPostRead is sent to the listener.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private RedirectDownloadListener |
listener
|
private static String |
RESOURCE
|
private InputStream |
stream
|
static boolean |
VERBOSE
|
private static String |
versionID
|
Fields inherited from class java.io.InputStream |
|
Constructor Summary | |
DownloadInputStream(InputStream iStream)
Supported API: false |
Method Summary | |
int |
available()
Supported API: false |
void |
close()
Supported API: false |
RedirectDownloadListener |
getListener()
Gets the value of the attribute: listener. |
InputStream |
getStream()
Gets the value of the attribute: stream. |
void |
mark(int readlimit)
Supported API: false |
boolean |
markSupported()
Supported API: false |
int |
read()
Supported API: false |
int |
read(byte[] b)
Supported API: false |
int |
read(byte[] b,
int off,
int len)
Supported API: false |
void |
reset()
Supported API: false |
void |
setListener(RedirectDownloadListener a_Listener)
Sets the value of the attribute: listener. |
void |
setStream(InputStream a_Stream)
Sets the value of the attribute: stream. |
long |
skip(long n)
Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String versionID
private RedirectDownloadListener listener
private InputStream stream
public static boolean VERBOSE
Constructor Detail |
public DownloadInputStream(InputStream iStream)
iStream
- Method Detail |
public RedirectDownloadListener getListener()
public void setListener(RedirectDownloadListener a_Listener) throws WTPropertyVetoException
a_Listener
-
WTPropertyVetoException
public InputStream getStream()
public void setStream(InputStream a_Stream) throws WTPropertyVetoException
a_Stream
-
WTPropertyVetoException
public int read() throws IOException
IOException
public int read(byte[] b) throws IOException
b
-
IOException
public int read(byte[] b, int off, int len) throws IOException
b
- off
- len
-
IOException
public void mark(int readlimit)
readlimit
- public long skip(long n) throws IOException
n
-
IOException
public void close() throws IOException
IOException
public void reset() throws IOException
IOException
public int available() throws IOException
IOException
public boolean markSupported()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |