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(String str,
RpcPerforceFileType fileType)
Decode the file's actual or intended line ending type from the passed-in
string.
|
static ClientLineEnding |
ClientLineEnding.valueOf(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 |
---|---|
String |
MD5Digester.digestFileAs32ByteHex(File file,
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(InputStream inStream,
ClientLineEnding lineEnding) |
RpcLineEndFilterOutputStream(OutputStream out,
ClientLineEnding lineEnding) |
RpcPerforceFile(String fileName,
RpcPerforceFileType fileType,
ClientLineEnding lineEnding) |
Copyright © 2017 Perforce Software. All Rights Reserved.