public class BufferedReader extends ReleasableScriptableObject
BufferedReader
,
ManagedFile
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
myLogger
Logger -- special logger for workflow script output (a quasi dependency on workflow in mb3).
|
Constructor and Description |
---|
BufferedReader()
Constructor.
|
BufferedReader(java.lang.String theFilePath,
java.lang.String theEncoding)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
jsFunction_close() |
int |
jsFunction_readChar() |
java.lang.String |
jsFunction_readLine() |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
protected static final java.util.logging.Logger myLogger
public BufferedReader()
public BufferedReader(java.lang.String theFilePath, java.lang.String theEncoding) throws java.io.FileNotFoundException
theFilePath
- java.io.FileNotFoundException
public int jsFunction_readChar() throws java.io.IOException
java.io.IOException
BufferedReader.read()
public java.lang.String jsFunction_readLine() throws java.io.IOException
java.io.IOException
BufferedReader.readLine()
public void jsFunction_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 © 2023 MediaBeacon, Inc. All Rights Reserved.