public class ByteRunAutomaton extends RunAutomaton
Constructor and Description |
---|
ByteRunAutomaton(Automaton a)
Converts incoming automaton to byte-based (UTF32ToUTF8) first
|
ByteRunAutomaton(Automaton a,
boolean isBinary,
int maxDeterminizedStates)
expert: if utf8 is true, the input is already byte-based
|
Modifier and Type | Method and Description |
---|---|
boolean |
run(byte[] s,
int offset,
int length)
Returns true if the given byte array is accepted by this automaton
|
equals, getCharIntervals, getInitialState, getSize, hashCode, isAccept, step, toString
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.