|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.data.independent.AbstractSampleData
de.unikassel.android.sdcframework.data.independent.FileReferenceSampleData
public final class FileReferenceSampleData
The device specific sample data of a sensor device providing samples as binary data files in a related format.
AudioDevice
,
AudioDeviceScanner
Field Summary | |
---|---|
private String |
file
The file name and relative path |
Constructor Summary | |
---|---|
FileReferenceSampleData()
Constructor |
|
FileReferenceSampleData(FileReferenceSampleData sampleData)
Constructor |
Method Summary | |
---|---|
SampleData |
doClone()
Method to clone sample data |
boolean |
equals(Object o)
|
String |
getFile()
Getter for the file |
String |
getRelatedData()
Getter for related data |
void |
setFile(String file)
Setter for the file |
void |
updateRelatedData(String fileName)
Update method for related data ( used to update relative file location for transmitted samples ) |
Methods inherited from class de.unikassel.android.sdcframework.data.independent.AbstractSampleData |
---|
clone, toXML |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String file
Constructor Detail |
---|
public FileReferenceSampleData()
public FileReferenceSampleData(FileReferenceSampleData sampleData)
sampleData
- the sample data to copy construct fromMethod Detail |
---|
public final SampleData doClone()
SampleData
public final boolean equals(Object o)
equals
in class Object
public final void setFile(String file)
file
- the path to the filepublic final String getFile()
public final String getRelatedData()
SampleData
getRelatedData
in interface SampleData
getRelatedData
in class AbstractSampleData
public final void updateRelatedData(String fileName)
SampleData
updateRelatedData
in interface SampleData
updateRelatedData
in class AbstractSampleData
fileName
- the new filename
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |