public class ConsoleFileAgent extends Object implements IFileAgent
| Constructor and Description |
|---|
ConsoleFileAgent(File root) |
| Modifier and Type | Method and Description |
|---|---|
File |
getRoot() |
byte[] |
readCache(String key) |
void |
writeCache(String key,
byte[] data) |
public ConsoleFileAgent(File root)
public File getRoot()
getRoot in interface IFileAgentpublic void writeCache(String key, byte[] data) throws IOException
writeCache in interface IFileAgentIOExceptionpublic byte[] readCache(String key) throws IOException
readCache in interface IFileAgentIOExceptionCopyright © 2019. All rights reserved.