Class EmptyInputStream

java.lang.Object
java.io.InputStream
com.saperion.common.io.EmptyInputStream
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable

public class EmptyInputStream extends InputStream implements Serializable
An EmptyInputStream is an InputStream that never holds any data.
Author:
jschwarz
See Also:
  • Constructor Details

    • EmptyInputStream

      public EmptyInputStream()
  • Method Details

    • read

      public int read()
      Specified by:
      read in class InputStream
    • read

      public int read(byte[] b)
      Overrides:
      read in class InputStream
    • read

      public int read(byte[] b, int off, int len)
      Overrides:
      read in class InputStream