|
void | Append (DlisFrame dlisFrame) |
| Append the curve data of the specified DLIS frame to this file.
|
|
void | Close () |
| Close the back-end stream.
|
|
| DlisFileWriter (FileInfo file) |
| Create a DLIS file writer for the specified disk file.
|
|
| DlisFileWriter (Stream outputStream) |
| Create a DLIS file writer for the specified stream.
|
|
void | Write (DlisFile dlisFile) |
| Write the specified DLIS file.
|
|
void | Write (IList< DlisFile > dlisFiles) |
| Write the specified DLIS files.
|
|
Class for writing DLIS files to disk.
Typical usage:
DlisFileWriter writer = new DlisFiledWriter(new FileInfo("path/to/file.dlis"));
writer.Write(dlisFile);
writer.Close();
If there is to much data to keep in memory, or the writing is based on a streaming source, it is possible to append chunks of data to the last DlisFile instance written, like:
DlisFileWriter writer = new DlisFiledWriter(new FileInfo("path/to/file.dlis"));
writer.Write(dlisFile);
writer.Append(dlisFrame);
writer.Append(dlisFrame);
:
writer.Close();
- See also
- RP66 V1
- Author
- Petroware AS
Append the curve data of the specified DLIS frame to this file.
This feature can be used to stream data to a DLIS file. By repeatedly clearing and populating the frame curves with new data there is no need for the client to keep the entire volume in memory at any time.
NOTE: This method should be called after the DLIS meta data has been written to file, and the DLIS frame must be compatible with this.
- Parameters
-
dlisFrame | DLIS frame of curves to append to file. Non-null. |
- Exceptions
-
ArgumentNullException | If dlisFrame is null. |
IOException | If the write operation fails for some reason. |