protected final void parse ( String path ) { DnParser parser = DefaultDnParserFactory . createDnParser ( unmangleCompositeName ( path ) ) ; DistinguishedName dn ; try { dn = parser . dn ( ) ; } catch ( ParseException e ) { throw new BadLdapGrammarException ( "Failed to parse DN" , e ) ; } catch ( TokenMgrError e ) { throw new BadLdapGrammarException ( "Failed to parse DN" , e ) ; } this . names = dn . names ; }
Parse the supplied String and make this instance represent the corresponding distinguished name .