Dekoh platform API

dekoh.portal.fwk.importer
Class ImportProgressEventObject

java.lang.Object
  extended by dekoh.portal.fwk.importer.ImportProgressEventObject

public class ImportProgressEventObject
extends Object

ImportProgressEvent indicates result of importing one file among all the selected files to be imported.

The import process is initiated by calling ImportService.start() method.

ImportProgressEventListeners registered with ImportProgressObject will be notified of via this event object.

Since:
Dec 18, 2006

Method Summary
 File getFile()
          Get the file which is imported to Dekoh.
 ImportStatus getImportStatus()
          Gets the result of importing file to Dekoh.
 String getMessage()
           
 int getPercentageComplete()
          Indicates how close the import process is to completion when this event occurred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFile

public File getFile()
Get the file which is imported to Dekoh.

Returns:

getImportStatus

public ImportStatus getImportStatus()
Gets the result of importing file to Dekoh.

Returns:
importStatus

getPercentageComplete

public int getPercentageComplete()
Indicates how close the import process is to completion when this event occurred.

Returns:
a number between 0 and 100.

getMessage

public String getMessage()

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers