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