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