Class FileTerminalSource.Builder
java.lang.Object
org.apache.juneau.terminal.region.FileTerminalSource.Builder
- Enclosing class:
- FileTerminalSource
Builder for
FileTerminalSource.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the source.terminal(BooleanSupplier value) Sets the supplier that reports whether the producer will write no more, called once per read before the file is sized.
-
Method Details
-
terminal
Sets the supplier that reports whether the producer will write no more, called once per read before the file is sized.- Parameters:
value- The supplier.- Returns:
- This object.
-
build
Builds the source.- Returns:
- A new source.
-