Class DefaultDumpFilterHandler
java.lang.Object
org.tmatesoft.svn.core.internal.wc.DefaultDumpFilterHandler
- All Implemented Interfaces:
ISVNLoadHandler
- Version:
- 1.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate java.util.Map
private long
private ISVNAdminEventHandler
private boolean
private boolean
private boolean
private boolean
private boolean
private long
private java.io.OutputStream
private java.util.Collection
private java.util.Map
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDumpFilterHandler
(java.io.OutputStream os, ISVNAdminEventHandler handler, boolean exclude, boolean renumberRevisions, boolean dropEmptyRevisions, boolean preserveRevisionProperties, java.util.Collection prefixes, boolean skipMissingMergeSources) -
Method Summary
Modifier and TypeMethodDescriptionprivate java.util.Map
adjustMergeInfo
(SVNPropertyValue initialValue) void
void
void
void
deleteNodeProperty
(java.lang.String propertyName) private void
dispatchEvent
(SVNAdminEvent event) java.util.Map
long
private long
getLongFromHeaders
(java.lang.String header, java.util.Map headers) private SVNNodeKind
getNodeKindFromHeaders
(java.lang.String header, java.util.Map headers) java.util.Map
void
openNode
(java.util.Map headers) void
openRevision
(java.util.Map headers) private void
outputNode
(DefaultDumpFilterHandler.NodeBaton nodeBaton) private void
outputRevision
(DefaultDumpFilterHandler.RevisionBaton revisionBaton) void
parseTextBlock
(java.io.InputStream dumpStream, long contentLength, boolean isDelta) void
parseUUID
(java.lang.String uuid) void
void
reset
(java.io.OutputStream os, ISVNAdminEventHandler handler, boolean exclude, boolean renumberRevisions, boolean dropEmptyRevisions, boolean preserveRevisionProperties, java.util.Collection prefixes, boolean skipMissingMergeSources) void
void
setNodeProperty
(java.lang.String propertyName, SVNPropertyValue propertyValue) void
setRevisionProperty
(java.lang.String propertyName, SVNPropertyValue propertyValue) private boolean
skipPath
(java.lang.String path) private void
writeDumpData
(java.io.OutputStream out, byte[] bytes) private void
writeDumpData
(java.io.OutputStream out, java.lang.String data) private void
writeProperty
(java.io.OutputStream out, java.lang.String propName, SVNPropertyValue propValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myIsDoRenumberRevisions
private boolean myIsDoRenumberRevisions -
myIsDoExclude
private boolean myIsDoExclude -
myIsPreserveRevisionProps
private boolean myIsPreserveRevisionProps -
myIsDropEmptyRevisions
private boolean myIsDropEmptyRevisions -
myIsSkipMissingMergeSources
private boolean myIsSkipMissingMergeSources -
myDroppedRevisionsCount
private long myDroppedRevisionsCount -
myLastLiveRevision
private long myLastLiveRevision -
myOutputStream
private java.io.OutputStream myOutputStream -
myPrefixes
private java.util.Collection myPrefixes -
myDroppedNodes
private java.util.Map myDroppedNodes -
myRenumberHistory
private java.util.Map myRenumberHistory -
myCurrentRevisionBaton
-
myCurrentNodeBaton
-
myEventHandler
-
-
Constructor Details
-
DefaultDumpFilterHandler
public DefaultDumpFilterHandler(java.io.OutputStream os, ISVNAdminEventHandler handler, boolean exclude, boolean renumberRevisions, boolean dropEmptyRevisions, boolean preserveRevisionProperties, java.util.Collection prefixes, boolean skipMissingMergeSources)
-
-
Method Details
-
reset
public void reset(java.io.OutputStream os, ISVNAdminEventHandler handler, boolean exclude, boolean renumberRevisions, boolean dropEmptyRevisions, boolean preserveRevisionProperties, java.util.Collection prefixes, boolean skipMissingMergeSources) -
closeNode
- Specified by:
closeNode
in interfaceISVNLoadHandler
- Throws:
SVNException
-
closeRevision
- Specified by:
closeRevision
in interfaceISVNLoadHandler
- Throws:
SVNException
-
openNode
- Specified by:
openNode
in interfaceISVNLoadHandler
- Throws:
SVNException
-
openRevision
- Specified by:
openRevision
in interfaceISVNLoadHandler
- Throws:
SVNException
-
parseTextBlock
public void parseTextBlock(java.io.InputStream dumpStream, long contentLength, boolean isDelta) throws SVNException - Specified by:
parseTextBlock
in interfaceISVNLoadHandler
- Throws:
SVNException
-
parseUUID
- Specified by:
parseUUID
in interfaceISVNLoadHandler
- Throws:
SVNException
-
removeNodeProperties
- Specified by:
removeNodeProperties
in interfaceISVNLoadHandler
- Throws:
SVNException
-
setFullText
- Specified by:
setFullText
in interfaceISVNLoadHandler
- Throws:
SVNException
-
setRevisionProperty
public void setRevisionProperty(java.lang.String propertyName, SVNPropertyValue propertyValue) throws SVNException - Specified by:
setRevisionProperty
in interfaceISVNLoadHandler
- Throws:
SVNException
-
setNodeProperty
public void setNodeProperty(java.lang.String propertyName, SVNPropertyValue propertyValue) throws SVNException - Specified by:
setNodeProperty
in interfaceISVNLoadHandler
- Throws:
SVNException
-
deleteNodeProperty
- Specified by:
deleteNodeProperty
in interfaceISVNLoadHandler
- Throws:
SVNException
-
applyTextDelta
- Specified by:
applyTextDelta
in interfaceISVNLoadHandler
- Throws:
SVNException
-
getDroppedRevisionsCount
public long getDroppedRevisionsCount() -
getRenumberHistory
public java.util.Map getRenumberHistory() -
getDroppedNodes
public java.util.Map getDroppedNodes() -
outputRevision
private void outputRevision(DefaultDumpFilterHandler.RevisionBaton revisionBaton) throws SVNException - Throws:
SVNException
-
outputNode
- Throws:
SVNException
-
writeProperty
private void writeProperty(java.io.OutputStream out, java.lang.String propName, SVNPropertyValue propValue) throws SVNException - Throws:
SVNException
-
adjustMergeInfo
- Throws:
SVNException
-
getNodeKindFromHeaders
-
getLongFromHeaders
private long getLongFromHeaders(java.lang.String header, java.util.Map headers) -
writeDumpData
- Throws:
SVNException
-
writeDumpData
- Throws:
SVNException
-
skipPath
private boolean skipPath(java.lang.String path) -
dispatchEvent
- Throws:
SVNException
-