|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.p4java.impl.generic.core.FileLineMatch
public class FileLineMatch
Implementation class of the IFileLineMatch interface
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.perforce.p4java.core.IFileLineMatch |
|---|
IFileLineMatch.MatchType |
| Field Summary | |
|---|---|
protected String |
file
|
protected String |
line
|
protected int |
lineNumber
|
protected int |
revision
|
protected IFileLineMatch.MatchType |
type
|
| Constructor Summary | |
|---|---|
FileLineMatch(Map<String,Object> map)
Create a file line match |
|
FileLineMatch(String file,
int revision,
String line,
IFileLineMatch.MatchType type)
Explicit-value constructor; sets all fields to null or -1, type to MatchType.MATCH. |
|
| Method Summary | |
|---|---|
String |
getDepotFile()
Get depot file path of match |
String |
getLine()
Get line text of match |
int |
getLineNumber()
Get line number of match |
int |
getRevision()
Get revision number of match |
IFileLineMatch.MatchType |
getType()
Get match type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String file
protected int revision
protected int lineNumber
protected String line
protected IFileLineMatch.MatchType type
| Constructor Detail |
|---|
public FileLineMatch(String file,
int revision,
String line,
IFileLineMatch.MatchType type)
public FileLineMatch(Map<String,Object> map)
map - | Method Detail |
|---|
public String getDepotFile()
IFileLineMatch
getDepotFile in interface IFileLineMatchIFileLineMatch.getDepotFile()public String getLine()
IFileLineMatch
getLine in interface IFileLineMatchIFileLineMatch.getLine()public int getRevision()
IFileLineMatch
getRevision in interface IFileLineMatchIFileLineMatch.getRevision()public int getLineNumber()
IFileLineMatch
getLineNumber in interface IFileLineMatchIFileLineMatch.getLineNumber()public IFileLineMatch.MatchType getType()
IFileLineMatch
getType in interface IFileLineMatchIFileLineMatch.getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||