Skip navigation links


com.fatwire.transformer.common
Class TransformerFormat

java.lang.Object
  extended by com.fatwire.transformer.common.TransformerFormat


public class TransformerFormat
extends java.lang.Object

This represent the transformer format supported by the Converter. A file type with ext doc can be transformed to html/pdf/txt. This class describe the supported formats


Constructor Summary
TransformerFormat(java.lang.String name, java.lang.String mimetype, java.lang.String extension)
          Create a transformer object based on the parameters passed

 

Method Summary
 java.util.List<Transformer> getExportTranformers()
          Get all the optional transformer which can be used to export the file type given by this file type..
 java.lang.String getExtension()
           
 java.lang.String getMimetype()
           
 java.lang.String getName()
           
 void setExtension(java.lang.String extension)
           
 void setMimetype(java.lang.String mimetype)
           
 void setName(java.lang.String name)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TransformerFormat

public TransformerFormat(java.lang.String name,
                         java.lang.String mimetype,
                         java.lang.String extension)
Create a transformer object based on the parameters passed
Parameters:
name - -- Name of the Format
mimetype - -- mimetype of the file
extension - --extension of the file

Method Detail

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getMimetype

public java.lang.String getMimetype()
Returns:
the mimetype

setMimetype

public void setMimetype(java.lang.String mimetype)
Parameters:
mimetype - file mimetype to set

getExtension

public java.lang.String getExtension()
Returns:
the extension

setExtension

public void setExtension(java.lang.String extension)
Parameters:
extension - --file extension to set

getExportTranformers

public java.util.List<Transformer> getExportTranformers()
Get all the optional transformer which can be used to export the file type given by this file type..
Returns:
List of the all available transformer to out this given Transformer format

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.