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
IOException
public boolean isTemplate()
public File getFile()
public String getExtension()
public String getAbsolutePath()
public String getRelativePath()
public String getFileName()
public String getURL() throws MalformedURLException
MalformedURLException
public URL toURL() throws MalformedURLException
MalformedURLException
public URI toURI()
public long lastModified()
public InputStream getInputStream() throws IOException
IOException
Copyright © 2013 Nuxeo SA. All Rights Reserved.