public class BufferedWriter extends ReleasableScriptableObject
BufferedWriter
,
ManagedFile
,
File
,
Serialized FormConstructor and Description |
---|
BufferedWriter()
Constructor.
|
BufferedWriter(java.lang.String theFilePath,
boolean theAppend,
java.lang.String theEncoding)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
(JavaScript Function) close() |
void |
(JavaScript Function) flush() |
void |
(JavaScript Function) newLine() |
void |
(JavaScript Function) writeChar(int theChar) |
void |
(JavaScript Function) writeFullString(java.lang.String theString) |
void |
(JavaScript Function) writeString(java.lang.String theString,
int theOffset,
int theLen) |
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 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 (JavaScript Function) writeChar(int theChar) throws java.io.IOException
java.io.IOException
BufferedWriter.write(int)
public void (JavaScript Function) writeFullString(java.lang.String theString) throws java.io.IOException
java.io.IOException
BufferedWriter.write(String, int, int)
public void (JavaScript Function) writeString(java.lang.String theString, int theOffset, int theLen) throws java.io.IOException
java.io.IOException
BufferedWriter.write(String, int, int)
public void (JavaScript Function) newLine() throws java.io.IOException
java.io.IOException
BufferedWriter.newLine()
public void (JavaScript Function) flush() throws java.io.IOException
java.io.IOException
BufferedWriter.flush()
public void (JavaScript Function) 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 © 2017 MediaBeacon, Inc. All Rights Reserved.