|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object models.CacheFile models.CacheEisObject
public class CacheEisObject
class for caching eis data
CacheFile
Constructor Summary | |
---|---|
CacheEisObject(byte[] file,
java.lang.String fileName,
java.lang.String contentType)
constructor of class |
|
CacheEisObject(java.lang.String fileUrl)
constructor of class |
Method Summary | |
---|---|
java.lang.String |
etag()
|
java.lang.String |
getContentType()
|
byte[] |
getFile()
|
java.lang.String |
getFileName()
|
java.lang.String |
getFileUrl()
|
static CacheEisObject |
getFromCache(java.lang.String uuid)
get file from cache |
java.lang.Boolean |
getObjectAsUrl()
|
void |
setContentType(java.lang.String contentType)
set content type |
void |
setFile(byte[] file)
set file data |
void |
setFileName(java.lang.String fileName)
set file name |
void |
setFileUrl(java.lang.String fileUrl)
url to object |
void |
setObjectAsUrl(java.lang.Boolean objectAsUrl)
set is object located on a server |
Methods inherited from class models.CacheFile |
---|
getContentType, getImageFormatName, md5, removeFromCache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheEisObject(byte[] file, java.lang.String fileName, java.lang.String contentType)
file
- byte array of filefileName
- file name stringcontentType
- content type of filepublic CacheEisObject(java.lang.String fileUrl)
fileUrl
- url of fileMethod Detail |
---|
public java.lang.Boolean getObjectAsUrl()
public void setObjectAsUrl(java.lang.Boolean objectAsUrl)
objectAsUrl
- boolean valuepublic byte[] getFile()
public void setFile(byte[] file)
file
- byte arraypublic java.lang.String getFileUrl()
public void setFileUrl(java.lang.String fileUrl)
fileUrl
- url stringpublic java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- file name stringpublic java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
contentType
- content type stringpublic java.lang.String etag()
public static CacheEisObject getFromCache(java.lang.String uuid)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |