Codota Logo
Rdn.readExternal
Code IndexAdd Codota to your IDE (free)

How to use
readExternal
method
in
org.apache.directory.api.ldap.model.name.Rdn

Best Java code snippets using org.apache.directory.api.ldap.model.name.Rdn.readExternal (Showing top 7 results out of 315)

  • Common ways to obtain Rdn
private void myMethod () {
Rdn r =
  • Codota IconDn dn;dn.getRdn()
  • Codota IconSchemaManager schemaManager;new Rdn(schemaManager)
  • Codota IconModifyDnRequest modifyDnRequest;modifyDnRequest.getNewRdn()
  • Smart code suggestions by Codota
}
origin: org.apache.directory.api/api-all

/**
 * {@inheritDoc}
 */
@Override
public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException
{
  // Read the UPName
  upName = in.readUTF();
  // Read the RDNs. Is it's null, the number will be -1.
  int nbRdns = in.readInt();
  rdns = new ArrayList<>( nbRdns );
  for ( int i = 0; i < nbRdns; i++ )
  {
    Rdn rdn = new Rdn( schemaManager );
    rdn.readExternal( in );
    rdns.add( rdn );
  }
  
  toUpName();
}
origin: org.apache.directory.api/api-ldap-model

/**
 * {@inheritDoc}
 */
@Override
public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException
{
  // Read the UPName
  upName = in.readUTF();
  // Read the RDNs. Is it's null, the number will be -1.
  int nbRdns = in.readInt();
  rdns = new ArrayList<>( nbRdns );
  for ( int i = 0; i < nbRdns; i++ )
  {
    Rdn rdn = new Rdn( schemaManager );
    rdn.readExternal( in );
    rdns.add( rdn );
  }
  
  toUpName();
}
origin: org.apache.directory.api/api-ldap-client-all

/**
 * {@inheritDoc}
 */
@Override
public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException
{
  // Read the UPName
  upName = in.readUTF();
  // Read the RDNs. Is it's null, the number will be -1.
  int nbRdns = in.readInt();
  rdns = new ArrayList<>( nbRdns );
  for ( int i = 0; i < nbRdns; i++ )
  {
    Rdn rdn = new Rdn( schemaManager );
    rdn.readExternal( in );
    rdns.add( rdn );
  }
  
  toUpName();
}
origin: org.apache.directory.server/apacheds-jdbm-partition

rdn.readExternal( in );
rdns[i] = rdn;
origin: org.apache.directory.server/apacheds-mavibot-partition

rdn.readExternal( in );
origin: org.apache.directory.server/apacheds-jdbm-partition

rdn.readExternal( in );
origin: org.apache.directory.server/apacheds-mavibot-partition

rdn.readExternal( in );
org.apache.directory.api.ldap.model.nameRdnreadExternal

Javadoc

We read back the data to create a new RDB. The structure read is exposed in the Rdn#writeExternal(ObjectOutput)method

Popular methods of Rdn

  • <init>
    Creates a new RDN from a list of AVA
  • getName
  • getValue
    Get the value of the Ava which type is given as an argument.
  • equals
    Compares the specified Object with this Rdn for equality. Returns true if the given object is also a
  • getNormType
    Return the normalized type, or the first one of we have more than one (the lowest)
  • size
    Get the number of Avas of this Rdn
  • getAva
    Get the Ava which type is given as an argument. If we have more than one value associated with the t
  • getNormName
  • escapeValue
    Transform a value in a String, accordingly to RFC 2253
  • writeExternal
    A Rdn is composed of on to many Avas (AttributeType And Value). We should write all those Avas seque
  • isSchemaAware
    Tells if the Rdn is schema aware.
  • toString
  • isSchemaAware,
  • toString,
  • addAVA,
  • addOrdered,
  • buildNormRdn,
  • clear,
  • compareTo,
  • getEscaped,
  • getType

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • JComboBox (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now