public class SmooveBikeRentalDataSource extends GenericJsonBikeRentalDataSource
BikeRentalDataSource
Constructor and Description |
---|
SmooveBikeRentalDataSource() |
Modifier and Type | Method and Description |
---|---|
BikeRentalStation |
makeStation(com.fasterxml.jackson.databind.JsonNode node)
{
"result" : [
{
"name" : "004 Hamn",
"operative" : true,
"coordinates" : "60.167913,24.952269",
"style" : "",
"avl_bikes" : 1,
"free_slots" : 11,
"total_slots" : 12,
},
...
|
configure, getStations, getUrl, setUrl, toString, update
public BikeRentalStation makeStation(com.fasterxml.jackson.databind.JsonNode node)
{ "result" : [ { "name" : "004 Hamn", "operative" : true, "coordinates" : "60.167913,24.952269", "style" : "", "avl_bikes" : 1, "free_slots" : 11, "total_slots" : 12, }, ... ] }
makeStation
in class GenericJsonBikeRentalDataSource
Copyright © 2019. All rights reserved.