Class ITPDSInputStream
java.lang.Object
  |
  +--com.aia_itp.itpdsapi.ITPDSInputStream

public class ITPDSInputStream

extends java.lang.Object

This class wraps a normal InputStream object or an object from a derived class, such as BufferedInputStream and adds a specification of the size to it.

An ITPDSInputStream object is used when a class implements the ITPDSDataSender interface

Constructor

ITPDSInputStream

public ITPDSInputStream(java.io.InputStream in, int size)

This creates an ITPDSInputStream object and specifies the size.

Parameters:

Methods

getInputStream

public java.io.InputStream getInputStream()

Returns the InputStream object specified when creating the ITPDSInputStream object.

getSize

public int getSize()

Returns the size specified when creating the ITPDSInputStream object.