Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.multipart
Class ByteSequenceMatcher

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.multipart.ByteSequenceMatcher

public class ByteSequenceMatcher
extends Object


Nested Class Summary
static interface ByteSequenceMatcher.BytesHandler
           
 
Constructor Summary
ByteSequenceMatcher(InputStream inputStream, int bufferSize)
           
 
Method Summary
 void findSequence(int limit, byte[]... sequences)
           
 ByteSequenceMatcher.BytesHandler getBytesHandler()
           
 boolean isEOF()
           
 boolean isMatched()
           
 boolean isMatchedAndNotEOF()
           
 void setBytesHandler(ByteSequenceMatcher.BytesHandler bytesHandler)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteSequenceMatcher

public ByteSequenceMatcher(InputStream inputStream,
                           int bufferSize)
Method Detail

getBytesHandler

public ByteSequenceMatcher.BytesHandler getBytesHandler()

setBytesHandler

public void setBytesHandler(ByteSequenceMatcher.BytesHandler bytesHandler)

findSequence

public void findSequence(int limit,
                         byte[]... sequences)
                  throws IOException
Throws:
IOException

isEOF

public boolean isEOF()

isMatched

public boolean isMatched()

isMatchedAndNotEOF

public boolean isMatchedAndNotEOF()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.