I am trying to parse whois lookups in a java based whois server and looking to use a preexisting solution.

Please note: I am not looking to parse whois data or query any server.

I have looked into commons-cli and JavaCC the later is promising but the idea of generated code is not attractive. My ideal solution would be a parser able to load the grammar at runtime through a file.

Example inputs I would like to parse:

domain example.com
host id 3223
summary registrar id 2332

Thanks!

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top