Network services database access for java
Java

README

jnr-netdb is a java interface to getservbyname(3), getservbyport(3).

It tries to use the native functions if possible, falling back to parsing
/etc/services directly, and finally to an inbuilt table for use in environments
where neither native code, nor filesystem access is possible.