public class FileSystemStructureProvider extends Object implements IImportStructureProvider
| Modifier and Type | Field and Description |
|---|---|
static FileSystemStructureProvider |
INSTANCE
Holds a singleton instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
public static final FileSystemStructureProvider INSTANCE
public List getChildren(Object element)
IImportStructureProvidergetChildren in interface IImportStructureProviderpublic InputStream getContents(Object element)
IImportStructureProvidernull if there is a problem determining the element's
contents.getContents in interface IImportStructureProviderelement - a structured elementnullpublic String getFullPath(Object element)
IImportStructureProvidergetFullPath in interface IImportStructureProviderelement - a structured elementpublic String getLabel(Object element)
IImportStructureProvidergetLabel in interface IImportStructureProviderelement - a structured elementpublic boolean isFolder(Object element)
IImportStructureProviderisFolder in interface IImportStructureProviderelement - java.lang.ObjectGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.