1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 00:15:02 -04:00

Support 'folder' / 'name' kind of expressions

This commit is contained in:
Reinhard Pointner 2016-08-06 23:49:03 +08:00
parent 5ff7c98e04
commit 8c00c21008

View File

@ -48,6 +48,10 @@ public class ScriptShellMethods {
return new File(self, name);
}
public static File div(String self, String name) {
return new File(self, name);
}
public static String getAt(File self, int index) {
return FileUtilities.listPath(self).get(index).getName();
}