grinda.client
Class FileChunk
java.lang.Object
grinda.client.FileChunk
public class FileChunk
- extends java.lang.Object
This class is used to identify file chunks and pass them to a
DataTuple in order to be directly transmitted outside the Tuple Space.
- Author:
- Sirio Capizzi
Constructor Summary |
FileChunk(java.io.File f,
long start,
long length)
|
FileChunk(java.lang.String path)
|
FileChunk(java.lang.String path,
long start)
|
FileChunk(java.lang.String path,
long start,
long length)
Creates a new File descriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileChunk
public FileChunk(java.lang.String path)
FileChunk
public FileChunk(java.lang.String path,
long start)
FileChunk
public FileChunk(java.lang.String path,
long start,
long length)
- Creates a new File descriptor
- Parameters:
the
- pathstart
- length
-
FileChunk
public FileChunk(java.io.File f,
long start,
long length)
getStart
public long getStart()
getLength
public long getLength()
getAbsolutePath
public java.lang.String getAbsolutePath()
Copyright © 2006 Sirio Capizzi. All Rights Reserved.