Package scala_maven

Class FileUtils


  • class FileUtils
    extends org.codehaus.plexus.util.FileUtils
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.codehaus.plexus.util.FileUtils

        org.codehaus.plexus.util.FileUtils.FilterWrapper
    • Field Summary

      • Fields inherited from class org.codehaus.plexus.util.FileUtils

        FS, ONE_GB, ONE_KB, ONE_MB
    • Constructor Summary

      Constructors 
      Constructor Description
      FileUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.File fileOf​(java.io.File f, boolean canonical)  
      static java.lang.String pathOf​(java.io.File f, boolean canonical)  
      • Methods inherited from class org.codehaus.plexus.util.FileUtils

        basename, basename, byteCountToDisplaySize, catPath, cleanDirectory, cleanDirectory, contentEquals, copyDirectory, copyDirectory, copyDirectoryLayout, copyDirectoryStructure, copyDirectoryStructureIfModified, copyFile, copyFile, copyFile, copyFileIfModified, copyFileToDirectory, copyFileToDirectory, copyFileToDirectoryIfModified, copyFileToDirectoryIfModified, copyStreamToFile, copyURLToFile, createTempFile, deleteDirectory, deleteDirectory, dirname, extension, fileAppend, fileAppend, fileDelete, fileExists, filename, fileRead, fileRead, fileRead, fileRead, fileWrite, fileWrite, fileWrite, fileWrite, forceDelete, forceDelete, forceDeleteOnExit, forceMkdir, getDefaultExcludes, getDefaultExcludesAsList, getDefaultExcludesAsString, getDirectoryNames, getDirectoryNames, getExtension, getFile, getFileAndDirectoryNames, getFileNames, getFileNames, getFiles, getFiles, getFilesFromExtension, getPath, getPath, isValidWindowsFileName, linkFile, loadFile, mkdir, mkDirs, normalize, removeExtension, removePath, removePath, rename, resolveFile, sizeOfDirectory, sizeOfDirectory, toFile, toURLs, waitFor, waitFor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileUtils

        FileUtils()
    • Method Detail

      • pathOf

        public static java.lang.String pathOf​(java.io.File f,
                                              boolean canonical)
                                       throws java.lang.Exception
        Parameters:
        canonical - Should use CanonicalPath to normalize path (true => getCanonicalPath, false => getAbsolutePath)
        Throws:
        java.lang.Exception
        See Also:
        #50
      • fileOf

        public static java.io.File fileOf​(java.io.File f,
                                          boolean canonical)
                                   throws java.lang.Exception
        Parameters:
        canonical - Should use CanonicalPath to normalize path (true => getCanonicalPath, false => getAbsolutePath)
        Throws:
        java.lang.Exception
        See Also:
        #50