|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
it.could.webdav.DAVInputStream
A specialized InputStream
to read from DAVResource
s.
This specialized InputStream
never throws IOException
s,
but rather relies on the unchecked DAVException
to notify the
framework of the correct DAV errors.
Constructor Summary | |
protected |
DAVInputStream(DAVResource resource)
Create a new DAVInputStream instance. |
Method Summary | |
int |
available()
Return the number of bytes that can be read or skipped from this InputStream without blocking. |
void |
close()
Return the number of bytes that can be read or skipped from this InputStream without blocking. |
void |
mark(int readlimit)
Marks the current position in this InputStream . |
boolean |
markSupported()
Tests if this InputStream supports the mark(int)
and reset() methods. |
int |
read()
Read data from this InputStream . |
int |
read(byte[] b)
Read data from this InputStream . |
int |
read(byte[] b,
int off,
int len)
Read data from this InputStream . |
void |
reset()
Repositions this stream to the position at the time the mark(int) method was last called on this
InputStream . |
long |
skip(long n)
Skip a specified amount of data reading from this InputStream . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected DAVInputStream(DAVResource resource)
Create a new DAVInputStream
instance.
Method Detail |
public int read()
Read data from this InputStream
.
public int read(byte[] b)
Read data from this InputStream
.
public int read(byte[] b, int off, int len)
Read data from this InputStream
.
public long skip(long n)
Skip a specified amount of data reading from this
InputStream
.
public int available()
Return the number of bytes that can be read or skipped from this
InputStream
without blocking.
public void close()
Return the number of bytes that can be read or skipped from this
InputStream
without blocking.
public void mark(int readlimit)
Marks the current position in this InputStream
.
public void reset()
Repositions this stream to the position at the time the
mark(int)
method was last called on this
InputStream
.
public boolean markSupported()
Tests if this InputStream
supports the mark(int)
and reset()
methods.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |