public class ReverseFileInputStream extends InputStream
InputStream
implementation for streaming files in reverse order
(from the end of file to its beginning).Constructor and Description |
---|
ReverseFileInputStream(File file)
Creates a new
ReverseFileInputStream instance. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
available, mark, markSupported, read, read, reset, skip
public ReverseFileInputStream(File file) throws IOException
ReverseFileInputStream
instance.file
- the file to streamIOException
- problem streaming the filepublic int read() throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2008–2021 Norconex Inc.. All rights reserved.