...
This language is an extension the to the Simple language so the Simple syntax applies also.
All the file tokens uses the same as the method on the java.io.File
object, for instance file:absolute
refers to the java.io.File.getAbsolute()
method.
...
Expression | Description |
---|---|
file:name | refers to the file name |
file:name.noext | refers to the file name with no extension |
file:parent | refers to the file parent |
file:path | refers to the file path |
file:absolute | refers to the absolute file |
file:canonical.path | refers to the canonical path |
date:command:pattern | for date formatting using the |
bean:bean expression | invoking a bean expression using the Bean language. |
simple:simple expression | to invoke the simple expression, however simple: can be omitted as this language extends the simple language |
Samples
Lets assume we use the file consumer to read files and want to move the read files to backup folder with the current date as a sub folder. This can be archived using an expression like:
...