org.nuxeo.ecm.platform.ui.web.multipart
Class ByteSequenceMatcher
java.lang.Object
org.nuxeo.ecm.platform.ui.web.multipart.ByteSequenceMatcher
public class ByteSequenceMatcher
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteSequenceMatcher
public ByteSequenceMatcher(InputStream inputStream,
int bufferSize)
getBytesHandler
public ByteSequenceMatcher.BytesHandler getBytesHandler()
setBytesHandler
public void setBytesHandler(ByteSequenceMatcher.BytesHandler bytesHandler)
prefillBuffer
protected void prefillBuffer(int usedLength)
throws IOException
- Throws:
IOException
findSequence
public void findSequence(int limit,
byte[]... sequences)
throws IOException
- Throws:
IOException
isEOF
public boolean isEOF()
isMatched
public boolean isMatched()
isMatchedAndNotEOF
public boolean isMatchedAndNotEOF()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.