public interface JavaScriptFile
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
construct() |
boolean |
del() |
String |
getContentType() |
InputStream |
getInputStream() |
long |
getLastModified() |
long |
getLength() |
String |
getName() |
OutputStream |
getOutputStream() |
String |
getPath() |
String |
getURI() |
boolean |
isDirectory() |
boolean |
isExist() |
ArrayList<String> |
listFiles() |
boolean |
mkdir() |
boolean |
move(String dest) |
void |
open(String mode) |
String |
read(long count) |
String |
readAll() |
boolean |
saveAs(String dest) |
void |
write(InputStream data) |
void |
write(String data) |
void construct() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
void open(String mode) throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
void close() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
String read(long count) throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
void write(String data) throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
void write(InputStream data) throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
String readAll() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
boolean move(String dest) throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
boolean del() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
long getLength() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
long getLastModified() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
String getName() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
boolean isExist() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
InputStream getInputStream() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
OutputStream getOutputStream() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
String getContentType() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
boolean saveAs(String dest) throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
boolean mkdir() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
boolean isDirectory() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
String getPath() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
String getURI() throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
Copyright © 2019 WSO2 Inc. All rights reserved.