|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.mssm.crover.ims.tasks.engines.FileContentTaskData
Stores the contents of a file as a byte array.
| Field Summary | |
byte[] |
data
|
| Constructor Summary | |
FileContentTaskData()
|
|
| Method Summary | |
boolean |
canMerge()
Does this instance support the merge operation? |
boolean |
canSplit()
Does this instance support the split operation? |
java.io.File |
generateTmpFile()
|
void |
importFile(java.io.File f)
|
TaskData |
merge(java.util.Collection task_data)
Returns the merging of independent task_data in one instance. |
long |
size()
Returns a number proportional to the number of data represented by this instance. |
java.util.Collection |
split(int numpieces)
Splits the data contained in this instance into several pieces. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public byte[] data
| Constructor Detail |
public FileContentTaskData()
| Method Detail |
public long size()
TaskData
size in interface TaskDatapublic java.io.File generateTmpFile()
public void importFile(java.io.File f)
public boolean canSplit()
TaskData
canSplit in interface TaskDatapublic java.util.Collection split(int numpieces)
TaskData
split in interface TaskDatapublic boolean canMerge()
TaskData
canMerge in interface TaskDatapublic TaskData merge(java.util.Collection task_data)
TaskData
merge in interface TaskData
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||