public class ByteSequenceMatcher extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ByteSequenceMatcher.BytesHandler |
Constructor and Description |
---|
ByteSequenceMatcher(InputStream inputStream,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
findSequence(int limit,
byte[]... sequences) |
ByteSequenceMatcher.BytesHandler |
getBytesHandler() |
boolean |
isEOF() |
boolean |
isMatched() |
boolean |
isMatchedAndNotEOF() |
void |
setBytesHandler(ByteSequenceMatcher.BytesHandler bytesHandler) |
public ByteSequenceMatcher(InputStream inputStream, int bufferSize)
public ByteSequenceMatcher.BytesHandler getBytesHandler()
public void setBytesHandler(ByteSequenceMatcher.BytesHandler bytesHandler)
public void findSequence(int limit, byte[]... sequences) throws IOException
IOException
public boolean isEOF()
public boolean isMatched()
public boolean isMatchedAndNotEOF()
Copyright © 2011 Nuxeo SA. All Rights Reserved.