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(File 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.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.
|
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.