Package hudson.model
Class FileParameterValue.FileItemImpl2
java.lang.Object
hudson.model.FileParameterValue.FileItemImpl2
- All Implemented Interfaces:
org.apache.commons.fileupload2.core.FileItem
,org.apache.commons.fileupload2.core.FileItemHeadersProvider
- Enclosing class:
- FileParameterValue
public static final class FileParameterValue.FileItemImpl2
extends Object
implements org.apache.commons.fileupload2.core.FileItem
Default implementation from
File
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.fileupload2.core.FileItem
delete()
byte[]
get()
org.apache.commons.fileupload2.core.FileItemHeaders
getName()
Deprecated.long
getSize()
boolean
boolean
org.apache.commons.fileupload2.core.FileItem
setFieldName
(String name) org.apache.commons.fileupload2.core.FileItem
setFormField
(boolean state) org.apache.commons.fileupload2.core.FileItemHeadersProvider
setHeaders
(org.apache.commons.fileupload2.core.FileItemHeaders headers) org.apache.commons.fileupload2.core.FileItem
-
Constructor Details
-
FileItemImpl2
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfaceorg.apache.commons.fileupload2.core.FileItem
- Throws:
IOException
-
getContentType
- Specified by:
getContentType
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
getName
- Specified by:
getName
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
isInMemory
public boolean isInMemory()- Specified by:
isInMemory
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
getSize
public long getSize()- Specified by:
getSize
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
get
public byte[] get()- Specified by:
get
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
getString
- Specified by:
getString
in interfaceorg.apache.commons.fileupload2.core.FileItem
- Throws:
IOException
-
getString
- Specified by:
getString
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
write
- Specified by:
write
in interfaceorg.apache.commons.fileupload2.core.FileItem
- Throws:
IOException
-
delete
- Specified by:
delete
in interfaceorg.apache.commons.fileupload2.core.FileItem
- Throws:
IOException
-
getFieldName
- Specified by:
getFieldName
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
setFieldName
- Specified by:
setFieldName
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
isFormField
public boolean isFormField()- Specified by:
isFormField
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
setFormField
public org.apache.commons.fileupload2.core.FileItem setFormField(boolean state) - Specified by:
setFormField
in interfaceorg.apache.commons.fileupload2.core.FileItem
-
getOutputStream
Deprecated.- Specified by:
getOutputStream
in interfaceorg.apache.commons.fileupload2.core.FileItem
- Throws:
IOException
-
getHeaders
public org.apache.commons.fileupload2.core.FileItemHeaders getHeaders()- Specified by:
getHeaders
in interfaceorg.apache.commons.fileupload2.core.FileItemHeadersProvider
-
setHeaders
public org.apache.commons.fileupload2.core.FileItemHeadersProvider setHeaders(org.apache.commons.fileupload2.core.FileItemHeaders headers) - Specified by:
setHeaders
in interfaceorg.apache.commons.fileupload2.core.FileItemHeadersProvider
-