Class ExporterImpl

  • All Implemented Interfaces:
    Exporter, java.io.Serializable

    public class ExporterImpl
    extends java.lang.Object
    implements Exporter, java.io.Serializable
    Since:
    3.0.0
    Author:
    dennis
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void export​(Book book, java.io.File file)
      Export book
      void export​(Book book, java.io.OutputStream fos)
      Export book
      • Methods inherited from class java.lang.Object

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

      • ExporterImpl

        public ExporterImpl​(SExporter exporter)
    • Method Detail

      • export

        public void export​(Book book,
                           java.io.OutputStream fos)
                    throws java.io.IOException
        Description copied from interface: Exporter
        Export book
        Specified by:
        export in interface Exporter
        Parameters:
        book - the book to export
        fos - the output stream to store data
        Throws:
        java.io.IOException
      • export

        public void export​(Book book,
                           java.io.File file)
                    throws java.io.IOException
        Description copied from interface: Exporter
        Export book
        Specified by:
        export in interface Exporter
        Parameters:
        book - the book to export
        file - the output file to store data
        Throws:
        java.io.IOException