Package hudson.model

Class FileParameterValue.FileItemImpl

java.lang.Object
hudson.model.FileParameterValue.FileItemImpl
All Implemented Interfaces:
org.apache.commons.fileupload.FileItem
Enclosing class:
FileParameterValue

@Deprecated public static final class FileParameterValue.FileItemImpl extends Object implements org.apache.commons.fileupload.FileItem
Default implementation from File.
  • Constructor Details

    • FileItemImpl

      public FileItemImpl(File file)
      Deprecated.
  • Method Details

    • getInputStream

      public InputStream getInputStream() throws IOException
      Deprecated.
      Specified by:
      getInputStream in interface org.apache.commons.fileupload.FileItem
      Throws:
      IOException
    • getContentType

      public String getContentType()
      Deprecated.
      Specified by:
      getContentType in interface org.apache.commons.fileupload.FileItem
    • getName

      public String getName()
      Deprecated.
      Specified by:
      getName in interface org.apache.commons.fileupload.FileItem
    • isInMemory

      public boolean isInMemory()
      Deprecated.
      Specified by:
      isInMemory in interface org.apache.commons.fileupload.FileItem
    • getSize

      public long getSize()
      Deprecated.
      Specified by:
      getSize in interface org.apache.commons.fileupload.FileItem
    • get

      public byte[] get()
      Deprecated.
      Specified by:
      get in interface org.apache.commons.fileupload.FileItem
    • getString

      public String getString(String encoding) throws UnsupportedEncodingException
      Deprecated.
      Specified by:
      getString in interface org.apache.commons.fileupload.FileItem
      Throws:
      UnsupportedEncodingException
    • getString

      public String getString()
      Deprecated.
      Specified by:
      getString in interface org.apache.commons.fileupload.FileItem
    • write

      public void write(File to) throws Exception
      Deprecated.
      Specified by:
      write in interface org.apache.commons.fileupload.FileItem
      Throws:
      Exception
    • delete

      public void delete()
      Deprecated.
      Specified by:
      delete in interface org.apache.commons.fileupload.FileItem
    • getFieldName

      public String getFieldName()
      Deprecated.
      Specified by:
      getFieldName in interface org.apache.commons.fileupload.FileItem
    • setFieldName

      public void setFieldName(String name)
      Deprecated.
      Specified by:
      setFieldName in interface org.apache.commons.fileupload.FileItem
    • isFormField

      public boolean isFormField()
      Deprecated.
      Specified by:
      isFormField in interface org.apache.commons.fileupload.FileItem
    • setFormField

      public void setFormField(boolean state)
      Deprecated.
      Specified by:
      setFormField in interface org.apache.commons.fileupload.FileItem
    • getOutputStream

      @Deprecated public OutputStream getOutputStream() throws IOException
      Deprecated.
      Specified by:
      getOutputStream in interface org.apache.commons.fileupload.FileItem
      Throws:
      IOException
    • getHeaders

      public org.apache.commons.fileupload.FileItemHeaders getHeaders()
      Deprecated.
      Specified by:
      getHeaders in interface org.apache.commons.fileupload.FileItem
    • setHeaders

      public void setHeaders(org.apache.commons.fileupload.FileItemHeaders headers)
      Deprecated.
      Specified by:
      setHeaders in interface org.apache.commons.fileupload.FileItem
    • toFileUpload2FileItem

      public org.apache.commons.fileupload2.core.FileItem toFileUpload2FileItem()
      Deprecated.
      Specified by:
      toFileUpload2FileItem in interface org.apache.commons.fileupload.FileItem