Operation |
Details |
private addDescriptionEnrty( byte[] exportOut, String exportFormat, OutputStream aos):void |
Sequential Tags: | throws=IOException,ExportManagerException
| |
private addLicenseAgreement( OutputStream os):void |
Sequential Tags: | throws=IOException,ExportManagerException
| Notes: | Write License Agreement file to the archive OutputStream @param af is Archive Format | |
public calculateItemListFileSizes( String itemList):long |
Sequential Tags: | throws=ExportManagerException
| Notes: | (non-Javadoc) @see de.mpg.escidoc.services.exportmanager.ExportHandler#calculateItemListFileSizes(String) | |
public explainFormatsXML():String |
Sequential Tags: | throws=ExportManagerException
| Notes: | (non-Javadoc) @see de.mpg.escidoc.services.exportmanager.ExportHandler#explainFormatsXML() | |
private exportFormatType( String exportFormat):ExportFormatTypes |
Sequential Tags: | throws=ExportManagerException
| Notes: | Returns type of the <code>exportFormat</code>: <code>LAYOUT</code> for citation style and <code>STRUCTURED</code> for structured export formats. @return type of the export formats | |
private fetchComponentsDo( OutputStream aos, String itemList):void |
Sequential Tags: | throws=ExportManagerException
| Notes: | Walk around the itemList XML, fetch all files from components via URIs and put them into the archive {@link OutputStream} aos @link OutputStream} | |
public generateArchive( String exportFormat, String archiveFormat, byte[] exportOut, String itemList):byte |
Sequential Tags: | throws=ExportManagerException,IOException
| Notes: | (non-Javadoc) @see de.mpg.escidoc.services.exportmanager.ExportHandler#generateArchive(String, String, byte[], String) ) | |
public generateArchive( String archiveFormat, String itemListFiltered):byte |
Sequential Tags: | throws=ExportManagerException,IOException
| Notes: | (non-Javadoc) @see de.mpg.escidoc.services.exportmanager.ExportHandler#generateArchive(String, String) ) | |
private generateArchiveBase( String exportFormat, String archiveFormat, byte[] exportOut, String itemList, BufferedOutputStream bos):void |
Sequential Tags: | throws=ExportManagerException,IOException
| Notes: | (non-Javadoc) @see de.mpg.escidoc.services.exportmanager.ExportHandler#generateArchive(String, String, byte[], String) ) | |
public generateArchiveFile( String exportFormat, String archiveFormat, byte[] exportOut, String itemList):File |
Sequential Tags: | throws=ExportManagerException,IOException
| Notes: | (non-Javadoc) @see de.mpg.escidoc.services.exportmanager.ExportHandler#generateArchive(String, String, byte[], String) ) | |
private generateTmpFileName():String |
Sequential |
private getFileExt( String af):String |
Sequential Notes: | Returns file extension on hand of archive format @return file extension | |
private getFilteredNodes( NodeFilter nodeFilter, Document doc):NodeIterator |
Sequential Tags: | throws=ExportManagerException
| Notes: | Returns <code>org.w3c.dom.traversal.NodeIterator</code> for org.w3c.dom.Document traversing | |
public getOutput( String exportFormat, String outputFormat, String archiveFormat, String itemList):byte |
Sequential Tags: | throws=ExportManagerException,IOException
| Notes: | (non-Javadoc) @see de.mpg.escidoc.services.exportmanager.ExportHandler#getOutput(java.lang.String, java.lang.String, java.lang.String, java.lang.String) | |
private getOutputBase( String exportFormat, String outputFormat, String archiveFormat, String itemList, BufferedOutputStream bos):void |
Sequential Tags: | throws=ExportManagerException,IOException
| Notes: | Base method for getOutput* methods | |
public getOutputFile( String exportFormat, String outputFormat, String archiveFormat, String itemList):File |
Sequential Tags: | throws=ExportManagerException,IOException
| Notes: | (non-Javadoc) @see de.mpg.escidoc.services.exportmanager.ExportHandler#getOutputFile(java.lang.String, java.lang.String, java.lang.String, java.lang.String) | |
private getResource( String fileName):InputStream |
Sequential Notes: | Gets resources according to an execution environment @return InputStream of resource | |
protected static loginUser( String userid, String password):String |
Sequential Tags: | throws=HttpException,IOException,ServiceException,URISyntaxException
| Notes: | Logs in the given user with the given password. @return The handle for the logged in user. | |
private parseDocument( String itemList):Document |
Sequential Tags: | throws=ExportManagerException
| Notes: | Parses <code>itemList</code> XML to <code>org.w3c.dom.Document</code>. @return <code>org.w3c.dom.Document</code> | |
private writeFromStreamToStream( InputStream is, OutputStream os):void |
Sequential |