Package scala_maven

Class FileUtils

java.lang.Object
org.codehaus.plexus.util.FileUtils
scala_maven.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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static File
    fileOf(File f, boolean canonical)
     
    static String
    pathOf(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 Details

    • FileUtils

      FileUtils()
  • Method Details

    • pathOf

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

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