jregex.util.io
Class PathPattern

java.lang.Object
  |
  +--jregex.Pattern
        |
        +--jregex.util.io.PathPattern
All Implemented Interfaces:
REFlags, java.io.Serializable

public class PathPattern
extends Pattern

See Also:
Serialized Form

Fields inherited from interface jregex.REFlags
DEFAULT, DOTALL, IGNORE_CASE, IGNORE_SPACES, MULTILINE, UNICODE, XML_SCHEMA
 
Constructor Summary
PathPattern(java.io.File dir, java.lang.String path, boolean icase)
           
PathPattern(java.io.File dir, java.lang.String path, int flags)
           
PathPattern(java.lang.String ptn)
           
PathPattern(java.lang.String ptn, boolean icase)
           
PathPattern(java.lang.String path, int flags)
           
 
Method Summary
 java.io.File directory()
          Deprecated. Is meaningless with variable paths (since v.1.2)
 java.util.Enumeration enumerateFiles()
           
 java.io.File[] files()
           
static void main(java.lang.String[] args)
           
 java.lang.String[] names()
          Deprecated. Is meaningless with variable paths (since v.1.2)
 java.lang.String toString()
           
 
Methods inherited from class jregex.Pattern
compile, groupCount, groupId, matcher, matcher, matcher, matcher, matcher, matcher, matches, replacer, replacer, startsWith, tokenizer, tokenizer, tokenizer, toString_d
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathPattern

public PathPattern(java.lang.String ptn)

PathPattern

public PathPattern(java.lang.String ptn,
                   boolean icase)

PathPattern

public PathPattern(java.lang.String path,
                   int flags)

PathPattern

public PathPattern(java.io.File dir,
                   java.lang.String path,
                   boolean icase)

PathPattern

public PathPattern(java.io.File dir,
                   java.lang.String path,
                   int flags)
Method Detail

enumerateFiles

public java.util.Enumeration enumerateFiles()

files

public java.io.File[] files()

names

public java.lang.String[] names()
Deprecated. Is meaningless with variable paths (since v.1.2)


directory

public java.io.File directory()
Deprecated. Is meaningless with variable paths (since v.1.2)


toString

public java.lang.String toString()
Overrides:
toString in class Pattern

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception