Package com.perforce.p4java.core.file
Class FileDiff
- java.lang.Object
-
- com.perforce.p4java.core.file.FileDiff
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IFileDiff
IFileDiff.Status
-
-
Constructor Summary
Constructors Constructor Description FileDiff(java.util.Map<java.lang.String,java.lang.Object> map)
Create a new file diff with the values from the specified map
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDepotFile1()
Get depot path of first file in diffjava.lang.String
getDepotFile2()
Get depot path of second file in diffjava.lang.String
getFileType1()
Get file type of first file in diffjava.lang.String
getFileType2()
Get file type of second file in diffint
getRevision1()
Get revision of first file in diffint
getRevision2()
Get revision of second file in diffIFileDiff.Status
getStatus()
Get status of file diff
-
-
-
Method Detail
-
getStatus
public IFileDiff.Status getStatus()
Description copied from interface:IFileDiff
Get status of file diff
-
getDepotFile1
public java.lang.String getDepotFile1()
Description copied from interface:IFileDiff
Get depot path of first file in diff- Specified by:
getDepotFile1
in interfaceIFileDiff
- Returns:
- depot file path
-
getDepotFile2
public java.lang.String getDepotFile2()
Description copied from interface:IFileDiff
Get depot path of second file in diff- Specified by:
getDepotFile2
in interfaceIFileDiff
- Returns:
- depot file path
-
getRevision1
public int getRevision1()
Description copied from interface:IFileDiff
Get revision of first file in diff- Specified by:
getRevision1
in interfaceIFileDiff
- Returns:
- revision number
-
getRevision2
public int getRevision2()
Description copied from interface:IFileDiff
Get revision of second file in diff- Specified by:
getRevision2
in interfaceIFileDiff
- Returns:
- revision number
-
getFileType1
public java.lang.String getFileType1()
Description copied from interface:IFileDiff
Get file type of first file in diff- Specified by:
getFileType1
in interfaceIFileDiff
- Returns:
- file type
-
getFileType2
public java.lang.String getFileType2()
Description copied from interface:IFileDiff
Get file type of second file in diff- Specified by:
getFileType2
in interfaceIFileDiff
- Returns:
- file type
-
-