org.silverpeas.viewer.util
Class JsonPdfUtil
java.lang.Object
org.silverpeas.exec.ExternalExecution
org.silverpeas.viewer.util.JsonPdfUtil
public class JsonPdfUtil
- extends ExternalExecution
Some centralization about the use of pdf2json tool.
- Author:
- Yohann Chastagnier
Method Summary |
static void |
convert(File pdfFile,
File destination)
Converts a PDF file into a SWF file. |
static boolean |
isActivated()
Indicates if tool that permits to convert PDF into JSon data is activated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSON_DOCUMENT_EXTENSION
public static final String JSON_DOCUMENT_EXTENSION
- See Also:
- Constant Field Values
JsonPdfUtil
public JsonPdfUtil()
isActivated
public static boolean isActivated()
- Indicates if tool that permits to convert PDF into JSon data is activated.
- Returns:
convert
public static void convert(File pdfFile,
File destination)
- Converts a PDF file into a SWF file.
- Parameters:
pdfFile
- the pdf filedestination
- the destination file without include some path parts in relation to the
mechanism of conversion.
Copyright © 2016 Silverpeas. All Rights Reserved.