java.io.Serializablepublic class Vehicle
extends java.lang.Object
implements java.io.Serializable
See Transit details for more detail.
| Modifier and Type | Field | Description |
|---|---|---|
java.lang.String |
icon |
The URL for an icon associated with this vehicle type.
|
java.lang.String |
localIcon |
The URL for an icon based on the local transport signage.
|
java.lang.String |
name |
The name of the vehicle on this line.
|
VehicleType |
type |
The type of vehicle that runs on this line.
|
| Constructor | Description |
|---|---|
Vehicle() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
toString() |
public java.lang.String name
"Subway".public VehicleType type
VehicleType documentation for a complete list of supported values.public java.lang.String icon
public java.lang.String localIcon