org.gcube.portlets.user.homelibrary.home.data.fs
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(File destFolder)
          Export this file in to a destination folder in the file system.
 Date getCreationTime()
           
 Date getLastModifiedTime()
           
 
Methods inherited from interface org.gcube.portlets.user.homelibrary.home.data.fs.DataAreaItem
getName, getParent, getPath, isFolder
 

Method Detail

getCreationTime

Date getCreationTime()
Returns:
the data file creation time.

getLastModifiedTime

Date getLastModifiedTime()
Returns:
the data file modification time.

export

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

Parameters:
destFolder - the destination folder.
Throws:
IOException - if an error occurs.
InternalErrorException - if an internal error occurs.


Copyright © 2013. All Rights Reserved.