Interface SImporter

    • Method Detail

      • 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