MOBIParser(3)

MOBIParser(3) Library Functions Manual MOBIParser(3)

NAME

MOBIParser - The MOBIParser class.

SYNOPSIS

#include <MOBIParser.h>

Public Member Functions


MOBIParser (const std::shared_ptr< MLBookProc > &mlbp)
MOBIParser constructor. UDBElement parseBook (const std::string &book_content)
UDBase getBookInfo (const std::string &book_content)

Detailed Description

The MOBIParser class.

This class contains methods for mobi files parsing. In most cases you do not need to use it directly. Usd CreateCollection and BookInfo instead.

Constructor & Destructor Documentation

MOBIParser::MOBIParser (const std::shared_ptr< MLBookProc > & mlbp)

MOBIParser constructor.

Parameters

mlbp Smart pointer to MLBookProc object.

Member Function Documentation

UDBase MOBIParser::getBookInfo (const std::string & book_content)

Gets extra information from mobi file.

Note

This method can throw std::exception in case of errors.

Parameters

book_content File content.

Returns

UDBase object containing found information.

UDBElement MOBIParser::parseBook (const std::string & book_content)

Parses mobi file.

Note

This method can throw std::exception in case of errors.

Parameters

book_content File content.

Returns

BaseID::Book object.

Author

Generated automatically by Doxygen for MLBookProc from the source code.

Version 2.1 MLBookProc