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  

cpi::RandomAccessFileCpi Class Reference

Capability provider interface to the File class. More...

Inheritance diagram for cpi::RandomAccessFileCpi:

Inheritance graph
[legend]
Collaboration diagram for cpi::RandomAccessFileCpi:

Collaboration graph
[legend]
List of all members.

Protected Methods

 RandomAccessFileCpi (GATContext gatContext, Preferences preferences, File file, String mode) throws FileNotFoundException
 Constructs a FileCpi instance which corresponds to the physical file identified by the passed Location and whose access rights are determined by the passed GATContext.


Detailed Description

Capability provider interface to the File class.

Capability provider wishing to provide the functionality of the File class must extend this class and implement all of the abstract methods in this class. Each abstract method in this class mirrors the corresponding method in this File class and will be used to implement the corresponding method in the File class at runtime.

Definition at line 19 of file RandomAccessFileCpi.java.


Constructor & Destructor Documentation

cpi::RandomAccessFileCpi::RandomAccessFileCpi GATContext    gatContext,
Preferences    preferences,
File    file,
String    mode
throws FileNotFoundException [inline, protected]
 

Constructs a FileCpi instance which corresponds to the physical file identified by the passed Location and whose access rights are determined by the passed GATContext.

Parameters:
location  A Location which represents the URI corresponding to the physical file.
gatContext  A GATContext which is used to determine the access rights for this FileCpi.
Exceptions:
java  .lang.Exception Thrown upon creation problems

Definition at line 35 of file RandomAccessFileCpi.java.

References io::RandomAccessFile::file, io::RandomAccessFile::gatContext, io::RandomAccessFile::mode, and io::RandomAccessFile::preferences.


The documentation for this class was generated from the following file: