summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.utils/org.w3c.files.-file/get-content.html
blob: 4a8b191b18fcd06c4cf7a1233182362dd3d2f6f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>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.utils</a>&nbsp;/&nbsp;<a href="index.html">org.w3c.files.File</a>&nbsp;/&nbsp;<a href="./get-content.html">getContent</a><br/>
<br/>
<h1>getContent</h1>
<a name="pl.treksoft.kvision.utils$getContent(org.w3c.files.File)"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.files/-file/index.html"><span class="identifier">File</span></a><span class="symbol">.</span><span class="identifier">getContent</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Suspending extension function to get file content.</p>
<p><strong>Return</strong><br/>
file content</p>
</BODY>
</HTML>