Table of Contents

Class FileUtilsKt

Namespace
IO.Scanbot.Sdk.Util
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/util/FileUtilsKt", DoNotGenerateAcw = true)]
public sealed class FileUtilsKt : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
FileUtilsKt
Implements
Inherited Members

Methods

CopyToFileAndClose(Stream, File)

[Register("copyToFileAndClose", "(Ljava/io/InputStream;Ljava/io/File;)V", "")]
public static void CopyToFileAndClose(Stream obj, File outputFile)

Parameters

obj Stream
outputFile File

GetStorageFreeSpaceBytes(string)

[Register("getStorageFreeSpaceBytes", "(Ljava/lang/String;)J", "")]
public static long GetStorageFreeSpaceBytes(string path)

Parameters

path string

Returns

long

GetStorageTotalSpaceBytes(string)

[Register("getStorageTotalSpaceBytes", "(Ljava/lang/String;)J", "")]
public static long GetStorageTotalSpaceBytes(string path)

Parameters

path string

Returns

long

PathWithoutExtension(File)

[Register("pathWithoutExtension", "(Ljava/io/File;)Ljava/lang/String;", "")]
public static string PathWithoutExtension(File obj)

Parameters

obj File

Returns

string