public class BufferedReader extends ReleasableScriptableObject
BufferedReader
,
ManagedFile
,
File
,
Serialized FormConstructor and Description |
---|
BufferedReader()
Constructor.
|
BufferedReader(java.lang.String theFilePath,
java.lang.String theEncoding)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
(JavaScript Function) close() |
int |
(JavaScript Function) readChar() |
java.lang.String |
(JavaScript Function) readLine() |
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public BufferedReader()
public BufferedReader(java.lang.String theFilePath, java.lang.String theEncoding) throws java.io.FileNotFoundException
theFilePath
- java.io.FileNotFoundException
public int (JavaScript Function) readChar() throws java.io.IOException
java.io.IOException
BufferedReader.read()
public java.lang.String (JavaScript Function) readLine() throws java.io.IOException
java.io.IOException
BufferedReader.readLine()
public void (JavaScript Function) close() throws java.io.IOException
java.io.IOException
WARNING: Scripts should close a BufferedReader explicitly. If a BufferedReader is not closed when it goes out of
scope or the script terminates, a warning will be written to the log and the BufferedReader will be closed, but
this is not guaranteed to succeed and can yield unpredictable results.
Copyright © 2017 MediaBeacon, Inc. All Rights Reserved.