java.lang.Object
org.apache.jena.rdfpatch.filelog.rotate.OutputFixed
- All Implemented Interfaces:
ManagedOutput
Fixed OutputStream; one writer via
output() at a time.-
Constructor Summary
Constructors -
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 enginevoidrotate()Request file rotation
-
Constructor Details
-
OutputFixed
-
-
Method Details
-
roller
Get rotation engine- Specified by:
rollerin interfaceManagedOutput
-
currentFilename
Description copied from interface:ManagedOutputThe most recent output file name, only valid during an output section, else null.- Specified by:
currentFilenamein interfaceManagedOutput
-
latestFilename
Description copied from interface:ManagedOutputThe latest output file name, or null if there hasn't been one yet- Specified by:
latestFilenamein interfaceManagedOutput
-
currentOutput
Description copied from interface:ManagedOutputCurrent output stream, or null if there hasn't been one yet- Specified by:
currentOutputin interfaceManagedOutput
-
output
Description copied from interface:ManagedOutputGet an OutputStream; use with try-resources or similar usage pattern. Closing the OutputStream returns it to the manager.- Specified by:
outputin interfaceManagedOutput
-
rotate
public void rotate()Description copied from interface:ManagedOutputRequest file rotation- Specified by:
rotatein interfaceManagedOutput
-