public final class LasValidator extends Object
Modifier and Type | Method and Description |
---|---|
static List<LasMessage> |
validate(File file)
Validate the specified file as a LAS file.
|
static List<LasMessage> |
validate(InputStream inputStream)
Validate the specified file as a LAS file.
|
static List<LasMessage> |
validate(LasFile lasFile)
Validate the specified LAS file.
|
public static List<LasMessage> validate(File file) throws IOException
file
- File to validate. Non-null.IOException
- If error occurs while reading file.IllegalArgumentException
- If file argument is null.public static List<LasMessage> validate(InputStream inputStream) throws IOException
inputStream
- Stream of LAS file. Stream is expected to start at
beginning of LAS file content. Non-null.IOException
- If error occurs while reading file.IllegalArgumentException
- If file argument is null.public static List<LasMessage> validate(LasFile lasFile)
lasFile
- LAS file to validate. Non-null.IllegalArgumentException
- If lasFile is null.Copyright © 2024 Petroware AS - https://petroware.no