Skip navigation links
A B C D F G I J L M N O P R S T V W Y 

A

addPolyline(List<Point>) - Method in class tech.spiro.addrparser.common.RegionInfo.Builder
 

B

BinaryFileRegionDataOutput - Class in tech.spiro.addrparser.io.file
Output region data to binary file.
BinaryFileRegionDataOutput(String) - Constructor for class tech.spiro.addrparser.io.file.BinaryFileRegionDataOutput
 
build() - Method in class tech.spiro.addrparser.common.RegionInfo.Builder
 
buildDataSource(CommandLine) - Static method in class tech.spiro.addrparser.tool.JSONFile2MySQL
 
Builder() - Constructor for class tech.spiro.addrparser.common.RegionInfo.Builder
 

C

center(Point) - Method in class tech.spiro.addrparser.common.RegionInfo.Builder
 
close() - Method in class tech.spiro.addrparser.io.file.BinaryFileRegionDataOutput
 
close() - Method in class tech.spiro.addrparser.io.file.JSONFileRegionDataInput
 
close() - Method in class tech.spiro.addrparser.io.file.JSONFileRegionDataOutput
 
close() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataInput
 
close() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataOutput
 
code(int) - Method in class tech.spiro.addrparser.common.RegionInfo.Builder
 
contain(Point) - Method in interface tech.spiro.addrparser.common.ContainPointJudge
 
contain(Point) - Method in class tech.spiro.addrparser.common.RegionInfo
 
contain(Point) - Method in class tech.spiro.addrparser.parser.DefaultContainPointJudge
 
ContainPointJudge - Interface in tech.spiro.addrparser.common
Interface to judge whether a point in polygons
ContainPointJudgeFactory - Class in tech.spiro.addrparser.common
 
ContainPointJudgeFactory() - Constructor for class tech.spiro.addrparser.common.ContainPointJudgeFactory
 
convert(RegionDTO) - Static method in class tech.spiro.addrparser.common.RegionConverter
 
COUNTRY_CODE - Static variable in class tech.spiro.addrparser.crawler.RegionDataCrawler
 
CrawlerServer - Class in tech.spiro.addrparser.tool
A command-line tool to crawl region data.
CrawlerServer() - Constructor for class tech.spiro.addrparser.tool.CrawlerServer
 
create() - Static method in class tech.spiro.addrparser.common.ContainPointJudgeFactory
 

D

DataResp - Class in tech.spiro.addrparser.crawler
Response data object for rest request.
DataResp() - Constructor for class tech.spiro.addrparser.crawler.DataResp
 
DEFAULT_TABLE_NAME - Static variable in class tech.spiro.addrparser.io.rdbms.RdbmsSQL
 
DefaultContainPointJudge - Class in tech.spiro.addrparser.parser
Default implements of ContainPointJudge.
DefaultContainPointJudge() - Constructor for class tech.spiro.addrparser.parser.DefaultContainPointJudge
 
defaultInsertSQL() - Static method in class tech.spiro.addrparser.io.rdbms.RdbmsSQL
 
defaultSelectSQL() - Static method in class tech.spiro.addrparser.io.rdbms.RdbmsSQL
 
double2Int(double) - Method in class tech.spiro.addrparser.parser.DefaultContainPointJudge
 

F

filename - Variable in class tech.spiro.addrparser.io.file.BinaryFileRegionDataOutput
 

G

getAdcode() - Method in class tech.spiro.addrparser.crawler.RegionResp
 
getCenter() - Method in class tech.spiro.addrparser.common.RegionDTO
 
getCenter() - Method in class tech.spiro.addrparser.common.RegionInfo
 
getCenter() - Method in class tech.spiro.addrparser.crawler.RegionResp
 
getCenter() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
getCity() - Method in class tech.spiro.addrparser.parser.Location
 
getCode() - Method in class tech.spiro.addrparser.common.RegionDTO
 
getCode() - Method in class tech.spiro.addrparser.common.RegionInfo
 
getCode() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
getCount() - Method in class tech.spiro.addrparser.crawler.DataResp
 
getDistrict() - Method in class tech.spiro.addrparser.parser.Location
 
getDistrictResponse() - Method in class tech.spiro.addrparser.crawler.RestClient
 
getDistricts() - Method in class tech.spiro.addrparser.crawler.DataResp
 
getDistricts() - Method in class tech.spiro.addrparser.crawler.RegionResp
 
getExtensions() - Method in class tech.spiro.addrparser.crawler.RestClient
 
getInfo() - Method in class tech.spiro.addrparser.crawler.DataResp
 
getInfocode() - Method in class tech.spiro.addrparser.crawler.DataResp
 
getKey() - Method in class tech.spiro.addrparser.crawler.RestClient
 
getKeywords() - Method in class tech.spiro.addrparser.crawler.RestClient
 
getLat() - Method in class tech.spiro.addrparser.common.Point
 
getLevel() - Method in class tech.spiro.addrparser.common.RegionDTO
 
getLevel() - Method in class tech.spiro.addrparser.common.RegionInfo
 
getLevel() - Method in class tech.spiro.addrparser.crawler.RegionResp
 
getLevel() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
getLon() - Method in class tech.spiro.addrparser.common.Point
 
getName() - Method in class tech.spiro.addrparser.common.RegionDTO
 
getName() - Method in class tech.spiro.addrparser.common.RegionInfo
 
getName() - Method in class tech.spiro.addrparser.crawler.RegionResp
 
getName() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
getParentCode() - Method in class tech.spiro.addrparser.common.RegionDTO
 
getParentCode() - Method in class tech.spiro.addrparser.common.RegionInfo
 
getParentCode() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
getPoint2LineDistance(Point, Point, Point) - Static method in class tech.spiro.addrparser.tool.MapTools
Calculate point to line distance (meter)
getPoint2PointDistance(Point, Point) - Static method in class tech.spiro.addrparser.tool.MapTools
Calculate point to point distance (meter)
getPolyline() - Method in class tech.spiro.addrparser.common.RegionDTO
 
getPolyline() - Method in class tech.spiro.addrparser.common.RegionInfo
 
getPolyline() - Method in class tech.spiro.addrparser.crawler.RegionResp
 
getPolyline() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
getProv() - Method in class tech.spiro.addrparser.parser.Location
 
GetRegionException - Exception in tech.spiro.addrparser.crawler
Get region exception by crawler.
GetRegionException() - Constructor for exception tech.spiro.addrparser.crawler.GetRegionException
 
GetRegionException(String) - Constructor for exception tech.spiro.addrparser.crawler.GetRegionException
 
GetRegionException(String, Throwable) - Constructor for exception tech.spiro.addrparser.crawler.GetRegionException
 
GetRegionException(Throwable) - Constructor for exception tech.spiro.addrparser.crawler.GetRegionException
 
GetRegionException(String, Throwable, boolean, boolean) - Constructor for exception tech.spiro.addrparser.crawler.GetRegionException
 
getRegionInfo(int) - Method in class tech.spiro.addrparser.parser.LocationParserEngine
Get region info by region.code
getRegionInfo(String) - Method in class tech.spiro.addrparser.parser.LocationParserEngine
Get region info by region.name
getStatus() - Method in class tech.spiro.addrparser.crawler.DataResp
 
getSubdistrict() - Method in class tech.spiro.addrparser.crawler.RestClient
 
getSubRegionInfoList(int) - Method in class tech.spiro.addrparser.parser.LocationParserEngine
Get sub region info list by region.code

I

inCircleArea(Point, Point, double) - Static method in class tech.spiro.addrparser.tool.MapTools
To determine whether a point in a circle
init() - Method in class tech.spiro.addrparser.io.file.BinaryFileRegionDataOutput
 
init() - Method in class tech.spiro.addrparser.io.file.JSONFileRegionDataInput
 
init() - Method in class tech.spiro.addrparser.io.file.JSONFileRegionDataOutput
 
init() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataInput
 
init() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataOutput
 
init() - Method in interface tech.spiro.addrparser.io.RegionDataInput
 
init() - Method in interface tech.spiro.addrparser.io.RegionDataOutput
 
init() - Method in class tech.spiro.addrparser.parser.LocationParserEngine
 
init(DataSource, String) - Static method in class tech.spiro.addrparser.tool.MySQLTableInit
 
