public interface StreamingResolvable
Resolvable
instances, that support streaming of propertiesModifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream(java.lang.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(java.lang.String name)
Get the number of streams available for the property with given name.
|
java.util.Collection<java.lang.String> |
getStreamableProperties()
Get the names of the properties that can be streamed
|
boolean |
isStreamable(java.lang.String name)
Check whether the property with given name can be streamed.
|
java.util.Collection<java.lang.String> getStreamableProperties()
boolean isStreamable(java.lang.String name)
name
- property nameint getNumStreams(java.lang.String name)
name
- property namejava.io.InputStream getInputStream(java.lang.String name, int n) throws java.io.IOException, java.lang.ArrayIndexOutOfBoundsException
getNumStreams(String)
name
- name of the propertyn
- index of the input stream (starting with 0)java.io.IOException
- if the property cannot be streamedjava.lang.ArrayIndexOutOfBoundsException
- if n is set inappropriatelyCopyright © 2022 Gentics Software. All Rights Reserved.