- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {DateTime d =
new DateTime()
DateTimeFormatter formatter;String text;formatter.parseDateTime(text)
Object instant;new DateTime(instant)
- Smart code suggestions by Codota
}
/** * Returns true if the string conforms to distinguished name syntax. * * @see <a href="../../../../api/com/novell/ldap/LDAPDN.html#isValid(java.lang.String)"> com.novell.ldap.LDAPDN.isValid(String)</a> */ public static boolean isValid(String dn){ return com.novell.ldap.LDAPDN.isValid(dn); }
if (LDAPDN.isValid(userOrGroup)) { LOGGER.debug("[{}] is a valid DN, lets try to get corresponding entry.", userOrGroup);