Returns an input stream for the item. @param info input info (can be null) @return stream @throws QueryException query exception
(final InputInfo info)
| 94 | * @throws QueryException query exception |
| 95 | */ |
| 96 | private TextInput get(final InputInfo info) throws QueryException { |
| 97 | try { |
| 98 | return new NewlineInput(input, encoding).fallback(fallback); |
| 99 | } catch(final IOException ex) { |
| 100 | throw error.get(info, ex); |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | @Override |
| 105 | public boolean isCached() { |
no test coverage detected