NullInputStream

public class NullInputStream extends InputStream

A NullInputStream discards any bytes and always return negative one for read operations. Creation Date: 7/11/2006

Author:Twinsen

Methods

available

public int available()

It returns -1.

markSupported

public boolean markSupported()

It returns false.

read

public int read(byte[] b, int off, int len)

It returns -1.

read

public int read(byte[] b)

It returns -1.

read

public int read()

It returns -1.

reset

public synchronized void reset()

DUMMY Methods.