|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.wizards.datatransfer.FileSystemStructureProvider
public class 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 | |
|---|---|
java.util.List |
getChildren(java.lang.Object element)
Returns a collection with the children of the specified structured element. |
java.io.InputStream |
getContents(java.lang.Object element)
Returns the contents of the specified structured element, or null if there is a problem determining the element's
contents. |
java.lang.String |
getFullPath(java.lang.Object element)
Returns the full path of the specified structured element. |
java.lang.String |
getLabel(java.lang.Object element)
Returns the display label of the specified structured element. |
boolean |
isFolder(java.lang.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 java.util.List getChildren(java.lang.Object element)
IImportStructureProvider
getChildren in interface IImportStructureProviderelement - the element for which to compute the children
public java.io.InputStream getContents(java.lang.Object element)
IImportStructureProvidernull if there is a problem determining the element's
contents.
Note:: The client is responsible for closing the stream when finished.
getContents in interface IImportStructureProviderelement - a structured element
nullpublic java.lang.String getFullPath(java.lang.Object element)
IImportStructureProvider
getFullPath in interface IImportStructureProviderelement - a structured element
public java.lang.String getLabel(java.lang.Object element)
IImportStructureProvider
getLabel in interface IImportStructureProviderelement - a structured element
public boolean isFolder(java.lang.Object element)
IImportStructureProvider
isFolder in interface IImportStructureProviderelement - java.lang.Object
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.