Package | Description |
---|---|
propel.core.functional.projections | |
propel.core.utils |
Modifier and Type | Method and Description |
---|---|
static Actions.Action1<java.io.File> |
Files.appendLineToFile(java.lang.String _text)
Action that appends some text data to a file.
|
static Actions.Action1<java.io.File> |
Files.appendToFile(java.lang.String _text)
Action that appends some text data to a file.
|
static Actions.Action1<java.io.File> |
Files.copyFile(java.lang.String _destFilePath)
Action that copies a file from an absolute file path to another
|
static Actions.Action1<java.io.File> |
Files.deleteDirectory()
Action that deletes a directory from an absolute file path.
|
static Actions.Action1<java.io.File> |
Files.deleteDirectoryRecursive()
Action that deletes a directory tree from an absolute file path.
|
static Actions.Action1<java.io.File> |
Files.deleteFile()
Action that deletes a file from an absolute file path.
|
static Actions.Action1<java.lang.Object> |
InvokeNoArgs.invokeMethod(java.lang.reflect.Method _method)
A no-argument action which invokes the method specified on the given object.
|
static Actions.Action1<java.lang.Object> |
InvokeOneArg.invokeMethod(java.lang.Object _obj,
java.lang.reflect.Method _method)
A one-argument action which invokes the method specified on the given object, passing the function argument to the invoked method.
|
static Actions.Action1<java.lang.Object> |
InvokeDynamic.invokeMethod(java.lang.String methodName)
Returns a one-argument action which invokes the no-arg method on this argument
|
static Actions.Action1<java.lang.Object> |
InvokeDynamic.invokeMethod(java.lang.String methodName,
java.lang.Object[] obj)
Returns a one-argument action which invokes the one-arg method on this argument
|
static Actions.Action1<java.lang.Object> |
InvokeDynamic.invokeMethodWithOneArgOn(java.lang.Object obj,
java.lang.String methodName)
Returns a one-argument action which invokes the method name specified on the given object, passing the function argument to the invoked
method.
|
static Actions.Action1<java.io.File> |
Files.moveFile(java.lang.String _destFilePath)
Action that moves a file from an absolute file path to another
|
static Actions.Action1<java.lang.Object> |
MiscProjections.throwDetailed(java.lang.Throwable _e)
Action that throws the specified exception when being invoked.
|
static Actions.Action1<java.io.File> |
Files.tryCopyFile(java.lang.String _destFilePath)
Action that copies a file from an absolute file path to another.
|
static Actions.Action1<java.io.File> |
Files.tryDeleteDirectory()
Action that deletes a directory from an absolute file path.
|
static Actions.Action1<java.io.File> |
Files.tryDeleteDirectoryRecursive()
Action that deletes a directory tree from an absolute file path.
|
static Actions.Action1<java.io.File> |
Files.tryDeleteFile()
Action that deletes a file from an absolute file path.
|
static Actions.Action1<java.io.File> |
Files.tryMoveFile(java.lang.String _destFilePath)
Action that moves a file from one absolute file path to another.
|
Modifier and Type | Method and Description |
---|---|
void |
Matcher.addAction(Predicates.Predicate1<T> predicate,
Actions.Action1<T> action)
Adds a predicate and a function.
|
static <T> java.lang.Iterable<T> |
Linq.forAll(java.lang.Iterable<T> values,
Actions.Action1<T> action)
Executes an action against all elements, returning them
|
static <T> T[] |
Linq.forAll(T[] values,
Actions.Action1<T> action)
Executes an action against all elements, returning them
|
void |
Matcher.setDefaultAction(Actions.Action1<T> action)
Sets the action that generates a default result, if there are no matches.
|