Attribute.getValueByteArrays
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using com.unboundid.ldap.sdk.Attribute.getValueByteArrays (Showing top 17 results out of 315)

origin: apiman/apiman

@Override
public byte[][] getValuesAsByteArrays() {
  return attribute.getValueByteArrays();
}
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

/**
 * Retrieves an array of the values for this attribute.
 *
 * @return  An array of the values for this attribute.
 */
public byte[][] getByteValueArray()
{
 return attribute.getValueByteArrays();
}
origin: io.apiman/apiman-gateway-engine-core

@Override
public byte[][] getValuesAsByteArrays() {
  return attribute.getValueByteArrays();
}
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

/**
 * Retrieves an enumeration over the binary values for this attribute.
 *
 * @return  An enumeration over the binary values for this attribute.
 */
public Enumeration<byte[]> getByteValues()
{
 return new IterableEnumeration<byte[]>(
    Arrays.asList(attribute.getValueByteArrays()));
}
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

/**
 * Creates a compact attribute from the provided attribute.
 *
 * @param  attribute  The attribute to use to create this compact attribute.
 */
CompactAttribute(final Attribute attribute)
{
 name = internName(attribute.getName());
 values = attribute.getValueByteArrays();
}
origin: com.unboundid/unboundid-ldapsdk-minimal-edition

/**
 * Creates a compact attribute from the provided attribute.
 *
 * @param  attribute  The attribute to use to create this compact attribute.
 */
CompactAttribute(final Attribute attribute)
{
 name = internName(attribute.getName());
 values = attribute.getValueByteArrays();
}
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

/**
 * Retrieves the set of values for the specified attribute as byte arrays, if
 * available.
 *
 * @param  attributeName  The name of the attribute for which to retrieve the
 *                        values.  It must not be {@code null}.
 *
 * @return  The set of values for the specified attribute as byte arrays, or
 *          {@code null} if that attribute is not available.
 */
public byte[][] getAttributeValueByteArrays(final String attributeName)
{
 ensureNotNull(attributeName);
 final Attribute a = attributes.get(toLowerCase(attributeName));
 if (a == null)
 {
  return null;
 }
 else
 {
  return a.getValueByteArrays();
 }
}
origin: com.unboundid/unboundid-ldapsdk-minimal-edition

/**
 * Retrieves the set of values for the specified attribute as byte arrays, if
 * available.
 *
 * @param  attributeName  The name of the attribute for which to retrieve the
 *                        values.  It must not be {@code null}.
 *
 * @return  The set of values for the specified attribute as byte arrays, or
 *          {@code null} if that attribute is not available.
 */
public byte[][] getAttributeValueByteArrays(final String attributeName)
{
 ensureNotNull(attributeName);
 final Attribute a = attributes.get(toLowerCase(attributeName));
 if (a == null)
 {
  return null;
 }
 else
 {
  return a.getValueByteArrays();
 }
}
origin: com.nimbusds/common

for (final byte[] binVal: a.getValueByteArrays())
  values.add(Base64.encode(binVal));    
origin: com.unboundid/unboundid-ldapsdk-minimal-edition

for (final byte[] v : a.getValueByteArrays())
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

for (final Attribute a : attrs)
 for (final byte[] value : a.getValueByteArrays())
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

for (final byte[] v : a.getValueByteArrays())
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

for (final byte[] value : a.getValueByteArrays())
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

for (final byte[] value : a.getValueByteArrays())
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

for (final byte[] value : a.getValueByteArrays())
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

final byte[][] originalValues = a.getValueByteArrays();
final byte[][] scrambledValues = new byte[originalValues.length][];
for (int i=0; i < originalValues.length; i++)
origin: com.unboundid/unboundid-ldapsdk-commercial-edition

attributeToAdd.getValueByteArrays());
com.unboundid.ldap.sdkAttributegetValueByteArrays

Javadoc

Retrieves the set of values for this attribute as byte arrays. The returned array must not be altered by the caller.

Popular methods of Attribute

  • <init>
    Creates a new LDAP attribute with the specified name and set of values.
  • getName
    Retrieves the name for this attribute (i.e., the attribute description), which may include zero or m
  • getValue
    Retrieves the value for this attribute as a string. If this attribute has multiple values, then the
  • getValues
    Retrieves the set of values for this attribute as strings. The returned array must not be altered by
  • getBaseName
    Retrieves the base name for an attribute with the given name, which will be the provided name withou
  • getOptions
    Retrieves the set of options for the provided attribute name.
  • getValueAsBoolean
    Retrieves the value for this attribute as a Boolean. If this attribute has multiple values, then the
  • getValueAsInteger
    Retrieves the value for this attribute as an Integer. If this attribute has multiple values, then th
  • getValueAsLong
    Retrieves the value for this attribute as a Long. If this attribute has multiple values, then the fi
  • getValueByteArray
    Retrieves the value for this attribute as a byte array. If this attribute has multiple values, then
  • getValueAsDN
    Retrieves the value for this attribute as a DN. If this attribute has multiple values, then the firs
  • getValueAsDate
    Retrieves the value for this attribute as a Date, formatted using the generalized time syntax. If th
  • getValueAsDN,
  • getValueAsDate,
  • hasOptions,
  • hasValue,
  • decode,
  • encode,
  • equals,
  • getMatchingRule,
  • getRawValues

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • startActivity (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • JLabel (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Runner (org.openjdk.jmh.runner)

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)