@Deprecated
public class TechnicalSystem_StorageHandler
extends java.lang.Object
| Constructor and Description |
|---|
TechnicalSystem_StorageHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTechnicalSystemAsBase64String(TechnicalSystem technicalSystem)
Deprecated.
Returns a TechnicalSystem instance as base64 string.
|
java.lang.String |
getTechnicalSystemAsXMLString(TechnicalSystem technicalSystem)
Deprecated.
Returns the model of a technical system as XML-string.
|
TechnicalSystem |
getTechnicalSystemFromBase64String(java.lang.String base64EncodedModel)
Deprecated.
Returns a TechnicalSystem from a base64 string.
|
TechnicalSystem |
getTechnicalSystemFromEOMFile(java.io.File technicalSystemFile)
Deprecated.
Gets the technical system from eom file.
|
TechnicalSystem |
getTechnicalSystemFromXMLFile(java.io.File technicalSystemFile)
Deprecated.
Load model from a XML file.
|
TechnicalSystem |
getTechnicalSystemFromXMLString(java.lang.String xmlString)
Deprecated.
Gets the technical system from a XML string.
|
TechnicalSystem |
loadModelFromFile(java.io.File technicalSystemFile)
Deprecated.
Load model from file.
|
boolean |
saveModelAsFile(java.io.File technicalSystemFile,
TechnicalSystem technicalSystem)
Deprecated.
Save model as file.
|
boolean |
saveTechnicalSystemAsEOMFile(java.io.File technicalSystemFile,
TechnicalSystem technicalSystem)
Deprecated.
Saves an Instance of a
TechnicalSystem as TXT file. |
boolean |
saveTechnicalSystemAsXMLFile(java.io.File technicalSystemFile,
TechnicalSystem technicalSystem)
Deprecated.
Saves an Instance of a
TechnicalSystem as XML file. |
java.io.File |
selectFile(java.awt.Component parentComponent,
java.lang.String caption,
boolean allowNewFolder)
Deprecated.
Select file to load or save TechnicalSystem information.
|
public TechnicalSystem_StorageHandler()
public java.io.File selectFile(java.awt.Component parentComponent,
java.lang.String caption,
boolean allowNewFolder)
parentComponent - the parent componentcaption - the captionallowNewFolder - the allow new folderpublic TechnicalSystem loadModelFromFile(java.io.File technicalSystemFile)
technicalSystemFile - the technical system filepublic boolean saveModelAsFile(java.io.File technicalSystemFile,
TechnicalSystem technicalSystem)
technicalSystemFile - the technical system filetechnicalSystem - the technical systempublic TechnicalSystem getTechnicalSystemFromXMLFile(java.io.File technicalSystemFile)
technicalSystemFile - the file of the technical systempublic boolean saveTechnicalSystemAsXMLFile(java.io.File technicalSystemFile,
TechnicalSystem technicalSystem)
TechnicalSystem as XML file.technicalSystemFile - the file to that the model has be savedtechnicalSystem - the technical systempublic TechnicalSystem getTechnicalSystemFromXMLString(java.lang.String xmlString)
xmlString - the XML stringpublic java.lang.String getTechnicalSystemAsXMLString(TechnicalSystem technicalSystem)
technicalSystem - the instance of the technical systempublic TechnicalSystem getTechnicalSystemFromEOMFile(java.io.File technicalSystemFile)
technicalSystemFile - the technical system filepublic boolean saveTechnicalSystemAsEOMFile(java.io.File technicalSystemFile,
TechnicalSystem technicalSystem)
TechnicalSystem as TXT file.technicalSystemFile - the file to that the model has be savedtechnicalSystem - the technical systempublic java.lang.String getTechnicalSystemAsBase64String(TechnicalSystem technicalSystem)
technicalSystem - the technical systempublic TechnicalSystem getTechnicalSystemFromBase64String(java.lang.String base64EncodedModel)
base64EncodedModel - the base64 encoded model