Constructor and Description |
---|
CloudWorkspace() |
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) |
public com.google.gson.JsonArray listRoots() throws IOException
listRoots
in interface Workspace
IOException
public com.google.gson.JsonArray listDirectoriesInPath(String path)
listDirectoriesInPath
in interface Workspace
public void write(String path, String content) throws IOException
write
in interface Workspace
IOException
public com.google.gson.JsonObject read(String path) throws IOException
read
in interface Workspace
IOException
public void create(String path, String type) throws IOException
create
in interface Workspace
IOException
public void delete(String path, String type) throws IOException
delete
in interface Workspace
IOException
public void log(String logger, String timestamp, String level, String URL, String message, String layout) throws IOException
log
in interface Workspace
IOException
public com.google.gson.JsonArray listFilesInPath(String path) throws IOException
listFilesInPath
in interface Workspace
IOException
public com.google.gson.JsonObject exists(String path) throws IOException
exists
in interface Workspace
IOException
Copyright © 2017 WSO2. All rights reserved.