public abstract class AbstractFileLayerLoader extends java.lang.Object implements FileLayerLoader
FileLayerLoader.| Modifier and Type | Field and Description | 
|---|---|
static java.util.Comparator | 
PRIO_COMPARATOR  | 
KEY| Constructor and Description | 
|---|
AbstractFileLayerLoader()
default constructor for xmlpersitence 
 | 
AbstractFileLayerLoader(java.lang.String description,
                       java.util.List<java.lang.String> extensions)
Construct a new AbstractFileLayerLoader with a description and list of
 extensions. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
addFileExtensions(java.util.List<java.lang.String> newexts)
Add to the list of file extensions supported by the plug-in. 
 | 
void | 
addOption(java.lang.String name,
         java.lang.String type,
         boolean required)
Add an option. 
 | 
void | 
addOption(java.lang.String name,
         java.lang.String type,
         java.lang.Object defaultValue,
         boolean required)
Add an option. 
 | 
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 | 
removeOption(java.lang.String name,
            java.lang.String type,
            boolean required)
Remove an option. 
 | 
boolean | 
removeOption(java.lang.String name,
            java.lang.String type,
            java.lang.Object defaultValue,
            boolean required)
Remove an option. 
 | 
java.lang.String | 
toString()
Return a string representation of the loader. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitopenpublic AbstractFileLayerLoader()
public AbstractFileLayerLoader(java.lang.String description,
                       java.util.List<java.lang.String> extensions)
description - The format description.extensions - The supported file extension.public java.lang.String getDescription()
getDescription in interface FileLayerLoaderpublic java.util.Collection<java.lang.String> getFileExtensions()
getFileExtensions in interface FileLayerLoaderpublic boolean addFileExtensions(java.util.List<java.lang.String> newexts)
newexts - list of extensionspublic void addOption(java.lang.String name,
             java.lang.String type,
             boolean required)
name - The name of the option.type - The type of the option.required - True if a value for the option is required.Optionpublic void addOption(java.lang.String name,
             java.lang.String type,
             java.lang.Object defaultValue,
             boolean required)
name - The name of the option.type - The type of the option.defaultValue - The defaultValue of the option.required - True if a value for the option is required.Optionpublic boolean removeOption(java.lang.String name,
                   java.lang.String type,
                   boolean required)
name - The name of the option.type - The type of the option.required - True if a value for the option is required.Optionpublic boolean removeOption(java.lang.String name,
                   java.lang.String type,
                   java.lang.Object defaultValue,
                   boolean required)
name - The name of the option.type - The type of the option.defaultValue - The defaultValue of the option.required - True if a value for the option is required.Optionpublic java.util.List<Option> getOptionMetadata()
getOptionMetadata in interface FileLayerLoaderpublic java.lang.String toString()
toString in class java.lang.Object