Module org.apache.jena.rdfpatch
Interface ManagedOutput
- All Known Implementing Classes:
OutputFixed
,OutputManagedFile
public interface ManagedOutput
Interface to managed output streams.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe most recent output file name, only valid during an output section, else null.Current output stream, or null if there hasn't been one yetThe latest output file name, or null if there hasn't been one yetoutput()
Get an OutputStream; use with try-resources or similar usage pattern.roller()
Get rotation enginevoid
rotate()
Request file rotation
-
Method Details
-
output
OutputStream output()Get an OutputStream; use with try-resources or similar usage pattern. Closing the OutputStream returns it to the manager. -
currentOutput
OutputStream currentOutput()Current output stream, or null if there hasn't been one yet -
currentFilename
Path currentFilename()The most recent output file name, only valid during an output section, else null. -
latestFilename
Path latestFilename()The latest output file name, or null if there hasn't been one yet -
rotate
void rotate()Request file rotation -
roller
Roller roller()Get rotation engine
-