boolean released = false;
public void write(OutputStream os)
throws IOException
{
Writer out = new OutputStreamWriter(os,"UTF-8");
ItemDestination dest = new WriterItemDestination(out,"UTF-8");
FeedLoader feedLoader = new FeedLoader(getLogger(),loader,feedRep,entries);
try {
feedLoader.load(XMLDBStorage.this,context.getClientDispatcher(),path,dest);
} catch (XMLException ex) {
throw new IOException("XML exception while loading feed: "+ex.getMessage());