public class FHX2_File extends java.lang.Object implements java.io.Serializable, ErrorTrackerInterface
Modifier and Type | Field and Description |
---|---|
private FHX2_FileOptionalPart |
fhx2Opt |
private FHX2_FileRequiredPart |
fhx2Req |
private static long |
serialVersionUID |
Constructor and Description |
---|
FHX2_File()
Default Constructor for FHX2_File to initialize the objects for the Required part and the Optional part of the file
|
Modifier and Type | Method and Description |
---|---|
boolean |
fileHasNoValidData()
Checks whether or not the FHX2 file contains valid data.
|
java.util.ArrayList<SampleErrorModel> |
getErrors()
Returns a list of all the errors that were detected while loading the file.
|
FHX2_FileOptionalPart |
getOptionalPart()
Gets the optional part of the FHX2 file which is the comments and the header for the file
|
FHX2_FileRequiredPart |
getRequiredPart()
Gets the required part of the FHX2 file which consists of the sample, events and recordings.
|
private static final long serialVersionUID
private FHX2_FileRequiredPart fhx2Req
private FHX2_FileOptionalPart fhx2Opt
public FHX2_File()
public FHX2_FileRequiredPart getRequiredPart()
public FHX2_FileOptionalPart getOptionalPart()
public boolean fileHasNoValidData()
public java.util.ArrayList<SampleErrorModel> getErrors()
getErrors
in interface ErrorTrackerInterface