com.intel.gpe.clients.api
Interface GridFile


public interface GridFile

The abstraction of the remote file.

Version:
$Id: GridFile.java,v 1.8 2006/09/20 10:16:39 dizhigul Exp $
Author:
Alexander Lukichev

Method Summary
 java.lang.String getPath()
           
 Permissions getPermissions()
           
 java.lang.Long getSize()
           
 boolean isDirectory()
           
 boolean isOwner()
           
 java.util.Calendar lastModified()
           
 

Method Detail

getPath

java.lang.String getPath()
Returns:
The relative (to the storage) path of the file

getSize

java.lang.Long getSize()
Returns:
The file size in bytes

isDirectory

boolean isDirectory()
Returns:
true if the file is a directory

lastModified

java.util.Calendar lastModified()
Returns:
The date of the last modification

isOwner

boolean isOwner()
Returns:
true if user is the file owner

getPermissions

Permissions getPermissions()
Returns:
The permissions of the file


Copyright © 2008. All Rights Reserved.