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 StringgetAbsolutePath()FilegetFile()StringgetFileName()InputStreamgetInputStream()StringgetURL()longlastModified()URItoURI()URLtoURL()-
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:
getFilein classScriptFile
-
getAbsolutePath
public String getAbsolutePath()
- Overrides:
getAbsolutePathin classScriptFile
-
getFileName
public String getFileName()
- Overrides:
getFileNamein classScriptFile
-
getURL
public String getURL() throws MalformedURLException
- Overrides:
getURLin classScriptFile- Throws:
MalformedURLException
-
toURL
public URL toURL() throws MalformedURLException
- Overrides:
toURLin classScriptFile- Throws:
MalformedURLException
-
toURI
public URI toURI()
- Overrides:
toURIin classScriptFile
-
lastModified
public long lastModified()
- Overrides:
lastModifiedin classScriptFile
-
getInputStream
public InputStream getInputStream() throws IOException
- Overrides:
getInputStreamin classScriptFile- Throws:
IOException
-
-