# Uses of Class
org.apache.commons.io.output.DeferredFileOutputStream.Builder

Packages that use DeferredFileOutputStream.Builder
Package
Description
org.apache.commons.io.output
Provides implementations of output classes, such as `OutputStream` and `Writer`.

- ## Uses of DeferredFileOutputStream.Builder in org.apache.commons.io.output

  Methods in org.apache.commons.io.output that return DeferredFileOutputStream.Builder
  Modifier and Type
  Method
  Description
  `static DeferredFileOutputStream.Builder`
  DeferredFileOutputStream.`builder()`
  Constructs a new `DeferredFileOutputStream.Builder`.
  `DeferredFileOutputStream.Builder`
  DeferredFileOutputStream.Builder.`setDirectory(File directory)`
  Sets the temporary file directory.
  `DeferredFileOutputStream.Builder`
  DeferredFileOutputStream.Builder.`setDirectory(Path directory)`
  Sets the temporary file directory.
  `DeferredFileOutputStream.Builder`
  DeferredFileOutputStream.Builder.`setOutputFile(File outputFile)`
  Sets the file to which data is saved beyond the threshold.
  `DeferredFileOutputStream.Builder`
  DeferredFileOutputStream.Builder.`setOutputFile(Path outputFile)`
  Sets the file to which data is saved beyond the threshold.
  `DeferredFileOutputStream.Builder`
  DeferredFileOutputStream.Builder.`setPrefix(String prefix)`
  Sets the prefix to use for the temporary file.
  `DeferredFileOutputStream.Builder`
  DeferredFileOutputStream.Builder.`setSuffix(String suffix)`
  Sets the suffix to use for the temporary file.
  `DeferredFileOutputStream.Builder`
  DeferredFileOutputStream.Builder.`setThreshold(int threshold)`
  Sets the number of bytes at which to trigger an event.