A C D F G M O Q S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addConsumer(Consumer<Trip>) - Method in class de.stklcode.pubtrans.ura.reader.AsyncUraTripReader
-
Register an additional consumer.
- AsyncUraTripReader - Class in de.stklcode.pubtrans.ura.reader
-
Asynchronous stream reader for URA stream API.
- AsyncUraTripReader(URL, Consumer<Trip>) - Constructor for class de.stklcode.pubtrans.ura.reader.AsyncUraTripReader
-
Initialize trip reader.
- AsyncUraTripReader(URL, List<Consumer<Trip>>) - Constructor for class de.stklcode.pubtrans.ura.reader.AsyncUraTripReader
-
Initialize trip reader.
C
- close() - Method in class de.stklcode.pubtrans.ura.reader.AsyncUraTripReader
-
Close the reader.
D
- de.stklcode.pubtrans.ura - package de.stklcode.pubtrans.ura
-
jURAclient base package - see
UraClientfor usage. - de.stklcode.pubtrans.ura.model - package de.stklcode.pubtrans.ura.model
-
jURAclient model classes that represent responses returned by the URA interface.
- de.stklcode.pubtrans.ura.reader - package de.stklcode.pubtrans.ura.reader
F
- forDestinationNames(String...) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Builder pattern to request given destination names.
- forDestinationNames(String...) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Builder pattern to request given destination names.
- forDirection(Integer) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Builder pattern to request given direction.
- forDirection(Integer) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Builder pattern to request given direction.
- forLines(String...) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Builder pattern to request given line IDs.
- forLines(String...) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Builder pattern to request given line IDs.
- forLinesByName(String...) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Builder pattern to request given line names.
- forLinesByName(String...) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Builder pattern to request given line names.
- forPosition(Double, Double, Integer) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Builder pattern to request given destination names.
- forPosition(Double, Double, Integer) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Builder pattern to request given position and radius.
- forStops(String...) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Builder pattern to request given stop IDs.
- forStops(String...) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Builder pattern to request given stop IDs.
- forStopsByName(String...) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Builder pattern to request given stop names.
- forStopsByName(String...) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Builder pattern to request given stop names.
G
- getDestinationName() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getDestinationText() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getDirectionID() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getEstimatedTime() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getId() - Method in class de.stklcode.pubtrans.ura.model.Stop
- getId() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getIndicator() - Method in class de.stklcode.pubtrans.ura.model.Stop
- getLatitude() - Method in class de.stklcode.pubtrans.ura.model.Stop
- getLineID() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getLineName() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getLongitude() - Method in class de.stklcode.pubtrans.ura.model.Stop
- getMessages() - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get list of messages.
- getMessages() - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Get trips for set filters.
- getMessages(UraClient.Query) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get list of messages.
- getMessages(UraClient.Query, Integer) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get list of messages for given stopIDs with result limit.
- getName() - Method in class de.stklcode.pubtrans.ura.model.Stop
- getPriority() - Method in class de.stklcode.pubtrans.ura.model.Message
- getState() - Method in class de.stklcode.pubtrans.ura.model.Stop
- getStop() - Method in class de.stklcode.pubtrans.ura.model.Message
- getStop() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getStops() - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get list of stops without filters.
- getStops() - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Get stops for set filters.
- getStops(UraClient.Query) - Method in class de.stklcode.pubtrans.ura.UraClient
-
List available stopIDs.
- getText() - Method in class de.stklcode.pubtrans.ura.model.Message
- getTrips() - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get list of trips.
- getTrips() - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Get trips for set filters.
- getTrips(UraClient.Query) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get list of trips.
- getTrips(UraClient.Query, Integer) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get list of trips for given stopIDs and lineIDs with result limit.
- getTrips(Integer) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get list of trips with limit.
- getTripsStream(UraClient.Query, Consumer<Trip>) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get trips for given stopIDs and lineIDs using stream API and pass each result to given consumer.
- getTripsStream(UraClient.Query, List<Consumer<Trip>>) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Get trips for given stopIDs and lineIDs using stream API and pass each result to given consumers.
- getTripsStream(Consumer<Trip>) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Get trips for set filters.
- getTripsStream(List<Consumer<Trip>>) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Get trips for set filters.
- getType() - Method in class de.stklcode.pubtrans.ura.model.Message
- getUuid() - Method in class de.stklcode.pubtrans.ura.model.Message
- getVehicleID() - Method in class de.stklcode.pubtrans.ura.model.Trip
- getVisitID() - Method in class de.stklcode.pubtrans.ura.model.Trip
M
- Message - Class in de.stklcode.pubtrans.ura.model
-
Entity for a message.
- Message(Stop, String, Integer, Integer, String) - Constructor for class de.stklcode.pubtrans.ura.model.Message
-
Construct Message object from Stop model and set of additional data.
- Message(String, String, String, Integer, Double, Double, String, Integer, Integer, String) - Constructor for class de.stklcode.pubtrans.ura.model.Message
-
Construct Message object from complete set of data.
- Message(List) - Constructor for class de.stklcode.pubtrans.ura.model.Message
-
Construct Message object from raw list of attributes parsed from JSON.
- Message(List, String) - Constructor for class de.stklcode.pubtrans.ura.model.Message
-
Construct Message object from raw list of attributes parsed from JSON with explicitly specified version.
O
- open() - Method in class de.stklcode.pubtrans.ura.reader.AsyncUraTripReader
Q
- Query() - Constructor for class de.stklcode.pubtrans.ura.UraClient.Query
S
- Stop - Class in de.stklcode.pubtrans.ura.model
-
Entity for a single stop.
- Stop(String, String, String, Integer, Double, Double) - Constructor for class de.stklcode.pubtrans.ura.model.Stop
-
Construct Stop object.
- Stop(List) - Constructor for class de.stklcode.pubtrans.ura.model.Stop
-
Construct Stop object from raw list of attributes parsed from JSON.
T
- towards(String...) - Method in class de.stklcode.pubtrans.ura.UraClient.Query
-
Builder pattern to request given direction defined by stop point name.
- towards(String...) - Method in class de.stklcode.pubtrans.ura.UraClient
-
Builder pattern to request given direction defined by stop point name.
- Trip - Class in de.stklcode.pubtrans.ura.model
-
Entity for a single trip.
- Trip(Stop, Integer, String, String, Integer, String, String, String, String, Long) - Constructor for class de.stklcode.pubtrans.ura.model.Trip
-
Construct Trip object from Stop model and set of additional data.
- Trip(String, String, String, Integer, Double, Double, Integer, String, String, Integer, String, String, String, String, Long) - Constructor for class de.stklcode.pubtrans.ura.model.Trip
-
Construct Trip object from complete set of data.
- Trip(List) - Constructor for class de.stklcode.pubtrans.ura.model.Trip
-
Construct Trip object from raw list of attributes parsed from JSON.
- Trip(List, String) - Constructor for class de.stklcode.pubtrans.ura.model.Trip
-
Construct Trip object from raw list of attributes parsed from JSON with explicitly specified version.
U
- UraClient - Class in de.stklcode.pubtrans.ura
-
Client for URA based public transport API.
- UraClient(String) - Constructor for class de.stklcode.pubtrans.ura.UraClient
-
Constructor with base URL and default API paths.
- UraClient(String, String, String) - Constructor for class de.stklcode.pubtrans.ura.UraClient
-
Constructor with base URL and custom API paths.
- UraClient.Query - Class in de.stklcode.pubtrans.ura
-
Request meta object.
All Classes All Packages