1 package org.apache.oro.text; 2 3 59 60 import org.apache.oro.text.regex.*; 61 62 77 78 public interface PatternCache { 79 80 103 public Pattern addPattern(String expression) 104 throws MalformedPatternException; 105 106 107 132 public Pattern addPattern(String expression, int options) 133 throws MalformedPatternException; 134 135 136 155 public Pattern getPattern(String expression) 156 throws MalformedCachePatternException; 157 158 159 180 public Pattern getPattern(String expression, int options) 181 throws MalformedCachePatternException; 182 183 184 192 public int size(); 193 194 195 200 public int capacity(); 201 } 202 203 | Popular Tags |