summaryrefslogtreecommitdiff
path: root/api/kvision/pl.treksoft.kvision.form.upload/-upload-input/get-content.html
blob: d24d4aed5d03176984215fbc86fe88ac25480432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>UploadInput.getContent - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form.upload</a>&nbsp;/&nbsp;<a href="index.html">UploadInput</a>&nbsp;/&nbsp;<a href="./get-content.html">getContent</a><br/>
<br/>
<h1>getContent</h1>
<a name="pl.treksoft.kvision.form.upload.UploadInput.Companion$getContent(pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K)), kotlin.reflect.KProperty1((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K, kotlin.collections.List((pl.treksoft.kvision.types.KFile)))), pl.treksoft.kvision.types.KFile)"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="../../pl.treksoft.kvision.form/-form/index.html"><span class="identifier">Form</span></a><span class="symbol">&lt;</span><a href="get-content.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">getContent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.upload.UploadInput.Companion$getContent(pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K)), kotlin.reflect.KProperty1((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K, kotlin.collections.List((pl.treksoft.kvision.types.KFile)))), pl.treksoft.kvision.types.KFile)/key">key</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property1/index.html"><span class="identifier">KProperty1</span></a><span class="symbol">&lt;</span><a href="get-content.html#K"><span class="identifier">K</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.types/-k-file/index.html"><span class="identifier">KFile</span></a><span class="symbol">&gt;</span><span class="symbol">?</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.upload.UploadInput.Companion$getContent(pl.treksoft.kvision.form.Form((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K)), kotlin.reflect.KProperty1((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K, kotlin.collections.List((pl.treksoft.kvision.types.KFile)))), pl.treksoft.kvision.types.KFile)/kFile">kFile</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.types/-k-file/index.html"><span class="identifier">KFile</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.types/-k-file/index.html"><span class="identifier">KFile</span></a></code><br/>
<a name="pl.treksoft.kvision.form.upload.UploadInput.Companion$getContent(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K)), kotlin.reflect.KProperty1((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K, kotlin.collections.List((pl.treksoft.kvision.types.KFile)))), pl.treksoft.kvision.types.KFile)"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="../../pl.treksoft.kvision.form/-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="get-content.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">getContent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.upload.UploadInput.Companion$getContent(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K)), kotlin.reflect.KProperty1((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K, kotlin.collections.List((pl.treksoft.kvision.types.KFile)))), pl.treksoft.kvision.types.KFile)/key">key</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property1/index.html"><span class="identifier">KProperty1</span></a><span class="symbol">&lt;</span><a href="get-content.html#K"><span class="identifier">K</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.types/-k-file/index.html"><span class="identifier">KFile</span></a><span class="symbol">&gt;</span><span class="symbol">?</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.upload.UploadInput.Companion$getContent(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K)), kotlin.reflect.KProperty1((pl.treksoft.kvision.form.upload.UploadInput.Companion.getContent.K, kotlin.collections.List((pl.treksoft.kvision.types.KFile)))), pl.treksoft.kvision.types.KFile)/kFile">kFile</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.types/-k-file/index.html"><span class="identifier">KFile</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.types/-k-file/index.html"><span class="identifier">KFile</span></a></code>
<p>Returns file with the content read.</p>
<h3>Parameters</h3>
<p><a name="key"></a>
<code>key</code> - key identifier of the control</p>
<p><a name="kFile"></a>
<code>kFile</code> - object identifying the file</p>
<p><strong>Return</strong><br/>
KFile object</p>
</BODY>
</HTML>