Package | Description |
---|---|
org.apache.commons.io.output |
Provides implementations of output classes, such as
OutputStream and
Writer . |
Modifier and Type | Method and Description |
---|---|
static DeferredFileOutputStream.Builder |
DeferredFileOutputStream.builder()
Constructs a new
DeferredFileOutputStream.Builder . |
DeferredFileOutputStream.Builder |
DeferredFileOutputStream.Builder.setDirectory(java.io.File directory)
Sets the temporary file directory.
|
DeferredFileOutputStream.Builder |
DeferredFileOutputStream.Builder.setDirectory(java.nio.file.Path directory)
Sets the temporary file directory.
|
DeferredFileOutputStream.Builder |
DeferredFileOutputStream.Builder.setOutputFile(java.io.File outputFile)
Sets the file to which data is saved beyond the threshold.
|
DeferredFileOutputStream.Builder |
DeferredFileOutputStream.Builder.setOutputFile(java.nio.file.Path outputFile)
Sets the file to which data is saved beyond the threshold.
|
DeferredFileOutputStream.Builder |
DeferredFileOutputStream.Builder.setPrefix(java.lang.String prefix)
Sets the prefix to use for the temporary file.
|
DeferredFileOutputStream.Builder |
DeferredFileOutputStream.Builder.setSuffix(java.lang.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.
|