Interface SImporter

All Known Implementing Classes:
AbstractExcelImporter, AbstractImporter, ExcelImportAdapter, ExcelXlsImporter, XlsxImporter

public interface SImporter
An importer to import a input stream, file..etc to a new book
Since:
3.5.0
Author:
dennis
  • Method Details

    • imports

      SBook imports(InputStream is, String bookName) throws IOException
      Import book from a input stream
      Parameters:
      is - the input stream
      bookName - the book name for imported book
      Returns:
      the book instance
      Throws:
      IOException
    • imports

      SBook imports(File file, String bookName) throws IOException
      Import book from a file
      Parameters:
      file - the file
      bookName - the book name for imported book
      Returns:
      the book instance
      Throws:
      IOException
    • imports

      SBook imports(URL url, String bookName) throws IOException
      Import book from a URL
      Parameters:
      url - the url
      bookName - the book name for imported book
      Returns:
      the book instance
      Throws:
      IOException