|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object models.CacheFile
public abstract class CacheFile
abstract class for caching files
Constructor Summary | |
---|---|
CacheFile()
|
Method Summary | |
---|---|
static java.lang.String |
getContentType(java.lang.Object o)
|
static java.lang.String |
getImageFormatName(java.lang.Object o)
|
static java.lang.String |
md5(byte[] bytes)
rmd5 function |
static void |
removeFromCache(java.lang.String uuid)
remove object from cache by key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheFile()
Method Detail |
---|
public static void removeFromCache(java.lang.String uuid)
uuid
- key with which object is located in the cachepublic static java.lang.String getContentType(java.lang.Object o)
o
- object
public static java.lang.String getImageFormatName(java.lang.Object o)
o
- object
public static java.lang.String md5(byte[] bytes)
bytes
- byte array
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |