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 ScriptFile(File file) throws IOException
IOException
public boolean isTemplate()
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 long lastModified()
public InputStream getInputStream() throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.