public class MappedByteInputStream extends InputStream
| Constructor and Description |
|---|
MappedByteInputStream(File file)
Instantiates a new tiff file input stream.
|
MappedByteInputStream(RandomAccessFile raf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getPath() |
int |
read() |
void |
seek(long pos)
Seek.
|
long |
size()
Size.
|
available, mark, markSupported, read, read, reset, skippublic MappedByteInputStream(File file) throws FileNotFoundException
file - the fileFileNotFoundException - the file not found exceptionpublic MappedByteInputStream(RandomAccessFile raf) throws FileNotFoundException
FileNotFoundExceptionpublic String getPath()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void seek(long pos)
throws IOException
pos - the posIOException - Signals that an I/O exception has occurred.public long size()
Copyright © 2015–2020. All rights reserved.