public class RestartableInputStream extends InputStream
| Constructor and Description |
|---|
RestartableInputStream(InputStream originalInputStream,
Path file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
restartIfAtEnd() |
available, mark, markSupported, read, reset, skippublic RestartableInputStream(InputStream originalInputStream, Path file)
public int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void restartIfAtEnd()
throws IOException
IOExceptionCopyright © 2019 OpenSource BIM. All rights reserved.