com.silverpeas.converter.openoffice
Class OpenOfficeODTConverter
java.lang.Object
com.silverpeas.converter.openoffice.OpenOfficeConverter
com.silverpeas.converter.openoffice.OpenOfficeODTConverter
- All Implemented Interfaces:
- DocumentFormatConversion, ODTConverter
@Named(value="odtConverter")
public class OpenOfficeODTConverter
- extends OpenOfficeConverter
- implements ODTConverter
Implementation of the ODTConverter interface by using the OpenOffice API to perform its job.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenOfficeODTConverter
public OpenOfficeODTConverter()
getSupportedFormats
public DocumentFormat[] getSupportedFormats()
- Description copied from interface:
DocumentFormatConversion
- Gets the formats of documents supported by the converter.
- Specified by:
getSupportedFormats
in interface DocumentFormatConversion
- Returns:
- an array with the different formats into which the object implementing this interface
can convert a document.
isDocumentSupported
public boolean isDocumentSupported(File document)
- Description copied from class:
OpenOfficeConverter
- Is the specified document in the format on which the converter works?
- Specified by:
isDocumentSupported
in class OpenOfficeConverter
- Parameters:
document
- the document to check its format is supported.
- Returns:
- true if the format of the document is supported by this converter, false otherwise.
Copyright © 2016 Silverpeas. All Rights Reserved.