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 Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void transferTo(File destinationFile) throws IOException
transferTo in interface TransferableIOExceptionpublic boolean isClosed()
public void setClosed(boolean closed)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void mark(int arg0)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read(byte[] bytes,
int arg1,
int arg2)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic void setInputStream(InputStream inputStream)
public InputStream getInputStream()
Apache CXF