|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vanetsim.gui.helpers.VehicleTypeXML
public class VehicleTypeXML
This class provides functions to read (getVehicleTypes()) and save (saveVehiclesTypes()) in xml
Field Summary | |
---|---|
java.util.ArrayList<VehicleType> |
types_
The ArrayList types collects all VehicleTypes |
Constructor Summary | |
---|---|
VehicleTypeXML(java.lang.String path)
If no path is set, the default path is used |
Method Summary | |
---|---|
java.lang.String |
getDefaultPath()
Gets the defaultPath. |
java.util.ArrayList<VehicleType> |
getVehicleTypes()
Returns a ArrayList with all vehicle types found. |
void |
saveVehicleTypes(java.util.ArrayList<VehicleType> tmpList)
Save all vehicle types in tmpList to the xmlPath_ |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.ArrayList<VehicleType> types_
Constructor Detail |
---|
public VehicleTypeXML(java.lang.String path)
Method Detail |
---|
public java.util.ArrayList<VehicleType> getVehicleTypes()
public void saveVehicleTypes(java.util.ArrayList<VehicleType> tmpList)
tmpList
to the xmlPath_
public java.lang.String getDefaultPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |