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
FileNotFoundExceptionpublic String getScriptName()
getScriptName in interface org.apache.sling.scripting.sightly.compiler.CompilationUnitpublic Reader getScriptReader()
getScriptReader in interface org.apache.sling.scripting.sightly.compiler.CompilationUnitpublic void dispose()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.