public final class NpdExplorationWellboreReader extends NpdReader<NpdExplorationWellbore>
This class is thread-safe.
Constructor and Description |
---|
NpdExplorationWellboreReader(String url)
Create a reader for NPD exploration wellbores.
|
Modifier and Type | Method and Description |
---|---|
static List<NpdExplorationWellbore> |
readAll()
Read all NPD exploration wellbores.
|
public NpdExplorationWellboreReader(String url)
url
- Location of file to read. Non-null.IllegalArgumentException
- If url is null.public static List<NpdExplorationWellbore> 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:
NpdExplorationWellboreReader reader = new NpdExplorationWellboreReader(url); List<NpdExplorationWellbore> wellbores = reader.read();
IOException
- If the read operation fail for some reason.Copyright © 2018 Petroware AS - https://petroware.no