public final class NpdOtherWellboreReader extends NpdReader<NpdOtherWellbore>
This class is thread-safe.
Constructor and Description |
---|
NpdOtherWellboreReader(String url)
Create a reader for NPD other wellbores.
|
Modifier and Type | Method and Description |
---|---|
static List<NpdOtherWellbore> |
readAll()
Read all NPD other wellbores.
|
public NpdOtherWellboreReader(String url)
url
- Location of file to read. Non-null.IllegalArgumentException
- If url is null.public static List<NpdOtherWellbore> readAll() throws IOException
This is a convenient alternative to the more flexible and generic approach where the URL location of the data is provided by the client:
NpdOtherWellboreReader reader = new NpdOtherWellboreReader(url); List<NpdOtherWellbore> wellbores = reader.read();
IOException
- If the read operation fail for some reason.Copyright © 2018 Petroware AS - https://petroware.no