public class GvrsInspector extends Object
This class is not fully implemented at this time
Constructor and Description |
---|
GvrsInspector(File file)
Reads the GVRS file and checks for problematic elements including
checksums (if enabled) that would indicate a corrupt file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
didFileFailInspection()
Indicates whether the inspection detected a failure
|
boolean |
didFileHeaderFailInspction()
Indicates whether the inspection detected a failure in the
header.
|
List<Integer> |
getIndicesForFailedTiles()
Gets a list of indices for tiles that failed inspection.
|
long |
getPositionForInspectionTermination()
Indicates the last position inspected within the file.
|
boolean |
wasEntireFileInspected()
Indicates whether the inspection was able to process the entire file.
|
public GvrsInspector(File file) throws IOException
file
- a valid file referenceIOException
- in the event of a unrecoverable I/O exception.public boolean didFileFailInspection()
public boolean didFileHeaderFailInspction()
public boolean wasEntireFileInspected()
public long getPositionForInspectionTermination()
Copyright © 2022. All rights reserved.