Package org.teamapps.ux.resource
Class FileResource
- java.lang.Object
-
- org.teamapps.ux.resource.FileResource
-
-
Constructor Summary
Constructors Constructor Description FileResource(java.io.File file)FileResource(java.io.File file, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetExpires()java.io.InputStreamgetInputStream()java.util.DategetLastModified()longgetLength()java.lang.StringgetMimeType()java.lang.StringgetName()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.teamapps.ux.resource.Resource
isAttachment
-
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStreamin interfaceResource
-
getLastModified
public java.util.Date getLastModified()
- Specified by:
getLastModifiedin interfaceResource
-
getExpires
public java.util.Date getExpires()
- Specified by:
getExpiresin interfaceResource
-
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeTypein interfaceResource
-
-