Package jadex.common

Class ProtectedInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class ProtectedInputStream extends ProxyInputStream
Protects the underlying input stream from being closed.
  • Constructor Details

    • ProtectedInputStream

      public ProtectedInputStream(InputStream in)
      Create a protected input stream.
      Parameters:
      in - The input stream.
  • Method Details