nl.uva.vlet.vrs
Interface VStreamWritable

All Known Subinterfaces:
VStreamAccessable
All Known Implementing Classes:
VFile

public interface VStreamWritable

Interface for stream based (remote) file write access. Objects (VNodes) which can be written by means of a stream can implemented this interface.


Method Summary
 java.io.OutputStream getOutputStream()
          Create OutputStream to this file/object to write to.
 

Method Detail

getOutputStream

java.io.OutputStream getOutputStream()
                                     throws VlException
Create OutputStream to this file/object to write to.

This method will start to write at the beginning of the file. File length is not decreased. Old data is just overwritten! Appending is currently not supported since the Jargon (SRB) implementation doesn't support this.

Returns:
java.io.OutputStream object
Throws:
VlException
See Also:
OutputStream