protected class TiledImageLayer.CompositionRetrievalPostProcessor extends AbstractRetrievalPostProcessor
Modifier and Type | Field and Description |
---|---|
protected TextureTile |
tile |
avList, retriever
Constructor and Description |
---|
CompositionRetrievalPostProcessor(TextureTile tile) |
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 void |
handleUnsuccessfulRetrieval()
Called when the retrieval state is other than
Retriever.RETRIEVER_STATE_SUCCESSFUL . |
protected boolean |
isDeleteOnExit(File outFile)
Indicates whether the output file should have its delete-on-exit flag set so that it's deleted when the JVM
terminates.
|
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.
|
convertToDDS, getFileLock, getOutputFile, getRetriever, handleApplicationContent, handleContent, handleContentException, handleHTMLContent, handleImageContent, handleInvalidResponseCode, handleSuccessfulRetrieval, handleTextContent, handleUnknownContentType, handleWMSExceptionContent, handleXMLContent, handleZipContent, isPrimaryContentType, isWMSException, logTextBuffer, run, saveBuffer, saveBuffer, saveDDS, transformPixels, validateHTTPResponseCode, validateJarResponseCode, validateResponseCode
protected TextureTile tile
public CompositionRetrievalPostProcessor(TextureTile tile)
protected File doGetOutputFile()
AbstractRetrievalPostProcessor
doGetOutputFile
in class AbstractRetrievalPostProcessor
protected void handleUnsuccessfulRetrieval()
AbstractRetrievalPostProcessor
Retriever.RETRIEVER_STATE_SUCCESSFUL
. Can be overridden by
subclasses to handle special error cases. The default implementation calls AbstractRetrievalPostProcessor.markResourceAbsent()
if the
retrieval state is Retriever.RETRIEVER_STATE_ERROR
.handleUnsuccessfulRetrieval
in class AbstractRetrievalPostProcessor
protected boolean isDeleteOnExit(File outFile)
AbstractRetrievalPostProcessor
isDeleteOnExit
in class AbstractRetrievalPostProcessor
outFile
- the output file.protected void markResourceAbsent()
AbstractRetrievalPostProcessor
markResourceAbsent
in class AbstractRetrievalPostProcessor
protected boolean overwriteExistingFile()
AbstractRetrievalPostProcessor
overwriteExistingFile
in class AbstractRetrievalPostProcessor