public final class AscFileWriter extends Object
Modifier and Type | Method and Description |
---|---|
static void |
write(File file,
AscFile ascFile)
Write the specified ASC file instance to the given disk file.
|
static void |
write(OutputStream outputStream,
AscFile ascFile)
Write the specified ASC file instance to the given output stream.
|
public static void write(OutputStream outputStream, AscFile ascFile) throws IOException
outputStream
- Output stream to write to. Non-null.ascFile
- ASC file instance to write. Non-null.IllegalArgumentException
- If outputStream or ascFile is null.IOException
- If the write operation fails for some reason.public static void write(File file, AscFile ascFile) throws IOException
file
- Disk file to write to. Non-null.ascFile
- ASC file instance to write. Non-null.IllegalArgumentException
- If file or ascFile is null.IOException
- If the write operation fails for some reason.Copyright © 2024 Petroware AS - https://petroware.no