Class AbstractObjectOutput

    • Constructor Detail

      • AbstractObjectOutput

        protected AbstractObjectOutput​(int bufferSize)
        Construct a new instance.
        Parameters:
        bufferSize - the buffer size
    • Method Detail

      • doWriteObject

        protected abstract void doWriteObject​(Object obj,
                                              boolean unshared)
                                       throws IOException
        Implementation of the actual object-writing method.
        Parameters:
        obj - the object to write
        unshared - true if the instance is unshared, false if it is shared
        Throws:
        IOException - if an I/O error occurs