Package com.baremaps.iploc.database
Interface InetnumLocationDao
- All Superinterfaces:
Dao<InetnumLocation>
- All Known Implementing Classes:
InetnumLocationDaoSqliteImpl
A DAO interface to interact with the Inetnum location database
-
Method Summary
Modifier and TypeMethodDescriptionfindByIp(byte[] ip) Find the inetnum location by ipvoidsave(List<InetnumLocation> inetnumLocations) Save the given list of inetnum locations
-
Method Details
-
findByIp
Find the inetnum location by ip- Parameters:
ip- the ip to search on 4 bytes- Returns:
- the list of locations that matched
-
save
Save the given list of inetnum locations- Parameters:
inetnumLocations- the list of inetnum locations to save
-