dip.judge.net
Interface FlocImporter.FlocImportCallback

All Known Implementing Classes:
FlocImportDialog
Enclosing interface:
FlocImporter

public static interface FlocImporter.FlocImportCallback

This is the interface which defines the callback


Method Summary
 void flocImportException(java.io.IOException e)
          An exception (given as an argument) occured during import.
 void flocImportMessage(java.lang.String message)
          Floc import progress message (displays import progress)
 void flocImportUnregistered()
          Import failed; the game is not registered.
 boolean flocTextImportComplete(java.lang.String text)
          Floc Text import completed successfully.
 void flocWorldImportComplete(World world)
          Floc World import completed successfully.
 

Method Detail

flocImportException

public void flocImportException(java.io.IOException e)
An exception (given as an argument) occured during import.


flocTextImportComplete

public boolean flocTextImportComplete(java.lang.String text)
Floc Text import completed successfully. String contains imported text, and should never be null.

Note: return true if processor should continue on to convert text into a World object; return false if FlocImport is complete and automatic World object creation is not required.


flocWorldImportComplete

public void flocWorldImportComplete(World world)
Floc World import completed successfully. World should never be null.

Note: this method only excecutes if flocTextImportComplete() returns true


flocImportMessage

public void flocImportMessage(java.lang.String message)
Floc import progress message (displays import progress)


flocImportUnregistered

public void flocImportUnregistered()
Import failed; the game is not registered.



Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.