it.tidalwave.role
Interface TextWritable

Package class diagram package TextWritable
All Known Implementing Classes:
FileTextWritable

public interface TextWritable

The role of an object that can be written as a stream of characters.

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

Field Summary
static TextWritable DEFAULT
          A default implementation which throws IOException when opening the stream.
static Class<TextWritable> TextWritable
           
 
Method Summary
 Writer openWriter()
          Returns a Writer to write into the object.
 

Field Detail

TextWritable

static final Class<TextWritable> TextWritable

DEFAULT

static final TextWritable DEFAULT
A default implementation which throws IOException when opening the stream.

Method Detail

openWriter

@Nonnull
Writer openWriter()
                  throws IOException
Returns a Writer to write into the object.

Returns:
the Writer
Throws:
IOException - if the operation can't be performed


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