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 interfacestatic interfacestatic interfacestatic interfaceprivate static class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) intprivate booleanprivate Stringprivate SVNWCContext.SVNEolStyle(package private) booleanprivate List<SvnHunkInfo>private Objectprivate SvnTargetContent.ISeekCallbackprivate SvnTargetContent.ITellCallbackprivate Objectprivate SvnTargetContent.IWriteCallback -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHunkInfo(SvnHunkInfo hunkInfo) intgetLines()booleanisEof()booleanprotected booleanprivate booleanmatchHunk(SvnDiffHunk hunk, int fuzz, boolean ignoreWhitespace, boolean matchModified) readLine()protected intscanForMatch(SvnDiffHunk hunk, boolean matchFirst, int upperLine, int fuzz, boolean ignoreWhitespace, boolean matchModified, ISVNCanceller canceller) protected voidseekToLine(int line) voidsetCurrentLine(int currentLine) voidsetEof(boolean eof) voidvoidsetEolStyle(SVNWCContext.SVNEolStyle eolStyle) voidsetExisted(boolean existed) voidsetKeywords(Map<String, byte[]> keywords) voidvoidsetReadBaton(Object readBaton) voidsetReadLineCallback(SvnTargetContent.IRealLineCallback readLineCallback) voidsetSeekCallback(SvnTargetContent.ISeekCallback seekCallback) voidsetTellCallback(SvnTargetContent.ITellCallback tellCallback) voidsetWriteBaton(Object writeBaton) voidsetWriteCallback(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
-