blob: 6af01776615874d2485963abec66bd33d629c121 [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_201) on Wed Jul 31 11:27:00 CEST 2019 -->
<title>AmaltheaLoader</title>
<meta name="date" content="2019-07-31">
<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 AmaltheaLoader" class="title">Class AmaltheaLoader</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>Object</li>
<li>
<ul class="inheritance">
<li>AmaltheaLoader</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">AmaltheaLoader</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="#AmaltheaLoader--">AmaltheaLoader</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 Amalthea</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#loadFromFile-java.io.File-">loadFromFile</a></span>(File&nbsp;file)</code>
<div class="block">Static method to load an AMALTHEA model from a file.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static Amalthea</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#loadFromFileNamed-java.lang.String-">loadFromFileNamed</a></span>(String&nbsp;pathname)</code>
<div class="block">Static method to load an AMALTHEA model from a file with a given pathname
string.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static Amalthea</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="#loadFromURI-org.eclipse.emf.common.util.URI-">loadFromURI</a></span>(URI&nbsp;uri)</code>
<div class="block">Static method to load an AMALTHEA model from 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="AmaltheaLoader--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AmaltheaLoader</h4>
<pre>public&nbsp;AmaltheaLoader()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="loadFromFileNamed-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadFromFileNamed</h4>
<pre>public static&nbsp;Amalthea&nbsp;loadFromFileNamed(String&nbsp;pathname)</pre>
<div class="block">Static method to load an AMALTHEA model from a file with a given pathname
string.
<p>
Possible path names:
<ul>
<li>absolute (example: "d:/temp/model.amxmi")</li>
<li>relative to project folder (example: "input/model.amxmi")</li>
</ul></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pathname</code> - String</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>AMALTHEA model - null if load failed</dd>
</dl>
</li>
</ul>
<a name="loadFromFile-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadFromFile</h4>
<pre>public static&nbsp;Amalthea&nbsp;loadFromFile(File&nbsp;file)</pre>
<div class="block">Static method to load an AMALTHEA model from a file.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>file</code> - standard Java file</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>AMALTHEA model - null if load failed</dd>
</dl>
</li>
</ul>
<a name="loadFromURI-org.eclipse.emf.common.util.URI-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>loadFromURI</h4>
<pre>public static&nbsp;Amalthea&nbsp;loadFromURI(URI&nbsp;uri)</pre>
<div class="block">Static method to load an AMALTHEA model from a file URI.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>uri</code> - org.eclipse.emf.common.util.URI</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>AMALTHEA model - null if load failed</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</body>
</html>