public class DelegatingInputStream extends InputStream implements Transferable
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
InputStream |
getInputStream() |
boolean |
isClosed() |
void |
mark(int arg0) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int arg1,
int arg2) |
void |
reset() |
void |
setClosed(boolean closed) |
void |
setInputStream(InputStream inputStream) |
long |
skip(long n) |
void |
transferTo(File destinationFile) |
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void transferTo(File destinationFile) throws IOException
transferTo
in interface Transferable
IOException
public boolean isClosed()
public void setClosed(boolean closed)
public int read() throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void mark(int arg0)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public int read(byte[] bytes, int arg1, int arg2) throws IOException
read
in class InputStream
IOException
public int read(byte[] bytes) throws IOException
read
in class InputStream
IOException
public void reset() throws IOException
reset
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public void setInputStream(InputStream inputStream)
public InputStream getInputStream()
Apache CXF