org.argoprint.persistence
Class OpenOfficePostProcessor

java.lang.Object
  extended by org.argoprint.persistence.OpenOfficePostProcessor
All Implemented Interfaces:
PostProcessor

public class OpenOfficePostProcessor
extends java.lang.Object
implements PostProcessor

This class is responsible for packaging the temporary output file into a zip file.

Author:
mfortner

Constructor Summary
OpenOfficePostProcessor()
           
 
Method Summary
 java.lang.String[] getSupportedExtensions()
          This method returns an array of file extensions supported by this processor.
 void processFile(java.lang.String file)
          This method processes a file after the file has been generated.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenOfficePostProcessor

public OpenOfficePostProcessor()
Method Detail

getSupportedExtensions

public java.lang.String[] getSupportedExtensions()
This method returns an array of file extensions supported by this processor. Note that the extensions must be unique.

Specified by:
getSupportedExtensions in interface PostProcessor
Returns:
An array of supported extensions.

processFile

public void processFile(java.lang.String file)
                 throws java.io.IOException
This method processes a file after the file has been generated.

Specified by:
processFile in interface PostProcessor
Parameters:
file - The file to be processed.
Throws:
java.io.IOException