com.aurigalogic.aurigadoc.core
Interface ADConverter

All Known Implementing Classes:
BaseConverter

public interface ADConverter

This is an interface implemented by all the converters.

Version:
$Revision: 1.3 $ $Date: 2003/07/11 16:41:32 $
Author:
Khurshidali Shaikh

Method Summary
 void convert()
          Convert the document.
 void convert(java.lang.String inputFile, java.lang.String outputFile)
          Convert the given input file to output file.
 void setInputFile(java.lang.String inputFile)
          Set the input file.
 void setLogger(Logger logger)
          Set the logger.
 void setOutputFile(java.lang.String outputFile)
          Set the output file.
 void setParameters(java.util.Properties parameters)
          Set other conversion paramaters.
 

Method Detail

setInputFile

public void setInputFile(java.lang.String inputFile)
Set the input file.

Parameters:
inputFile - the input file

setOutputFile

public void setOutputFile(java.lang.String outputFile)
Set the output file.

Parameters:
outputFile - the output file

setLogger

public void setLogger(Logger logger)
Set the logger.

Parameters:
logger - the logger to use for logging

setParameters

public void setParameters(java.util.Properties parameters)
Set other conversion paramaters.

Parameters:
parameters - additional parameters to be passed to the converter

convert

public void convert()
             throws java.lang.Exception
Convert the document.

Throws:
java.lang.Exception - in case of a conversion error.

convert

public void convert(java.lang.String inputFile,
                    java.lang.String outputFile)
             throws java.lang.Exception
Convert the given input file to output file.

Parameters:
inputFile - the input file
outputFile - the output file
Throws:
java.lang.Exception - in case of a conversion error.


Copyright © 2000, 2003 Auriga Logic Pvt. Ltd. All Rights Reserved.