it.tidalwave.role
Interface BinaryWritable
- All Known Implementing Classes:
- FileBinaryWritable
public interface BinaryWritable
The role of an object that can be written as a stream of bytes.
- Version:
- $Id$
- Author:
- Fabrizio Giudici
- Status: stable API
BinaryWritable
static final Class<BinaryWritable> BinaryWritable
DEFAULT
static final BinaryWritable DEFAULT
- A default implementation which throws
IOException
when opening the stream.
openStream
@Nonnull
OutputStream openStream()
throws IOException
- Returns an
OutputStream
to write into the object.
- Returns:
- the
OutputStream
- Throws:
IOException
- if the operation can't be performed
Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.