Package | Description |
---|---|
org.opentripplanner.api.resource |
This package contains the JAX-RS-annotated REST resource classes for the OpenTripPlanner public
API, i.e.
|
org.opentripplanner.routing.graph | |
org.opentripplanner.routing.impl |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
Routers.postGraphOverWire(String routerId,
boolean preEvict,
Graph.LoadLevel level,
InputStream is)
Deserialize a graph sent with the HTTP request as POST data, associating it with the given
routerId.
|
Modifier and Type | Method and Description |
---|---|
static Graph.LoadLevel |
Graph.LoadLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Graph.LoadLevel[] |
Graph.LoadLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Graph |
Graph.load(ClassLoader classLoader,
File file,
Graph.LoadLevel level) |
static Graph |
Graph.load(File file,
Graph.LoadLevel level) |
static Graph |
Graph.load(InputStream is,
Graph.LoadLevel level) |
static Graph |
Graph.load(ObjectInputStream in,
Graph.LoadLevel level)
Default load.
|
static Graph |
Graph.load(ObjectInputStream in,
Graph.LoadLevel level,
StreetVertexIndexFactory indexFactory)
Loading which allows you to specify StreetVertexIndexFactory and inject other implementation.
|
Modifier and Type | Field and Description |
---|---|
Graph.LoadLevel |
GraphScanner.loadLevel
Load level
|
Graph.LoadLevel |
InputStreamGraphSource.FileFactory.loadLevel |
Modifier and Type | Method and Description |
---|---|
static InputStreamGraphSource |
InputStreamGraphSource.newClasspathGraphSource(String routerId,
File path,
Graph.LoadLevel loadLevel) |
static InputStreamGraphSource |
InputStreamGraphSource.newFileGraphSource(String routerId,
File path,
Graph.LoadLevel loadLevel) |
Copyright © 2018. All rights reserved.