org.jdesktop.wonderland.client.jme.dnd.spi
Interface DataFlavorHandlerSPI.ImportResultListener

Enclosing interface:
DataFlavorHandlerSPI

public static interface DataFlavorHandlerSPI.ImportResultListener

An interface for the results of import


Method Summary
 void importFailure(java.lang.Throwable cause, java.lang.String message)
          Notification that import failed.
 void importSuccess(java.lang.String uri)
          Notification that the import succeeded.
 

Method Detail

importSuccess

void importSuccess(java.lang.String uri)
Notification that the import succeeded. The uri included provides access to the relevant content.

Parameters:
uri - the URI for the content that was imported

importFailure

void importFailure(java.lang.Throwable cause,
                   java.lang.String message)
Notification that import failed. The root cause and error message are included.

Parameters:
cause - the exception (if any) that prevented import from working, or null if not available.
message - the message (if any) that prevented import from working, or null if not available.


Open Wonderland - http://openwonderland.org