|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.javatools.patch.PatchHunk
public class PatchHunk
This class is the model class for data in a patch hunk, owned by a PatchEntry.
| Constructor Summary | |
|---|---|
PatchHunk() |
|
| Method Summary | |
|---|---|
void |
addLine(PatchHunkLine line)Adds a PatchHunkLine instance to the patch hunk. |
int |
getFromFileLineCount()Gets the from-file line count for the patch hunk. |
int |
getFromFileLineNumber()Gets the from-file line number for the patch hunk. |
PatchHunkLine[] |
getLines()Gets all PatchHunkLine instances in the patch hunk. |
int |
getToFileLineCount()Gets the to-file line count for the patch hunk. |
int |
getToFileLineNumber()Gets the to-file line number for the patch hunk. |
void |
setFromFileLineCount(int fromFileLineCount)Sets the from-file line count for the patch hunk. |
void |
setFromFileLineNumber(int fromFileLineNumber)Sets the from-file line number for the patch hunk. |
void |
setToFileLineCount(int toFileLineCount)Sets the to-file line count for the patch hunk. |
void |
setToFileLineNumber(int toFileLineNumber)Sets the to-file line number for the patch hunk. |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PatchHunk()
| Method Detail |
|---|
public void setFromFileLineNumber(int fromFileLineNumber)
fromFileLineNumber - the from-file line number.public int getFromFileLineNumber()
public void setFromFileLineCount(int fromFileLineCount)
fromFileLineCount - the from-file line count.public int getFromFileLineCount()
public void setToFileLineNumber(int toFileLineNumber)
toFileLineNumber - the to-file line number.public int getToFileLineNumber()
public void setToFileLineCount(int toFileLineCount)
toFileLineCount - the to-file line count.public int getToFileLineCount()
public void addLine(PatchHunkLine line)
PatchHunkLine instance to the patch hunk.line - the patch hunk line.public PatchHunkLine[] getLines()
PatchHunkLine instances in the patch hunk.public java.lang.String toString()
toString in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||