|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileLayerLoader
The FileLayerLoader defines the interface for plug-ins that can load files into the current Task.
A file loader has a getDescription() used in the GUI and a list of
getFileExtensions() that it can be used to load.
The getOptionMetadata() can be used to define a list of
Options that a user can/must provide when loading the file. These
will be used by the GUI to create fields for entry of these options.
| Field Summary | |
|---|---|
static java.lang.String |
KEY
The key in the registry where loaders are registered. |
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Get the descriptive name of the file format (e.g. |
java.util.Collection<java.lang.String> |
getFileExtensions()
Get the list of file extensions supported by the plug-in. |
java.util.List<Option> |
getOptionMetadata()
Get the list of Options supported by the plug-in. |
boolean |
open(TaskMonitor monitor,
java.net.URI uri,
java.util.Map<java.lang.String,java.lang.Object> options)
Open the file specified by the URI with the map of option values. |
| Field Detail |
|---|
static final java.lang.String KEY
| Method Detail |
|---|
java.util.Collection<java.lang.String> getFileExtensions()
java.lang.String getDescription()
boolean open(TaskMonitor monitor,
java.net.URI uri,
java.util.Map<java.lang.String,java.lang.Object> options)
monitor - The TaskMonitor.uri - The URI to the file to load.options - The map of options.
java.util.List<Option> getOptionMetadata()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||