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 interface
SvnTargetContent.IRealLineCallback
static interface
SvnTargetContent.ISeekCallback
static interface
SvnTargetContent.ITellCallback
static interface
SvnTargetContent.IWriteCallback
-
Constructor Summary
Constructors Constructor Description SvnTargetContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHunkInfo(SvnHunkInfo hunkInfo)
int
getCurrentLine()
java.lang.String
getEolStr()
SVNWCContext.SVNEolStyle
getEolStyle()
java.util.List<SvnHunkInfo>
getHunkInfos()
java.util.Map<java.lang.String,byte[]>
getKeywords()
java.util.List<java.lang.Long>
getLines()
java.lang.Object
getReadBaton()
SvnTargetContent.IRealLineCallback
getReadLineCallback()
SvnTargetContent.ISeekCallback
getSeekCallback()
SvnTargetContent.ITellCallback
getTellCallback()
java.lang.Object
getWriteBaton()
SvnTargetContent.IWriteCallback
getWriteCallback()
boolean
isEof()
boolean
isExisted()
protected boolean
matchExistingTarget(SvnDiffHunk hunk)
java.lang.String
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
setEolStr(java.lang.String eolStr)
void
setEolStyle(SVNWCContext.SVNEolStyle eolStyle)
void
setExisted(boolean existed)
void
setKeywords(java.util.Map<java.lang.String,byte[]> keywords)
void
setLines(java.util.List<java.lang.Long> lines)
void
setReadBaton(java.lang.Object readBaton)
void
setReadLineCallback(SvnTargetContent.IRealLineCallback readLineCallback)
void
setSeekCallback(SvnTargetContent.ISeekCallback seekCallback)
void
setTellCallback(SvnTargetContent.ITellCallback tellCallback)
void
setWriteBaton(java.lang.Object writeBaton)
void
setWriteCallback(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()
-
-