Package hec.io

Class LogPrintStream

java.lang.Object
java.io.OutputStream
hec.io.LogPrintStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LogPrintStream extends OutputStream
  • Constructor Summary

    Constructors
    Constructor
    Description
    LogPrintStream(String directory, String baseFilename, String timeInterval, boolean localTime, boolean echoToOut)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this output stream and releases any system resources associated with this stream.
    void
    Flushes this output stream and forces any buffered output bytes to be written out.
    void
    setTimeInterval(String timeInterval)
     
    void
    write(byte[] b)
    Writes b.length bytes from the specified byte array to this output stream.
    void
    write(byte[] b, int off, int len)
    Writes len bytes from the specified byte array starting at offset off to this output stream.
    void
    write(int b)
    Writes the specified byte to this output stream.

    Methods inherited from class java.io.OutputStream

    nullOutputStream

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LogPrintStream

      public LogPrintStream(String directory, String baseFilename, String timeInterval, boolean localTime, boolean echoToOut)
  • Method Details