app/src/main/java/com/pokevian/app/smartfleet/model/BlackboxMetadata.java
public String flatten() {
        return timestamp + ";"
                + drivingTime + ";"
                + drivingDistance + ";"
                + locationData.flatten()
                + speedData.flatten()
                + engineData.flatten()
                + diagnosticData.flatten()
                + fuelData.flatten();
    }
// NOTE: should be matched with unflatten() method
should be matched with unflatten() method
should be matched with unflatten () method
public String flatten() {
        return timestamp + ";"
                + drivingTime + ";"
                + drivingDistance + ";"
                + locationData.flatten()
                + speedData.flatten()
                + engineData.flatten()
                + diagnosticData.flatten()
                + fuelData.flatten();
    }
public String flatten ( ) { return timestamp + ";" + drivingTime + ";" + drivingDistance + ";" + locationData . flatten ( ) + speedData . flatten ( ) + engineData . flatten ( ) + diagnosticData . flatten ( ) + fuelData . flatten ( ) ; }
NOTE: should be matched with unflatten() method
NOTE : should be matched with unflatten () method