uk.ac.mrc.hgmp.embreo.filemgr
Class EmbreoFileGet

java.lang.Object
  |
  +--uk.ac.mrc.hgmp.embreo.filemgr.EmbreoFileGet

public class EmbreoFileGet
extends java.lang.Object


Constructor Summary
EmbreoFileGet(EmbreoParams mysettings, java.lang.String fileRoot, java.lang.String fileName)
          Retrieve a file
 
Method Summary
 java.lang.Object contents()
          the contents of the file
 java.lang.String getStatus()
          The status of the request
 java.lang.String getStatusMsg()
          A status message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbreoFileGet

public EmbreoFileGet(EmbreoParams mysettings,
                     java.lang.String fileRoot,
                     java.lang.String fileName)
              throws EmbreoAuthException
Retrieve a file

Method Detail

contents

public java.lang.Object contents()
the contents of the file


getStatus

public java.lang.String getStatus()
The status of the request

Returns:
String 0 for success Anything else for failure

getStatusMsg

public java.lang.String getStatusMsg()
A status message

Returns:
A String explaining what hapened. Usually used to display an error message in the event of a failure