com.elixirtech.report2.runtime
Interface IFileObject

All Known Implementing Classes:
BasicFileObject

public interface IFileObject

IFileObject provides functions to interface with the underlying FileObject.


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.
 

Method Detail

getName

java.lang.String getName()
Get display name of the file object.


getExtension

java.lang.String getExtension()
Get extension of file object.


getPath

java.lang.String getPath()
Get full path of file object.


getFileSystem

IFileSystem getFileSystem()
Get extension the file system of the file object.


getParent

IFileObject getParent()
Get the parent file object.


getChild

IFileObject getChild(java.lang.String name)
Get the child file object by its name.

Parameters:
name - Child file name.

isFolder

boolean isFolder()
Check if file object is a folder.


isData

boolean isData()
Check if file object is a data.


lastModified

long lastModified()
Check modified time stamp of the file object.


getChildren

IFileObject[] getChildren()
Get a list of the child file objects.