Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hartmath.lib
Class HFileList  view HFileList download HFileList.java

java.lang.Object
  extended bycom.hartmath.lib.HFileList

public class HFileList
extends java.lang.Object

This class parses a subtree for files that match a pattern. The pattern may contain one or more * and ? as usual. The class delivers an enumerator for the files, or may be subclassed to handle the files directly. The routines directory and file can be used to return, if more scanning is necessary.


Field Summary
(package private)  boolean Stop
           
(package private)  java.util.Vector V
           
 
Constructor Summary
HFileList(java.lang.String dir)
           
HFileList(java.lang.String dir, java.lang.String filter)
           
 
Method Summary
 boolean directory(java.io.File dir)
           
 boolean file(java.io.File file)
           
 java.util.Enumeration files()
           
(package private)  void find(java.io.File dir, char[] filter)
           
(package private)  boolean match(char[] filename, int n, char[] filter, int m)
           
 void parsed(java.io.File dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

V

java.util.Vector V

Stop

boolean Stop
Constructor Detail

HFileList

public HFileList(java.lang.String dir,
                 java.lang.String filter)

HFileList

public HFileList(java.lang.String dir)
Method Detail

find

void find(java.io.File dir,
          char[] filter)

match

boolean match(char[] filename,
              int n,
              char[] filter,
              int m)

files

public java.util.Enumeration files()

directory

public boolean directory(java.io.File dir)

file

public boolean file(java.io.File file)

parsed

public void parsed(java.io.File dir)