|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gisgraphy.domain.geoloc.importer.GeonamesFileRetriever
public class GeonamesFileRetriever
Retrieve The Geonames files from a server
Field Summary | |
---|---|
protected static org.slf4j.Logger |
logger
The logger |
Constructor Summary | |
---|---|
GeonamesFileRetriever()
|
Method Summary | |
---|---|
java.lang.String |
getCurrentFileName()
|
int |
getNumberOfLinesToProcess()
|
int |
getReadFileLine()
The number of read line for the current processed file |
ImporterStatus |
getStatus()
|
java.lang.String |
getStatusMessage()
|
int |
getTotalReadLine()
The number of read line for all the processed file |
void |
process()
Do the stuff... |
java.util.List<NameValueDTO<java.lang.Integer>> |
rollback()
/! |
void |
setImporterConfig(ImporterConfig importerConfig)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.slf4j.Logger logger
Constructor Detail |
---|
public GeonamesFileRetriever()
Method Detail |
---|
public void process() throws GeonamesProcessorException
IGeonamesProcessor
process
in interface IGeonamesProcessor
GeonamesProcessorException
public void setImporterConfig(ImporterConfig importerConfig)
importerConfig
- The importerConfig to setpublic int getReadFileLine()
IGeonamesProcessor
getReadFileLine
in interface IGeonamesProcessor
IGeonamesProcessor.getTotalReadLine()
public int getTotalReadLine()
IGeonamesProcessor
getTotalReadLine
in interface IGeonamesProcessor
IGeonamesProcessor.getReadFileLine()
public java.lang.String getCurrentFileName()
getCurrentFileName
in interface IGeonamesProcessor
public int getNumberOfLinesToProcess()
getNumberOfLinesToProcess
in interface IGeonamesProcessor
public ImporterStatus getStatus()
getStatus
in interface IGeonamesProcessor
public java.lang.String getStatusMessage()
getStatusMessage
in interface IGeonamesProcessor
public java.util.List<NameValueDTO<java.lang.Integer>> rollback()
IGeonamesProcessor
rollback
in interface IGeonamesProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |