Class BinaryFileWriter

  • All Implemented Interfaces:
    NoAccess, FileHandler, java.lang.AutoCloseable

    public class BinaryFileWriter
    extends java.lang.Object
    implements FileHandler, java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryFileWriter​(java.io.BufferedOutputStream stream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void write​(byte[] buffer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BinaryFileWriter

        public BinaryFileWriter​(java.io.BufferedOutputStream stream)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface FileHandler
        Throws:
        java.io.IOException
      • write

        public void write​(byte[] buffer)
                   throws java.io.IOException
        Throws:
        java.io.IOException