mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 14:25:02 -05:00
Added File.div(File) to support plex[0]/az/plex[1..-1]
style formats
This commit is contained in:
parent
ae723574b9
commit
42459b5c45
@ -40,16 +40,20 @@ import net.filebot.web.WebRequest;
|
||||
|
||||
public class ScriptShellMethods {
|
||||
|
||||
public static File plus(File self, String name) {
|
||||
return new File(self.getPath().concat(name));
|
||||
public static File plus(File self, String path) {
|
||||
return new File(self.getPath().concat(path));
|
||||
}
|
||||
|
||||
public static File div(File self, String name) {
|
||||
return new File(self, name);
|
||||
public static File div(File self, String path) {
|
||||
return new File(self, path);
|
||||
}
|
||||
|
||||
public static File div(String self, String name) {
|
||||
return new File(self, name);
|
||||
public static File div(String self, String path) {
|
||||
return new File(self, path);
|
||||
}
|
||||
|
||||
public static File div(File self, File path) {
|
||||
return new File(self, path.getPath());
|
||||
}
|
||||
|
||||
public static String getAt(File self, int index) {
|
||||
|
Loading…
Reference in New Issue
Block a user