|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used in SciTreeElement
. Can be an interface to any
system that supports iterating through a directory (e.g., a file system).
Method Summary | |
ITreeIteratorNode[] |
children()
Gets the children for this iterator (e.g., a list of files in a given folder). |
void |
close()
Closes the iterator. |
java.lang.String |
getCurrentLocation()
Gets the full path of the current location. |
java.util.Locale |
getLocale()
Gets the locale for the iterator. |
java.lang.String |
getLocationName()
Gets the name of the current node, i.e. |
void |
initializeIterator(NamedValueMap dataSourceSettings)
Initialize the iterator. |
boolean |
isAtRoot()
Checks if the iterator is at the root node. |
void |
moveTo(java.lang.String location)
Moves to the specified location. |
void |
moveToParent()
Moves to the parent of this iterator node; one 'directory' up. |
void |
moveToRoot()
Moves to the root of this iterator node. |
Method Detail |
public void initializeIterator(NamedValueMap dataSourceSettings) throws java.lang.Exception
dataSourceSettings
- a java.lang.Exception
public ITreeIteratorNode[] children() throws java.lang.Exception
java.lang.Exception
public void moveToParent()
public void moveToRoot()
public void moveTo(java.lang.String location)
location
- the location to move topublic boolean isAtRoot()
public java.lang.String getLocationName()
public java.lang.String getCurrentLocation()
public java.util.Locale getLocale()
public void close() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2007 BEA Systems, Inc. All Rights Reserved.