|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fuin.kickstart4j.MkDir
public final class MkDir
A directory inside a base directory. This class is immutable.
| Constructor Summary | |
|---|---|
MkDir(java.io.File baseDir,
java.io.File dir)
Constructor with base directory and directory. |
|
MkDir(java.lang.String path)
Constructor with all arguments. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCanonicalPath(java.io.File baseDir)
Returns the absolute directory based on a given base directory as String. |
java.io.File |
getDestDir(java.io.File baseDir)
Returns the absolute file based on a given base directory. |
java.lang.String |
getPath()
Returns the path of the file. |
java.lang.String |
getSlashPath()
Returns the path with a slash ("/") used as separator. |
java.lang.String |
toXML()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MkDir(java.io.File baseDir,
java.io.File dir)
baseDir - Base directory for calculating the relative path.dir - Directory inside the base directory.public MkDir(java.lang.String path)
path - Path relative to the base directory.| Method Detail |
|---|
public final java.lang.String getPath()
public final java.lang.String getCanonicalPath(java.io.File baseDir)
baseDir - Base directory.
public final java.io.File getDestDir(java.io.File baseDir)
baseDir - Base directory.
public final java.lang.String getSlashPath()
public final java.lang.String toXML()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||