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, skip
public String getScriptName()
ScriptNameAware
Reader
implementation.getScriptName
in interface ScriptNameAware
Copyright © 2015 The Apache Software Foundation. All rights reserved.