|
| LocalFile (string fileName, bool readOnly) |
|
void | Dispose () |
|
long | Seek (long offset, SeekOrigin origin) |
|
void | SetLength (long value) |
|
int | Read (byte[] buffer, int offset, int length) |
|
void | Write (byte[] buffer, int offset, int length) |
|
void | Flush (bool writeThrough) |
|
void | Close () |
|
void | Delete () |
|
Definition at line 21 of file LocalFile.cs.
Deveel.Data.Store.LocalFile.LocalFile |
( |
string |
fileName, |
|
|
bool |
readOnly |
|
) |
| |
|
inline |
Definition at line 26 of file LocalFile.cs.
27 if (
String.IsNullOrEmpty(fileName))
28 throw new ArgumentNullException(
"fileName");
30 var fileMode = readOnly ? FileMode.Open : FileMode.OpenOrCreate;
31 var fileAccess = readOnly ? FileAccess.Read : FileAccess.ReadWrite;
33 var options = FileOptions.WriteThrough | FileOptions.Encrypted;
A long string in the system.
System.IO.FileStream fileStream
void Deveel.Data.Store.LocalFile.Close |
( |
| ) |
|
|
inline |
void Deveel.Data.Store.LocalFile.Delete |
( |
| ) |
|
|
inline |
void Deveel.Data.Store.LocalFile.Dispose |
( |
| ) |
|
|
inline |
Definition at line 37 of file LocalFile.cs.
39 GC.SuppressFinalize(
this);
void Deveel.Data.Store.LocalFile.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprivate |
Definition at line 42 of file LocalFile.cs.
System.IO.FileStream fileStream
override void Dispose(bool disposing)
void Deveel.Data.Store.LocalFile.Flush |
( |
bool |
writeThrough | ) |
|
|
inline |
int Deveel.Data.Store.LocalFile.Read |
( |
byte[] |
buffer, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
inline |
long Deveel.Data.Store.LocalFile.Seek |
( |
long |
offset, |
|
|
SeekOrigin |
origin |
|
) |
| |
|
inline |
void Deveel.Data.Store.LocalFile.SetLength |
( |
long |
value | ) |
|
|
inline |
void Deveel.Data.Store.LocalFile.Write |
( |
byte[] |
buffer, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
inline |
const int Deveel.Data.Store.LocalFile.BufferSize = 1024 * 2 |
System.IO.FileStream Deveel.Data.Store.LocalFile.fileStream |
|
private |
bool Deveel.Data.Store.LocalFile.Exists |
|
get |
string Deveel.Data.Store.LocalFile.FileName |
|
getprivate set |
bool Deveel.Data.Store.LocalFile.IsReadOnly |
|
getprivate set |
long Deveel.Data.Store.LocalFile.Length |
|
get |
long Deveel.Data.Store.LocalFile.Position |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Store/LocalFile.cs