Package COM.activesw.api.client
Class Regexp
- java.lang.Object
-
- COM.activesw.api.client.Regexp
-
public class Regexp extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compile(java.lang.String exp)
boolean
exec(java.lang.String str, int offset)
void
getPacked(byte[] buf, int offset)
int
getPackedLength()
static void
main(java.lang.String[] args)
void
regdump()
void
setPacked(byte[] buf, int offset, int length)
static void
test(java.lang.String name, java.lang.String re, java.lang.String string, int expected)
-
-
-
Constructor Detail
-
Regexp
public Regexp(java.lang.String exp) throws RegexpException
- Throws:
RegexpException
-
Regexp
public Regexp(byte[] bytes, int offset, int length) throws RegexpException
- Throws:
RegexpException
-
-
Method Detail
-
compile
public void compile(java.lang.String exp) throws RegexpException
- Throws:
RegexpException
-
exec
public boolean exec(java.lang.String str, int offset) throws RegexpException
- Throws:
RegexpException
-
getPackedLength
public int getPackedLength()
-
getPacked
public void getPacked(byte[] buf, int offset)
-
setPacked
public void setPacked(byte[] buf, int offset, int length) throws RegexpException
- Throws:
RegexpException
-
regdump
public void regdump()
-
test
public static void test(java.lang.String name, java.lang.String re, java.lang.String string, int expected)
-
main
public static void main(java.lang.String[] args)
-
-