Class GenericModelWriter

    • Constructor Detail

      • GenericModelWriter

        public GenericModelWriter​(AbstractModel model,
                                  java.io.File file)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • GenericModelWriter

        public GenericModelWriter​(AbstractModel model,
                                  java.io.DataOutputStream dos)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in class AbstractModelWriter
        Throws:
        java.io.IOException
      • persist

        public void persist()
                     throws java.io.IOException
        Specified by:
        persist in class AbstractModelWriter
        Throws:
        java.io.IOException
      • writeDouble

        public void writeDouble​(double d)
                         throws java.io.IOException
        Specified by:
        writeDouble in class AbstractModelWriter
        Throws:
        java.io.IOException
      • writeInt

        public void writeInt​(int i)
                      throws java.io.IOException
        Specified by:
        writeInt in class AbstractModelWriter
        Throws:
        java.io.IOException
      • writeUTF

        public void writeUTF​(java.lang.String s)
                      throws java.io.IOException
        Specified by:
        writeUTF in class AbstractModelWriter
        Throws:
        java.io.IOException