|
JavaSVN Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tmatesoft.svn.core.io.diff.SVNRAFileData
SVNDeltaGenerator
The SVNRAFileData class represents a random access data storage wrapper for files.
| Constructor Summary | |
SVNRAFileData(File file,
boolean readonly)
Deprecated. Creates a new SVNRAFileData representation. |
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SVNRAFileData(File file,
boolean readonly)
file - a file resourcereadonly - if true then
read-only file access is allowed, if false -
full access is allowed| Method Detail |
public InputStream readAll()
throws SVNException
ISVNRAData
readAll in interface ISVNRADataSVNException
public InputStream read(long offset,
long length)
throws SVNException
ISVNRAData
read in interface ISVNRADataoffset - an offset in the storage to read fromlength - a number of bytes to read
SVNException
public void append(InputStream source,
long length)
throws SVNException
ISVNRAData
append in interface ISVNRADatasource - a source input stream to read byteslength - a number of bytes to read from
source and append to this
data storage
SVNException
public void close()
throws IOException
ISVNRAData
close in interface ISVNRADataIOException - if an i/o error occurredpublic long length()
ISVNRAData
length in interface ISVNRADatapublic long lastModified()
ISVNRAData
lastModified in interface ISVNRAData
|
JavaSVN Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||