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() |
readclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadpublic 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 AbstractScriptSourceInputpublic void prepare()
ScriptSourceInputprepare in interface ScriptSourceInputprepare in class AbstractScriptSourceInputpublic void release()
ScriptSourceInputrelease in interface ScriptSourceInputrelease in class AbstractScriptSourceInputpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.