|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.File
org.apache.maven.archiva.common.utils.BaseFile
public class BaseFile
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.
Field Summary |
---|
Fields inherited from class java.io.File |
---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
Constructor Summary | |
---|---|
BaseFile(java.io.File pathFile)
|
|
BaseFile(java.io.File repoDir,
java.io.File pathFile)
|
|
BaseFile(java.io.File parent,
java.lang.String child)
|
|
BaseFile(java.lang.String pathname)
|
|
BaseFile(java.lang.String repoDir,
java.io.File pathFile)
|
|
BaseFile(java.lang.String parent,
java.lang.String child)
|
|
BaseFile(java.net.URI uri)
|
Method Summary | |
---|---|
java.io.File |
getBaseDir()
|
java.lang.String |
getRelativePath()
|
void |
setBaseDir(java.io.File baseDir)
|
void |
setBaseDir(java.lang.String repoDir)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseFile(java.io.File pathFile)
public BaseFile(java.io.File repoDir, java.io.File pathFile)
public BaseFile(java.io.File parent, java.lang.String child)
public BaseFile(java.lang.String pathname)
public BaseFile(java.lang.String repoDir, java.io.File pathFile)
public BaseFile(java.lang.String parent, java.lang.String child)
public BaseFile(java.net.URI uri)
Method Detail |
---|
public java.io.File getBaseDir()
public java.lang.String getRelativePath()
public void setBaseDir(java.io.File baseDir)
public void setBaseDir(java.lang.String repoDir)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |