GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

FileCpi.java

Go to the documentation of this file.
00001 package org.gridlab.gat.io.cpi;
00002 
00003 import java.net.URI;
00004 
00005 import org.gridlab.gat.GATContext;
00006 import org.gridlab.gat.Preferences;
00007 import org.gridlab.gat.io.File;
00008 
00009 /**
00010  * Capability provider interface to the File class.
00011  * <p>
00012  * Capability provider wishing to provide the functionality of the File class
00013  * must extend this class and implement all of the abstract methods in this
00014  * class. Each abstract method in this class mirrors the corresponding method in
00015  * this File class and will be used to implement the corresponding method in the
00016  * File class at runtime.
00017  */
00018 public abstract class FileCpi extends File {
00019 
00020     /**
00021      * Constructs a FileCpi instance which corresponds to the physical file
00022      * identified by the passed Location and whose access rights are determined
00023      * by the passed GATContext.
00024      * 
00025      * @param location
00026      *            A Location which represents the URI corresponding to the
00027      *            physical file.
00028      * @param gatContext
00029      *            A GATContext which is used to determine the access rights for
00030      *            this FileCpi.
00031      * @throws java.lang.Exception
00032      *             Thrown upon creation problems
00033      */
00034     protected FileCpi(GATContext gatContext, Preferences preferences,
00035             URI location) {
00036         super(gatContext, preferences, location);
00037     }
00038 }