|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjump.core.ui.io.file.AbstractFileLayerLoader
public abstract class AbstractFileLayerLoader
A base implementation of FileLayerLoader.
| Field Summary |
|---|
| Fields inherited from interface org.openjump.core.ui.io.file.FileLayerLoader |
|---|
KEY |
| Constructor Summary | |
|---|---|
AbstractFileLayerLoader(java.lang.String description,
java.util.List<java.lang.String> extensions)
Construct a new AbstractFileLayerLoader with a description and list of extensions. |
|
| Method Summary | |
|---|---|
void |
addOption(java.lang.String name,
java.lang.String type,
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. |
java.lang.String |
toString()
Return a string representation of the loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openjump.core.ui.io.file.FileLayerLoader |
|---|
open |
| Constructor Detail |
|---|
public AbstractFileLayerLoader(java.lang.String description,
java.util.List<java.lang.String> extensions)
description - The format description.extensions - The supported file extension.| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in interface FileLayerLoaderpublic java.util.Collection<java.lang.String> getFileExtensions()
getFileExtensions in interface FileLayerLoader
public 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 java.util.List<Option> getOptionMetadata()
getOptionMetadata in interface FileLayerLoaderpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||