public interface IWhereDelegator
Modifier and Type | Method and Description |
---|---|
java.util.List<IFileSpec> |
localWhere(java.util.List<IFileSpec> fileSpecs)
For each of the passed-in file specs, show how the named file maps through
the client view.
|
java.util.List<IFileSpec> |
where(java.util.List<IFileSpec> fileSpecs)
For each of the passed-in file specs, show how the named file maps through
the client view.
|
java.util.List<IFileSpec> where(java.util.List<IFileSpec> fileSpecs) throws ConnectionException, AccessException
Note that this method will return an empty list unless the client is the IServer object's current client.
The returned IFiles contain all three of the depot, client, and local file paths of the corresponding fileSpec array element where appropriate, or the usual server-generated error message if there was no corresponding mapping. The main exception to this is the case when no filespecs are given (i.e. the fileSpecs array is null or empty), when the mappings for '...' (all files in the current directory and below) are returned (if they exist).
fileSpecs
- a list of Perforce file specifications; can be empty or even
null (see explanation above).ConnectionException
- if the Perforce server is unreachable or is not
connected.AccessException
- if the Perforce server denies access to the callerjava.util.List<IFileSpec> localWhere(java.util.List<IFileSpec> fileSpecs)
Note that this method will return an empty list unless the client is the IServer object's current client.
The returned IFiles contain all three of the depot, client, and local file paths of the corresponding fileSpec array element where appropriate, or the usual server-generated error message if there was no corresponding mapping. The main exception to this is the case when no filespecs are given (i.e. the fileSpecs array is null or empty), when the mappings for '...' (all files in the current directory and below) are returned (if they exist).
Assumes depot syntax is used for original path.
fileSpecs
- a list of Perforce file specifications; can be empty or even
null (see explanation above).