Class LocalTempAttachmentsProvider.FileItemImpl

java.lang.Object
com.webmethods.caf.faces.data.attachments.LocalTempAttachmentsProvider.FileItemImpl
All Implemented Interfaces:
org.apache.commons.fileupload.FileItem, org.apache.commons.fileupload.FileItemHeadersSupport
Enclosing class:
LocalTempAttachmentsProvider

public static class LocalTempAttachmentsProvider.FileItemImpl extends Object implements org.apache.commons.fileupload.FileItem
  • Field Details

    • fileUrl

      protected URL fileUrl
    • connection

      protected URLConnection connection
  • Constructor Details

  • Method Details

    • getConnection

      protected URLConnection getConnection()
    • getName

      public String getName()
      Returns the last segment of the URL.
      Specified by:
      getName in interface org.apache.commons.fileupload.FileItem
      See Also:
      • FileItem.getName()
    • getContentType

      public String getContentType()
      Returns the ContentType returned by the URL connection.
      Specified by:
      getContentType in interface org.apache.commons.fileupload.FileItem
      See Also:
    • getSize

      public long getSize()
      Returns the ContentLength returned by the URL connection.
      Specified by:
      getSize in interface org.apache.commons.fileupload.FileItem
      See Also:
    • getInputStream

      public InputStream getInputStream() throws IOException
      Returns the InputStream returned by the URL connection.
      Specified by:
      getInputStream in interface org.apache.commons.fileupload.FileItem
      Throws:
      IOException
      See Also:
      • FileItem.getInputStream()
    • delete

      public void delete()
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      delete in interface org.apache.commons.fileupload.FileItem
    • get

      public byte[] get()
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      get in interface org.apache.commons.fileupload.FileItem
    • getFieldName

      public String getFieldName()
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      getFieldName in interface org.apache.commons.fileupload.FileItem
    • getOutputStream

      public OutputStream getOutputStream() throws IOException
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      getOutputStream in interface org.apache.commons.fileupload.FileItem
      Throws:
      IOException
    • getString

      public String getString()
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      getString in interface org.apache.commons.fileupload.FileItem
    • getString

      public String getString(String arg0) throws UnsupportedEncodingException
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      getString in interface org.apache.commons.fileupload.FileItem
      Throws:
      UnsupportedEncodingException
    • isFormField

      public boolean isFormField()
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      isFormField in interface org.apache.commons.fileupload.FileItem
    • isInMemory

      public boolean isInMemory()
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      isInMemory in interface org.apache.commons.fileupload.FileItem
    • setFieldName

      public void setFieldName(String arg0)
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      setFieldName in interface org.apache.commons.fileupload.FileItem
    • setFormField

      public void setFormField(boolean arg0)
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      setFormField in interface org.apache.commons.fileupload.FileItem
    • write

      public void write(File arg0) throws Exception
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      write in interface org.apache.commons.fileupload.FileItem
      Throws:
      Exception
    • getHeaders

      public org.apache.commons.fileupload.FileItemHeaders getHeaders()
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      getHeaders in interface org.apache.commons.fileupload.FileItemHeadersSupport
    • setHeaders

      public void setHeaders(org.apache.commons.fileupload.FileItemHeaders headers)
      Not Implemented. Throws UnsupportedOperationException if called.
      Specified by:
      setHeaders in interface org.apache.commons.fileupload.FileItemHeadersSupport