<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">A <div><br></div><div><a href="http://docs.oracle.com/javase/6/docs/api/javax/script/ScriptEngineFactory.html#getProgram%28java.lang.String...%29">http://docs.oracle.com/javase/6/docs/api/javax/script/ScriptEngineFactory.html#getProgram%28java.lang.String...%29</a></div><div><br></div><div>oldalon látok valamit ami nonsense-nek tűnik nekem, vagy egy szenilis vén hülye vagyok, hogy ennyire benézek valamit.</div><div><br></div><div><h3> getProgram</h3>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html" title="class in java.lang">String</a> <b>getProgram</b>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html" title="class in java.lang">String</a>... statements)</pre>
<dl>
<dd>Returns A valid scripting language executable progam with given statements.
For instance an implementation for a PHP engine might be:
<div>
<br class="webkit-block-placeholder"></div><pre><code>
public String getProgram(String... statements) {
$retval = "<?\n";
int len = statements.length;
for (int i = 0; i < len; i++) {
$retval += statements[i] + ";\n";
}
$retval += "?>";
}
</code></pre><div>
<br class="webkit-block-placeholder"></div></dd><dd><dl>
<dt><b>Parameters:</b></dt><dd><code>statements</code> - The statements to be executed. May be return values of
calls to the <code>getMethodCallSyntax</code> and <code>getOutputStatement</code> methods.
</dd><dt><b>Returns:</b></dt><dd>The Program</dd></dl>
</dd>
</dl><div><br></div></div><div><br></div><div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Helvetica; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="color: rgb(136, 136, 136); ">--</span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><br></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); ">Verhás Péter</span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><br></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><a href="mailto:peter@verhas.com">peter@verhas.com</a></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><br></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); ">+36(30)9306805</span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><br></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); ">skype: verhas</span></div></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>