public class LocalCalibration
extends java.lang.Object
Constructor and Description |
---|
LocalCalibration(java.io.File file)
Constructor for build a new calibration from disk
|
LocalCalibration(java.lang.String phoneModel,
java.lang.String buildingIdentifier,
int floorId,
java.util.Date timestamp)
Constructor when creating a new calibration
|
Modifier and Type | Method and Description |
---|---|
void |
createFile(java.io.File folder)
Creates the file to add the calibration
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBuildingIdentifier() |
java.io.File |
getFile() |
java.lang.String |
getFilename()
Get the filename where it's saved
|
int |
getFloorId() |
long |
getSize() |
java.util.Date |
getTimestamp() |
java.util.List<CartesianCoordinate> |
gtPoints() |
int |
hashCode() |
boolean |
isSaved() |
public LocalCalibration(java.io.File file)
file
- the calibration filepublic LocalCalibration(java.lang.String phoneModel, java.lang.String buildingIdentifier, int floorId, java.util.Date timestamp)
phoneModel
- the phone idfloorId
- the flood idtimestamp
- the starting timestamppublic java.util.List<CartesianCoordinate> gtPoints()
public void createFile(java.io.File folder)
folder
- public boolean isSaved()
public java.lang.String getFilename()
public java.io.File getFile()
public long getSize()
public int getFloorId()
public java.util.Date getTimestamp()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getBuildingIdentifier()