com.swfm.mica.sys
Class MiSystemIOManagerFileFinder

java.lang.Object
  extended bycom.swfm.mica.sys.MiSystemIOManagerFileFinder
Direct Known Subclasses:
MiSystemIOManagerLocalFileFinder

public abstract class MiSystemIOManagerFileFinder
extends java.lang.Object

This class creates a widget that allows a user to browse, find, modify and optionally choose a file.

Version:
%I% %G%
Author:
Michael L. Davis

Field Summary
static java.lang.String Mi_MATCH_ALL_FILE_NAMES
           
static int Mi_MATCH_DIRECTORY_FILE_TYPES
           
static int Mi_MATCH_PLAIN_FILE_TYPES
           
static int Mi_RETURN_CANONICAL_PATHNAMES
           
static int Mi_RETURN_FILENAMES
           
static int Mi_RETURN_RELATIVE_PATHNAMES
           
 
Constructor Summary
MiSystemIOManagerFileFinder()
           
 
Method Summary
abstract  Strings find(java.lang.String rootDirectoryName)
           
 java.lang.String getFileNamesSearchSpec()
           
 boolean getFileNamesSearchSpecIgnoreCase()
           
 Strings getFileNamesSearchSpecs()
           
 int getFilePathnamesReturnSpec()
           
 int getFileTypesSearchSpec()
           
 int getNumberOfFilesFound()
           
 boolean getSearchSubdirectories()
           
 long getSizeOfFilesFound()
           
 void setFileNamesSearchSpec(java.lang.String spec)
           
 void setFileNamesSearchSpecIgnoreCase(boolean ignoreCase)
           
 void setFilePathnamesReturnSpec(int spec)
           
 void setFileTypesSearchSpec(int spec)
           
 void setNumberOfFilesFound(int num)
           
 void setSearchSubdirectories(boolean flag)
           
 void setSizeOfFilesFound(long size)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Mi_MATCH_ALL_FILE_NAMES

public static final java.lang.String Mi_MATCH_ALL_FILE_NAMES

Mi_MATCH_PLAIN_FILE_TYPES

public static final int Mi_MATCH_PLAIN_FILE_TYPES
See Also:
Constant Field Values

Mi_MATCH_DIRECTORY_FILE_TYPES

public static final int Mi_MATCH_DIRECTORY_FILE_TYPES
See Also:
Constant Field Values

Mi_RETURN_CANONICAL_PATHNAMES

public static final int Mi_RETURN_CANONICAL_PATHNAMES
See Also:
Constant Field Values

Mi_RETURN_RELATIVE_PATHNAMES

public static final int Mi_RETURN_RELATIVE_PATHNAMES
See Also:
Constant Field Values

Mi_RETURN_FILENAMES

public static final int Mi_RETURN_FILENAMES
See Also:
Constant Field Values
Constructor Detail

MiSystemIOManagerFileFinder

public MiSystemIOManagerFileFinder()
Method Detail

find

public abstract Strings find(java.lang.String rootDirectoryName)
                      throws java.lang.Exception
Throws:
java.lang.Exception

setFileNamesSearchSpec

public void setFileNamesSearchSpec(java.lang.String spec)

setFileNamesSearchSpecIgnoreCase

public void setFileNamesSearchSpecIgnoreCase(boolean ignoreCase)

getFileNamesSearchSpecIgnoreCase

public boolean getFileNamesSearchSpecIgnoreCase()

getFileNamesSearchSpec

public java.lang.String getFileNamesSearchSpec()

getFileNamesSearchSpecs

public Strings getFileNamesSearchSpecs()

setFileTypesSearchSpec

public void setFileTypesSearchSpec(int spec)

getFileTypesSearchSpec

public int getFileTypesSearchSpec()

setFilePathnamesReturnSpec

public void setFilePathnamesReturnSpec(int spec)

getFilePathnamesReturnSpec

public int getFilePathnamesReturnSpec()

setNumberOfFilesFound

public void setNumberOfFilesFound(int num)

getNumberOfFilesFound

public int getNumberOfFilesFound()

setSizeOfFilesFound

public void setSizeOfFilesFound(long size)

getSizeOfFilesFound

public long getSizeOfFilesFound()

setSearchSubdirectories

public void setSearchSubdirectories(boolean flag)

getSearchSubdirectories

public boolean getSearchSubdirectories()