it.tidalwave.role.spi
Class FileBinaryReadable
java.lang.Object
it.tidalwave.role.spi.FileBinaryReadable
- All Implemented Interfaces:
- BinaryReadable
public class FileBinaryReadable
- extends Object
- implements BinaryReadable
An implementation of BinaryReadable
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 |
FileBinaryReadable
public FileBinaryReadable()
openStream
@Nonnull
public InputStream openStream()
throws IOException
- Returns an
InputStream
to read from the object.
- Specified by:
openStream
in interface BinaryReadable
- Returns:
- the
InputStream
- Throws:
IOException
- if the operation can't be performed
Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.