java.lang.Objectucot.output.DummyOutput
public class DummyOutput
Dummy Output that does nothing
Constructor Summary | |
---|---|
DummyOutput()
|
Method Summary | |
---|---|
void |
applyProperties()
Applies current properties for the module. |
java.lang.String |
getFileExtension()
Returns the output's valid file extension without the leading dot. |
java.lang.String |
getName()
Returns adapter's name. |
java.util.Properties |
getProperties()
Returns module's properties. |
java.util.Properties |
loadDefaultProperties()
Method which returns the factory default properties for the module. |
void |
loadProperties()
Loads settings from the current properties XML file. |
void |
output(AnalyzeModel analyzeModel,
java.net.URL url)
Outputs analyze model. |
void |
saveProperties()
Saves current properties to the properties XML file. |
void |
setProperties(java.util.Properties properties)
Sets options for the adapter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyOutput()
Method Detail |
---|
public void output(AnalyzeModel analyzeModel, java.net.URL url) throws java.io.IOException
OutputInterface
output
in interface OutputInterface
analyzeModel
- Analyze model to output.
java.io.IOException
public java.lang.String getName()
OutputInterface
getName
in interface OutputInterface
public java.util.Properties getProperties()
ModulePropertyInterface
Returns module's properties.
getProperties
in interface ModulePropertyInterface
public void setProperties(java.util.Properties properties)
ModulePropertyInterface
Sets options for the adapter.
Notice that this does not need to be an perfect set of properties for this module because these properties should be merged to the current properties. So it is possible to change only one property value by giving a new property object with the new value for the given key.
setProperties
in interface ModulePropertyInterface
properties
- Properties for the adapter.public void applyProperties() throws BadPropertyValueException
ModulePropertyInterface
Applies current properties for the module.
applyProperties
in interface ModulePropertyInterface
BadPropertyValueException
- In this case exception
is thrown only if either the given parser or heuristic
does not exist.public void saveProperties() throws java.io.IOException
ModulePropertyInterface
Saves current properties to the properties XML file.
saveProperties
in interface ModulePropertyInterface
java.io.IOException
- Exception is thrown if something went wrong.public void loadProperties() throws java.io.IOException
ModulePropertyInterface
Loads settings from the current properties XML file.
loadProperties
in interface ModulePropertyInterface
java.io.IOException
- Exception is thrown if something went wrong.public java.util.Properties loadDefaultProperties()
ModulePropertyInterface
Method which returns the factory default properties for the module.
loadDefaultProperties
in interface ModulePropertyInterface
public java.lang.String getFileExtension()
OutputInterface
getFileExtension
in interface OutputInterface