public interface StreamingResolvable
Resolvable
instances, that support streaming of propertiesModifier and Type | Method and Description |
---|---|
InputStream |
getInputStream(String name,
int n)
Get an input stream for reading the nth property value, if the
property can be streamed and 0 <= n <
getNumStreams(String) |
int |
getNumStreams(String name)
Get the number of streams available for the property with given name.
|
Collection<String> |
getStreamableProperties()
Get the names of the properties that can be streamed
|
boolean |
isStreamable(String name)
Check whether the property with given name can be streamed.
|
Collection<String> getStreamableProperties()
boolean isStreamable(String name)
name
- property nameint getNumStreams(String name)
name
- property nameInputStream getInputStream(String name, int n) throws IOException, ArrayIndexOutOfBoundsException
getNumStreams(String)
name
- name of the propertyn
- index of the input stream (starting with 0)IOException
- if the property cannot be streamedArrayIndexOutOfBoundsException
- if n is set inappropriatelyCopyright © 2014 Gentics Software GmbH. All Rights Reserved.