Class FileBrowser


  • public class FileBrowser
    extends Utility
    Author:
    Jorge Campins
    • Constructor Detail

      • FileBrowser

        public FileBrowser()
    • 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