public final class ScriptNameAwareReader extends FilterReader implements 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()
Returns the name of the script provided by a marked
Reader implementation. |
close, mark, markSupported, read, read, ready, reset, skippublic String getScriptName()
ScriptNameAwareReader implementation.getScriptName in interface ScriptNameAwareCopyright © 2017 The Apache Software Foundation. All rights reserved.