public class LoggingFileOperationCallback extends Object implements IFileOperationCallback
IFileOperationCallback interface.| Constructor and Description |
|---|
LoggingFileOperationCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(EFileIOOperation eOperation,
EFileIOErrorCode eErrorCode,
File aFile1,
File aFile2,
Exception aException)
Called upon operation error.
|
void |
onSuccess(EFileIOOperation eOperation,
File aFile1,
File aFile2)
Called upon operation success.
|
public void onSuccess(@Nonnull EFileIOOperation eOperation, @Nonnull File aFile1, @Nullable File aFile2)
IFileOperationCallbackonSuccess in interface IFileOperationCallbackeOperation - The operation that succeeded.aFile1 - The first file worked upon. May not be null.aFile2 - The second file worked upon. May be null.public void onError(@Nonnull EFileIOOperation eOperation, @Nonnull EFileIOErrorCode eErrorCode, @Nonnull File aFile1, @Nullable File aFile2, @Nullable Exception aException)
IFileOperationCallbackonError in interface IFileOperationCallbackeOperation - The operation that failed.eErrorCode - The error code that occurred.aFile1 - The first file worked upon. May not be null.aFile2 - The second file worked upon. May be null.aException - The exception that occurred. May be null.Copyright © 2014–2016 Philip Helger. All rights reserved.