public class ZipImportConfigurator extends AbstractImportEntryConfigurator implements IImportEntryConfigurator
Constructor and Description |
---|
ZipImportConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
configureImport(ImportEntry entry,
IProgressMonitor monitor)
Configure the given import entry any further.
|
ask, getConfigurators
public void configureImport(ImportEntry entry, IProgressMonitor monitor)
IImportEntryConfigurator
ImportModel#addFile(java.io.File, boolean)
after the entry has
been basically setup. It does contain a File
and a pre-configured
TextGridObject
. The TextGridObject has been setup with a content
type and a guessed title field.
If we have found an existing metadata file for the entry, the
import entry's local metadata
field will be non-null
and the metadata will already have
been loaded to the TextGridObject
.
Implementors are expected to check (as quick as possible) whether they are applicable and return immediately if not. If an implementor is applicable it should perform any further operations to pre-configure the object to import etc. This can also include adding other files.
configureImport
in interface IImportEntryConfigurator
entry
- the import entry that can optionally be modified.