Interface ManagedOutput

All Known Implementing Classes:
OutputFixed, OutputManagedFile

public interface ManagedOutput
Interface to managed output streams.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The most recent output file name, only valid during an output section, else null.
    Current output stream, or null if there hasn't been one yet
    The latest output file name, or null if there hasn't been one yet
    Get an OutputStream; use with try-resources or similar usage pattern.
    Get rotation engine
    void
    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