|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.weborganic.bastille.psml.PSMLFile
public final class PSMLFile
A path/file value pair for a PSML document.
Method Summary | |
---|---|
boolean |
exists()
Indicates whether this resource exists. |
File |
file()
The files corresponding to the path. |
String |
getBase()
Returns the base path for the specified PSML. |
String |
path()
The path to the file from the PSML root folder. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String path()
public File file()
public String getBase()
The base path is the path to the folder for the given PSML file.
NullPointerException
- if the psml folder is null
.public boolean exists()
true
if the file is not null
and exists on the file system;
false
otherwise.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |