public class TransformerFactory extends Object
| Constructor and Description |
|---|
TransformerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static DocumentTransformer |
getTransformer(Properties csproperties, String inputFileExtention, String outputFileExtention)
Create an instance of the specified document transformer.
|
static DocumentTransformer |
getTransformer(String sClassName, Configuration config)
Create an instance of the document transformer specified by the implementation classname.
|
static DocumentTransformer |
getTransformer(String inputFileExtention, String outputFileExtention)
Create an instance of the specified document transformer.
|
public static DocumentTransformer getTransformer(String inputFileExtention, String outputFileExtention)
inputFileExtention - -- input file typeoutputFileExtention - -- output file typepublic static DocumentTransformer getTransformer(Properties csproperties, String inputFileExtention, String outputFileExtention)
csproperties - -- Content Server related configuration like outputfolder installdirectory etc can be passed here.inputFileExtention - -- input file typeoutputFileExtention - -- output file typepublic static DocumentTransformer getTransformer(String sClassName, Configuration config)
sClassName - -- Implementation class name for the document transformerconfig - -- Configuration for the transformer