oracle.ord.im
Class OrdHttpUploadFileSource
java.lang.Object
|
+--oracle.ord.im.OrdHttpUploadFileSource
- All Implemented Interfaces:
- OrdContentSource
- public class OrdHttpUploadFileSource
- extends java.lang.Object
- implements OrdContentSource
An implementation class of OrdContentSource that supports
using an OrdHttpUploadFile object as the content source.
JSP or Java Servlet application developers can use it to process
the content uploaded by the browser from an HTML FORM FILE INPUT element.
- Since:
- JDev5.0
- See Also:
OrdHttpUploadFile
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrdHttpUploadFileSource
public OrdHttpUploadFileSource(OrdHttpUploadFile uploadFile)
- Constructs a
OrdHttpUploadFileSource instance.
- Parameters:
uploadFile - an OrdHttpUploadFile object which
contains the content
setOrdHttpUploadFile
public void setOrdHttpUploadFile(OrdHttpUploadFile uploadFile)
- Sets an
OrdHttpUploadFile object.
getOrdHttpUploadFile
public OrdHttpUploadFile getOrdHttpUploadFile()
- Returns the
OrdHttpUploadFile object.
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Returns the
InputStream object.
- Specified by:
getInputStream in interface OrdContentSource
- See Also:
OrdHttpUploadFile.getInputStream()
getContentLength
public int getContentLength()
throws java.io.IOException
- Returns the length of the content.
- Specified by:
getContentLength in interface OrdContentSource
- See Also:
OrdHttpUploadFile.getContentLength()
getMimeType
public java.lang.String getMimeType()
- Returns the MIME type information of the content.
- Specified by:
getMimeType in interface OrdContentSource
- See Also:
OrdHttpUploadFile.getMimeType()
release
public void release()
- Releases all the resources held by an
OrdHttpUploadFile
object.
- See Also:
OrdHttpUploadFile.release()