com.google.code.plsqlgateway.servlet.upload
Class OracleFileItem
java.lang.Object
com.google.code.plsqlgateway.servlet.upload.OracleFileItem
- All Implemented Interfaces:
- Serializable, org.apache.commons.fileupload.FileItem
public class OracleFileItem
- extends Object
- implements org.apache.commons.fileupload.FileItem
- See Also:
- Serialized Form
|
Constructor Summary |
OracleFileItem(oracle.jdbc.OracleConnection conn,
com.google.code.eforceconfig.EntityConfig intconfig,
com.google.code.eforceconfig.EntityConfig dadConfig,
String fieldName,
String contentType,
boolean isFormField,
String fileName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleFileItem
public OracleFileItem(oracle.jdbc.OracleConnection conn,
com.google.code.eforceconfig.EntityConfig intconfig,
com.google.code.eforceconfig.EntityConfig dadConfig,
String fieldName,
String contentType,
boolean isFormField,
String fileName)
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream in interface org.apache.commons.fileupload.FileItem
getContentType
public String getContentType()
- Specified by:
getContentType in interface org.apache.commons.fileupload.FileItem
getName
public String getName()
- Specified by:
getName in interface org.apache.commons.fileupload.FileItem
getDocumentId
public String getDocumentId()
isInMemory
public boolean isInMemory()
- Specified by:
isInMemory in interface org.apache.commons.fileupload.FileItem
getSize
public long getSize()
- Specified by:
getSize in interface org.apache.commons.fileupload.FileItem
get
public byte[] get()
- Specified by:
get in interface org.apache.commons.fileupload.FileItem
getString
public String getString(String charset)
- Specified by:
getString in interface org.apache.commons.fileupload.FileItem
getString
public String getString()
- Specified by:
getString in interface org.apache.commons.fileupload.FileItem
write
public void write(File file)
- Specified by:
write in interface org.apache.commons.fileupload.FileItem
delete
public void delete()
- Specified by:
delete in interface org.apache.commons.fileupload.FileItem
getFieldName
public String getFieldName()
- Specified by:
getFieldName in interface org.apache.commons.fileupload.FileItem
setFieldName
public void setFieldName(String fieldName)
- Specified by:
setFieldName in interface org.apache.commons.fileupload.FileItem
isFormField
public boolean isFormField()
- Specified by:
isFormField in interface org.apache.commons.fileupload.FileItem
setFormField
public void setFormField(boolean isFormField)
- Specified by:
setFormField in interface org.apache.commons.fileupload.FileItem
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream in interface org.apache.commons.fileupload.FileItem
Copyright © 2011. All Rights Reserved.