Class AmaltheaWriter
- Object
-
- AmaltheaWriter
-
public class AmaltheaWriter extends Object
-
-
Method Summary
All Methods Modifier and Type Method Description static booleanwriteToFile(Amalthea model, File file)Static method to save an AMALTHEA model to a file.static booleanwriteToFileNamed(Amalthea model, String pathname)Static method to save an AMALTHEA model to a file with a given pathname string.static booleanwriteToURI(Amalthea model, URI uri)Static method to save an AMALTHEA model to a file URI.
-
-
-
Method Detail
-
writeToFileNamed
public static boolean writeToFileNamed(Amalthea model, String pathname)Static method to save an AMALTHEA model to a file with a given pathname string.Possible path names:
- absolute (example: "d:/temp/model_new.amxmi")
- relative to project folder (example: "output/model_new.amxmi")
- Parameters:
model- source modelpathname- String- Returns:
- boolean - true if file is written successfully
-
writeToFile
public static boolean writeToFile(Amalthea model, File file)Static method to save an AMALTHEA model to a file.- Parameters:
model- source modelfile- standard Java file- Returns:
- boolean - true if file is written successfully
-
writeToURI
public static boolean writeToURI(Amalthea model, URI uri)Static method to save an AMALTHEA model to a file URI.- Parameters:
model- source modeluri- org.eclipse.emf.common.util.URI- Returns:
- boolean - true if file is written successfully
-
-