public class CalibreHtmlToMobiConverter extends Object implements HtmlToMobiConverter
Modifier and Type | Field and Description |
---|---|
private static String |
command |
private Path |
execPath |
private static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
CalibreHtmlToMobiConverter() |
Modifier and Type | Method and Description |
---|---|
File |
convertToMobi(File htmlFile)
Converts an HTML document
|
org.apache.commons.cli.Option |
getExecOption()
Gets the configuration for the CLI Option for the executable
|
void |
setExecPath(Path execPath)
Provides a setter method for the path to an executable
|
private static final org.apache.log4j.Logger logger
private static String command
private Path execPath
public File convertToMobi(File htmlFile)
HtmlToMobiConverter
convertToMobi
in interface HtmlToMobiConverter
htmlFile
- a JDOM representation of the HTML document which will be converted from.public org.apache.commons.cli.Option getExecOption()
ExecOption
getExecOption
in interface ExecOption
public void setExecPath(Path execPath)
ExecOption
setExecPath
in interface ExecOption
execPath
- An absolute path for the executableCopyright © 2015 Vienna University of Technology. All rights reserved.