|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.patch.PatchHunkLine
public class PatchHunkLine
This class is the model class for data in a patch hunk line, owned by a PatchHunk
.
Field Summary | |
---|---|
static int |
INDICATOR_ADDED |
static int |
INDICATOR_COMMON |
static int |
INDICATOR_REMOVED |
Constructor Summary | |
---|---|
PatchHunkLine(int indicator) Constructs a new PatchHunkLine with the given line indicator. |
Method Summary | |
---|---|
int |
getIndicator() Gets the indicator for the patch hunk line (one of common, added, removed). |
java.lang.String |
getLineData() Gets the line data for the patch hunk line. |
boolean |
isNoNewlineAtEOF() Gets the flag for 'No newline at end of file'. |
void |
setLineData(java.lang.String lineData) Sets the line data for the patch hunk line. |
void |
setNoNewlineAtEOF(boolean noNewlineAtEof) Sets the flag for 'No newline at end of file'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INDICATOR_COMMON
public static final int INDICATOR_ADDED
public static final int INDICATOR_REMOVED
Constructor Detail |
---|
public PatchHunkLine(int indicator)
PatchHunkLine
with the given line indicator.
indicator
- the line indicator.Method Detail |
---|
public int getIndicator()
public void setLineData(java.lang.String lineData)
lineData
- the line data.public java.lang.String getLineData()
public void setNoNewlineAtEOF(boolean noNewlineAtEof)
noNewlineAtEof
- true
if EOF with no NL follows the line.public boolean isNoNewlineAtEOF()
true
if EOF with no NL follows the line.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |