Class SvnTargetContent
java.lang.Object
org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContent
- Direct Known Subclasses:
SvnPatchTarget
,SvnPropertiesPatchTarget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
private static class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
private boolean
private String
private SVNWCContext.SVNEolStyle
(package private) boolean
private List<SvnHunkInfo>
private Object
private SvnTargetContent.ISeekCallback
private SvnTargetContent.ITellCallback
private Object
private SvnTargetContent.IWriteCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHunkInfo
(SvnHunkInfo hunkInfo) int
getLines()
boolean
isEof()
boolean
protected boolean
private boolean
matchHunk
(SvnDiffHunk hunk, int fuzz, boolean ignoreWhitespace, boolean matchModified) readLine()
protected int
scanForMatch
(SvnDiffHunk hunk, boolean matchFirst, int upperLine, int fuzz, boolean ignoreWhitespace, boolean matchModified, ISVNCanceller canceller) protected void
seekToLine
(int line) void
setCurrentLine
(int currentLine) void
setEof
(boolean eof) void
void
setEolStyle
(SVNWCContext.SVNEolStyle eolStyle) void
setExisted
(boolean existed) void
setKeywords
(Map<String, byte[]> keywords) void
void
setReadBaton
(Object readBaton) void
setReadLineCallback
(SvnTargetContent.IRealLineCallback readLineCallback) void
setSeekCallback
(SvnTargetContent.ISeekCallback seekCallback) void
setTellCallback
(SvnTargetContent.ITellCallback tellCallback) void
setWriteBaton
(Object writeBaton) void
setWriteCallback
(SvnTargetContent.IWriteCallback writeCallback)
-
Field Details
-
existed
boolean existed -
currentLine
int currentLine -
eolStyle
-
eolStr
-
lines
-
hunkInfos
-
eof
private boolean eof -
keywords
-
readBaton
-
writeBaton
-
seekCallback
-
tellCallback
-
readLineCallback
-
writeCallback
-
-
Constructor Details
-
SvnTargetContent
public SvnTargetContent()
-
-
Method Details
-
readLine
- Throws:
SVNException
-
seekToLine
- Throws:
SVNException
-
scanForMatch
protected int scanForMatch(SvnDiffHunk hunk, boolean matchFirst, int upperLine, int fuzz, boolean ignoreWhitespace, boolean matchModified, ISVNCanceller canceller) throws SVNException - Throws:
SVNException
-
matchHunk
private boolean matchHunk(SvnDiffHunk hunk, int fuzz, boolean ignoreWhitespace, boolean matchModified) throws SVNException - Throws:
SVNException
-
matchExistingTarget
- Throws:
SVNException
-
isExisted
public boolean isExisted() -
getCurrentLine
public int getCurrentLine() -
getEolStyle
-
getEolStr
-
getLines
-
getHunkInfos
-
isEof
public boolean isEof() -
getKeywords
-
getReadBaton
-
getSeekCallback
-
getTellCallback
-
getReadLineCallback
-
getWriteCallback
-
setExisted
public void setExisted(boolean existed) -
setCurrentLine
public void setCurrentLine(int currentLine) -
setEolStyle
-
setEolStr
-
setLines
-
addHunkInfo
-
setEof
public void setEof(boolean eof) -
setKeywords
-
setReadLineCallback
-
setTellCallback
-
setSeekCallback
-
setWriteCallback
-
setReadBaton
-
setWriteBaton
-
getWriteBaton
-