|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SVNDeltaGenerator
The ISVNRAData interface represents data storage that supports random access reading from and writing to it. Used to provide random access to files and buffers upon which delta is generated.
SVNRAFileData
,
ISVNDeltaGenerator
Method Summary | |
void |
append(InputStream source,
long length)
Deprecated. Writes a number of the source bytes to the end of this data storage. |
void |
close()
Deprecated. Closes this RA data storage and releases any system resources associated with this storage. |
long |
lastModified()
Deprecated. Returns the time that this data storage was last modified. |
long |
length()
Deprecated. Returns the length in bytes of this data storage. |
InputStream |
read(long offset,
long length)
Deprecated. Reads a number of bytes from the given position in this data storage. |
InputStream |
readAll()
Deprecated. Reads the entire contents of this data storage. |
Method Detail |
public InputStream readAll() throws SVNException
SVNException
public InputStream read(long offset, long length) throws SVNException
offset
- an offset in the storage to read fromlength
- a number of bytes to read
SVNException
public void append(InputStream source, long length) throws SVNException
source
- a source input stream to read byteslength
- a number of bytes to read from
source
and append to this
data storage
SVNException
public long length()
public long lastModified()
public void close() throws IOException
IOException
- if an i/o error occurred
|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |