File size: 973 Bytes
b1b3bae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Imports LiteDB

Public Interface IFileDatabaseProvider

    ReadOnly Property IsDatabaseLoaded As Boolean

    Function GetDatabaseObject() As LiteDatabase

    Sub PutFile(filepath As String)

    Sub PutFile(filepath As String, internalfilename As String)

    Sub PutFile(stream As IO.Stream, filename As String)

    Function GetFileStream(filename As String) As IO.MemoryStream

    Function GetFileAsImage(filename As String) As Drawing.Image

    Function GetFileAsText(filename As String) As String

    Sub ExportFile(filename As String, exportpath As String)

    Sub ExportFile(filename As String, stream As IO.MemoryStream)

    Sub DeleteFile(filename As String)

    Function GetFiles() As List(Of String)

    Function CheckIfExists(filename As String) As Boolean

    Sub LoadDatabase(dbpath As String)

    Sub ExportDatabase(filepath As String)

    Sub ReleaseDatabase()

    Sub CreateDatabase()

    Function GetSizeinKB() As Integer

End Interface