Interface IOptimizationIO<O extends IOptimization>

All Known Implementing Classes:
BZip2ExtendedOptimization, BZip2JsonOptimizationIO, JsonExtendedOptimizationIO, JsonOptimizationIO

public interface IOptimizationIO<O extends IOptimization>
This interface provides methods for the IOptimization to have input and output possibilities via InputStream and OutputStream.
Since:
01/08/2019
Version:
01/08/2019
Author:
DNA
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    read(InputStream input, O opti)
     
    void
    write(OutputStream output, com.dna.jopt.config.convert.ExportTarget<O> target)
     
    void
    write(OutputStream output, com.dna.jopt.config.convert.ExportTarget<O> target, boolean attachDetails)
     
  • Method Details

    • read

      O read(InputStream input) throws com.dna.jopt.config.convert.ConvertException, com.dna.jopt.config.serialize.SerializationException, IOException
      Throws:
      com.dna.jopt.config.convert.ConvertException
      com.dna.jopt.config.serialize.SerializationException
      IOException
    • read

      void read(InputStream input, O opti) throws com.dna.jopt.config.convert.ConvertException, com.dna.jopt.config.serialize.SerializationException, IOException
      Throws:
      com.dna.jopt.config.convert.ConvertException
      com.dna.jopt.config.serialize.SerializationException
      IOException
    • write

      void write(OutputStream output, com.dna.jopt.config.convert.ExportTarget<O> target) throws com.dna.jopt.config.convert.ConvertException, com.dna.jopt.config.serialize.SerializationException, IOException
      Throws:
      com.dna.jopt.config.convert.ConvertException
      com.dna.jopt.config.serialize.SerializationException
      IOException
    • write

      void write(OutputStream output, com.dna.jopt.config.convert.ExportTarget<O> target, boolean attachDetails) throws com.dna.jopt.config.convert.ConvertException, com.dna.jopt.config.serialize.SerializationException, IOException
      Throws:
      com.dna.jopt.config.convert.ConvertException
      com.dna.jopt.config.serialize.SerializationException
      IOException