|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.tidalwave.role.spi.FileBinaryWritable
public class FileBinaryWritable
An implementation of BinaryWritable
which delegates to a File
.
Field Summary |
---|
Fields inherited from interface it.tidalwave.role.BinaryWritable |
---|
BinaryWritable, DEFAULT |
Constructor Summary | |
---|---|
FileBinaryWritable(java.io.File file)
Creates an instance with the given File delegate. |
Method Summary | |
---|---|
java.io.OutputStream |
openStream()
Returns an OutputStream to write into the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileBinaryWritable(@Nonnull java.io.File file)
File
delegate.
file
- the fileMethod Detail |
---|
@Nonnull public java.io.OutputStream openStream() throws java.io.IOException
OutputStream
to write into the object.
openStream
in interface BinaryWritable
OutputStream
java.io.IOException
- if the operation can't be performed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |