About 4,660,000 results
Open links in new tab
  1. Validating input using java.util.Scanner - Stack Overflow

    java.util.Scanner has many hasNextXXX methods that can be used to validate input. Here's a brief overview of all of them: hasNext() - does it have any token at all? hasNextLine() - does it …

  2. java - Difference between validate(), revalidate() and invalidate() in ...

    Mar 1, 2012 · A component is said to be valid, when its width, height, location and stuff has been determined. This is usually done by calling their validate() method, directly or indirectly. When …

  3. Java String validation using enum values and annotation

    Jun 9, 2011 · I want to validate a string against a set of values using annotations. What I want is basically this: @ValidateString(enumClass=com.co.enum) String dataType; int maxValue; int …

  4. java - How can I validate two or more fields in combination?

    Note : As I am working on Custom Framework on Java there is no option to use HashCode or equals. If I will use array index iteration that will increase the time complexity which I don't …

  5. java - How can I place validating constraints on my method input ...

    There is a small Java Argument Validation package, implemented as Plain Java. It comes with several standard checks / validations. It comes with several standard checks / validations. And …

  6. Java: Check the date format of current string is according to …

    Nov 27, 2013 · FYI, the terribly troublesome old date-time classes such as java.util.Date, java.util.Calendar, and java.text.SimpleDateFormat are now legacy, supplanted by the …

  7. Is there a java setting for disabling certificate validation?

    Sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: …

  8. How to check if a String is numeric in Java - Stack Overflow

    Jul 9, 2009 · UPDATE: As pointed by Jean-François Corbett in the comment, the above code would only validate positive integers, which covers the majority of my use case. Below is the …

  9. Java regex email - Stack Overflow

    Java 8/11+ validate email address syntax w/o Pattern? 25. Regex validation of email addresses according to ...

  10. validation - Validating a date in Java - Stack Overflow

    I am using NetBeans IDE 7.2. I have two separate classes newDateTest.java and newDateMethod.java, I am currently using my method class to validate a date from a user …

Refresh