vexi.stream - Stream Library Object

Properties

Methods

Method Returns Description

buffer([stream])

Stream

Returns a buffer optionally initialized with the contents of ‘stream’

multiple(stream1, stream2[, streamN])

Stream

Combines the input streams and returns a single stream representing the combination of the input streams

nameOf(stream)

Stream

Returns the canonical name of the input ‘stream’ i.e. its filename or URI

pipe(source, destination)

Stream

Pipe the contents of stream ‘source’ to stream ‘destination’

fromString(string)

Stream

Turns the specified string into a stream

unzip(zipfile)

Stream

Returns the extracted contents of ‘zipfile’ as a Stream object

uncab(cabfile)

Stream

Returns the extracted contents of ‘cabfile’ as a Stream object

url(url)

Stream

Provides a stream accessing content from the provided url

parsexml(stream, js)

null

Parses the given stream as XML using the user-specified helper js object. This is a regular js object that should implement the following named functions:

  • startElement
  • endElement
  • characters
  • whitespace

Constructors

Constructor Description

xmlwriter()

utf8reader()

utf8writer()

 


Copyright © 2011 The Vexi Project (vexi.sourceforge.net)