public class NetexParser extends Object
| Constructor and Description |
|---|
NetexParser() |
| Modifier and Type | Method and Description |
|---|---|
NetexEntitiesIndex |
parse(InputStream inputStream)
Parse an input stream of a single NeTEx public delivery
|
NetexEntitiesIndex |
parse(InputStream inputStream,
NetexEntitiesIndex index)
Parse an input stream of a single NeTEx publication delivery
into an existing index
Existing entities with same id will be overwritten.
|
NetexEntitiesIndex |
parse(String pathToZip)
Parse a NeTEx publication delivery from one or more files in
a zip archive
|
NetexEntitiesIndex |
parse(String pathToZip,
NetexEntitiesIndex index)
Parse a NeTEx publication delivery from one or more files in
a zip archive into an existing index.
|
public NetexEntitiesIndex parse(String pathToZip) throws IOException
pathToZip - Path to zip fileIOExceptionpublic NetexEntitiesIndex parse(String pathToZip, NetexEntitiesIndex index) throws IOException
pathToZip - Path to zip fileindex - An instance of NetexEntitiesIndexIOExceptionpublic NetexEntitiesIndex parse(InputStream inputStream)
inputStream - public NetexEntitiesIndex parse(InputStream inputStream, NetexEntitiesIndex index)
inputStream - An InputStreamindex - An instance of NetexEntitiesIndexCopyright © 2021 Entur AS. All rights reserved.