| org.eclipse.ui.internal.wizards.datatransfer.ILeveledImportStructureProvider
All known Subclasses: org.eclipse.ui.internal.wizards.datatransfer.TarLeveledStructureProvider, org.eclipse.ui.internal.wizards.datatransfer.ZipLeveledStructureProvider,
ILeveledImportStructureProvider | interface ILeveledImportStructureProvider extends IImportStructureProvider(Code) | | Interface which can provide structure and content information for an archive
element. Used by the import wizards to abstract the commonalities between
importing from the a zip file and importing from a tar file.
since: 3.1 |
Method Summary | |
public boolean | closeArchive() Close the archive file that was used to create this leveled structure provider. | abstract public Object | getRoot() Returns the entry that this importer uses as the root sentinel. | abstract public int | getStrip() | abstract public void | setStrip(int level) Tells the provider to strip N number of directories from the path of any
path or file name returned by the IImportStructureProvider (Default=0). |
closeArchive | public boolean closeArchive()(Code) | | Close the archive file that was used to create this leveled structure provider.
true if the archive was closed successfully |
getRoot | abstract public Object getRoot()(Code) | | Returns the entry that this importer uses as the root sentinel.
root entry of the archive file |
getStrip | abstract public int getStrip()(Code) | | Returns the number of directories that this IImportStructureProvider is
stripping from the file name
int Number of entries |
setStrip | abstract public void setStrip(int level)(Code) | | Tells the provider to strip N number of directories from the path of any
path or file name returned by the IImportStructureProvider (Default=0).
Parameters: level - The number of directories to strip |
|
|