Package | Description |
---|---|
com.perforce.p4java.impl.generic.client |
Provides standard implementation classes for the com.perforce.p4java.client interfaces.
|
com.perforce.p4java.impl.mapbased.rpc.func.client | |
com.perforce.p4java.impl.mapbased.rpc.sys |
Modifier and Type | Method and Description |
---|---|
static ClientLineEnding |
ClientLineEnding.decodeFromServerString(String str,
RpcPerforceFileType fileType)
Decode the file's actual or intended line ending type from the passed-in
string.
|
Constructor and Description |
---|
ClientMergeState(String clientPath,
boolean externalStreamMerge,
RpcPerforceFileType clientType,
RpcPerforceFileType resultType,
String tmpDir,
Charset charset) |
Modifier and Type | Method and Description |
---|---|
static RpcPerforceFileType |
RpcPerforceFileType.decodeFromServerString(String str)
Decode the file type from the string sent by the server.
|
RpcPerforceFileType |
RpcPerforceFile.getFileType() |
static RpcPerforceFileType |
RpcPerforceFileType.inferFileType(File file,
int scanSize,
boolean isUnicodeServer,
Charset clientCharset)
Infer (or even intuit) the Perforce file type of the passed-in
Perforce file.
|
static RpcPerforceFileType |
RpcPerforceFileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcPerforceFileType[] |
RpcPerforceFileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static RpcPerforceFileType.RpcServerTypeStringSpec |
RpcPerforceFileType.getServerFileTypeString(String clientPath,
boolean overSize,
RpcPerforceFileType fileType,
String forceType,
int xlevel)
Given a Perforce file type and the Perforce server's xfiles level (from the protocol
parameters), determine what server file type to send to the server to represent
the passed-in file type as a string, and / or what error or info message
to send to the user.
|
void |
RpcPerforceFile.setFileType(RpcPerforceFileType fileType) |
Constructor and Description |
---|
RpcPerforceFile(String fileName,
RpcPerforceFileType fileType) |
RpcPerforceFile(String fileName,
RpcPerforceFileType fileType,
ClientLineEnding lineEnding) |
Copyright © 2017 Perforce Software. All Rights Reserved.