| Package | Description |
|---|---|
| com.helger.commons.io.file |
| Modifier and Type | Method and Description |
|---|---|
EFileIOOperation |
FileOperationManager.getLastOperation() |
EFileIOOperation |
IFileOperationManager.getLastOperation() |
EFileIOOperation |
FileIOError.getOperation() |
static EFileIOOperation |
EFileIOOperation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EFileIOOperation[] |
EFileIOOperation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
FileIOError |
EFileIOErrorCode.getAsIOError(EFileIOOperation eOperation,
File aFile)
Use this error code to create a new
FileIOError instance. |
FileIOError |
EFileIOErrorCode.getAsIOError(EFileIOOperation eOperation,
File aFile1,
File aFile2)
Use this error code to create a new
FileIOError instance. |
static FileIOError |
EFileIOErrorCode.getAsIOError(EFileIOOperation eOperation,
IOException ex)
Static method to create a
FileIOError for an IOException. |
FileIOError |
EFileIOErrorCode.getAsIOError(EFileIOOperation eOperation,
Path aPath)
Use this error code to create a new
FileIOError instance. |
FileIOError |
EFileIOErrorCode.getAsIOError(EFileIOOperation eOperation,
Path aFile1,
Path aFile2)
Use this error code to create a new
FileIOError instance. |
static FileIOError |
EFileIOErrorCode.getAsIOError(EFileIOOperation eOperation,
UncheckedIOException ex)
Static method to create a
FileIOError for an
UncheckedIOException. |
static FileIOError |
EFileIOErrorCode.getSecurityAsIOError(EFileIOOperation eOperation,
SecurityException ex)
Static method to create a
FileIOError for a
SecurityException. |
default void |
IFileOperationCallback.onError(EFileIOOperation eOperation,
EFileIOErrorCode eErrorCode,
File aFile1,
File aFile2,
Exception aException)
Called upon operation error.
|
void |
LoggingFileOperationCallback.onError(EFileIOOperation eOperation,
EFileIOErrorCode eErrorCode,
File aFile1,
File aFile2,
Exception aException) |
default void |
IFileOperationCallback.onSuccess(EFileIOOperation eOperation,
File aFile1,
File aFile2)
Called upon operation success.
|
void |
LoggingFileOperationCallback.onSuccess(EFileIOOperation eOperation,
File aFile1,
File aFile2) |
| Constructor and Description |
|---|
FileIOError(EFileIOOperation eOperation,
EFileIOErrorCode eCode) |
FileIOError(EFileIOOperation eOperation,
EFileIOErrorCode eCode,
Exception aException) |
FileIOError(EFileIOOperation eOperation,
EFileIOErrorCode eCode,
File aFile1) |
FileIOError(EFileIOOperation eOperation,
EFileIOErrorCode eCode,
File aFile1,
File aFile2) |
FileIOError(EFileIOOperation eOperation,
EFileIOErrorCode eCode,
File aFile1,
File aFile2,
Exception aException) |
Copyright © 2014–2019 Philip Helger. All rights reserved.