@NotStorableClass public class InputStreamAndSource extends InputStream
Modifier and Type | Field and Description |
---|---|
protected InputStream |
delegate |
protected URI |
source |
Modifier | Constructor and Description |
---|---|
protected |
InputStreamAndSource() |
|
InputStreamAndSource(InputStream inputStream,
String source) |
protected InputStream delegate
protected URI source
public InputStreamAndSource(InputStream inputStream, String source) throws URISyntaxException
URISyntaxException
protected InputStreamAndSource()
public int read() throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void mark(int readlimit)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public int read(byte[] bytes, int off, int len) 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 numberToSkip) throws IOException
skip
in class InputStream
IOException
public URI getSource()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.