|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
SVNRepository.getCommitEditor(String, Map, boolean, ISVNWorkspaceMediator)
,
ExamplesMethod Summary | |
OutputStream |
createTemporaryLocation(String path,
Object id)
Creates a temporary data storage for writing and maps the given id object to this storage, so that later the storage will be
available for reading through a call to getTemporaryLocation(Object) ,
which receives the id .
|
void |
deleteTemporaryLocation(Object id)
Disposes a temporary data storage mapped against the given id . |
long |
getLength(Object id)
Gets the size of a temporary data storage mapped against the given id . |
InputStream |
getTemporaryLocation(Object id)
Retrieves an input stream to read data from the temporary storage mapped against the id object. |
String |
getWorkspaceProperty(String path,
String name)
Retrieves an item's WC property from a ".svn/wcprops" administrative
subdirectory. |
void |
setWorkspaceProperty(String path,
String name,
String value)
Sets a new value for an item's WC property in a ".svn/wcprops"
administrative subdirectory. |
Method Detail |
public String getWorkspaceProperty(String path, String name) throws SVNException
".svn/wcprops"
administrative
subdirectory.
path
- a WC item's pathname
- a propery name
SVNException
setWorkspaceProperty(String, String, String)
public void setWorkspaceProperty(String path, String name, String value) throws SVNException
".svn/wcprops"
administrative subdirectory.
path
- a WC item's pathname
- a propery namevalue
- a value for the property
SVNException
getWorkspaceProperty(String, String)
public OutputStream createTemporaryLocation(String path, Object id) throws IOException
id
object to this storage, so that later the storage will be
available for reading through a call to getTemporaryLocation(Object)
,
which receives the id
.
This is used for constructing diff windows and mapping them to temporary storages that contain instructions and new text data for the windows.
path
- an item's relative pathid
- an id for the created temporary
IOException
- if an output stream can not be createdgetTemporaryLocation(Object)
public InputStream getTemporaryLocation(Object id) throws IOException
id
object.
id
- an id as a key to the temporary storage
IOException
- if an input stream can not be createdcreateTemporaryLocation(String, Object)
public long getLength(Object id) throws IOException
id
.
id
- an id as a key to a data storage
IOException
createTemporaryLocation(String, Object)
,
getTemporaryLocation(Object)
public void deleteTemporaryLocation(Object id)
id
.
id
- an id as a key to a temporary data storagecreateTemporaryLocation(String, Object)
,
getTemporaryLocation(Object)
|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |