|
|||||||||
| 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.FileTaskData
Stores the name of a file.
| Field Summary | |
java.io.File |
f
|
| Constructor Summary | |
FileTaskData(java.io.File file)
|
|
| Method Summary | |
boolean |
canMerge()
Does this instance support the merge operation? |
boolean |
canSplit()
Does this instance support the split operation? |
java.io.File |
getFile()
|
java.lang.String |
getName()
|
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 java.io.File f
| Constructor Detail |
public FileTaskData(java.io.File file)
| Method Detail |
public boolean canSplit()
TaskData
canSplit in interface TaskDatapublic long size()
TaskData
size in interface TaskDatapublic java.util.Collection split(int numpieces)
TaskData
split in interface TaskDatapublic java.lang.String getName()
public java.io.File getFile()
public 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 | ||||||||