public class StreetRandomizer extends DataRandomizer
Street
with reasonable random data.
Copyright (C) 2015 JIOWA Business Solutions GmbH, Bettinastr. 30 , D-60325 Frankfurt am Main, Germany
Homepage: www.jiowa.de
All rights reserved.
Download: www.jiowa.de/download.html
License: www.jiowa.de/license.html
Modifier and Type | Field and Description |
---|---|
protected static StreetRandomizer |
INSTANCE |
protected RandomStreetMap |
streetMap |
COMMENT_SYMBOL
Modifier | Constructor and Description |
---|---|
protected |
StreetRandomizer() |
Modifier and Type | Method and Description |
---|---|
static StreetRandomizer |
getInstance()
Returns an instance of this class
|
Street |
getRandom(java.lang.String countryCode) |
protected void |
initialize()
Initializes the list of streets per country code.
|
createResourceReader, readResourceAsListOfLines, readResourceAsString
protected static final StreetRandomizer INSTANCE
protected RandomStreetMap streetMap
public Street getRandom(java.lang.String countryCode)
public static StreetRandomizer getInstance()
protected void initialize()