Class SVNSubstitutor
java.lang.Object
org.tmatesoft.svn.core.internal.wc.SVNSubstitutor
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static final byte[]private static final intprivate static final byte[]private byte[]private byte[]private intprivate byte[]private booleanprivate booleanprivate byte[]private intprivate Mapprivate byte[]private int[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanisInteresting(byte p) private byte[]matchKeyword(byte[] src, int offset, int length) private static ByteBuffersubstituteEOL(ByteBuffer dst, byte[] eol, int eolLength, byte[] lastEOL, int[] lastEOLLength, byte[] nextEOL, int nextEOLLength, boolean repair) private static intsubstituteKeyword(byte[] src, int offset, int length, byte[] keyword, byte[] value) translateChunk(ByteBuffer src, ByteBuffer dst) private inttranslateKeyword(byte[] src, int offset, int length, byte[] name) private static voidunread(ByteBuffer buffer, int length) private static ByteBufferwrite(ByteBuffer dst, byte[] bytes, int offset, int length)
-
Field Details
-
ALL
private static final byte[] ALL -
EOLS
private static final byte[] EOLS -
KEYWORDS
private static final byte[] KEYWORDS -
KEYWORD_MAX_LENGTH
private static final int KEYWORD_MAX_LENGTH- See Also:
-
myIsRepair
private boolean myIsRepair -
myIsExpand
private boolean myIsExpand -
myKeywords
-
myEOL
private byte[] myEOL -
myLastEOL
private byte[] myLastEOL -
myInteresting
private byte[] myInteresting -
myEOLBuffer
private byte[] myEOLBuffer -
myKeywordBuffer
private byte[] myKeywordBuffer -
myLastEOLLength
private int[] myLastEOLLength -
myKeywordBufferLength
private int myKeywordBufferLength -
myEOLBufferLength
private int myEOLBufferLength
-
-
Constructor Details
-
SVNSubstitutor
-
-
Method Details
-
translateChunk
- Throws:
SVNException
-
isInteresting
private boolean isInteresting(byte p) -
matchKeyword
private byte[] matchKeyword(byte[] src, int offset, int length) -
translateKeyword
private int translateKeyword(byte[] src, int offset, int length, byte[] name) -
unread
-
substituteKeyword
private static int substituteKeyword(byte[] src, int offset, int length, byte[] keyword, byte[] value) -
substituteEOL
private static ByteBuffer substituteEOL(ByteBuffer dst, byte[] eol, int eolLength, byte[] lastEOL, int[] lastEOLLength, byte[] nextEOL, int nextEOLLength, boolean repair) throws SVNException - Throws:
SVNException
-
write
-