org.tmatesoft.svn.core.io
Interface ISVNWorkspaceMediator


public interface ISVNWorkspaceMediator

The ISVNWorkspaceMediator interface is used for temporary data storage (mainly instructions and new text data for deltas) as well as for caching and getting some kind of wcprops.

Since:
1.2
See Also:
SVNRepository.getCommitEditor(String, java.util.Map, boolean, org.tmatesoft.svn.core.SVNProperties, ISVNWorkspaceMediator), Examples

Method Summary
 SVNPropertyValue getWorkspaceProperty(java.lang.String path, java.lang.String name)
          Retrieves an item's WC property from a ".svn/wcprops" administrative subdirectory.
 void setWorkspaceProperty(java.lang.String path, java.lang.String name, SVNPropertyValue value)
          Sets a new value for an item's WC property in a ".svn/wcprops" administrative subdirectory.
 

Method Detail

getWorkspaceProperty

SVNPropertyValue getWorkspaceProperty(java.lang.String path,
                                      java.lang.String name)
                                      throws SVNException
Retrieves an item's WC property from a ".svn/wcprops" administrative subdirectory.

Parameters:
path - a WC item's path
name - a property name
Returns:
the value for the property
Throws:
SVNException
See Also:
setWorkspaceProperty(String, String, SVNPropertyValue)

setWorkspaceProperty

void setWorkspaceProperty(java.lang.String path,
                          java.lang.String name,
                          SVNPropertyValue value)
                          throws SVNException
Sets a new value for an item's WC property in a ".svn/wcprops" administrative subdirectory.

Parameters:
path - a WC item's path
name - a property name
value - a value for the property
Throws:
SVNException
See Also:
getWorkspaceProperty(String, String)