public class RealChunk extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
CONT |
protected static String |
DATA |
protected static String |
INDX |
protected static String |
MDPR |
protected static String |
PROP |
protected static String |
RMF |
Constructor and Description |
---|
RealChunk(String id,
int size,
byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
DataInputStream |
getDataInputStream() |
String |
getId() |
int |
getSize() |
boolean |
isCONT() |
boolean |
isPROP() |
static RealChunk |
readChunk(RandomAccessFile raf) |
String |
toString() |
protected static final String RMF
protected static final String PROP
protected static final String MDPR
protected static final String CONT
protected static final String DATA
protected static final String INDX
public RealChunk(String id, int size, byte[] bytes)
public static RealChunk readChunk(RandomAccessFile raf) throws CannotReadException, IOException
CannotReadException
IOException
public DataInputStream getDataInputStream()
public boolean isCONT()
public boolean isPROP()
public byte[] getBytes()
public String getId()
public int getSize()
Copyright © 2005–2020 jthink.net. All rights reserved.