|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.wcm.common.io.FilePath
public class FilePath
FilePath is an object to parse a file path into its distinct parts
| Constructor Summary | |
|---|---|
FilePath(java.lang.String path) |
|
FilePath(java.lang.String path, char seperator) |
|
| Method Summary | |
|---|---|
java.lang.String |
getDirectory()Retrieve the directory path of the file (i.e. |
java.lang.String |
getExtension() |
java.lang.String |
getFileName()Retrieve the filename from the path with no extension, i.e. |
java.lang.String |
getFileName(boolean excludeExtension)Retrieve the filename from the path, i.e. |
java.lang.String |
getPath() |
protected void |
parse() |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FilePath(java.lang.String path)
public FilePath(java.lang.String path,
char seperator)
| Method Detail |
|---|
protected void parse()
public java.lang.String getExtension()
public java.lang.String getPath()
public java.lang.String getDirectory()
public java.lang.String getFileName()
public java.lang.String getFileName(boolean excludeExtension)
excludeExtension - true to exclude the extension in the filenamepublic java.lang.String toString()
toString in class java.lang.Object
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||