com.levigo.jadice.demo.dnd
Class ImportExportHandlerFactory

java.lang.Object
  extended by com.levigo.jadice.demo.dnd.ImportExportHandlerFactory

public class ImportExportHandlerFactory
extends Object

A factory creating the default ImportHandlers and ExportHandlers. In order to show the manifold ways that jadice provides all available handlers are instantiated here. For a real-world application you can choose the appropriate handlers.


Constructor Summary
ImportExportHandlerFactory()
           
 
Method Summary
static ExportHandler<List<Page>> createDefaultPageExportHandler()
          Create the default ExportHandler.
static ImportHandler createDefaultPageImportHandler()
          Create the default ImportHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportExportHandlerFactory

public ImportExportHandlerFactory()
Method Detail

createDefaultPageImportHandler

public static ImportHandler createDefaultPageImportHandler()
Create the default ImportHandler. The returned instance will be a composite handler encompassing the default handlers.

Returns:
a ImportHandler

createDefaultPageExportHandler

public static ExportHandler<List<Page>> createDefaultPageExportHandler()
Create the default ExportHandler. The returned instance will be a composite handler encompassing the default handlers.

Returns:
a ExportHandler


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.