it.tidalwave.role.spi
Class FileTextReadable
java.lang.Object
it.tidalwave.role.spi.FileTextReadable
- All Implemented Interfaces:
- TextReadable
public class FileTextReadable
- extends Object
- implements TextReadable
An implementation of TextReadable
which delegates to a File
.
- Version:
- $Id$
- Author:
- Fabrizio Giudici
- Status: stable API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTextReadable
public FileTextReadable()
openReader
@Nonnull
public Reader openReader()
throws IOException
- Returns a
Reader
to read from the object.
- Specified by:
openReader
in interface TextReadable
- Returns:
- the
Reader
- Throws:
IOException
- if the operation can't be performed
Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.