Sleuth Kit Java Bindings (JNI)
4.3
Java bindings for using The Sleuth Kit
|
Inherits InputStream.
Public Member Functions | |
ReadContentInputStream (Content content) | |
int | available () throws IOException |
void | close () throws IOException |
long | getCurPosition () |
long | getLength () |
additional methods to facilitate stream seeking More... | |
boolean | markSupported () |
int | read () throws IOException |
int | read (byte[] b) throws IOException |
int | read (byte[] b, int off, int len) throws IOException |
long | seek (long newPosition) |
long | skip (long n) throws IOException |
Private Attributes | |
Content | content |
long | contentSize |
long | currentOffset |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(ReadContentInputStream.class.getName()) |
InputStream to read bytes from a Content object's data
Definition at line 29 of file ReadContentInputStream.java.
org.sleuthkit.datamodel.ReadContentInputStream.ReadContentInputStream | ( | Content | content | ) |
Definition at line 36 of file ReadContentInputStream.java.
References org.sleuthkit.datamodel.ReadContentInputStream.content, and org.sleuthkit.datamodel.Content.getSize().
int org.sleuthkit.datamodel.ReadContentInputStream.available | ( | ) | throws IOException |
Definition at line 117 of file ReadContentInputStream.java.
References org.sleuthkit.datamodel.ReadContentInputStream.currentOffset.
void org.sleuthkit.datamodel.ReadContentInputStream.close | ( | ) | throws IOException |
Definition at line 136 of file ReadContentInputStream.java.
long org.sleuthkit.datamodel.ReadContentInputStream.getCurPosition | ( | ) |
Get current position in the stream
Definition at line 161 of file ReadContentInputStream.java.
References org.sleuthkit.datamodel.ReadContentInputStream.currentOffset.
long org.sleuthkit.datamodel.ReadContentInputStream.getLength | ( | ) |
additional methods to facilitate stream seeking
Get total length of the stream
Definition at line 152 of file ReadContentInputStream.java.
References org.sleuthkit.datamodel.ReadContentInputStream.contentSize.
boolean org.sleuthkit.datamodel.ReadContentInputStream.markSupported | ( | ) |
Definition at line 142 of file ReadContentInputStream.java.
int org.sleuthkit.datamodel.ReadContentInputStream.read | ( | ) | throws IOException |
Definition at line 43 of file ReadContentInputStream.java.
Referenced by org.sleuthkit.datamodel.ReadContentInputStream.read().
int org.sleuthkit.datamodel.ReadContentInputStream.read | ( | byte[] | b | ) | throws IOException |
Definition at line 49 of file ReadContentInputStream.java.
References org.sleuthkit.datamodel.ReadContentInputStream.read().
int org.sleuthkit.datamodel.ReadContentInputStream.read | ( | byte[] | b, |
int | off, | ||
int | len | ||
) | throws IOException |
Definition at line 54 of file ReadContentInputStream.java.
References org.sleuthkit.datamodel.Content.getId(), org.sleuthkit.datamodel.Content.getName(), and org.sleuthkit.datamodel.Content.read().
long org.sleuthkit.datamodel.ReadContentInputStream.seek | ( | long | newPosition | ) |
Set new current position in the stream, up to and including EOF
newPosition | new position in the stream to be set |
Definition at line 173 of file ReadContentInputStream.java.
References org.sleuthkit.datamodel.ReadContentInputStream.currentOffset.
long org.sleuthkit.datamodel.ReadContentInputStream.skip | ( | long | n | ) | throws IOException |
Definition at line 126 of file ReadContentInputStream.java.
|
private |
Definition at line 33 of file ReadContentInputStream.java.
Referenced by org.sleuthkit.datamodel.ReadContentInputStream.ReadContentInputStream().
|
private |
Definition at line 32 of file ReadContentInputStream.java.
Referenced by org.sleuthkit.datamodel.ReadContentInputStream.getLength().
|
private |
Definition at line 31 of file ReadContentInputStream.java.
Referenced by org.sleuthkit.datamodel.ReadContentInputStream.available(), org.sleuthkit.datamodel.ReadContentInputStream.getCurPosition(), and org.sleuthkit.datamodel.ReadContentInputStream.seek().
|
staticprivate |
Definition at line 34 of file ReadContentInputStream.java.
Copyright © 2011-2015 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.