MCPcopy Create free account
hub / github.com/BaseXdb/basex / get

Method get

basex-core/src/main/java/org/basex/query/value/item/StrLazy.java:96–102  ·  view source on GitHub ↗

Returns an input stream for the item. @param info input info (can be null) @return stream @throws QueryException query exception

(final InputInfo info)

Source from the content-addressed store, hash-verified

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() {

Callers 2

stringInputMethod · 0.95
cacheMethod · 0.95

Calls 2

getMethod · 0.65
fallbackMethod · 0.45

Tested by

no test coverage detected