public interface Workspace
| Modifier and Type | Method and Description |
|---|---|
void |
create(String path,
String type) |
void |
delete(String path,
String type) |
com.google.gson.JsonObject |
exists(String path) |
com.google.gson.JsonArray |
listDirectoriesInPath(String path) |
com.google.gson.JsonArray |
listFilesInPath(String path) |
com.google.gson.JsonArray |
listRoots() |
void |
log(String logger,
String timestamp,
String level,
String URL,
String message,
String layout) |
com.google.gson.JsonObject |
read(String path) |
void |
write(String path,
String content) |
com.google.gson.JsonArray listRoots()
throws IOException
IOExceptioncom.google.gson.JsonArray listDirectoriesInPath(String path) throws IOException
IOExceptioncom.google.gson.JsonArray listFilesInPath(String path) throws IOException
IOExceptioncom.google.gson.JsonObject exists(String path) throws IOException
IOExceptionvoid create(String path, String type) throws IOException
IOExceptionvoid delete(String path, String type) throws IOException
IOExceptionvoid write(String path, String content) throws IOException
IOExceptioncom.google.gson.JsonObject read(String path) throws IOException
IOExceptionvoid log(String logger, String timestamp, String level, String URL, String message, String layout) throws IOException
IOExceptionCopyright © 2017 WSO2. All rights reserved.