SRBGetMD
org.srb.SRBGetMD

SRBGetMD is a Kepler Actor which gets user defined metadeta for an SRB dataset or collection. The following actor expects as input a reference to the SRB file system. This reference connection is obtained via the SRBConnect Actor in Kepler. See SRBConnect & its documentation.

The file reference system is created with a unique SRB user account and with this connection reference as input the SRBGetMD actor is able to gain access to the SRB file space. Once an alive SRB file connection system has been established the actor gets the remode SRB file/directory and access the appropriate metadata via jargon API methods.If the recursive option is true, then recursively get the metadata for all sub directories of the files.

Actor Input: Accepts a reference to the SRB files system, an SRB remote file/directory path

Actor Output: Outputs the String representation of the SRB dataset/collection's metadata.h

The following actor accesses SRB file reference system and SRB file space with the SRB Jargon API provided. The JARGON is a pure API for developing programs with a data grid interface and I/O for SRB file systems. Further information on SRB

Author(s): Efrat Jaeger
Version:$Id: SRBGetMD.java,v 1.10 2006/05/01 17:50:55 mangal Exp $


SRBFileSystem
pointer to the SRB file system.

srbFilePath
Path to SRB file.

metadata
srb file's metadata



recursive
-r ; Returns metadata recursively for directories.