|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.keg.importer.ImportManager
public final class ImportManager
A singleton class for accessing KEG graph import functionality.
Field Summary | |
---|---|
static ImporterOption<Boolean> |
OPTION_OPEN_DIAGRAM
the option for the automatic opening of the diagram file. |
Method Summary | |
---|---|
void |
addImporter(AbstractImporter imp)
Registers a graph importer. |
String[] |
getExtensions()
Returns all registered extensions. |
List<AbstractImporter> |
getImporter()
Returns all registered importers. |
AbstractImporter |
getImporterByExtension(String extension)
Returns an importer which supports the given file extension or null if no such importer is registered. |
AbstractImporter |
getImporterByName(String name)
Returns the importer with the given name or null if no such importer exists. |
String[] |
getImporterNames()
Returns an array containing the names of all registered importers. |
static ImportManager |
getInstance()
Returns the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ImporterOption<Boolean> OPTION_OPEN_DIAGRAM
Method Detail |
---|
public static ImportManager getInstance()
public void addImporter(AbstractImporter imp)
imp
- the importerpublic List<AbstractImporter> getImporter()
public String[] getImporterNames()
public AbstractImporter getImporterByName(String name)
name
- the importers name
public String[] getExtensions()
public AbstractImporter getImporterByExtension(String extension)
extension
- the extension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |