This class provides functions to read (getVehicleTypes()) and save (saveVehiclesTypes()) in xml
vanetsim.gui.helpers.VehicleTypeXML.VehicleTypeXML |
( |
String |
path | ) |
|
|
inline |
If no path is set, the default path is used
String vanetsim.gui.helpers.VehicleTypeXML.getDefaultPath |
( |
| ) |
|
|
inline |
Gets the defaultPath.
- Returns
- String defaultPath_: the default path to save the vehicle types.
ArrayList<VehicleType> vanetsim.gui.helpers.VehicleTypeXML.getVehicleTypes |
( |
| ) |
|
|
inline |
Returns a ArrayList with all vehicle types found.
- Returns
- Arraylist with all vehicle types
void vanetsim.gui.helpers.VehicleTypeXML.saveVehicleTypes |
( |
ArrayList< VehicleType > |
tmpList | ) |
|
|
inline |
*Save all vehicle types in tmpList
to the xmlPath_
ArrayList<VehicleType> vanetsim.gui.helpers.VehicleTypeXML.types_ |
The ArrayList types collects all VehicleTypes
The documentation for this class was generated from the following file:
- /Users/andreastomandl/Desktop/Vanet-Sim/Simulator/src/vanetsim/gui/helpers/VehicleTypeXML.java