public class BufferedWriter extends ReleasableScriptableObject
BufferedWriter
,
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 |
---|
BufferedWriter()
Constructor.
|
BufferedWriter(java.lang.String theFilePath,
boolean theAppend,
java.lang.String theEncoding)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
jsFunction_close() |
void |
jsFunction_flush() |
void |
jsFunction_newLine() |
void |
jsFunction_writeChar(int theChar) |
void |
jsFunction_writeFullString(java.lang.String theString) |
void |
jsFunction_writeString(java.lang.String theString,
int theOffset,
int theLen) |
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 BufferedWriter()
public BufferedWriter(java.lang.String theFilePath, boolean theAppend, java.lang.String theEncoding) throws java.io.IOException
theFilePath
- theAppend
- true if file should be opened for appendjava.io.FileNotFoundException
java.io.IOException
public void jsFunction_writeChar(int theChar) throws java.io.IOException
java.io.IOException
BufferedWriter.write(int)
public void jsFunction_writeFullString(java.lang.String theString) throws java.io.IOException
java.io.IOException
BufferedWriter.write(String, int, int)
public void jsFunction_writeString(java.lang.String theString, int theOffset, int theLen) throws java.io.IOException
java.io.IOException
BufferedWriter.write(String, int, int)
public void jsFunction_newLine() throws java.io.IOException
java.io.IOException
BufferedWriter.newLine()
public void jsFunction_flush() throws java.io.IOException
java.io.IOException
BufferedWriter.flush()
public void jsFunction_close() throws java.io.IOException
java.io.IOException
WARNING: Scripts should close a BufferedWriter explicitly. If a BufferedWriter is not closed when it goes out of
scope or the script terminates, a warning will be written to the log and the BufferedWriter will be closed, but
this is not guaranteed to succeed and can yield unpredictable results.
Copyright © 2023 MediaBeacon, Inc. All Rights Reserved.