@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
URISyntaxExceptionprotected InputStreamAndSource()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read(byte[] bytes,
int off,
int len)
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 numberToSkip)
throws IOException
skip in class InputStreamIOExceptionpublic URI getSource()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.