Package org.insa.graphs.model.io
-
Interface Summary Interface Description GraphReader Base interface for classes that can read graph.GraphReaderObserver Base interface that should be implemented by classes that want to observe the reading of a graph by aGraphReader
.PathReader Base interface that should be implemented by class used to read paths.PathWriter Base interface that should be implemented by class used to write paths. -
Class Summary Class Description BinaryGraphReader Implementation ofGraphReader
to read graph in binary format.BinaryPathReader Implementation ofPathReader
to read paths in binary format.BinaryPathWriter Implementation ofPathWriter
to write paths in binary format.BinaryReader Base class for writing binary file.BinaryWriter Base class for writing binary file. -
Exception Summary Exception Description BadFormatException Exception thrown when a format-error is detected when reading a graph (e.g., non-matching check bytes).BadMagicNumberException Exception thrown when there is a mismatch between expected and actual magic number.BadVersionException Exception thrown when the version of the file is not at least the expected one.MapMismatchException Exception thrown when there is mismatch between the expected map ID and the actual map ID when reading a graph.