1 package org.exoplatform.services.cms.jodconverter;
2
3 import java.io.File;
4
5 import org.artofsolving.jodconverter.office.OfficeException;
6
7 /**
8 * Converts documents into different office formats.
9 *
10 * @LevelAPI Experimental
11 */
12 public interface JodConverterService {
13
14 /**
15 * Converts an input file into output one with a given output format.
16 *
17 * @param input The input file.
18 * @param output The output file.
19 * @param outputFormat Format of the output file.
20 * @return "True" if conversion is successful. Otherwise, it returns "false".
21 * @throws OfficeException
22 */
23 public boolean convert(File input, File output, String outputFormat) throws OfficeException;
24
25 }