public class SegmentStream extends InputStream
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getLength() |
static RecordId |
getRecordIdIfAvailable(InputStream stream,
SegmentStore store) |
String |
getString() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
read@CheckForNull public static RecordId getRecordIdIfAvailable(InputStream stream, SegmentStore store)
public long getLength()
public String getString()
public boolean markSupported()
markSupported in class InputStreampublic void mark(int readlimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic int read()
read in class InputStreampublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic long skip(long n)
skip in class InputStreampublic int available()
available in class InputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamCopyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.