![JAR search and dependency download from the Maven repository](/logo.png)
tech.spiro.addrparser.io.RegionDataInput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addrparser Show documentation
Show all versions of addrparser Show documentation
Tool for parsing longitude/latitude to region info in china.
The newest version!
package tech.spiro.addrparser.io;
import tech.spiro.addrparser.common.RegionDTO;
import java.io.Closeable;
import java.io.IOException;
/**
* Input region data from external storage, just like local file or rdbms.
* @author Spiro Huang
* @since 1.0
*/
public interface RegionDataInput extends Closeable {
void init() throws IOException;
/**
* Read region data
* @return if null, implicit to the end.
* @throws IOException if an I/O error occurs.
*/
RegionDTO read() throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy