it.tidalwave.role.spi
Class FileBinaryWritable

Package class diagram package FileBinaryWritable
java.lang.Object
  extended by it.tidalwave.role.spi.FileBinaryWritable
All Implemented Interfaces:
BinaryWritable

public class FileBinaryWritable
extends Object
implements BinaryWritable

An implementation of BinaryWritable which delegates to a File.

Version:
$Id$
Author:
Fabrizio Giudici
Status: stable API

Field Summary
 
Fields inherited from interface it.tidalwave.role.BinaryWritable
BinaryWritable, DEFAULT
 
Constructor Summary
FileBinaryWritable()
           
 
Method Summary
 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

FileBinaryWritable

public FileBinaryWritable()
Method Detail

openStream

@Nonnull
public OutputStream openStream()
                        throws IOException
Returns an OutputStream to write into the object.

Specified by:
openStream in interface BinaryWritable
Returns:
the OutputStream
Throws:
IOException - if the operation can't be performed


Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.