Compoze Software, Inc.

com.compoze.util
Class MeteredInputStream.RandomInputStream


java.lang.Object

  |

  +--java.io.InputStream

        |

        +--com.compoze.util.MeteredInputStream.RandomInputStream

Enclosing class:
MeteredInputStream

public static class MeteredInputStream.RandomInputStream
extends java.io.InputStream

A NullInputStream for testing purposes.


Constructor Summary
MeteredInputStream.RandomInputStream()
           
 
Method Summary
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int iOffset, int iLength)
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeteredInputStream.RandomInputStream


public MeteredInputStream.RandomInputStream()
Method Detail

read


public int read()
Overrides:
read in class java.io.InputStream

read


public int read(byte[] b)
Overrides:
read in class java.io.InputStream

read


public int read(byte[] b,
                int iOffset,
                int iLength)
Overrides:
read in class java.io.InputStream

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.