Package adalid.util.io
Class FileBrowser
- java.lang.Object
-
- adalid.util.Utility
-
- adalid.util.io.FileBrowser
-
public class FileBrowser extends Utility
- Author:
- Jorge Campins
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanbrowse(String path)static booleanbrowse(String path, boolean detail)static booleanbrowse(String path, List<String> details)FilegetBaseFolder()PathgetBaseFolderPath()Map<Path,SmallFile>getFiles()Map<String,Integer>getFileTypes()intgetReadingErrors()intgetReadingWarnings()FilegetResourcesFolder()PathgetResourcesFolderPath()FilegetRootFolder()PathgetRootFolderPath()-
Methods inherited from class adalid.util.Utility
chooseDirectory, chooseFile, chooseFile, chooseFile, getAdalidProjectVersion, getArguments, getArguments, logAdalidProjectVersion, setBootstrappingFileName
-
-
-
-
Method Detail
-
browse
public static boolean browse(String path)
-
browse
public static boolean browse(String path, boolean detail)
-
getRootFolder
public File getRootFolder()
- Returns:
- the root folder
-
getRootFolderPath
public Path getRootFolderPath()
- Returns:
- the root folder path
-
getResourcesFolder
public File getResourcesFolder()
- Returns:
- the resources folder
-
getResourcesFolderPath
public Path getResourcesFolderPath()
- Returns:
- the resources folder path
-
getBaseFolder
public File getBaseFolder()
- Returns:
- the base folder
-
getBaseFolderPath
public Path getBaseFolderPath()
- Returns:
- the base folder path
-
getReadingWarnings
public int getReadingWarnings()
- Returns:
- the reading warnings count
-
getReadingErrors
public int getReadingErrors()
- Returns:
- the reading errors count
-
-