diff options
Diffstat (limited to 'api1/pl.treksoft.kvision.cordova/-file-entry')
3 files changed, 289 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.cordova/-file-entry/create-writer.html b/api1/pl.treksoft.kvision.cordova/-file-entry/create-writer.html new file mode 100644 index 00000000..14768339 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-file-entry/create-writer.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FileEntry.createWriter - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="index.html">FileEntry</a> / <a href="./create-writer.html">createWriter</a><br/> +<br/> +<h1>createWriter</h1> +<a name="pl.treksoft.kvision.cordova.FileEntry$createWriter(pl.treksoft.kvision.cordova.FileWriterCallback, pl.treksoft.kvision.cordova.ErrorCallback)"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">createWriter</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.FileEntry$createWriter(pl.treksoft.kvision.cordova.FileWriterCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-file-writer-callback.html"><span class="identifier">FileWriterCallback</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.FileEntry$createWriter(pl.treksoft.kvision.cordova.FileWriterCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-file-entry/file.html b/api1/pl.treksoft.kvision.cordova/-file-entry/file.html new file mode 100644 index 00000000..68abdd9f --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-file-entry/file.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FileEntry.file - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="index.html">FileEntry</a> / <a href="./file.html">file</a><br/> +<br/> +<h1>file</h1> +<a name="pl.treksoft.kvision.cordova.FileEntry$file(pl.treksoft.kvision.cordova.FileCallback, pl.treksoft.kvision.cordova.ErrorCallback)"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">file</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.FileEntry$file(pl.treksoft.kvision.cordova.FileCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-file-callback.html"><span class="identifier">FileCallback</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.FileEntry$file(pl.treksoft.kvision.cordova.FileCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.cordova/-file-entry/index.html b/api1/pl.treksoft.kvision.cordova/-file-entry/index.html new file mode 100644 index 00000000..c404e3c8 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-file-entry/index.html @@ -0,0 +1,261 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FileEntry - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="./index.html">FileEntry</a><br/> +<br/> +<h1>FileEntry</h1> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileEntry</span> <span class="symbol">:</span> <a href="../-entry/index.html"><span class="identifier">Entry</span></a></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-entry/filesystem.html">filesystem</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">filesystem</span><span class="symbol">: </span><a href="../-file-system/index.html"><span class="identifier">FileSystem</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-entry/full-path.html">fullPath</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">fullPath</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></td> +</tr> +<tr> +<td> +<p><a href="../-entry/is-directory.html">isDirectory</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">isDirectory</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-entry/is-file.html">isFile</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">isFile</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-entry/name.html">name</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">name</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></td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="create-writer.html">createWriter</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">createWriter</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.FileEntry$createWriter(pl.treksoft.kvision.cordova.FileWriterCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-file-writer-callback.html"><span class="identifier">FileWriterCallback</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.FileEntry$createWriter(pl.treksoft.kvision.cordova.FileWriterCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="file.html">file</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">file</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.FileEntry$file(pl.treksoft.kvision.cordova.FileCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-file-callback.html"><span class="identifier">FileCallback</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.FileEntry$file(pl.treksoft.kvision.cordova.FileCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-entry/copy-to.html">copyTo</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">copyTo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$copyTo(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/parent">parent</span><span class="symbol">:</span> <a href="../-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$copyTo(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/newName">newName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$copyTo(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-entry-callback.html"><span class="identifier">EntryCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$copyTo(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-entry/get-metadata.html">getMetadata</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getMetadata</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$getMetadata(pl.treksoft.kvision.cordova.MetadataCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-metadata-callback.html"><span class="identifier">MetadataCallback</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$getMetadata(pl.treksoft.kvision.cordova.MetadataCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-entry/get-parent.html">getParent</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getParent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$getParent(pl.treksoft.kvision.cordova.DirectoryEntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-directory-entry-callback.html"><span class="identifier">DirectoryEntryCallback</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$getParent(pl.treksoft.kvision.cordova.DirectoryEntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-entry/move-to.html">moveTo</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">moveTo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$moveTo(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/parent">parent</span><span class="symbol">:</span> <a href="../-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$moveTo(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/newName">newName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$moveTo(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-entry-callback.html"><span class="identifier">EntryCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$moveTo(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-entry/remove.html">remove</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$remove(pl.treksoft.kvision.cordova.VoidCallback, pl.treksoft.kvision.cordova.ErrorCallback)/successCallback">successCallback</span><span class="symbol">:</span> <a href="../-void-callback.html"><span class="identifier">VoidCallback</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Entry$remove(pl.treksoft.kvision.cordova.VoidCallback, pl.treksoft.kvision.cordova.ErrorCallback)/errorCallback">errorCallback</span><span class="symbol">:</span> <a href="../-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-entry/to-internal-u-r-l.html">toInternalURL</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">toInternalURL</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></td> +</tr> +<tr> +<td> +<p><a href="../-entry/to-u-r-l.html">toURL</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">toURL</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></td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../append.html">append</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">append</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$append(pl.treksoft.kvision.cordova.FileEntry, )/data">data</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Append file content from a Blob.</p> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">append</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$append(pl.treksoft.kvision.cordova.FileEntry, kotlin.String)/data">data</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Append file content from a plain string.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../copy-to.html">copyTo</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="../-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">copyTo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$copyTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/parent">parent</span><span class="symbol">:</span> <a href="../-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova$copyTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/newName">newName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="../-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Copy given file or directory to a new location.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../create-writer.html">createWriter</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">createWriter</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="../-file-writer/index.html"><span class="identifier">FileWriter</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Create a FileWriter object for a given file entry.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../file.html">file</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">file</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</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> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Get a File object for a given file entry.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../get-metadata.html">getMetadata</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="../-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">getMetadata</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="../-metadata/index.html"><span class="identifier">Metadata</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Get file or directory metadata.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../get-parent.html">getParent</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="../-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">getParent</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="../-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Get file or directory parent directory entry.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../move-to.html">moveTo</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="../-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">moveTo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$moveTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/parent">parent</span><span class="symbol">:</span> <a href="../-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova$moveTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/newName">newName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="../-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Move given file or directory to a new location.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../read-as-array-buffer.html">readAsArrayBuffer</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">readAsArrayBuffer</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><span class="identifier"><ERROR CLASS></span><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Read file content as an array buffer.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../read-as-data-u-r-l.html">readAsDataURL</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">readAsDataURL</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Read file content as a data url.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../read-as-text.html">readAsText</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">readAsText</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Read file content as a plain string.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../remove.html">remove</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="../-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">remove</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="../-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Remove given file or directory.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../write.html">write</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">write</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$write(pl.treksoft.kvision.cordova.FileEntry, )/data">data</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Write file content from a Blob.</p> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">write</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$write(pl.treksoft.kvision.cordova.FileEntry, kotlin.String)/data">data</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Write file content from a plain string.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../write-data-ur-l.html">writeDataUrL</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">writeDataUrL</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$writeDataUrL(pl.treksoft.kvision.cordova.FileEntry, kotlin.String)/dataUrl">dataUrl</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="./index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Write file content from a data url.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> |