kmy.regex.util
Class RegexRefiller

java.lang.Object
  |
  +--kmy.regex.util.RegexRefiller

public abstract class RegexRefiller
extends java.lang.Object


Constructor Summary
RegexRefiller()
           
 
Method Summary
abstract  int refill(Regex regex, int boundary)
          Read more characters into regex's buffer and hand (possibly new) buffer and character range to the Regex.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

RegexRefiller

public RegexRefiller()
Method Detail

refill

public abstract int refill(Regex regex,
                           int boundary)
Read more characters into regex's buffer and hand (possibly new) buffer and character range to the Regex. Character range start must remain the same. It also can change regex's refiller (setting it to null if buffer cannot be refilled).