protected class BasicDataFileStore.PostProcessor extends AbstractRetrievalPostProcessor
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
address  | 
protected URL | 
localFileUrl  | 
protected File | 
outputFile  | 
protected URL | 
retrievalUrl  | 
protected boolean | 
saveInLocalCache  | 
avList, retriever| Constructor and Description | 
|---|
PostProcessor(String address,
             URL url,
             boolean saveInLocalCache)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected File | 
doGetOutputFile()
Abstract method that subclasses must provide to identify the output file for the post-processor's retrieval
 content. 
 | 
protected ByteBuffer | 
handleSuccessfulRetrieval()
Process the retrieved data if it has been retrieved successfully. 
 | 
protected ByteBuffer | 
handleTextContent()
Handles Text content. 
 | 
protected File | 
makeOutputFile()  | 
protected void | 
markResourceAbsent()
Marks the retrieval target absent. 
 | 
protected boolean | 
overwriteExistingFile()
Indicates whether the retrieved data should be written to the output file if a file of the same name already
 exists. 
 | 
protected boolean | 
saveBuffer()
Saves the retrieved and possibly transformed data. 
 | 
convertToDDS, getFileLock, getOutputFile, getRetriever, handleApplicationContent, handleContent, handleContentException, handleHTMLContent, handleImageContent, handleInvalidResponseCode, handleUnknownContentType, handleUnsuccessfulRetrieval, handleWMSExceptionContent, handleXMLContent, handleZipContent, isDeleteOnExit, isPrimaryContentType, isWMSException, logTextBuffer, run, saveBuffer, saveDDS, transformPixels, validateHTTPResponseCode, validateJarResponseCode, validateResponseCodeprotected String address
protected URL localFileUrl
protected File outputFile
protected URL retrievalUrl
protected boolean saveInLocalCache
protected File doGetOutputFile()
AbstractRetrievalPostProcessordoGetOutputFile in class AbstractRetrievalPostProcessorprotected ByteBuffer handleSuccessfulRetrieval()
AbstractRetrievalPostProcessorhandleSuccessfulRetrieval in class AbstractRetrievalPostProcessorprotected ByteBuffer handleTextContent() throws IOException
AbstractRetrievalPostProcessor.handleXMLContent() is called. If the content type
 is text/html, AbstractRetrievalPostProcessor.handleHTMLContent() is called. For all other sub-types the content is logged as a message
 with level Level.SEVERE. Overridden to save text files in the cache.handleTextContent in class AbstractRetrievalPostProcessorIOException - if an IO error occurs while processing the data.protected File makeOutputFile()
protected void markResourceAbsent()
AbstractRetrievalPostProcessormarkResourceAbsent in class AbstractRetrievalPostProcessorprotected boolean overwriteExistingFile()
AbstractRetrievalPostProcessoroverwriteExistingFile in class AbstractRetrievalPostProcessorprotected boolean saveBuffer()
                      throws IOException
AbstractRetrievalPostProcessorAbstractRetrievalPostProcessor.saveBuffer(java.nio.ByteBuffer) with an argument
 of null.saveBuffer in class AbstractRetrievalPostProcessorIOException - if an IO error occurs while attempting to save the buffer.