public final class ScriptFile extends Object
| Constructor and Description | 
|---|
| ScriptFile(File file) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAbsolutePath() | 
| String | getExtension() | 
| File | getFile() | 
| String | getFileName() | 
| InputStream | getInputStream() | 
| String | getRelativePath() | 
| String | getURL() | 
| boolean | isTemplate() | 
| long | lastModified() | 
| String | toString() | 
| URI | toURI() | 
| URL | toURL() | 
public static final String ROOT_PATH
public ScriptFile(File file) throws IOException
IOExceptionpublic boolean isTemplate()
public File getFile()
public String getExtension()
public String getAbsolutePath()
public String getRelativePath()
public String getFileName()
public String getURL() throws MalformedURLException
MalformedURLExceptionpublic URL toURL() throws MalformedURLException
MalformedURLExceptionpublic URI toURI()
public long lastModified()
public InputStream getInputStream() throws IOException
IOExceptionCopyright © 2014 Nuxeo SA. All rights reserved.