public final class ScriptNameAwareReader extends FilterReader implements org.apache.sling.scripting.api.ScriptNameAware
ScriptNameAwareReader is a FilterReader marked with the ScriptNameAware interface. This reader allows
retrieving the contained script's name.in| Constructor and Description |
|---|
ScriptNameAwareReader(Reader in,
String scriptName)
Creates a
ScriptNameAwareReader based on another Reader. |
| Modifier and Type | Method and Description |
|---|---|
String |
getScriptName() |
close, mark, markSupported, read, read, ready, reset, skippublic String getScriptName()
getScriptName in interface org.apache.sling.scripting.api.ScriptNameAwareCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.