Class StreamOutput

java.lang.Object
org.apache.commons.crypto.stream.output.StreamOutput
All Implemented Interfaces:
Closeable, AutoCloseable, Output

public class StreamOutput extends Object implements Output
The StreamOutput class takes a OutputStream object and wraps it as Output object acceptable by CryptoOutputStream as the output target.
  • Constructor Details

    • StreamOutput

      public StreamOutput(OutputStream out, int bufferSize)
      Constructs a new instance.
      Parameters:
      out - the OutputStream object.
      bufferSize - the buffer size.
  • Method Details