|
|||||||||
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
- systemMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
IFileObject
getName
in interface IFileObject
public java.lang.String getExtension()
IFileObject
getExtension
in interface IFileObject
public java.lang.String getPath()
IFileObject
getPath
in interface IFileObject
public IFileSystem getFileSystem()
IFileObject
getFileSystem
in interface IFileObject
public IFileObject getParent()
IFileObject
getParent
in interface IFileObject
public IFileObject getChild(java.lang.String name)
IFileObject
getChild
in interface IFileObject
name
- Child file name.public boolean isFolder()
IFileObject
isFolder
in interface IFileObject
public boolean isData()
IFileObject
isData
in interface IFileObject
public long lastModified()
IFileObject
lastModified
in interface IFileObject
public IFileObject[] getChildren()
IFileObject
getChildren
in interface IFileObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |