public class ContentCache extends MObject
| Constructor and Description |
|---|
ContentCache(ResourceNode config) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
cacheAndReturn(String id,
InputStream is) |
void |
doCache(String id,
InputStream is) |
InputStream |
getCached(String id) |
boolean |
isCached(String id) |
base, base, createBase, forkBase, installBase, isBase, leaveBase, toStringpublic ContentCache(ResourceNode config) throws de.mhus.lib.errors.MException
de.mhus.lib.errors.MExceptionpublic boolean isCached(String id)
public InputStream cacheAndReturn(String id, InputStream is) throws IOException
IOExceptionpublic void doCache(String id, InputStream is) throws IOException
IOExceptionpublic InputStream getCached(String id) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2014. All rights reserved.