XDC - v. 0.6.1

net.sf.xdc.processing
Class FileSelector

java.lang.Object
  extended bynet.sf.xdc.processing.FileSelector
Direct Known Subclasses:
PatternSelector

public class FileSelector
extends java.lang.Object

The FileSelector class allows to specify which files within a directory are to be included in the XDC processing.

Since:
0.5
Version:
0.5
Author:
Jens Voß

Method Summary
 java.io.File getDir()
          Getter method for this FileSelector's directory.
protected  FileSelector moveToSubdir(java.lang.String subdirName)
          This method constructs a FileSelector for a subdirectory of the current directory.
protected  java.io.File[] selectFiles()
          This method retrieves the collection of all selected files within this FileSelector's directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDir

public java.io.File getDir()
Getter method for this FileSelector's directory.

Returns:
The current directory of this FileSelector

selectFiles

protected java.io.File[] selectFiles()
This method retrieves the collection of all selected files within this FileSelector's directory.

Returns:
An array of files and directories in this FileSelector's directory to which the XDC tool is to be applied

moveToSubdir

protected FileSelector moveToSubdir(java.lang.String subdirName)
This method constructs a FileSelector for a subdirectory of the current directory.

Parameters:
subdirName - The name of the subdirectory for which a new FileSelector is to be constructed
Returns:
A new FileSelector whose directory is the subdirectory with the specified name

XDC - v. 0.6.1