Class IpV6Validator

  • All Implemented Interfaces:
    com.beust.jcommander.IParameterValidator

    public class IpV6Validator
    extends IpValidator
    Command line flag validator for an IP v6 address.
    • Constructor Summary

      Constructors 
      Constructor Description
      IpV6Validator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int ipVersion()  
      protected boolean shouldAccept​(java.net.InetAddress inetAddress)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IpV6Validator

        public IpV6Validator()
    • Method Detail

      • shouldAccept

        protected boolean shouldAccept​(java.net.InetAddress inetAddress)
        Specified by:
        shouldAccept in class IpValidator