public class ScriptCompilationUnit extends Object implements org.apache.sling.scripting.sightly.compiler.CompilationUnit
Constructor and Description |
---|
ScriptCompilationUnit(File sourceDirectory,
File script) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getScriptName() |
Reader |
getScriptReader() |
public ScriptCompilationUnit(File sourceDirectory, File script) throws FileNotFoundException
FileNotFoundException
public String getScriptName()
getScriptName
in interface org.apache.sling.scripting.sightly.compiler.CompilationUnit
public Reader getScriptReader()
getScriptReader
in interface org.apache.sling.scripting.sightly.compiler.CompilationUnit
public void dispose()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.