Package adalid.util.io
Class FileBrowser
- java.lang.Object
-
- adalid.util.Utility
-
- adalid.util.io.FileBrowser
-
public class FileBrowser extends Utility
- Author:
- Jorge Campins
-
-
Constructor Summary
Constructors Constructor Description FileBrowser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanbrowse(java.lang.String path)static booleanbrowse(java.lang.String path, boolean detail)static booleanbrowse(java.lang.String path, java.util.List<java.lang.String> details)java.io.FilegetBaseFolder()java.nio.file.PathgetBaseFolderPath()java.util.Map<java.nio.file.Path,SmallFile>getFiles()java.util.Map<java.lang.String,java.lang.Integer>getFileTypes()intgetReadingErrors()intgetReadingWarnings()java.io.FilegetResourcesFolder()java.nio.file.PathgetResourcesFolderPath()java.io.FilegetRootFolder()java.nio.file.PathgetRootFolderPath()-
Methods inherited from class adalid.util.Utility
chooseDirectory, chooseFile, chooseFile, chooseFile, chooseFile, finished, finished, finished, getAdalidProjectVersion, getArguments, getArguments, getBootstrapping, getLastExecutedProject, getLastExecutedProjectAlias, getLastExecutedProjectBaseFolderName, getLastExecutedProjectClass, getLastExecutedProjectClassName, instanceOf, logAdalidProjectVersion, logSystemProperties, setBootstrappingFileName, showConfirmDialog, showConfirmDialog, starting, starting, updateProjectBuilderDictionary
-
-
-
-
Method Detail
-
browse
public static boolean browse(java.lang.String path)
-
browse
public static boolean browse(java.lang.String path, boolean detail)
-
browse
public static boolean browse(java.lang.String path, java.util.List<java.lang.String> details)
-
getRootFolder
public java.io.File getRootFolder()
- Returns:
- the root folder
-
getRootFolderPath
public java.nio.file.Path getRootFolderPath()
- Returns:
- the root folder path
-
getResourcesFolder
public java.io.File getResourcesFolder()
- Returns:
- the resources folder
-
getResourcesFolderPath
public java.nio.file.Path getResourcesFolderPath()
- Returns:
- the resources folder path
-
getBaseFolder
public java.io.File getBaseFolder()
- Returns:
- the base folder
-
getBaseFolderPath
public java.nio.file.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
-
getFiles
public java.util.Map<java.nio.file.Path,SmallFile> getFiles()
- Returns:
- the files map
-
getFileTypes
public java.util.Map<java.lang.String,java.lang.Integer> getFileTypes()
- Returns:
- the file types map
-
-