|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.directdemocracyportal.democracy.service.governmentloader.SwedishGovernmentDocumentImporterImpl
@Transactional(propagation=REQUIRED) public class SwedishGovernmentDocumentImporterImpl extends java.lang.Object implements GovernmentImporter
The Class SwedishGovernmentDocumentImporterImpl.
| Constructor and Description |
|---|
SwedishGovernmentDocumentImporterImpl(com.gargoylesoftware.htmlunit.WebClient webClient,
CountryDAO countryDAO,
AgentDAO agentDAO,
PortalService portalService)
Instantiates a new swedish government document importer impl. |
| Modifier and Type | Method and Description |
|---|---|
void |
doImport()
Do import. |
java.util.Date |
parseDate(java.lang.String dateStr)
Parses the date. |
java.lang.String |
stripDigits(java.lang.String s)
Strip digits. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwedishGovernmentDocumentImporterImpl(com.gargoylesoftware.htmlunit.WebClient webClient,
CountryDAO countryDAO,
AgentDAO agentDAO,
PortalService portalService)
throws java.net.MalformedURLException
webClient - the web clientcountryDAO - the country daoagentDAO - the agent daoportalService - the portal servicejava.net.MalformedURLException - the malformed url exception| Method Detail |
|---|
public void doImport()
GovernmentImporter
doImport in interface GovernmentImporterpublic java.util.Date parseDate(java.lang.String dateStr)
dateStr - the date strpublic java.lang.String stripDigits(java.lang.String s)
s - the s
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||