ch.braincell.stickbackup.process
Interface ProcessListener

All Known Implementing Classes:
BackupController

public interface ProcessListener

Listener for watching the process outside of the class BackupTask.

Author:
Andreas Studer

Method Summary
 void onException(java.lang.Throwable exception)
          Will be used if an exception happens.
 void onProcess(Process process, java.io.File... files)
          Indicates on which files the process is working on.
 

Method Detail

onProcess

void onProcess(Process process,
               java.io.File... files)
Indicates on which files the process is working on.

Parameters:
process - process state.
files - files working on in the process. These are up to two files: depending on the process it is source and destination / source / destination.

onException

void onException(java.lang.Throwable exception)
Will be used if an exception happens.

Parameters:
exception - exception be thrown.


Copyright © 2007. All Rights Reserved.