org.apache.archiva.common.utils
Class BaseFile
java.lang.Object
java.io.File
org.apache.archiva.common.utils.BaseFile
- All Implemented Interfaces:
- Serializable, Comparable<File>
public class BaseFile
- extends File
BaseFile - convenient File object that tracks the Base Directory and can provide relative path values
for the file object based on that Base Directory value.
- See Also:
- Serialized Form
Methods inherited from class java.io.File |
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL |
baseDir
private File baseDir
BaseFile
public BaseFile(File pathFile)
BaseFile
public BaseFile(File repoDir,
File pathFile)
BaseFile
public BaseFile(File parent,
String child)
BaseFile
public BaseFile(String pathname)
BaseFile
public BaseFile(String repoDir,
File pathFile)
BaseFile
public BaseFile(String parent,
String child)
BaseFile
public BaseFile(URI uri)
getBaseDir
public File getBaseDir()
getRelativePath
public String getRelativePath()
setBaseDir
public void setBaseDir(File baseDir)
setBaseDir
public void setBaseDir(String repoDir)
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.