Classpath and stream backed host resources.

classpath

Available since version 1.0 (view source)

Usage:
  • (classpath uri & {:as opts})

Type signature:
  • ((U nil String+ Uri) ⨯ Any) → (I IImmutableReadable IAcquirableFactory)

Returns factory for passable thread local classpath resource, with given uri and opts set.

See also: classpath-factory

classpath-factory

Available since version 1.0 (view source)

not referred automatically

VAR of type (I IImmutableReadable IAcquirableFactory)

Classpath resource factory. Passable thread local. Current options are:

  • uri - uri

  • batch-size - batch size, low level

  • class-loader - nil or host specific class loader

See also: classpath

coll-reader

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (coll-reader coll)

Type signature:
  • (IRed) → java.io.Reader

Returns java.io.Reader object from a given coll.

See also: coll-writer

coll-writer

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (coll-writer)

  • (coll-writer non-blocking?)

Type signatures:
  • () → []

  • (Boolean+) → []

Returns pair of writer object and a mutable collection recipe containing data from that writer.

Returned collection may return postponed object if non-blocking? is true (defaults to false), otherwise it will block until more data is sent to the writer or writer is closed.

See also: coll-reader

input-stream

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (input-stream stream & {:as opts})

Type signature:
  • (java.io.InputStream ⨯ Any) → IAcquirableFactory

Returns factory for passable thread local InputStream backed resource, with given stream and opts set.

input-stream-factory

Available since version 1.0 (view source)

not referred automatically

VAR of type IAcquirableFactory

InputStream backed resource factory. Passable thread local. Current options are:

  • stream - input stream

  • batch-size - batch-size, low level

  • keep-open? - boolean, default false - keep stream open after resource is released?

output-stream

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (output-stream stream & {:as opts})

Type signature:
  • (java.io.OutputStream ⨯ Any) → IAcquirableFactory

Returns factory for passable thread local OutputStream backed resource, with given stream and opts set.

output-stream-factory

Available since version 1.0 (view source)

not referred automatically

VAR of type IAcquirableFactory

OutputStream backed resource factory. Passable thread local. Current options are:

  • stream - output stream

  • batch-size - batch-size, low level

  • keep-open? - boolean, default false - keep stream open after resource is released?

reader

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (reader rd & {:as opts})

Type signature:
  • (java.io.Reader ⨯ Any) → IAcquirableFactory

Returns factory for passable thread local Reader backed resource, with given rd and opts set.

See also: reader-factory, writer

reader-factory

Available since version 1.0 (view source)

not referred automatically

VAR of type IAcquirableFactory

Reader backed resource factory. Passable thread local. Current options are:

  • reader - reader

  • batch-size - batch-size, low level

  • keep-open? - boolean, default false - keep stream open after resource is released?

See also: reader, writer-factory

writer

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (writer wr & {:as opts})

Type signature:
  • (java.io.Writer ⨯ Any) → IAcquirableFactory

Returns factory for passable thread local Writer backed resource, with given wr and opts set.

See also: reader, writer-factory

writer-factory

Available since version 1.0 (view source)

not referred automatically

VAR of type IAcquirableFactory

Writer backed resource factory. Passable thread local. Current options are:

  • writer - writer

  • batch-size - batch-size, low level

  • keep-open? - boolean, default false - keep stream open after resource is released?

See also: writer, reader-factory