Package org.apache.struts2.dispatcher.multipart

# Class StrutsUploadedFile.Builder

java.lang.Object
org.apache.struts2.dispatcher.multipart.StrutsUploadedFile.Builder

Enclosing class:
  StrutsUploadedFile

public static class StrutsUploadedFile.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UploadedFile`
  `build()`
  `static StrutsUploadedFile.Builder`
  `create(File file)`
  `StrutsUploadedFile.Builder`
  `withContentType(String contentType)`
  `StrutsUploadedFile.Builder`
  `withInputName(String inputName)`
  `StrutsUploadedFile.Builder`
  `withOriginalName(String originalName)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### create

    public static StrutsUploadedFile.Builder create(File file)

  - ### withContentType

    public StrutsUploadedFile.Builder withContentType(String contentType)

  - ### withOriginalName

    public StrutsUploadedFile.Builder withOriginalName(String originalName)

  - ### withInputName

    public StrutsUploadedFile.Builder withInputName(String inputName)

  - ### build

    public UploadedFile build()