|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamingResolvable
Interface for Resolvable
instances, that support streaming of properties
Method Summary | |
---|---|
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. |
Method Detail |
---|
java.util.Collection<java.lang.String> getStreamableProperties()
boolean isStreamable(java.lang.String name)
name
- property name
int getNumStreams(java.lang.String name)
name
- property name
java.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 streamed
java.lang.ArrayIndexOutOfBoundsException
- if n is set inappropriately
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |