org.jmol.viewer

Class MonitorInputStream

class MonitorInputStream extends FilterInputStream

Field Summary
intlength
intmarkPosition
intposition
intreadEventCount
Constructor Summary
MonitorInputStream(InputStream in, int length)
Method Summary
intgetLength()
intgetPercentageRead()
intgetPosition()
voidmark(int readlimit)
intread()
intread(byte[] b)
intread(byte[] b, int off, int len)
voidreset()
longskip(long n)

Field Detail

length

int length

markPosition

int markPosition

position

int position

readEventCount

int readEventCount

Constructor Detail

MonitorInputStream

MonitorInputStream(InputStream in, int length)

Method Detail

getLength

int getLength()

getPercentageRead

int getPercentageRead()

getPosition

int getPosition()

mark

public void mark(int readlimit)

read

public int read()

read

public int read(byte[] b)

read

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

reset

public void reset()

skip

public long skip(long n)