|
Oxygen XML Editor, Version ${standalone-version-number} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.sample.plugin.converter.ConversionManager
public class ConversionManager
Contain all formats.
Field Summary | |
---|---|
static String |
CONFIG_RESOURCE
The path to conversion.xml file. |
Constructor Summary | |
---|---|
ConversionManager()
Extract all formats from configuration file. |
Method Summary | |
---|---|
Boolean |
getDefaultValueAsBoolean(String key)
Gets the defaultValueAsBoolean attribute of the ConversionManager object |
String |
getDefaultValueAsString(String key)
Gets the defaultValueAsString attribute of the ConversionManager object |
ConversionFormat |
getFormatByName(String formatName)
Gets a conversion format by name. |
List |
getFormats()
Return all formats. |
String |
getStringResource(String key)
Gets the stringResource attribute of the ConversionManager object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String CONFIG_RESOURCE
Constructor Detail |
---|
public ConversionManager() throws IOException, ConversionException
IOException
- Thrown when conversion.xml file not
found.
ConversionException
- Thrown when invalid format is found.Method Detail |
---|
public List getFormats()
public ConversionFormat getFormatByName(String formatName)
formatName
- The format name.
public String getStringResource(String key)
key
- Description of Parameter
public String getDefaultValueAsString(String key)
key
- Description of Parameter
public Boolean getDefaultValueAsBoolean(String key)
key
- Description of Parameter
|
Oxygen XML Editor, Version ${standalone-version-number} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |