
public abstract class GenericParser extends Object implements iTenderParser
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENTS_DIR |
protected TenderContentQueue |
tenderContentQueue |
| Constructor and Description |
|---|
GenericParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUknownFields(String fieldName) |
File |
getContentsDir() |
URL |
getCurrentUrl() |
TenderContentQueue |
getTenderContentQueue() |
URL |
getTenderUrl() |
List<String> |
getUknownFields() |
Address |
parseAddress(String address) |
Double |
parseDouble(String number) |
Integer |
parseInteger(String number) |
Town |
parseTown(String city) |
void |
setCurrentUrl(URL tender) |
void |
setTenderContentQueue(TenderContentQueue tendersUrl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontent, queuepublic static final String CONTENTS_DIR
protected TenderContentQueue tenderContentQueue
public Town parseTown(String city) throws ParseException
ParseExceptionpublic Address parseAddress(String address) throws ParseException
ParseExceptionpublic void addUknownFields(String fieldName)
public URL getCurrentUrl()
getCurrentUrl in interface iTenderParserpublic void setCurrentUrl(URL tender)
setCurrentUrl in interface iTenderParserpublic TenderContentQueue getTenderContentQueue()
getTenderContentQueue in interface iTenderParserpublic void setTenderContentQueue(TenderContentQueue tendersUrl)
setTenderContentQueue in interface iTenderParserpublic URL getTenderUrl() throws MalformedURLException
getTenderUrl in interface iTenderParserMalformedURLExceptionpublic File getContentsDir()
Copyright © 2013. All Rights Reserved.