Class SvnTargetContent
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.patch.SvnTargetContent
-
- Direct Known Subclasses:
SvnPatchTarget,SvnPropertiesPatchTarget
public class SvnTargetContent extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSvnTargetContent.IRealLineCallbackstatic interfaceSvnTargetContent.ISeekCallbackstatic interfaceSvnTargetContent.ITellCallbackstatic interfaceSvnTargetContent.IWriteCallback
-
Constructor Summary
Constructors Constructor Description SvnTargetContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHunkInfo(SvnHunkInfo hunkInfo)intgetCurrentLine()java.lang.StringgetEolStr()SVNWCContext.SVNEolStylegetEolStyle()java.util.List<SvnHunkInfo>getHunkInfos()java.util.Map<java.lang.String,byte[]>getKeywords()java.util.List<java.lang.Long>getLines()java.lang.ObjectgetReadBaton()SvnTargetContent.IRealLineCallbackgetReadLineCallback()SvnTargetContent.ISeekCallbackgetSeekCallback()SvnTargetContent.ITellCallbackgetTellCallback()java.lang.ObjectgetWriteBaton()SvnTargetContent.IWriteCallbackgetWriteCallback()booleanisEof()booleanisExisted()protected booleanmatchExistingTarget(SvnDiffHunk hunk)java.lang.StringreadLine()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)voidsetEolStr(java.lang.String eolStr)voidsetEolStyle(SVNWCContext.SVNEolStyle eolStyle)voidsetExisted(boolean existed)voidsetKeywords(java.util.Map<java.lang.String,byte[]> keywords)voidsetLines(java.util.List<java.lang.Long> lines)voidsetReadBaton(java.lang.Object readBaton)voidsetReadLineCallback(SvnTargetContent.IRealLineCallback readLineCallback)voidsetSeekCallback(SvnTargetContent.ISeekCallback seekCallback)voidsetTellCallback(SvnTargetContent.ITellCallback tellCallback)voidsetWriteBaton(java.lang.Object writeBaton)voidsetWriteCallback(SvnTargetContent.IWriteCallback writeCallback)
-
-
-
Method Detail
-
readLine
public java.lang.String readLine() throws SVNException- Throws:
SVNException
-
seekToLine
protected void seekToLine(int line) throws SVNException- Throws:
SVNException
-
scanForMatch
protected int scanForMatch(SvnDiffHunk hunk, boolean matchFirst, int upperLine, int fuzz, boolean ignoreWhitespace, boolean matchModified, ISVNCanceller canceller) throws SVNException
- Throws:
SVNException
-
matchExistingTarget
protected boolean matchExistingTarget(SvnDiffHunk hunk) throws SVNException
- Throws:
SVNException
-
isExisted
public boolean isExisted()
-
getCurrentLine
public int getCurrentLine()
-
getEolStyle
public SVNWCContext.SVNEolStyle getEolStyle()
-
getEolStr
public java.lang.String getEolStr()
-
getLines
public java.util.List<java.lang.Long> getLines()
-
getHunkInfos
public java.util.List<SvnHunkInfo> getHunkInfos()
-
isEof
public boolean isEof()
-
getKeywords
public java.util.Map<java.lang.String,byte[]> getKeywords()
-
getReadBaton
public java.lang.Object getReadBaton()
-
getSeekCallback
public SvnTargetContent.ISeekCallback getSeekCallback()
-
getTellCallback
public SvnTargetContent.ITellCallback getTellCallback()
-
getReadLineCallback
public SvnTargetContent.IRealLineCallback getReadLineCallback()
-
getWriteCallback
public SvnTargetContent.IWriteCallback getWriteCallback()
-
setExisted
public void setExisted(boolean existed)
-
setCurrentLine
public void setCurrentLine(int currentLine)
-
setEolStyle
public void setEolStyle(SVNWCContext.SVNEolStyle eolStyle)
-
setEolStr
public void setEolStr(java.lang.String eolStr)
-
setLines
public void setLines(java.util.List<java.lang.Long> lines)
-
addHunkInfo
public void addHunkInfo(SvnHunkInfo hunkInfo)
-
setEof
public void setEof(boolean eof)
-
setKeywords
public void setKeywords(java.util.Map<java.lang.String,byte[]> keywords)
-
setReadLineCallback
public void setReadLineCallback(SvnTargetContent.IRealLineCallback readLineCallback)
-
setTellCallback
public void setTellCallback(SvnTargetContent.ITellCallback tellCallback)
-
setSeekCallback
public void setSeekCallback(SvnTargetContent.ISeekCallback seekCallback)
-
setWriteCallback
public void setWriteCallback(SvnTargetContent.IWriteCallback writeCallback)
-
setReadBaton
public void setReadBaton(java.lang.Object readBaton)
-
setWriteBaton
public void setWriteBaton(java.lang.Object writeBaton)
-
getWriteBaton
public java.lang.Object getWriteBaton()
-
-