public class ConverterResources
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CORE_FILE_LOADERS
the core loaders - hardcoded list necessary for RMI/Remote Experiments
(comma-separated list).
|
static java.lang.String |
CORE_FILE_SAVERS
the core savers - hardcoded list necessary for RMI/Remote Experiments
(comma-separated list).
|
protected static java.util.Hashtable<java.lang.String,java.lang.String> |
m_FileLoaders
all available loaders (extension <-> classname).
|
protected static java.util.Hashtable<java.lang.String,java.lang.String> |
m_FileSavers
all available savers (extension <-> classname).
|
protected static java.util.Hashtable<java.lang.String,java.lang.String> |
m_URLFileLoaders
all available URL loaders (extension <-> classname).
|
| Constructor and Description |
|---|
ConverterResources() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.util.Hashtable<java.lang.String,java.lang.String> |
getFileConverters(java.util.List<java.lang.String> classnames,
java.lang.String[] intf)
returns a hashtable with the association
"file extension <-> converter classname" for the list of converter
classnames.
|
protected static java.util.Hashtable<java.lang.String,java.lang.String> |
getFileConverters(java.lang.String classnames,
java.lang.String[] intf)
returns a hashtable with the association
"file extension <-> converter classname" for the comma-separated list
of converter classnames.
|
static java.util.Hashtable<java.lang.String,java.lang.String> |
getFileLoaders()
Returns the file loaders.
|
static java.util.Hashtable<java.lang.String,java.lang.String> |
getFileSavers()
Returns the file savers.
|
static java.util.Hashtable<java.lang.String,java.lang.String> |
getURLFileLoaders()
Returns the URL file loaders.
|
static void |
initialize() |
static boolean |
isCoreFileLoader(java.lang.String classname)
checks whether the given class is one of the hardcoded core file loaders.
|
static boolean |
isCoreFileSaver(java.lang.String classname)
checks whether the given class is one of the hardcoded core file savers.
|
public static final java.lang.String CORE_FILE_LOADERS
public static final java.lang.String CORE_FILE_SAVERS
protected static java.util.Hashtable<java.lang.String,java.lang.String> m_FileLoaders
protected static java.util.Hashtable<java.lang.String,java.lang.String> m_URLFileLoaders
protected static java.util.Hashtable<java.lang.String,java.lang.String> m_FileSavers
public static boolean isCoreFileLoader(java.lang.String classname)
classname - the class to checkCORE_FILE_LOADERSpublic static boolean isCoreFileSaver(java.lang.String classname)
classname - the class to checkCORE_FILE_SAVERSpublic static java.util.Hashtable<java.lang.String,java.lang.String> getFileLoaders()
public static java.util.Hashtable<java.lang.String,java.lang.String> getURLFileLoaders()
public static java.util.Hashtable<java.lang.String,java.lang.String> getFileSavers()
public static void initialize()
protected static java.util.Hashtable<java.lang.String,java.lang.String> getFileConverters(java.lang.String classnames,
java.lang.String[] intf)
classnames - comma-separated list of converter classnamesintf - interfaces the converters have to implementprotected static java.util.Hashtable<java.lang.String,java.lang.String> getFileConverters(java.util.List<java.lang.String> classnames,
java.lang.String[] intf)
classnames - list of converter classnamesintf - interfaces the converters have to implement