|
||||||||||
| 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 java.lang.String |
file
|
protected java.lang.String |
line
|
protected int |
lineNumber
|
protected int |
revision
|
protected IFileLineMatch.MatchType |
type
|
| Constructor Summary | |
|---|---|
FileLineMatch(java.util.Map<java.lang.String,java.lang.Object> map)
Create a file line match |
|
FileLineMatch(java.lang.String file,
int revision,
java.lang.String line,
IFileLineMatch.MatchType type)
Explicit-value constructor; sets all fields to null or -1, type to MatchType.MATCH. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDepotFile()
Get depot file path of match |
java.lang.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 java.lang.String file
protected int revision
protected int lineNumber
protected java.lang.String line
protected IFileLineMatch.MatchType type
| Constructor Detail |
|---|
public FileLineMatch(java.lang.String file,
int revision,
java.lang.String line,
IFileLineMatch.MatchType type)
public FileLineMatch(java.util.Map<java.lang.String,java.lang.Object> map)
map - | Method Detail |
|---|
public java.lang.String getDepotFile()
IFileLineMatch
getDepotFile in interface IFileLineMatchIFileLineMatch.getDepotFile()public java.lang.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 | |||||||||