Class BinaryPathWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, PathWriter

    public class BinaryPathWriter
    extends BinaryWriter
    implements PathWriter
    Implementation of PathWriter to write paths in binary format.
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryPathWriter​(java.io.DataOutputStream dos)
      Create a new BinaryPathWriter that writes to the given output stream.
    • Constructor Detail

      • BinaryPathWriter

        public BinaryPathWriter​(java.io.DataOutputStream dos)
        Create a new BinaryPathWriter that writes to the given output stream.
        Parameters:
        dos - Output stream to write to.
    • Method Detail

      • writePath

        public void writePath​(Path path)
                       throws java.io.IOException
        Description copied from interface: PathWriter
        Write the given path.
        Specified by:
        writePath in interface PathWriter
        Parameters:
        path - Path to write.
        Throws:
        java.io.IOException - When an error occurs while writing the path.