it.tidalwave.role
Interface TextReadable
- All Known Implementing Classes:
- FileTextReadable
public interface TextReadable
The role of an object that can be read as a stream of characters.
- Version:
- $Id$
- Author:
- Fabrizio Giudici
- Status: stable API
TextReadable
static final Class<TextReadable> TextReadable
DEFAULT
static final TextReadable DEFAULT
- A default implementation which throws
IOException
when opening the stream.
openReader
@Nonnull
Reader openReader()
throws IOException
- Returns a
Reader
to read from the object.
- Returns:
- the
Reader
- Throws:
IOException
- if the operation can't be performed
Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.