Class OctaveDataWriter<T extends OctaveObject>

    • Constructor Detail

      • OctaveDataWriter

        public OctaveDataWriter()
    • Method Detail

      • getOctaveDataWriter

        public static <T extends OctaveObjectOctaveDataWriter<T> getOctaveDataWriter​(T type)
        Type Parameters:
        T -
        Parameters:
        type -
        Returns:
        The OctaveDataWriter or null if it does not exist
      • initWriterIfNecessary

        private static void initWriterIfNecessary()
      • javaType

        public abstract Class<T> javaType()
        Could be OctaveScalar or OctaveMatrix.
        Returns:
        the Class of the OctaveObject that this IO handler loads and saves
      • write

        public abstract void write​(Writer writer,
                                   T octaveType)
                            throws IOException
        Parameters:
        writer - the Writer to write to
        octaveType - the value to write
        Throws:
        IOException