com.nexwave.nsidita
Class DirList

java.lang.Object
  extended by com.nexwave.nsidita.DirList

public class DirList
extends Object


Field Summary
static int MAX_DEPTH
           
 
Constructor Summary
DirList(File inputdir, String regex, int depth)
           
 
Method Summary
 ArrayList<File> getListFiles()
           
 ArrayList<String> getListFilesRelTo(String projectDir)
          Calculate the path of the files already listed relative to projectDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_DEPTH

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

DirList

public DirList(File inputdir,
               String regex,
               int depth)
Method Detail

getListFiles

public ArrayList<File> getListFiles()

getListFilesRelTo

public ArrayList<String> getListFilesRelTo(String projectDir)
Calculate the path of the files already listed relative to projectDir

Parameters:
projectDir - Root from where to calculate the relative path
Returns:
The list of files with their relative path


Copyright © 2013. All Rights Reserved.