|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ant4eclipse.model.project.ChunkyFile
public class ChunkyFile
Simple representation for chunk based files as internally used by the Eclipse framework.
Constructor Summary | |
---|---|
ChunkyFile(java.io.File source)
Creates a chunked representation of the supplied file. |
Method Summary | |
---|---|
byte[] |
getChunk(int index)
Returns a chunk by it's index. |
int |
getChunkCount()
Returns the number of available chunks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChunkyFile(java.io.File source) throws java.io.IOException
source
- The file that shall be loaded.
java.io.IOException
- Reading the file failed for some reason.Method Detail |
---|
public int getChunkCount()
public byte[] getChunk(int index)
index
- The index of the chunk.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |