Package | Description |
---|---|
com.perforce.p4java.core.file |
Provides interfaces and classes for defining and accessing Perforce depot and workspace files.
|
com.perforce.p4java.impl.generic.core.file |
Provides standard implementation classes for the com.perforce.p4java.core.file interfaces.
|
Modifier and Type | Method and Description |
---|---|
FilePath |
IFileSpec.getClientPath()
Convenience method for getPath(CLIENT).
|
FilePath |
IFileSpec.getDepotPath()
Convenience method for getPath(DEPOT).
|
FilePath |
IFileSpec.getLocalPath()
Convenience method for getPath(LOCAL).
|
FilePath |
IFileSpec.getOriginalPath()
Convenience method for getPath(ORIGINAL).
|
FilePath |
IFileSpec.getPath(FilePath.PathType pathType)
Get the specific depot, client, local, or original Perforce file path
associated with this file spec.
|
FilePath |
IFileSpec.getPreferredPath()
Get the "preferred" path for this file spec.
|
Modifier and Type | Method and Description |
---|---|
void |
IFileSpec.setPath(FilePath path)
Set a Perforce file path associated with this file spec.
|
Modifier and Type | Field and Description |
---|---|
protected FilePath |
FileSpec.clientPath |
protected FilePath |
FileSpec.depotPath |
protected FilePath |
FileSpec.localPath |
protected FilePath |
FileSpec.originalPath |
Modifier and Type | Method and Description |
---|---|
FilePath |
FileSpec.getClientPath() |
FilePath |
FileSpec.getDepotPath() |
FilePath |
FileSpec.getLocalPath() |
FilePath |
FileSpec.getOriginalPath() |
FilePath |
FileSpec.getPath(FilePath.PathType pathType) |
FilePath |
FileSpec.getPreferredPath() |
Modifier and Type | Method and Description |
---|---|
void |
FileSpec.setClientPath(FilePath clientPath) |
void |
FileSpec.setDepotPath(FilePath depotPath) |
void |
FileSpec.setLocalPath(FilePath localPath) |
void |
FileSpec.setOriginalPath(FilePath path) |
void |
FileSpec.setPath(FilePath filePath) |
Constructor and Description |
---|
FileSpec(FilePath path)
Construct a FileSpec from a specific FilePath.
|
Copyright © 2017 Perforce Software. All Rights Reserved.