Class ClientFile
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.rpc.handles.AbstractHandle
-
- com.perforce.p4java.impl.mapbased.rpc.handles.ClientFile
-
public class ClientFile extends AbstractHandle
-
-
Constructor Summary
Constructors Constructor Description ClientFile(CommandEnv.RpcHandler rpcHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Close()
void
createStream(boolean useLocalDigester, RpcConnection rpcConnection, java.lang.String digest)
java.util.Map<java.lang.String,java.lang.Object>
getArgs()
java.lang.String
getDigest()
RpcPerforceFile
getFile()
java.lang.String
getHandleType()
java.util.HashMap<java.lang.String,java.lang.String>
getMatchDict()
long
getModTime()
java.lang.String
getServerDigest()
RpcOutputStream
getStream()
java.lang.String
getSymTarget()
RpcPerforceFile
getTmpFile()
RpcOutputStream
getTmpStream()
boolean
hasFile()
boolean
isDiff()
boolean
isError()
boolean
isIndirect()
boolean
isSymlink()
void
MakeGlobalTemp()
void
setArgs(java.util.Map<java.lang.String,java.lang.Object> resultsMap)
void
setDeleteOnClose(boolean del)
void
setDiff(int i)
void
setDiffFlags(java.lang.String flags)
void
setDiffName(java.lang.String path)
void
setError(boolean error)
void
setFile(RpcPerforceFile file)
void
setIndirect(boolean indirect)
void
setModTime(long modtime)
void
setModTime(java.lang.String modTime)
void
setServerDigest(java.lang.String digest)
void
setSymTarget(java.lang.String symTarget)
void
setTmpFile(RpcPerforceFile rpcPerforceFile)
long
statModTime()
-
-
-
Constructor Detail
-
ClientFile
public ClientFile(CommandEnv.RpcHandler rpcHandler)
-
-
Method Detail
-
getHandleType
public java.lang.String getHandleType()
- Specified by:
getHandleType
in classAbstractHandle
-
getFile
public RpcPerforceFile getFile()
-
setFile
public void setFile(RpcPerforceFile file)
-
getTmpFile
public RpcPerforceFile getTmpFile()
-
getStream
public RpcOutputStream getStream()
-
getTmpStream
public RpcOutputStream getTmpStream()
-
Close
public void Close()
-
hasFile
public boolean hasFile()
-
getModTime
public long getModTime()
-
statModTime
public long statModTime()
-
setModTime
public void setModTime(long modtime)
-
setModTime
public void setModTime(java.lang.String modTime)
-
setArgs
public void setArgs(java.util.Map<java.lang.String,java.lang.Object> resultsMap)
-
getArgs
public java.util.Map<java.lang.String,java.lang.Object> getArgs()
-
setDiff
public void setDiff(int i)
-
setDeleteOnClose
public void setDeleteOnClose(boolean del)
-
setDiffName
public void setDiffName(java.lang.String path)
-
setDiffFlags
public void setDiffFlags(java.lang.String flags)
-
isSymlink
public boolean isSymlink()
-
MakeGlobalTemp
public void MakeGlobalTemp()
-
setTmpFile
public void setTmpFile(RpcPerforceFile rpcPerforceFile)
-
createStream
public void createStream(boolean useLocalDigester, RpcConnection rpcConnection, java.lang.String digest) throws java.io.IOException
- Throws:
java.io.IOException
-
getMatchDict
public java.util.HashMap<java.lang.String,java.lang.String> getMatchDict()
-
setError
public void setError(boolean error)
-
isError
public boolean isError()
-
isDiff
public boolean isDiff()
-
getServerDigest
public java.lang.String getServerDigest()
-
setServerDigest
public void setServerDigest(java.lang.String digest)
-
getDigest
public java.lang.String getDigest()
-
isIndirect
public boolean isIndirect()
-
setIndirect
public void setIndirect(boolean indirect)
-
getSymTarget
public java.lang.String getSymTarget()
-
setSymTarget
public void setSymTarget(java.lang.String symTarget)
-
-