Revision 2261
Added by sgarg almost 20 years ago
Metacat.java | ||
---|---|---|
77 | 77 |
MetacatInaccessibleException, MetacatException; |
78 | 78 |
|
79 | 79 |
/** |
80 |
* Read inline data from the metacat server session, accessed by |
|
81 |
* inlinedataid, and returned as a Reader. |
|
82 |
* |
|
83 |
* @param inlinedataid the identifier of the document to be read |
|
84 |
* @return a Reader for accessing the document |
|
85 |
* @throws InsufficientKarmaException when the user has insufficent rights |
|
86 |
* for the operation |
|
87 |
* @throws MetacatInaccessibleException when the metacat server can not be |
|
88 |
* reached or does not respond |
|
89 |
* @throws MetacatException when the metacat server generates another error |
|
90 |
*/ |
|
91 |
public Reader readInlineData(String inlinedataid) |
|
92 |
throws InsufficientKarmaException, |
|
93 |
MetacatInaccessibleException, MetacatException; |
|
94 |
|
|
95 |
/** |
|
80 | 96 |
* Query the metacat document store with the given metacat-compatible |
81 | 97 |
* query document, and return the result set as a Reader. |
82 | 98 |
* |
Also available in: Unified diff
Added method to metacat client for reading inline data - readInlineData()