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 ofTextWritablewhich 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.WriteropenWriter()Returns aWriterto write into the object.
-
-
-
Method Detail
-
openWriter
@Nonnull public java.io.Writer openWriter() throws java.io.IOExceptionReturns aWriterto write into the object.- Specified by:
openWriterin interfaceTextWritable- Returns:
- the
Writer - Throws:
java.io.IOException- if the operation can't be performed
-
-