Class ScriptJarFile
- java.lang.Object
-
- org.nuxeo.ecm.webengine.scripting.ScriptFile
-
- org.nuxeo.ecm.webengine.scripting.ScriptJarFile
-
public class ScriptJarFile extends ScriptFile
- Since:
- 2025.0
-
-
Constructor Summary
Constructors Constructor Description ScriptJarFile(URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAbsolutePath()
File
getFile()
String
getFileName()
InputStream
getInputStream()
String
getURL()
long
lastModified()
URI
toURI()
URL
toURL()
-
Methods inherited from class org.nuxeo.ecm.webengine.scripting.ScriptFile
getExtension, getRelativePath, isTemplate, toString
-
-
-
-
Field Detail
-
url
protected final URL url
-
-
Constructor Detail
-
ScriptJarFile
public ScriptJarFile(URL url)
-
-
Method Detail
-
getFile
public File getFile()
- Overrides:
getFile
in classScriptFile
-
getAbsolutePath
public String getAbsolutePath()
- Overrides:
getAbsolutePath
in classScriptFile
-
getFileName
public String getFileName()
- Overrides:
getFileName
in classScriptFile
-
getURL
public String getURL() throws MalformedURLException
- Overrides:
getURL
in classScriptFile
- Throws:
MalformedURLException
-
toURL
public URL toURL() throws MalformedURLException
- Overrides:
toURL
in classScriptFile
- Throws:
MalformedURLException
-
toURI
public URI toURI()
- Overrides:
toURI
in classScriptFile
-
lastModified
public long lastModified()
- Overrides:
lastModified
in classScriptFile
-
getInputStream
public InputStream getInputStream() throws IOException
- Overrides:
getInputStream
in classScriptFile
- Throws:
IOException
-
-