|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.wizards.datatransfer.FileSystemStructureProvider
This class provides information regarding the structure and content of specified file system File objects.
Field Summary | |
static FileSystemStructureProvider |
INSTANCE
Holds a singleton instance of this class. |
Method Summary | |
List |
getChildren(Object element)
Returns a collection with the children of the specified structured element. |
InputStream |
getContents(Object element)
Returns the contents of the specified structured element, or null if there is a problem determining the element's
contents. |
String |
getFullPath(Object element)
Returns the full path of the specified structured element. |
String |
getLabel(Object element)
Returns the display label of the specified structured element. |
boolean |
isFolder(Object element)
Returns a boolean indicating whether the passed structured element represents a container element (as opposed to a leaf element). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final FileSystemStructureProvider INSTANCE
Method Detail |
public List getChildren(Object element)
IImportStructureProvider
getChildren
in interface IImportStructureProvider
public InputStream getContents(Object element)
IImportStructureProvider
null
if there is a problem determining the element's
contents.
getContents
in interface IImportStructureProvider
element
- a structured element
null
public String getFullPath(Object element)
IImportStructureProvider
getFullPath
in interface IImportStructureProvider
element
- a structured element
public String getLabel(Object element)
IImportStructureProvider
getLabel
in interface IImportStructureProvider
element
- a structured element
public boolean isFolder(Object element)
IImportStructureProvider
isFolder
in interface IImportStructureProvider
element
- java.lang.Object
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |