directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r267355 - /directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapURL.java
Date Sat, 03 Sep 2005 00:51:48 GMT
Author: elecharny
Date: Fri Sep  2 17:51:45 2005
New Revision: 267355

URL: http://svn.apache.org/viewcvs?rev=267355&view=rev
Log:
Added a constructor that accepts a String

Modified:
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapURL.java

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapURL.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapURL.java?rev=267355&r1=267354&r2=267355&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapURL.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapURL.java
Fri Sep  2 17:51:45 2005
@@ -114,6 +114,19 @@
     }
 
     /**
+     * Create a new LdapURL from a String after having parsed it.
+     * 
+     * @param string TheString that contains the LDAPURL
+     * @return A MutableString containing the LDAPURL
+     * 
+     * @throws DecoderException If the String does not comply with RFC 2255
+     */
+    public LdapURL( String string ) throws DecoderException
+    {
+    	this( string.getBytes() );
+    }
+    
+    /**
      * Create a new LdapURL after having parsed it.
      * 
      * @param bytes The byte buffer that contains the LDAPURL



Mime
View raw message