uk.ac.ed.inf.ogsaconfig.garm.collections.layouts
Class StandaloneLayout

java.lang.Object
  |
  +--uk.ac.ed.inf.ogsaconfig.garm.collections.layouts.StandaloneLayout
All Implemented Interfaces:
FileLayout

public class StandaloneLayout
extends java.lang.Object
implements FileLayout

StandaloneLayout provides a file layout compatible with the standalone container provided by the Globus tool kit


Constructor Summary
StandaloneLayout()
           
 
Method Summary
 java.io.File getConcreteHierarchy(VFile vfile)
           
 java.io.File getMetaHierarchy(VFile vfile, FileType type)
           
 FileType getType(VFile vfile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandaloneLayout

public StandaloneLayout()
Method Detail

getConcreteHierarchy

public java.io.File getConcreteHierarchy(VFile vfile)
Specified by:
getConcreteHierarchy in interface FileLayout
Parameters:
vfile - is a classified vfile
Returns:
the hierarchy of this file in the container

getMetaHierarchy

public java.io.File getMetaHierarchy(VFile vfile,
                                     FileType type)
Specified by:
getMetaHierarchy in interface FileLayout
Parameters:
vfile - is an unclassified vfile
type - is the type it is known to have
Returns:
the hierarchy it has within its type

getType

public FileType getType(VFile vfile)
Specified by:
getType in interface FileLayout
Parameters:
vfile - is an unclassified vfile
Returns:
the type of this file