Package net.filebot.postprocess
Class ScriptBaseClass
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
net.filebot.postprocess.ScriptBaseClass
- All Implemented Interfaces:
GroovyObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
net.filebot.web.SubtitleDescriptor
findSubtitles
(File file, String language, boolean strict, Predicate<net.filebot.web.SubtitleDescriptor> selector) getSubtitles
(File file, String... languages) getSubtitles
(Map options, File file, String... languages) void
void
void
void
Methods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, getProperty, invokeMethod, print, printf, printf, println, println, run, run, setBinding, setProperty
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
-
Constructor Details
-
ScriptBaseClass
public ScriptBaseClass()
-
-
Method Details
-
alert
- Throws:
Exception
-
system
- Throws:
Exception
-
system
- Throws:
Exception
-
trash
- Throws:
Exception
-
reveal
- Throws:
Exception
-
curl
- Throws:
Exception
-
curl
- Throws:
Exception
-
curl
- Throws:
Exception
-
submit
- Throws:
Exception
-
curl
- Throws:
Exception
-
http
- Throws:
Exception
-
http
public ScriptBaseClass.Response http(Map header, String method, Object url, Object data) throws Exception - Throws:
Exception
-
getSubtitles
- Throws:
Exception
-
getSubtitles
- Throws:
Exception
-
findSubtitles
public net.filebot.web.SubtitleDescriptor findSubtitles(File file, String language, boolean strict, Predicate<net.filebot.web.SubtitleDescriptor> selector) throws Exception - Throws:
Exception
-
XML
- Throws:
Exception
-
XML
-
INI
- Throws:
Exception
-
INI
- Throws:
Exception
-
JSON
- Throws:
Exception
-
JSON
-