public class OpenStreetMapPoisFileRetriever extends AbstractFileRetriever
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
currentFileName, fileIndex, importerConfig, numberOfFileToDownload, status, statusMessage| Constructor and Description |
|---|
OpenStreetMapPoisFileRetriever() |
| Modifier and Type | Method and Description |
|---|---|
void |
decompressFiles()
Method to call if files must be decompress (untar or unzip)
|
String |
getcurrentExtractedFileNameIntoArchive() |
String |
getDownloadBaseUrl() |
String |
getDownloadDirectory() |
File[] |
getFilesToDecompress()
return an array of file that are to be decompressed
|
boolean |
isFileNotFoundTolerant() |
boolean |
shouldBeSkipped() |
downloadFile, downloadFiles, getCurrentFileName, getNumberOfLinesToProcess, getReadFileLine, getStatus, getStatusMessage, getTotalReadLine, process, resetStatus, rollback, setImporterConfig, setInternationalisationServicepublic String getcurrentExtractedFileNameIntoArchive()
public String getDownloadDirectory()
getDownloadDirectory in class AbstractFileRetrieverpublic String getDownloadBaseUrl()
getDownloadBaseUrl in class AbstractFileRetrieverpublic void decompressFiles()
throws IOException
AbstractFileRetrieverdecompressFiles in class AbstractFileRetrieverIOExceptionpublic boolean shouldBeSkipped()
shouldBeSkipped in interface IImporterProcessorshouldBeSkipped in class AbstractFileRetrieverpublic File[] getFilesToDecompress() throws IOException
AbstractFileRetrievergetFilesToDecompress in class AbstractFileRetrieverIOExceptionpublic boolean isFileNotFoundTolerant()
isFileNotFoundTolerant in class AbstractFileRetrieverCopyright © 2015. All rights reserved.