TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.local.file
Class FileLocaterImpl

java.lang.Object
  extended byorg.eclipse.hyades.execution.local.file.FileLocaterImpl
All Implemented Interfaces:
IFileLocater

public class FileLocaterImpl
extends java.lang.Object
implements IFileLocater


Constructor Summary
FileLocaterImpl(org.eclipse.hyades.internal.execution.local.control.Connection connection)
           
 
Method Summary
 void deleteFile(java.lang.String filename)
          Delete a file on a remote system.
 IFileLocation getFile(java.lang.String filename)
          Retrieve a remote file
 IFileLocation putFile(java.lang.String filename)
          Put a file on a remote system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileLocaterImpl

public FileLocaterImpl(org.eclipse.hyades.internal.execution.local.control.Connection connection)
Method Detail

getFile

public IFileLocation getFile(java.lang.String filename)
                      throws java.io.IOException
Description copied from interface: IFileLocater
Retrieve a remote file

Specified by:
getFile in interface IFileLocater
Parameters:
filename - - the absolute path of the file to get
Returns:
the details of where the file can be retrieved from
Throws:
java.io.IOException
See Also:
IFileLocater.getFile(java.lang.String)

putFile

public IFileLocation putFile(java.lang.String filename)
                      throws java.io.IOException
Description copied from interface: IFileLocater
Put a file on a remote system

Specified by:
putFile in interface IFileLocater
Parameters:
filename - the absolute name of the file on the remote system
Returns:
the details of where the file can be written to
Throws:
java.io.IOException
See Also:
IFileLocater.putFile(java.lang.String)

deleteFile

public void deleteFile(java.lang.String filename)
                throws java.io.IOException
Description copied from interface: IFileLocater
Delete a file on a remote system.

Specified by:
deleteFile in interface IFileLocater
Parameters:
filename - the absolute name of the file on the remote system
Throws:
java.io.IOException
See Also:
IFileLocater.deleteFile(java.lang.String)

TPTP 4.2.0 Platform Project
Public API Specification