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 |
---|---|
String |
IFileSpec.getAnnotatedPathString(FilePath.PathType pathType)
Get an annotated string representation of a Perforce file
path associated with this Perforce file spec.
|
FilePath |
IFileSpec.getPath(FilePath.PathType pathType)
Get the specific depot, client, local, or original Perforce file path
associated with this file spec.
|
String |
IFileSpec.getPathString(FilePath.PathType pathType)
Get the unannotated path string for this Perforce file.
|
void |
IFileSpec.setPathFromString(FilePath.PathType pathType,
String pathStr)
Set a specific Perforce file path for this file spec from a passed-in
string.
|
Modifier and Type | Field and Description |
---|---|
protected FilePath.PathType |
FilePath.pathType |
Modifier and Type | Method and Description |
---|---|
FilePath.PathType |
FilePath.getPathType() |
static FilePath.PathType |
FilePath.PathType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilePath.PathType[] |
FilePath.PathType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
FileSpec.getAnnotatedPathString(FilePath.PathType pathType) |
FilePath |
FileSpec.getPath(FilePath.PathType pathType) |
String |
FileSpec.getPathString(FilePath.PathType pathType) |
void |
FileSpec.setPathFromString(FilePath.PathType pathType,
String pathStr) |
void |
FilePath.setPathType(FilePath.PathType pathType) |
Constructor and Description |
---|
FilePath(FilePath.PathType pathType,
String pathString)
Construct a FilePath from explicit type and path string values.
|
FilePath(FilePath.PathType pathType,
String pathString,
boolean ignoreAnnotations)
Construct a FilePath from explicit type and path string values.
|
Copyright © 2017 Perforce Software. All Rights Reserved.