Package it.tidalwave.role.io.spi
Class FileTextWritable
- java.lang.Object
-
- it.tidalwave.role.io.spi.FileTextWritable
-
- All Implemented Interfaces:
TextWritable
public class FileTextWritable extends java.lang.Object implements TextWritable
An implementation ofTextWritable
which delegates to aFile
.- Author:
- Fabrizio Giudici
- Status: stable API
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.role.io.TextWritable
_TextWritable_, DEFAULT
-
-
Constructor Summary
Constructors Constructor Description FileTextWritable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Writer
openWriter()
Returns aWriter
to write into the object.
-
-
-
Method Detail
-
openWriter
@Nonnull public java.io.Writer openWriter() throws java.io.IOException
Returns aWriter
to write into the object.- Specified by:
openWriter
in interfaceTextWritable
- Returns:
- the
Writer
- Throws:
java.io.IOException
- if the operation can't be performed
-
-