public class ScriptSourceInputFromFile extends AbstractScriptSourceInput implements ScriptSourceInput
release()
.Constructor and Description |
---|
ScriptSourceInputFromFile(java.io.File file,
java.lang.String charsetName)
Constructs a ScriptSourceInputFromFile
|
Modifier and Type | Method and Description |
---|---|
void |
prepare()
Prepare source for use.
|
protected java.io.Reader |
reader() |
void |
release()
Release this input.
|
java.lang.String |
toString() |
read
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
read
public ScriptSourceInputFromFile(java.io.File file, java.lang.String charsetName)
file
- The file to read fromcharsetName
- The charset nameprotected java.io.Reader reader()
reader
in class AbstractScriptSourceInput
public void prepare()
ScriptSourceInput
prepare
in interface ScriptSourceInput
prepare
in class AbstractScriptSourceInput
public void release()
ScriptSourceInput
release
in interface ScriptSourceInput
release
in class AbstractScriptSourceInput
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.