org.globus.mds.webmds
Class WebmdsUtil

java.lang.Object
  extended byorg.globus.mds.webmds.WebmdsUtil

public class WebmdsUtil
extends java.lang.Object

WebMDS utility class, passed to webmds source objects when they're initialized.


Field Summary
private  java.lang.String directoryName
           
 
Constructor Summary
WebmdsUtil()
           
 
Method Summary
 java.io.File newFile(java.lang.String fileName)
          newFile -- create a new File object, with relative pathnames interpreted relative to the application root directory.
protected  void setDirectoryName(java.lang.String directoryName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

directoryName

private java.lang.String directoryName
Constructor Detail

WebmdsUtil

public WebmdsUtil()
Method Detail

setDirectoryName

protected void setDirectoryName(java.lang.String directoryName)

newFile

public java.io.File newFile(java.lang.String fileName)
newFile -- create a new File object, with relative pathnames interpreted relative to the application root directory.

Parameters:
fileName - the name of the new file.
Returns:
a newly-created File object.