org.apache.lucene.util.automaton
Class ByteRunAutomaton
java.lang.Object
org.apache.lucene.util.automaton.RunAutomaton
org.apache.lucene.util.automaton.ByteRunAutomaton
public class ByteRunAutomaton
- extends RunAutomaton
Automaton representation for matching UTF-8 byte[].
Method Summary |
boolean |
run(byte[] s,
int offset,
int length)
Returns true if the given byte array is accepted by this automaton |
ByteRunAutomaton
public ByteRunAutomaton(Automaton a)
ByteRunAutomaton
public ByteRunAutomaton(Automaton a,
boolean utf8)
- expert: if utf8 is true, the input is already byte-based
run
public boolean run(byte[] s,
int offset,
int length)
- Returns true if the given byte array is accepted by this automaton
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.