it.tidalwave.role.spi
Class FileTextWritable

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

public class FileTextWritable
extends Object
implements TextWritable

An implementation of TextWritable which delegates to a File.

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

Field Summary
 
Fields inherited from interface it.tidalwave.role.TextWritable
DEFAULT, TextWritable
 
Constructor Summary
FileTextWritable()
           
 
Method Summary
 Writer openWriter()
          Returns a Writer 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

FileTextWritable

public FileTextWritable()
Method Detail

openWriter

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

Specified by:
openWriter in interface TextWritable
Returns:
the Writer
Throws:
IOException - if the operation can't be performed


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