|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.reading.AbstractReader
org.dspace.app.xmlui.cocoon.MetadataExportReader
public class MetadataExportReader
AbstractReader that generates a CSV of item, collection or community metadata using MetadataExport
| Field Summary | |
|---|---|
protected static int |
BUFFER_SIZE
How big of a buffer should we use when reading from the bitstream before writting to the HTTP response? |
protected static int |
expires
When should a download expire in milliseconds. |
protected org.apache.cocoon.environment.Request |
request
The Cocoon request |
protected org.apache.cocoon.environment.Response |
response
The Cocoon response |
| Fields inherited from class org.apache.cocoon.reading.AbstractReader |
|---|
objectModel, out, parameters, resolver, source |
| Fields inherited from interface org.apache.cocoon.reading.Reader |
|---|
ROLE |
| Constructor Summary | |
|---|---|
MetadataExportReader()
|
|
| Method Summary | |
|---|---|
void |
generate()
Write the CSV. |
void |
recycle()
Recycle |
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters par)
Set up the export reader. |
| Methods inherited from class org.apache.cocoon.reading.AbstractReader |
|---|
getLastModified, getMimeType, setOutputStream, shouldSetContentLength |
| Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
|---|
getLogger, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int BUFFER_SIZE
protected static final int expires
protected org.apache.cocoon.environment.Response response
protected org.apache.cocoon.environment.Request request
| Constructor Detail |
|---|
public MetadataExportReader()
| Method Detail |
|---|
public void setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters par)
throws org.apache.cocoon.ProcessingException,
SAXException,
IOException
setup in interface org.apache.cocoon.sitemap.SitemapModelComponentsetup in class org.apache.cocoon.reading.AbstractReaderorg.apache.cocoon.ProcessingException
SAXException
IOException
public void generate()
throws IOException,
SAXException,
org.apache.cocoon.ProcessingException
generate in interface org.apache.cocoon.reading.ReaderIOException
SAXException
org.apache.cocoon.ProcessingExceptionpublic void recycle()
recycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class org.apache.cocoon.reading.AbstractReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||