Table of Contents

Interface IBaseFileIOProcessor

Namespace
IO.Scanbot.Sdk.Persistence.Fileio
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/persistence/fileio/BaseFileIOProcessor", "", "IO.Scanbot.Sdk.Persistence.Fileio.IBaseFileIOProcessorInvoker")]
public interface IBaseFileIOProcessor : IJavaObject, IJavaPeerable, IDisposable
Inherited Members

Properties

UseEncryption

bool UseEncryption { get; }

Property Value

bool

Methods

CopyRaw(File, File)

[Register("copyRaw", "(Ljava/io/File;Ljava/io/File;)V", "GetCopyRaw_Ljava_io_File_Ljava_io_File_Handler:IO.Scanbot.Sdk.Persistence.Fileio.IBaseFileIOProcessorInvoker, DocumentSDK.NET.Droid")]
void CopyRaw(File source, File destination)

Parameters

source File
destination File

OpenFileInputStream(File)

[Register("openFileInputStream", "(Ljava/io/File;)Ljava/io/InputStream;", "GetOpenFileInputStream_Ljava_io_File_Handler:IO.Scanbot.Sdk.Persistence.Fileio.IBaseFileIOProcessorInvoker, DocumentSDK.NET.Droid")]
Stream OpenFileInputStream(File sourceFile)

Parameters

sourceFile File

Returns

Stream

OpenFileOutputStream(File)

[Register("openFileOutputStream", "(Ljava/io/File;)Ljava/io/OutputStream;", "GetOpenFileOutputStream_Ljava_io_File_Handler:IO.Scanbot.Sdk.Persistence.Fileio.IBaseFileIOProcessorInvoker, DocumentSDK.NET.Droid")]
Stream OpenFileOutputStream(File destinationFile)

Parameters

destinationFile File

Returns

Stream

Read(File)

[Register("read", "(Ljava/io/File;)[B", "GetRead_Ljava_io_File_Handler:IO.Scanbot.Sdk.Persistence.Fileio.IBaseFileIOProcessorInvoker, DocumentSDK.NET.Droid")]
byte[] Read(File source)

Parameters

source File

Returns

byte[]

Write(byte[], File)

[Register("write", "([BLjava/io/File;)V", "GetWrite_arrayBLjava_io_File_Handler:IO.Scanbot.Sdk.Persistence.Fileio.IBaseFileIOProcessorInvoker, DocumentSDK.NET.Droid")]
void Write(byte[] byteArray, File destination)

Parameters

byteArray byte[]
destination File