public class MD5Reader extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
static int |
BUF_SIZE |
protected int |
bufIndex |
protected int |
bufLen |
protected BufferedInputStream |
dataChannel |
protected boolean |
EOF |
protected String |
filename |
protected long |
length |
protected byte |
nextByte |
protected long |
pos |
protected int |
size |
static int |
SIZE |
protected boolean |
useNext |
Constructor and Description |
---|
MD5Reader(String filename) |
MD5Reader(String filename,
int size) |
public static final int BUF_SIZE
protected String filename
protected BufferedInputStream dataChannel
protected int size
public static final int SIZE
protected long length
protected long pos
protected boolean EOF
protected byte[] buf
protected int bufLen
protected int bufIndex
protected byte nextByte
protected boolean useNext
public MD5Reader(String filename)
public MD5Reader(String filename, int size)
protected void init()
public byte[] next() throws IOException
IOException
public boolean hasNext()
public void close() throws IOException
IOException
public boolean isEnd(long end)
public void setCurrent(long current)
public long getLength()
public long getPos()
Copyright © 2016. All rights reserved.