com.silverpeas.converter
Class DocumentsProvider

java.lang.Object
  extended by com.silverpeas.converter.DocumentsProvider

public final class DocumentsProvider
extends Object

A provider of documents in several format dedicated to tests.


Method Summary
static DocumentsProvider aDocumentsProvider()
           
 File getMSWordDocument()
          Gets a document in the MS-Word 97/2000/XP format
 File getODTDocument()
          Gets a document in ODT format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

aDocumentsProvider

public static DocumentsProvider aDocumentsProvider()

getODTDocument

public File getODTDocument()
                    throws Exception
Gets a document in ODT format

Returns:
the the ODT document
Throws:
Exception - if an error occurs while getting the document.

getMSWordDocument

public File getMSWordDocument()
                       throws Exception
Gets a document in the MS-Word 97/2000/XP format

Returns:
the MS-Word document
Throws:
Exception - if an error occurs while getting the document.


Copyright © 2016 Silverpeas. All Rights Reserved.