public class FileOutputStream extends ReleasableScriptableObject
Constructor and Description |
---|
FileOutputStream()
The default constructor.
|
FileOutputStream(java.lang.String theFilePath) |
Modifier and Type | Method and Description |
---|---|
void |
(JavaScript Function) close()
Closes this file output stream and releases any system resources associated with this stream.
|
void |
(JavaScript Function) flush()
Flushes this output stream and forces any buffered output bytes to be written out.
|
void |
(JavaScript Function) writeBytes(org.mozilla.javascript.NativeJavaArray theData)
Writes bytes from the specified byte array to this file output stream.
|
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 FileOutputStream()
public FileOutputStream(java.lang.String theFilePath) throws java.io.IOException
java.io.IOException
public void (JavaScript Function) writeBytes(org.mozilla.javascript.NativeJavaArray theData) throws java.io.IOException
theData
- the byte array to writejava.io.IOException
public void (JavaScript Function) flush() throws java.io.IOException
java.io.IOException
public void (JavaScript Function) close() throws java.io.IOException
java.io.IOException
Copyright © 2017 MediaBeacon, Inc. All Rights Reserved.