Remote Systems
v6.4.1

com.ibm.etools.systems.files
Class RemotePathUtil

java.lang.Object
  extended bycom.ibm.etools.systems.files.RemotePathUtil

public class RemotePathUtil
extends Object

Singleton utility class for remote paths.


Method Summary
 IPath getClientTempLocationForFile(IRemotePath remotePath)
          Returns the path of the temp location corresponding to the remote path.
static RemotePathUtil getInstance()
          Returns the singleton instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RemotePathUtil getInstance()
Returns the singleton instance.

Returns:
the singleton instance.

getClientTempLocationForFile

public IPath getClientTempLocationForFile(IRemotePath remotePath)
Returns the path of the temp location corresponding to the remote path. The remote path must represent a file (i.e. can not be a directory). The temp path is simply the default temp location on the client system (given by system property "java.io.tmpdir"), with the name of the remote file appended (not the path of the remote file).

Parameters:
remotePath - the remote path.
Returns:
the path of the temporary file, or null if the default temporary location is not available.

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.