org.gcube.portlets.user.homelibrary.home.data
Interface DataFile

All Superinterfaces:
DataAreaItem

public interface DataFile
extends DataAreaItem

This class represent a file in the data home.

Author:
Federico De Faveri defaveri@isti.cnr.it

Method Summary
 void export(java.io.File destFolder)
          Export this file in to a destination folder in the file system.
 java.util.Date getCreationTime()
           
 java.util.Date getLastModifiedTime()
           
 
Methods inherited from interface org.gcube.portlets.user.homelibrary.home.data.DataAreaItem
getName, getParent, getPath, isFolder
 

Method Detail

getCreationTime

java.util.Date getCreationTime()

getLastModifiedTime

java.util.Date getLastModifiedTime()

export

void export(java.io.File destFolder)
            throws java.io.IOException,
                   InternalErrorException
Export this file in to a destination folder in the file system.

Parameters:
destFolder -
Throws:
java.io.IOException
InternalErrorException