|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.retrieve.AbstractRetrievalPostProcessor
gov.nasa.worldwind.terrain.BasicElevationModel.DownloadPostProcessor
protected static class BasicElevationModel.DownloadPostProcessor
| Field Summary | |
|---|---|
protected BasicElevationModel |
elevationModel
|
protected FileStore |
fileStore
|
protected Tile |
tile
|
| Fields inherited from class gov.nasa.worldwind.retrieve.AbstractRetrievalPostProcessor |
|---|
avList, retriever |
| Constructor Summary | |
|---|---|
BasicElevationModel.DownloadPostProcessor(Tile tile,
BasicElevationModel em)
|
|
BasicElevationModel.DownloadPostProcessor(Tile tile,
BasicElevationModel em,
FileStore fileStore)
|
|
| Method Summary | |
|---|---|
protected File |
doGetOutputFile()
Abstract method that subclasses must provide to identify the output file for the post-processor's retrieval content. |
protected Object |
getFileLock()
Returns an object that can be used to synchronize writing to the output file. |
protected FileStore |
getFileStore()
|
protected ByteBuffer |
handleSuccessfulRetrieval()
Process the retrieved data if it has been retrieved successfully. |
protected ByteBuffer |
handleTextContent()
Handles Text content. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final BasicElevationModel elevationModel
protected final FileStore fileStore
protected final Tile tile
| Constructor Detail |
|---|
public BasicElevationModel.DownloadPostProcessor(Tile tile,
BasicElevationModel em)
public BasicElevationModel.DownloadPostProcessor(Tile tile,
BasicElevationModel em,
FileStore fileStore)
| Method Detail |
|---|
protected File doGetOutputFile()
AbstractRetrievalPostProcessor
doGetOutputFile in class AbstractRetrievalPostProcessorprotected Object getFileLock()
AbstractRetrievalPostProcessor
getFileLock in class AbstractRetrievalPostProcessorprotected FileStore getFileStore()
protected ByteBuffer handleSuccessfulRetrieval()
AbstractRetrievalPostProcessor
handleSuccessfulRetrieval in class AbstractRetrievalPostProcessor
protected ByteBuffer handleTextContent()
throws IOException
AbstractRetrievalPostProcessorAbstractRetrievalPostProcessor.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.
handleTextContent in class AbstractRetrievalPostProcessorIOException - if an IO error occurs while processing the data.protected void markResourceAbsent()
AbstractRetrievalPostProcessor
markResourceAbsent in class AbstractRetrievalPostProcessorprotected boolean overwriteExistingFile()
AbstractRetrievalPostProcessor
overwriteExistingFile in class AbstractRetrievalPostProcessor
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||