|
||||||||||
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 | |
---|---|
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. |
Method Detail |
---|
Collection<String> getStreamableProperties()
boolean isStreamable(String name)
name
- property name
int getNumStreams(String name)
name
- property name
InputStream 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 streamed
ArrayIndexOutOfBoundsException
- if n is set inappropriately
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |