Class FileUtils
- Namespace
- IO.Scanbot.Sdk.Util
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class FileUtils : Object
- Inheritance
-
FileUtils
Fields
ScanbotSdkFilesDir
public const string ScanbotSdkFilesDir = "scanbot-sdk"
Field Value
- string
Properties
Instance
public static FileUtils Instance { get; }
Property Value
- FileUtils
Methods
EnsureDirExists(string)
public static bool EnsureDirExists(string directoryPath)
Parameters
directoryPath
string
Returns
- bool
GetAppFilesDirOrShowError(Context, string)
public static File GetAppFilesDirOrShowError(Context context, string directoryName)
Parameters
context
Context
directoryName
string
Returns
- File
GetExternalCacheDirOrShowError(Context, string)
public static File GetExternalCacheDirOrShowError(Context context, string directoryName)
Parameters
context
Context
directoryName
string
Returns
- File
GetExternalFilesDirOrShowError(Context, string)
public static File GetExternalFilesDirOrShowError(Context context, string directoryName)
Parameters
context
Context
directoryName
string
Returns
- File
GetExternalStorageDirOrShowError(string)
public static File GetExternalStorageDirOrShowError(string directoryName)
Parameters
directoryName
string
Returns
- File
GetFilesDirOrShowError(string, string)
public static File GetFilesDirOrShowError(string parentDirPath, string directoryName)
Parameters
parentDirPath
string
directoryName
string
Returns
- File
IsFileNameSafe(ICharSequence)
public static bool IsFileNameSafe(ICharSequence name)
Parameters
name
ICharSequence
Returns
- bool
IsFileNameSafe(string)
public static bool IsFileNameSafe(string name)
Parameters
name
string
Returns
- bool