initPolygons(List<List<Point>>) - Method in interface tech.spiro.addrparser.common.ContainPointJudge
Initialize polygons
initPolygons(List<List<Point>>) - Method in class tech.spiro.addrparser.parser.DefaultContainPointJudge
 
inPolygonArea(Point, Point[]) - Static method in class tech.spiro.addrparser.tool.MapTools
To determine whether a point in a polygon
inRectangleArea(Point, Point, Point) - Static method in class tech.spiro.addrparser.tool.MapTools
To determine whether a point in a rectangle
insertSQL(String) - Static method in class tech.spiro.addrparser.io.rdbms.RdbmsSQL
 
IOPipeline - Class in tech.spiro.addrparser.io
Connect input to output.
IOPipeline(RegionDataInput, RegionDataOutput) - Constructor for class tech.spiro.addrparser.io.IOPipeline
 
isSuccess() - Method in class tech.spiro.addrparser.crawler.DataResp
 

J

JSONFile2MySQL - Class in tech.spiro.addrparser.tool
A command-line tool to stream region data from json file to mysql.
JSONFile2MySQL() - Constructor for class tech.spiro.addrparser.tool.JSONFile2MySQL
 
JSONFileRegionDataInput - Class in tech.spiro.addrparser.io.file
Input region data from json file.
JSONFileRegionDataInput(String) - Constructor for class tech.spiro.addrparser.io.file.JSONFileRegionDataInput
 
JSONFileRegionDataInput(Reader) - Constructor for class tech.spiro.addrparser.io.file.JSONFileRegionDataInput
 
JSONFileRegionDataOutput - Class in tech.spiro.addrparser.io.file
Output region data to json file.
JSONFileRegionDataOutput(String) - Constructor for class tech.spiro.addrparser.io.file.JSONFileRegionDataOutput
 
JSONFileRegionDataOutput(Writer) - Constructor for class tech.spiro.addrparser.io.file.JSONFileRegionDataOutput
 

L

level(RegionLevel) - Method in class tech.spiro.addrparser.common.RegionInfo.Builder
 
loadCity(int) - Method in class tech.spiro.addrparser.crawler.RegionDataCrawler
 
loadCountry() - Method in class tech.spiro.addrparser.crawler.RegionDataCrawler
 
loadProv(int) - Method in class tech.spiro.addrparser.crawler.RegionDataCrawler
 
Location - Class in tech.spiro.addrparser.parser
Location information as result of parsing.
Location(RegionInfo, RegionInfo, RegionInfo) - Constructor for class tech.spiro.addrparser.parser.Location
 
LocationParserEngine - Class in tech.spiro.addrparser.parser
The engine to parse Point or longitude/latitude pair to Location.
LocationParserEngine(RegionDataInput) - Constructor for class tech.spiro.addrparser.parser.LocationParserEngine
 

M

main(String[]) - Static method in class tech.spiro.addrparser.tool.CrawlerServer
 
main(String[]) - Static method in class tech.spiro.addrparser.tool.JSONFile2MySQL
 
MapTools - Class in tech.spiro.addrparser.tool
Tools related with map calculating.
MapTools() - Constructor for class tech.spiro.addrparser.tool.MapTools
 
MySQLTableInit - Class in tech.spiro.addrparser.tool
 
MySQLTableInit() - Constructor for class tech.spiro.addrparser.tool.MySQLTableInit
 

N

name(String) - Method in class tech.spiro.addrparser.common.RegionInfo.Builder
 
NotImplementedException - Exception in tech.spiro.addrparser.common
Some code have not implemented already, throw this exception.
NotImplementedException() - Constructor for exception tech.spiro.addrparser.common.NotImplementedException
 

O

out - Variable in class tech.spiro.addrparser.io.file.BinaryFileRegionDataOutput
 

P

parentCode(int) - Method in class tech.spiro.addrparser.common.RegionInfo.Builder
 
parse(Point) - Method in class tech.spiro.addrparser.parser.LocationParserEngine
Get location info by Point
parse(double, double) - Method in class tech.spiro.addrparser.parser.LocationParserEngine
Get location info by longitude/latitude
ParserEngineException - Exception in tech.spiro.addrparser.parser
Exception when LocationParserEngine parsing.
ParserEngineException() - Constructor for exception tech.spiro.addrparser.parser.ParserEngineException
 
ParserEngineException(String, Throwable, boolean, boolean) - Constructor for exception tech.spiro.addrparser.parser.ParserEngineException
 
ParserEngineException(String, Throwable) - Constructor for exception tech.spiro.addrparser.parser.ParserEngineException
 
ParserEngineException(String) - Constructor for exception tech.spiro.addrparser.parser.ParserEngineException
 
ParserEngineException(Throwable) - Constructor for exception tech.spiro.addrparser.parser.ParserEngineException
 
Point - Class in tech.spiro.addrparser.common
Point with longitude/latitude pair.
Point(double, double) - Constructor for class tech.spiro.addrparser.common.Point
 

R

RdbmsRegionDataInput - Class in tech.spiro.addrparser.io.rdbms
Input region data from rdbms.
RdbmsRegionDataInput(DataSource, String) - Constructor for class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataInput
 
RdbmsRegionDataInput(DataSource) - Constructor for class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataInput
 
RdbmsRegionDataOutput - Class in tech.spiro.addrparser.io.rdbms
Region data output to rdbms, write method argument must be RdbmsRegionDTOWrapper.
RdbmsRegionDataOutput(DataSource, String) - Constructor for class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataOutput
 
RdbmsRegionDataOutput(DataSource) - Constructor for class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataOutput
 
RdbmsRegionDTOWrapper - Class in tech.spiro.addrparser.io.rdbms
Rdbms wrapper of RegionDTO, add support of read from and write to rdbms.
RdbmsRegionDTOWrapper(RegionDTO) - Constructor for class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
RdbmsSQL - Class in tech.spiro.addrparser.io.rdbms
 
RdbmsSQL() - Constructor for class tech.spiro.addrparser.io.rdbms.RdbmsSQL
 
read() - Method in class tech.spiro.addrparser.io.file.JSONFileRegionDataInput
 
read() - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataInput
 
read(ResultSet) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
read() - Method in interface tech.spiro.addrparser.io.RegionDataInput
Read region data
record(RegionDTO) - Method in class tech.spiro.addrparser.io.RegionDataReport
 
RegionConverter - Class in tech.spiro.addrparser.common
RegionConverter() - Constructor for class tech.spiro.addrparser.common.RegionConverter
 
RegionDataCrawler - Class in tech.spiro.addrparser.crawler
Region data crawler, use by invoke methods: loadCountry() loadProv(int provCode) loadCity(int cityCode)
RegionDataCrawler(RegionDataOutput, String) - Constructor for class tech.spiro.addrparser.crawler.RegionDataCrawler
 
RegionDataInput - Interface in tech.spiro.addrparser.io
Input region data from external storage, just like local file or rdbms.
RegionDataOutput - Interface in tech.spiro.addrparser.io
Output region data to external storage, just like local file or rdbms.
RegionDataReport - Class in tech.spiro.addrparser.io
Region Data Output Report
RegionDataReport() - Constructor for class tech.spiro.addrparser.io.RegionDataReport
 
RegionDTO - Class in tech.spiro.addrparser.common
Region data object for I/O.
RegionDTO() - Constructor for class tech.spiro.addrparser.common.RegionDTO
 
RegionInfo - Class in tech.spiro.addrparser.common
Region data object for calculating.
RegionInfo.Builder - Class in tech.spiro.addrparser.common
 
RegionLevel - Enum in tech.spiro.addrparser.common
 
RegionResp - Class in tech.spiro.addrparser.crawler
 
RegionResp() - Constructor for class tech.spiro.addrparser.crawler.RegionResp
 
report() - Method in class tech.spiro.addrparser.io.RegionDataReport
 
RestClient - Class in tech.spiro.addrparser.crawler
Send http restful request and get region data response.
RestClient() - Constructor for class tech.spiro.addrparser.crawler.RestClient
 

S

selectSQL(String) - Static method in class tech.spiro.addrparser.io.rdbms.RdbmsSQL
 
serialize(RegionDTO) - Method in class tech.spiro.addrparser.io.file.BinaryFileRegionDataOutput
 
setAdcode(String) - Method in class tech.spiro.addrparser.crawler.RegionResp
 
setCenter(String) - Method in class tech.spiro.addrparser.common.RegionDTO
 
setCenter(String) - Method in class tech.spiro.addrparser.crawler.RegionResp
 
setCenter(String) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
setCode(int) - Method in class tech.spiro.addrparser.common.RegionDTO
 
setCode(int) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
setCount(String) - Method in class tech.spiro.addrparser.crawler.DataResp
 
setDistricts(List<RegionResp>) - Method in class tech.spiro.addrparser.crawler.DataResp
 
setDistricts(List<RegionResp>) - Method in class tech.spiro.addrparser.crawler.RegionResp
 
setExtensions(String) - Method in class tech.spiro.addrparser.crawler.RestClient
 
setInfo(String) - Method in class tech.spiro.addrparser.crawler.DataResp
 
setInfocode(String) - Method in class tech.spiro.addrparser.crawler.DataResp
 
setKey(String) - Method in class tech.spiro.addrparser.crawler.RestClient
 
setKeywords(String) - Method in class tech.spiro.addrparser.crawler.RestClient
 
setLevel(RegionLevel) - Method in class tech.spiro.addrparser.common.RegionDTO
 
setLevel(String) - Method in class tech.spiro.addrparser.crawler.RegionResp
 
setLevel(RegionLevel) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
setName(String) - Method in class tech.spiro.addrparser.common.RegionDTO
 
setName(String) - Method in class tech.spiro.addrparser.crawler.RegionResp
 
setName(String) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
setParentCode(int) - Method in class tech.spiro.addrparser.common.RegionDTO
 
setParentCode(int) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
setPolyline(String) - Method in class tech.spiro.addrparser.common.RegionDTO
 
setPolyline(String) - Method in class tech.spiro.addrparser.crawler.RegionResp
 
setPolyline(String) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
setStatus(String) - Method in class tech.spiro.addrparser.crawler.DataResp
 
setSubdistrict(String) - Method in class tech.spiro.addrparser.crawler.RestClient
 
start() - Method in class tech.spiro.addrparser.io.IOPipeline
 

T

tech.spiro.addrparser.common - package tech.spiro.addrparser.common
 
tech.spiro.addrparser.crawler - package tech.spiro.addrparser.crawler
 
tech.spiro.addrparser.io - package tech.spiro.addrparser.io
 
tech.spiro.addrparser.io.file - package tech.spiro.addrparser.io.file
 
tech.spiro.addrparser.io.rdbms - package tech.spiro.addrparser.io.rdbms
 
tech.spiro.addrparser.parser - package tech.spiro.addrparser.parser
 
tech.spiro.addrparser.tool - package tech.spiro.addrparser.tool
 
toString() - Method in class tech.spiro.addrparser.common.Point
 
toString() - Method in class tech.spiro.addrparser.common.RegionDTO
 
toString() - Method in class tech.spiro.addrparser.common.RegionInfo
 
toString() - Method in class tech.spiro.addrparser.crawler.DataResp
 
toString() - Method in class tech.spiro.addrparser.crawler.RegionResp
 
toString() - Method in class tech.spiro.addrparser.parser.Location
 

V

valueOf(String) - Static method in enum tech.spiro.addrparser.common.RegionLevel
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum tech.spiro.addrparser.common.RegionLevel
 
values() - Static method in enum tech.spiro.addrparser.common.RegionLevel
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(RegionDTO) - Method in class tech.spiro.addrparser.io.file.BinaryFileRegionDataOutput
 
write(RegionDTO) - Method in class tech.spiro.addrparser.io.file.JSONFileRegionDataOutput
 
write(RegionDTO) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDataOutput
 
write(PreparedStatement) - Method in class tech.spiro.addrparser.io.rdbms.RdbmsRegionDTOWrapper
 
write(RegionDTO) - Method in interface tech.spiro.addrparser.io.RegionDataOutput
Write region data
writeBytes - Variable in class tech.spiro.addrparser.io.file.BinaryFileRegionDataOutput
 

Y

yawing(Point, Point[], double) - Static method in class tech.spiro.addrparser.tool.MapTools
To determine whether a point is yawing
A B C D F G I J L M N O P R S T V W Y 
Skip navigation links

Copyright © 2019. All rights reserved.