public class ByteRunAutomaton extends RunAutomaton
Constructor and Description |
---|
ByteRunAutomaton(Automaton a) |
ByteRunAutomaton(Automaton a,
boolean utf8)
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
|
getCharIntervals, getInitialState, getSize, isAccept, step, toString
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.