|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dv.sbu.SourceFileInformation
public class SourceFileInformation
Information of a file relative to some root directory.
Constructor Summary | |
---|---|
SourceFileInformation(java.io.File file,
java.lang.String relativePath)
Creates a new instance. |
Method Summary | |
---|---|
java.io.File |
getFile()
Returns the underlying File object. |
java.lang.String |
getName()
The file name without the last suffix - if present. |
java.lang.String |
getRelativePath()
The relative path from the root node including the file name and suffix. |
java.lang.String |
getSuffix()
Returns the file's suffix - if present. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceFileInformation(java.io.File file, java.lang.String relativePath)
name
and suffix
will be computed from the given file
.
Path separator is '/'.
file
- The source file object.relativePath
- The relative path from the root directory beginning with a /.Method Detail |
---|
public java.io.File getFile()
File
object.
public java.lang.String getRelativePath()
public java.lang.String getName()
public java.lang.String getSuffix()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |