de.miethxml.toolkit.io
Interface IOListener

All Known Implementing Classes:
FileImportView, RepositoryImportView

public interface IOListener

Author:
Simon Mieth

Method Summary
 void complete()
          Will be called after all work is done.
 void completeWriting()
          Will be called after a file is stored to the new location
 void copy(int files)
          Will be called first and report the filecount.
 void startWriting(java.lang.String name, long length)
           
 void wrote(long count, long total)
           
 

Method Detail

copy

public void copy(int files)
Will be called first and report the filecount.

Parameters:
files -

startWriting

public void startWriting(java.lang.String name,
                         long length)

wrote

public void wrote(long count,
                  long total)

completeWriting

public void completeWriting()
Will be called after a file is stored to the new location


complete

public void complete()
Will be called after all work is done.