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.helper | |
com.perforce.p4java.impl.mapbased.rpc.sys |
Modifier and Type | Method and Description |
---|---|
static ClientLineEnding |
ClientLineEnding.decodeFromServerString(java.lang.String str,
RpcPerforceFileType fileType)
Decode the file's actual or intended line ending type from the passed-in
string.
|
static ClientLineEnding |
ClientLineEnding.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientLineEnding[] |
ClientLineEnding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
ClientLineEnding.getLineEndBytes(ClientLineEnding lineEndSpec)
Return the byte array corresponding to the client line ending.
|
static boolean |
ClientLineEnding.needsLineEndFiltering(ClientLineEnding lineEndSpec)
Determine whether we really need to translate newlines.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MD5Digester.digestFileAs32ByteHex(java.io.File file,
java.nio.charset.Charset charset,
boolean isRequireLineEndingConvert,
ClientLineEnding clientLineEnding)
Return the results of digesting an arbitrary file with this digester and
a specific client line ending.
|
Modifier and Type | Method and Description |
---|---|
ClientLineEnding |
RpcPerforceFile.getLineEnding() |
Modifier and Type | Method and Description |
---|---|
void |
RpcPerforceFile.setLineEnding(ClientLineEnding lineEnding) |
Constructor and Description |
---|
RpcLineEndFilterInputStream(java.io.InputStream inStream,
ClientLineEnding lineEnding) |
RpcLineEndFilterOutputStream(java.io.OutputStream out,
ClientLineEnding lineEnding) |
RpcPerforceFile(java.lang.String fileName,
RpcPerforceFileType fileType,
ClientLineEnding lineEnding) |
Copyright © 2017 Perforce Software. All Rights Reserved.