org.nuxeo.ecm.webengine.scripting
Class ScriptFile
java.lang.Object
org.nuxeo.ecm.webengine.scripting.ScriptFile
public final class ScriptFile
- extends Object
- Author:
- Bogdan Stefanescu
ROOT_PATH
public static final String ROOT_PATH
ScriptFile
public ScriptFile(File file)
throws IOException
- Throws:
IOException
isTemplate
public boolean isTemplate()
getFile
public File getFile()
getExtension
public String getExtension()
getAbsolutePath
public String getAbsolutePath()
getRelativePath
public String getRelativePath()
getFileName
public String getFileName()
getURL
public String getURL()
throws MalformedURLException
- Throws:
MalformedURLException
toURL
public URL toURL()
throws MalformedURLException
- Throws:
MalformedURLException
toURI
public URI toURI()
toString
public String toString()
- Overrides:
toString
in class Object
lastModified
public long lastModified()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.