File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
There is any java API to to validate IP6 and IP4 Address?
Joined: Dec 22, 2002
Feb 25, 2011 20:04:48
I have 2 type (IP4 and IP6) Address data,which are
IP4 : "188.8.131.52" format
IP6: "1080:0:0:0:8:800:200C:417A" format.
I wonder if there is any
API to validate them? so I don't have to write a code to it using StringTokenize.
Stephan van Hulst
Joined: Sep 20, 2010
Feb 25, 2011 20:11:07
Take a look at the
class, in java.net.*.
I agree. Here's the link:
subject: There is any java API to to validate IP6 and IP4 Address?
Servlet returning remote address in IPv6 not IPv4
XML - XSD Validation
byte for IP address storage????
Validating IPv6 url using regex
HttpServletRequest getRemoteAddr() has strange results
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014