- All Implemented Interfaces:
SHFile
-
-
Constructor Summary
Constructors
FileDownload(org.gcube.common.storagehub.client.dsl.FileContainer fileContainer)
-
Method Summary
int
int
getAttr(ru.serce.jnrfuse.struct.FileStat stat)
int
read(jnr.ffi.Pointer buf,
long size,
long offset)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.gcube.data.access.storagehub.fs.SHFile
write
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
Constructor Details
-
FileDownload
public FileDownload(org.gcube.common.storagehub.client.dsl.FileContainer fileContainer)
throws Exception
- Throws:
Exception
-
Method Details
-
read
public int read(jnr.ffi.Pointer buf,
long size,
long offset)
- Specified by:
read in interface SHFile
-
flush
public int flush()
- Specified by:
flush in interface SHFile
-
getAttr
public int getAttr(ru.serce.jnrfuse.struct.FileStat stat)
- Specified by:
getAttr in interface SHFile
-
getOutputFile
public File getOutputFile()