blob: ec2210b4efa3296006d7dfd7ae9a017b50dc2dc9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_232) on Mon Feb 03 14:26:20 CET 2020 -->
<title>AmaltheaWriter</title>
<meta name="date" content="2020-02-03">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.app4mc.amalthea.model.io</div>
<h2 title="Class AmaltheaWriter" class="title">Class AmaltheaWriter</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>Object</li>
<li>
<ul class="inheritance">
<li>AmaltheaWriter</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">AmaltheaWriter</span>
extends Object</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="#AmaltheaWriter--">AmaltheaWriter</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#writeToFile-org.eclipse.app4mc.amalthea.model.Amalthea-java.io.File-">writeToFile</a></span>(Amalthea&nbsp;model,
File&nbsp;file)</code>
<div class="block">Static method to save an AMALTHEA model to a file.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#writeToFileNamed-org.eclipse.app4mc.amalthea.model.Amalthea-java.lang.String-">writeToFileNamed</a></span>(Amalthea&nbsp;model,
String&nbsp;pathname)</code>
<div class="block">Static method to save an AMALTHEA model to a file with a given pathname string.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#writeToURI-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.emf.common.util.URI-">writeToURI</a></span>(Amalthea&nbsp;model,
URI&nbsp;uri)</code>
<div class="block">Static method to save an AMALTHEA model to a file URI.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AmaltheaWriter--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AmaltheaWriter</h4>
<pre>public&nbsp;AmaltheaWriter()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="writeToFileNamed-org.eclipse.app4mc.amalthea.model.Amalthea-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeToFileNamed</h4>
<pre>public static&nbsp;boolean&nbsp;writeToFileNamed(Amalthea&nbsp;model,
String&nbsp;pathname)</pre>
<div class="block">Static method to save an AMALTHEA model to a file with a given pathname string.
<p>
Possible path names:
<ul>
<li>absolute (example: "d:/temp/model_new.amxmi")</li>
<li>relative to project folder (example: "output/model_new.amxmi")</li>
</ul></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - source model</dd>
<dd><code>pathname</code> - String</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean - true if file is written successfully</dd>
</dl>
</li>
</ul>
<a name="writeToFile-org.eclipse.app4mc.amalthea.model.Amalthea-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeToFile</h4>
<pre>public static&nbsp;boolean&nbsp;writeToFile(Amalthea&nbsp;model,
File&nbsp;file)</pre>
<div class="block">Static method to save an AMALTHEA model to a file.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - source model</dd>
<dd><code>file</code> - standard Java file</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean - true if file is written successfully</dd>
</dl>
</li>
</ul>
<a name="writeToURI-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.emf.common.util.URI-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>writeToURI</h4>
<pre>public static&nbsp;boolean&nbsp;writeToURI(Amalthea&nbsp;model,
URI&nbsp;uri)</pre>
<div class="block">Static method to save an AMALTHEA model to a file URI.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - source model</dd>
<dd><code>uri</code> - org.eclipse.emf.common.util.URI</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean - true if file is written successfully</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</body>
</html>