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 of- FileItemto 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the content type.Gets the field name.org.apache.commons.io.FileCleaningTrackerGets the file cleaning tracker.Gets the field item headers.Gets the file name.booleanTests whether this is a form field.static FileItemHeadersCreate a new FileItemHeaders implementation.setContentType(String contentType) Sets the content type.setFieldName(String fieldName) Sets the field name.setFileCleaningTracker(org.apache.commons.io.FileCleaningTracker fileCleaningTracker) Sets the file cleaning tracker.setFileItemHeaders(FileItemHeaders fileItemHeaders) Sets the file item headers.setFileName(String fileName) Sets the file name.setFormField(boolean isFormField) Sets whether this is a form field.Methods inherited from class org.apache.commons.io.build.AbstractStreamBuildergetBufferSize, getBufferSizeDefault, getCharSequence, getCharset, getCharsetDefault, getFile, getInputStream, getOpenOptions, getOutputStream, getPath, getRandomAccessFile, getReader, getWriter, setBufferSize, setBufferSize, setBufferSizeChecker, setBufferSizeDefault, setBufferSizeMax, setCharset, setCharset, setCharsetDefault, setOpenOptionsMethods inherited from class org.apache.commons.io.build.AbstractOriginSuppliercheckOrigin, getOrigin, hasOrigin, newByteArrayOrigin, newCharSequenceOrigin, newFileOrigin, newFileOrigin, newInputStreamOrigin, newOutputStreamOrigin, newPathOrigin, newPathOrigin, newRandomAccessFileOrigin, newRandomAccessFileOrigin, newReaderOrigin, newURIOrigin, newWriterOrigin, setByteArray, setCharSequence, setFile, setFile, setInputStream, setOrigin, setOutputStream, setPath, setPath, setRandomAccessFile, setRandomAccessFile, setReader, setURI, setWriterMethods inherited from class org.apache.commons.io.build.AbstractSupplierasThisMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.io.function.IOSupplierasSupplier, get, getUnchecked
- 
Constructor Details- 
AbstractFileItemBuilderpublic AbstractFileItemBuilder()Constructs a new instance.
 
- 
- 
Method Details- 
newFileItemHeadersCreate a new FileItemHeaders implementation.- Returns:
- a new FileItemHeaders implementation.
 
- 
getContentTypeGets the content type.- Returns:
- the content type.
 
- 
getFieldNameGets the field name.- Returns:
- the field name.
 
- 
getFileCleaningTrackerGets the file cleaning tracker.- Returns:
- the file cleaning tracker.
 
- 
getFileItemHeadersGets the field item headers.- Returns:
- the field item headers.
 
- 
getFileNameGets the file name.- Returns:
- the file name.
 
- 
isFormFieldTests whether this is a form field.- Returns:
- whether this is a form field.
 
- 
setContentTypeSets the content type.- Parameters:
- contentType- the content type.
- Returns:
- thisinstance.
 
- 
setFieldNameSets the field name.- Parameters:
- fieldName- the field name.
- Returns:
- thisinstance.
 
- 
setFileCleaningTrackerSets the file cleaning tracker.- Parameters:
- fileCleaningTracker- the file cleaning tracker.
- Returns:
- thisinstance.
 
- 
setFileItemHeadersSets the file item headers.- Parameters:
- fileItemHeaders- the item headers.
- Returns:
- thisinstance.
 
- 
setFileNameSets the file name.- Parameters:
- fileName- the file name.
- Returns:
- thisinstance.
 
- 
setFormFieldSets whether this is a form field.- Parameters:
- isFormField- whether this is a form field.
- Returns:
- thisinstance.
 
 
-