Class ByteArraySource

  • All Implemented Interfaces:
    Source

    public class ByteArraySource
    extends StreamSource
    INTERNAL:

    Purpose: Provides an implementation of Source that can act on a byte[]. Overrides the getInputStream and getReader methods to ensure a new stream is created each time (to prevent the one use restriction of StreamSource).

    Author:
    mmacivor