it.tidalwave.role.spi
Class FileBinaryWritable
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileBinaryWritable
public FileBinaryWritable()
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.