| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elixirtech.ers2.client.BasicFileObject
public class BasicFileObject
| Constructor Summary | |
|---|---|
| BasicFileObject(com.elixirtech.jdom.Element rootFO,
                IFileSystem fs)Root File Object constructor | |
| BasicFileObject(com.elixirtech.jdom.Element fo,
                IFileSystem fs,
                IFileObject parentfo)File Object constructor | |
| Method Summary | |
|---|---|
|  IFileObject | getChild(java.lang.String name)Get the child file object by its name. | 
|  IFileObject[] | getChildren()Get a list of the child file objects. | 
|  java.lang.String | getExtension()Get extension of file object. | 
|  IFileSystem | getFileSystem()Get extension the file system of the file object. | 
|  java.lang.String | getName()Get display name of the file object. | 
|  IFileObject | getParent()Get the parent file object. | 
|  java.lang.String | getPath()Get full path of file object. | 
|  boolean | isData()Check if file object is a data. | 
|  boolean | isFolder()Check if file object is a folder. | 
|  long | lastModified()Check modified time stamp of the file object. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public BasicFileObject(com.elixirtech.jdom.Element fo,
                       IFileSystem fs,
                       IFileObject parentfo)
fo - objectfs - systemparentfo - object parent.
public BasicFileObject(com.elixirtech.jdom.Element rootFO,
                       IFileSystem fs)
rootFO - file systemfs - system| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
IFileObject
getName in interface IFileObjectpublic java.lang.String getExtension()
IFileObject
getExtension in interface IFileObjectpublic java.lang.String getPath()
IFileObject
getPath in interface IFileObjectpublic IFileSystem getFileSystem()
IFileObject
getFileSystem in interface IFileObjectpublic IFileObject getParent()
IFileObject
getParent in interface IFileObjectpublic IFileObject getChild(java.lang.String name)
IFileObject
getChild in interface IFileObjectname - Child file name.public boolean isFolder()
IFileObject
isFolder in interface IFileObjectpublic boolean isData()
IFileObject
isData in interface IFileObjectpublic long lastModified()
IFileObject
lastModified in interface IFileObjectpublic IFileObject[] getChildren()
IFileObject
getChildren in interface IFileObject| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||