public class SegyFileWriter extends Object
Constructor and Description |
---|
SegyFileWriter(File file)
Create a SEGY writer for the specified file instance.
|
Modifier and Type | Method and Description |
---|---|
void |
write(SegyFile segyFile)
Write the specified SEG Y file to disk.
|
void |
writeTextHeader(SegyTextHeader textHeader)
Inject the specified text header into the EBCDIC section of
the disk file.
|
public SegyFileWriter(File file)
file
- File to read. Non null.IllegalArgumentException
- If file is null.public void write(SegyFile segyFile) throws IOException
segyFile
- SEG Y file to write. Non-null.IllegalArgumentException
- iF segyFile is null.IOException
- If the write operation fails for some reason.public void writeTextHeader(SegyTextHeader textHeader) throws IOException
textHeader
- Text header to write.IllegalArgumentException
- If textHeader is null.IOException
- If the write operation failes for some reason.Copyright © 2020 Petroware AS - https://petroware.no