org.zkoss.zss.model
Class Exporters

java.lang.Object
  extended by org.zkoss.zss.model.Exporters

public class Exporters
extends java.lang.Object

Provides utility method to get instance of specific Exporter implementation such as "excel" or "pdf". Other implementations of Exporter can be registered via library property in zk.xml

For example org.zkoss.zss.model.Exporter.class csv=org.xyz.com.CSVExporter

Use same type-name to override default Importer such as ExcelExporter. Declare multiple type-name=class-name pairs in the library property value separated by comma.

Author:
ashish

Constructor Summary
Exporters()
           
 
Method Summary
static Exporter getExporter(java.lang.String type)
          Returns specific (@link Exporter} implementation as identified by type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exporters

public Exporters()
Method Detail

getExporter

public static Exporter getExporter(java.lang.String type)
Returns specific (@link Exporter} implementation as identified by type.

Parameters:
type -
Returns:
Exporter instance or null if not found


Copyright © 2005-2010 Potix Corporation. All Rights Reserved. SourceForge.net Logo