You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Mohamad, HKB (Hammad)" <sb...@rl.ac.uk> on 2008/09/03 15:32:40 UTC

Cocoon migration from concoon 2.0.4 to Cocoon 2.2: FilePartArray

Hi,

I need to migrate my application  with Cocoon 2.0.4 to Cocoon 2.2,
there is a code already using in the application(2.0.4), in latest
version It doesn't compile, can you please inform me what API do I need
to use instead of FilePartArray in Cocoon2.2?

Code:
if (filePart != null) {
	Bitstream.storeBitstream(
	exprinstid,	filePart.getFileName(),
	((FilePartArray)filePart).getInputStream(),
	epubuserid
);
}

many thanks
Kasim