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

Method write

basex-core/src/main/java/org/basex/io/IO.java:369–373  ·  view source on GitHub ↗

Writes data from an input stream to an output stream. @param in input stream @param out output stream @throws IOException I/O exception

(final InputStream in, final OutputStream out)

Source from the content-addressed store, hash-verified

367 * @throws IOException I/O exception
368 */
369 public static void write(final InputStream in, final OutputStream out) throws IOException {
370 try(BufferInput bi = BufferInput.get(in); BufferOutput bo = BufferOutput.get(out)) {
371 in.transferTo(out);
372 }
373 }
374
375 /**
376 * Compares file names for equality. Ignores the case, depending on the operating system.

Callers 15

writeMethod · 0.95
sendMethod · 0.45
receiveMethod · 0.45
moreMethod · 0.45
execMethod · 0.45
runMethod · 0.45
runMethod · 0.45
nextMethod · 0.45
cacheMethod · 0.45
sendMethod · 0.45
receiveMethod · 0.45
execMethod · 0.45

Calls 2

getMethod · 0.95
getMethod · 0.95

Tested by 4

testMethod · 0.36
initDBMethod · 0.36
runMethod · 0.36
addLogMethod · 0.36