public interface Binary
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases all resources associated with this binary and informs the implementation that
these resources may now be reclaimed.
|
long |
getSize() |
InputStream |
getStream()
Returns an
InputStream representation of this binary. |
InputStream getStream()
InputStream
representation of this binary. Each call to
getStream()
returns a new stream. The caller is
responsible for calling close()
on the returned stream.IllegalStateException
- if dispose()
has already been called.WebFileException
- if another error occurs.long getSize()
IllegalStateException
- if dispose()
has already been called.WebFileException
- if another error occurs.void dispose()
Copyright © 2012–2015 Hippo B.V. (http://www.onehippo.com). All rights reserved.