Class FileItemFactory.AbstractFileItemBuilder<I extends FileItem<I>,B extends FileItemFactory.AbstractFileItemBuilder<I,B>>
java.lang.Object
org.apache.commons.io.build.AbstractSupplier<I,B>
org.apache.commons.io.build.AbstractOriginSupplier<I,B>
org.apache.commons.io.build.AbstractStreamBuilder<I,B>
org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder<I,B>
- Type Parameters:
I
- the type ofFileItem
to build.B
- the type of builder subclass.
- All Implemented Interfaces:
org.apache.commons.io.function.IOSupplier<I>
- Direct Known Subclasses:
DiskFileItem.Builder
- Enclosing interface:
FileItemFactory<I extends FileItem<I>>
public abstract static class FileItemFactory.AbstractFileItemBuilder<I extends FileItem<I>,B extends FileItemFactory.AbstractFileItemBuilder<I,B>>
extends org.apache.commons.io.build.AbstractStreamBuilder<I,B>
Abstracts building for subclasses.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.io.FileCleaningTracker
boolean
static FileItemHeaders
setContentType
(String contentType) setFieldName
(String fieldName) setFileCleaningTracker
(org.apache.commons.io.FileCleaningTracker fileCleaningTracker) setFileItemHeaders
(FileItemHeaders fileItemHeaders) setFileName
(String fileName) setFormField
(boolean isFormField) Methods inherited from class org.apache.commons.io.build.AbstractStreamBuilder
getBufferSize, getBufferSizeDefault, getCharSequence, getCharset, getCharsetDefault, getInputStream, getOpenOptions, getOutputStream, getPath, getWriter, setBufferSize, setBufferSize, setBufferSizeChecker, setBufferSizeDefault, setBufferSizeMax, setCharset, setCharset, setCharsetDefault, setOpenOptions
Methods inherited from class org.apache.commons.io.build.AbstractOriginSupplier
checkOrigin, getOrigin, hasOrigin, newByteArrayOrigin, newCharSequenceOrigin, newFileOrigin, newFileOrigin, newInputStreamOrigin, newOutputStreamOrigin, newPathOrigin, newPathOrigin, newReaderOrigin, newURIOrigin, newWriterOrigin, setByteArray, setCharSequence, setFile, setFile, setInputStream, setOrigin, setOutputStream, setPath, setPath, setReader, setURI, setWriter
Methods inherited from class org.apache.commons.io.build.AbstractSupplier
asThis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.io.function.IOSupplier
asSupplier, get
-
Constructor Details
-
AbstractFileItemBuilder
public AbstractFileItemBuilder()
-
-
Method Details
-
newFileItemHeaders
-
getContentType
-
getFieldName
-
getFileCleaningTracker
-
getFileItemHeaders
-
getFileName
-
isFormField
-
setContentType
-
setFieldName
-
setFileCleaningTracker
-
setFileItemHeaders
-
setFileName
-
setFormField
-