public final class SpwlaFileWriter extends Object
Modifier and Type | Method and Description |
---|---|
static void |
write(File file,
SpwlaFile spwlaFile)
Write the specified SPWLA file instances to the given disk file.
|
static void |
write(OutputStream outputStream,
SpwlaFile spwlaFile)
Write the specified SPWLA file instances to the given stream.
|
public static void write(OutputStream outputStream, SpwlaFile spwlaFile) throws IOException
TODO: Consider an option to pad lines to 128 characters according to the standard.
outputStream
- Stream to write to. Non-null.spwlaFile
- SPWLA file instance to write. Non-null.IllegalArgumentException
- If outputStream or spwlaFile is null.IOException
- If the write operation fails for some reason.public static void write(File file, SpwlaFile spwlaFile) throws IOException
file
- File to write to. Non-null.spwlaFile
- SPWLA file instance to write. Non-null.IllegalArgumentException
- If file or spwlaFile is null.IOException
- If the write operation fails for some reason.Copyright © 2024 Petroware AS - https://petroware.no