|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.attachments.LocalTempAttachmentsProvider.FileItemImpl
public static class LocalTempAttachmentsProvider.FileItemImpl
Field Summary | |
---|---|
protected URLConnection |
connection
|
protected URL |
fileUrl
|
Constructor Summary | |
---|---|
LocalTempAttachmentsProvider.FileItemImpl(File localFile)
FileItem for a local file. |
Method Summary | |
---|---|
void |
delete()
Not Implemented. |
byte[] |
get()
Not Implemented. |
protected URLConnection |
getConnection()
|
String |
getContentType()
Returns the ContentType returned by the URL connection. |
String |
getFieldName()
Not Implemented. |
InputStream |
getInputStream()
Returns the InputStream returned by the URL connection. |
String |
getName()
Returns the last segment of the URL. |
OutputStream |
getOutputStream()
Not Implemented. |
long |
getSize()
Returns the ContentLength returned by the URL connection. |
String |
getString()
Not Implemented. |
String |
getString(String arg0)
Not Implemented. |
boolean |
isFormField()
Not Implemented. |
boolean |
isInMemory()
Not Implemented. |
void |
setFieldName(String arg0)
Not Implemented. |
void |
setFormField(boolean arg0)
Not Implemented. |
void |
write(File arg0)
Not Implemented. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected URL fileUrl
protected URLConnection connection
Constructor Detail |
---|
public LocalTempAttachmentsProvider.FileItemImpl(File localFile) throws MalformedURLException
localFile
- the local file to use
MalformedURLException
Method Detail |
---|
protected URLConnection getConnection()
public String getName()
org.apache.commons.fileupload.FileItem#getName()
public String getContentType()
org.apache.commons.fileupload.FileItem#getContentType()
,
URLConnection.getContentType()
public long getSize()
org.apache.commons.fileupload.FileItem#getSize()
,
URLConnection.getContentLength()
public InputStream getInputStream() throws IOException
IOException
org.apache.commons.fileupload.FileItem#getInputStream()
public void delete()
public byte[] get()
public String getFieldName()
public OutputStream getOutputStream() throws IOException
IOException
public String getString()
public String getString(String arg0) throws UnsupportedEncodingException
UnsupportedEncodingException
public boolean isFormField()
public boolean isInMemory()
public void setFieldName(String arg0)
public void setFormField(boolean arg0)
public void write(File arg0) throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |