- AbstractSimpleComponentsMonitor - Class in org.apache.directory.api.util
-
Abstract implementation of a components monitor.
- AbstractSimpleComponentsMonitor(String[]) - Constructor for class org.apache.directory.api.util.AbstractSimpleComponentsMonitor
-
Instantiates a new abstract simple components monitor.
- addThrowable(Throwable) - Method in exception org.apache.directory.api.util.exception.MultiException
-
Add an exeception to this multiexception.
- addThrowable(Throwable) - Method in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Add an exeception to this multiexception.
- allComponentsUsed() - Method in class org.apache.directory.api.util.AbstractSimpleComponentsMonitor
-
Check if all components are used.
- allComponentsUsed() - Method in interface org.apache.directory.api.util.ComponentsMonitor
-
Check if all components are used.
- allComponentsUsed() - Method in class org.apache.directory.api.util.MandatoryAndOptionalComponentsMonitor
-
Check if all components are used.
- ALPHA - Static variable in class org.apache.directory.api.util.Chars
-
<alpha> ::= [0x41-0x5A] | [0x61-0x7A]
- ALPHA_DIGIT - Static variable in class org.apache.directory.api.util.Chars
-
<alpha-digit> | <digit>
- ALPHA_LOWER_CASE - Static variable in class org.apache.directory.api.util.Chars
-
<alpha-lower-case> ::= [0x61-0x7A]
- ALPHA_UPPER_CASE - Static variable in class org.apache.directory.api.util.Chars
-
<alpha-upper-case> ::= [0x41-0x5A]
- append(byte[]) - Method in class org.apache.directory.api.util.ByteBuffer
-
Appends the bytes to this buffer.
- append(byte) - Method in class org.apache.directory.api.util.ByteBuffer
-
Appends a byte to this buffer.
- append(int) - Method in class org.apache.directory.api.util.ByteBuffer
-
Appends an int to this buffer.
- areEquals(String, int, String) - Static method in class org.apache.directory.api.util.Strings
-
Check if a text is present at the current position in another string.
- areEquals(byte[], int, String) - Static method in class org.apache.directory.api.util.Strings
-
Check if a text is present at the current position in a buffer.
- areEquals(char[], int, String) - Static method in class org.apache.directory.api.util.Strings
-
Check if a text is present at the current position in a buffer.
- areEquals(char[], int, String, boolean) - Static method in class org.apache.directory.api.util.Strings
-
Check if a text is present at the current position in a buffer.
- areEquals(char[], int, char[]) - Static method in class org.apache.directory.api.util.Strings
-
Check if a text is present at the current position in a buffer.
- areEquals(char[], int, char[], boolean) - Static method in class org.apache.directory.api.util.Strings
-
Check if a text is present at the current position in a buffer.
- areEquals(byte[], int, byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Check if a text is present at the current position in a buffer.
- asciiBytesToString(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Thansform an array of ASCII bytes to a string.
- capacity() - Method in class org.apache.directory.api.util.ByteBuffer
-
- centerTrunc(String, int, int) - Static method in class org.apache.directory.api.util.Strings
-
Truncates large Strings showing a portion of the String's head and tail
with the center cut out and replaced with '...'.
- CHAR - Static variable in class org.apache.directory.api.util.Chars
-
<alpha> | <digit> | '-'
- CHAR_FIVE_BYTES_MASK - Static variable in interface org.apache.directory.api.util.UnicodeConstants
-
- CHAR_FOUR_BYTES_MASK - Static variable in interface org.apache.directory.api.util.UnicodeConstants
-
- CHAR_ONE_BYTE_MASK - Static variable in interface org.apache.directory.api.util.UnicodeConstants
-
- CHAR_SIX_BYTES_MASK - Static variable in interface org.apache.directory.api.util.UnicodeConstants
-
- CHAR_THREE_BYTES_MASK - Static variable in interface org.apache.directory.api.util.UnicodeConstants
-
- CHAR_TWO_BYTES_MASK - Static variable in interface org.apache.directory.api.util.UnicodeConstants
-
- charAt(String, int) - Static method in class org.apache.directory.api.util.Strings
-
Get the character at a given position in a string, checking for limits
- charAt(char[], int) - Static method in class org.apache.directory.api.util.Strings
-
Get the char at a given position in a byte array, checking for limits
- CharConstants - Interface in org.apache.directory.api.util
-
Various Character constants are kept here.
- Chars - Class in org.apache.directory.api.util
-
Various Character methods are kept here.
- Chars() - Constructor for class org.apache.directory.api.util.Chars
-
- charToBytes(char) - Static method in class org.apache.directory.api.util.Unicode
-
Return the Unicode char which is coded in the bytes at the given
position.
- clear() - Method in class org.apache.directory.api.util.ByteBuffer
-
- clear() - Method in class org.apache.directory.api.util.SequencedHashMap
-
- clone() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Creates a shallow copy of this object, preserving the internal structure
by copying only references.
- close() - Method in class org.apache.directory.api.util.EmptyEnumeration
-
- close() - Method in class org.apache.directory.api.util.SingletonEnumeration
-
Makes calls to hasMore to false even if we had more.
- compareTo(GeneralizedTime) - Method in class org.apache.directory.api.util.GeneralizedTime
-
Compares this GeneralizedTime object with the specified GeneralizedTime object.
- ComponentsMonitor - Interface in org.apache.directory.api.util
-
Monitor used to track existence or duplication of components.
- containsKey(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
- containsValue(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
- convertEscapedHex(String) - Static method in class org.apache.directory.api.util.Hex
-
Convert an escaoed list of bytes to a byte[]
- copy(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Copy a byte array into a new byte array
- copyOfUsedBytes() - Method in class org.apache.directory.api.util.ByteBuffer
-
Get's a copy of the bytes used.
- countBytes(char[]) - Static method in class org.apache.directory.api.util.Unicode
-
Count the number of bytes included in the given char[].
- countBytesPerChar(byte[], int) - Static method in class org.apache.directory.api.util.Unicode
-
Count the number of bytes needed to return an Unicode char.
- countChars(byte[]) - Static method in class org.apache.directory.api.util.Unicode
-
Count the number of chars included in the given byte[].
- countNbBytesPerChar(char) - Static method in class org.apache.directory.api.util.Unicode
-
Return the number of bytes that hold an Unicode char.
- createSocket(Socket, String, int, boolean) - Method in class org.apache.directory.api.util.DummySSLSocketFactory
-
- createSocket(String, int) - Method in class org.apache.directory.api.util.DummySSLSocketFactory
-
- createSocket(InetAddress, int) - Method in class org.apache.directory.api.util.DummySSLSocketFactory
-
- createSocket(String, int, InetAddress, int) - Method in class org.apache.directory.api.util.DummySSLSocketFactory
-
- createSocket(InetAddress, int, InetAddress, int) - Method in class org.apache.directory.api.util.DummySSLSocketFactory
-
- crypt(String, String) - Static method in class org.apache.directory.api.util.UnixCrypt
-
Encrypts String into crypt (Unix) code.
- DateUtils - Class in org.apache.directory.api.util
-
Gets the generalized time using the "Z" form of the g-time-zone.
- decode(char[]) - Static method in class org.apache.directory.api.util.Base64
-
Decodes a BASE-64 encoded stream to recover the original data.
- decodeHexString(String) - Static method in class org.apache.directory.api.util.Hex
-
Decodes values of attributes in the DN encoded in hex into a UTF-8
String.
- deepTrim(String, boolean) - Static method in class org.apache.directory.api.util.Strings
-
Put common code to deepTrim(String) and deepTrimToLower here.
- deepTrim(String) - Static method in class org.apache.directory.api.util.Strings
-
A deep trim of a string remove whitespace from the ends as well as
excessive whitespace within the inside of the string between
non-whitespace characters.
- deepTrimToLower(String) - Static method in class org.apache.directory.api.util.Strings
-
This does the same thing as a trim but we also lowercase the string while
performing the deep trim within the same buffer.
- DIGIT - Static variable in class org.apache.directory.api.util.Chars
-
'0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
- DummySSLSocketFactory - Class in org.apache.directory.api.util
-
A SSLSocketFactory that accepts every certificat without validation.
- DummySSLSocketFactory() - Constructor for class org.apache.directory.api.util.DummySSLSocketFactory
-
Creates a new instance of DummySSLSocketFactory.
- dumpByte(byte) - Static method in class org.apache.directory.api.util.Strings
-
Helper function that dump a byte in hex form
- dumpBytes(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Helper function that dump an array of bytes in hex form
- dumpHex(byte) - Static method in class org.apache.directory.api.util.Strings
-
Helper function that returns a char from an hex
- dumpHexPairs(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Helper function that dump an array of bytes in hex pair form,
without '0x' and space chars
- GeneralizedTime - Class in org.apache.directory.api.util
-
This class represents the generalized time syntax as defined in
RFC 4517 section 3.3.13.
- GeneralizedTime(Date) - Constructor for class org.apache.directory.api.util.GeneralizedTime
-
Creates a new instance of GeneralizedTime by setting the date to an instance of Calendar.
- GeneralizedTime(Calendar) - Constructor for class org.apache.directory.api.util.GeneralizedTime
-
Creates a new instance of GeneralizedTime, based on the given Calendar object.
- GeneralizedTime(String) - Constructor for class org.apache.directory.api.util.GeneralizedTime
-
Creates a new instance of GeneralizedTime, based on the
given generalized time string.
- GeneralizedTime.Format - Enum in org.apache.directory.api.util
-
The format of the generalized time.
- GeneralizedTime.FractionDelimiter - Enum in org.apache.directory.api.util
-
The fraction delimiter of the generalized time.
- GeneralizedTime.TimeZoneFormat - Enum in org.apache.directory.api.util
-
The time zone format of the generalized time.
- get(int) - Method in class org.apache.directory.api.util.ByteBuffer
-
- get(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
- get(int) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets the key at the specified index.
- get(Object) - Method in class org.apache.directory.api.util.SynchronizedLRUMap
-
Get the value for a key from the Map.
- getAllBundleExports(FileFilter, Set<String>) - Static method in class org.apache.directory.api.util.OsgiUtils
-
All the packages that are exported from all bundles found on the system
classpath.
- getAssignmentCompatibleMethod(Class<?>, String, Class<?>[]) - Static method in class org.apache.directory.api.util.MethodUtils
-
- getBundleExports(File) - Static method in class org.apache.directory.api.util.OsgiUtils
-
Gets the attribute value for the Export-Bundle OSGi Manifest Attribute.
- getBytesUtf8(String) - Static method in class org.apache.directory.api.util.Strings
-
Return UTF-8 encoded byte[] representation of a String
- getBytesUtf8Ascii(String) - Static method in class org.apache.directory.api.util.Strings
-
When the string to convert to bytes is pure ascii, ths is a faster
method than the getBytesUtf8.
- getCalendar() - Method in class org.apache.directory.api.util.GeneralizedTime
-
Gets the calendar.
- getClasspathCandidates(FileFilter) - Static method in class org.apache.directory.api.util.OsgiUtils
-
- getDate(String) - Static method in class org.apache.directory.api.util.DateUtils
-
- getDate() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getDate(String) - Static method in class org.apache.directory.api.util.GeneralizedTime
-
- getDay() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getDefault() - Static method in class org.apache.directory.api.util.DummySSLSocketFactory
-
Gets the default instance.
- getDefaultCharsetName() - Static method in class org.apache.directory.api.util.Strings
-
Get the default charset
- getDefaultCipherSuites() - Method in class org.apache.directory.api.util.DummySSLSocketFactory
-
- getFirst() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the entry for the "oldest" mapping.
- getFirstKey() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the key for the "oldest" mapping.
- getFirstValue() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the value for the "oldest" mapping.
- getFraction() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getGeneralizedTime() - Static method in class org.apache.directory.api.util.DateUtils
-
Gets the generalized time right now.
- getGeneralizedTime(Date) - Static method in class org.apache.directory.api.util.DateUtils
-
- getGeneralizedTime(long) - Static method in class org.apache.directory.api.util.DateUtils
-
- getHexValue(char, char) - Static method in class org.apache.directory.api.util.Hex
-
Translate two chars to an hex value.
- getHexValue(byte, byte) - Static method in class org.apache.directory.api.util.Hex
-
Translate two bytes to an hex value.
- getHexValue(char) - Static method in class org.apache.directory.api.util.Hex
-
Return an hex value from a sinle char
The char must be in [0-9a-fA-F]
- getHour() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getKey() - Method in interface org.apache.directory.api.util.KeyValue
-
Gets the key from the pair.
- getLast() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the entry for the "newest" mapping.
- getLastKey() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the key for the "newest" mapping.
- getLastValue() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the value for the "newest" mapping.
- getMaximumSize() - Method in class org.apache.directory.api.util.SynchronizedLRUMap
-
Getter for property maximumSize.
- getMessage() - Method in exception org.apache.directory.api.util.exception.InvalidCharacterException
-
- getMinutes() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getMonth() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getRemainingComponents() - Method in class org.apache.directory.api.util.AbstractSimpleComponentsMonitor
-
Gets the remaining components.
- getRemainingComponents() - Method in interface org.apache.directory.api.util.ComponentsMonitor
-
Gets the remaining components.
- getRemainingComponents() - Method in class org.apache.directory.api.util.MandatoryAndOptionalComponentsMonitor
-
Gets the remaining components.
- getSeconds() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getString(byte[], int, int, String) - Static method in class org.apache.directory.api.util.Strings
-
From commons-httpclients.
- getString(byte[], String) - Static method in class org.apache.directory.api.util.Strings
-
From commons-httpclients.
- getSupportedCipherSuites() - Method in class org.apache.directory.api.util.DummySSLSocketFactory
-
- getTime() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getUUID(long) - Static method in class org.apache.directory.api.util.Strings
-
Create a new UUID using a long as the least significant bits
- getValue() - Method in interface org.apache.directory.api.util.KeyValue
-
Gets the value from the pair.
- getValue(int) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets the value at the specified index.
- getYear() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- indexOf(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets the index of the specified key.
- InvalidCharacterException - Exception in org.apache.directory.api.util.exception
-
Exception thrown when a Character is invalid
- InvalidCharacterException(int) - Constructor for exception org.apache.directory.api.util.exception.InvalidCharacterException
-
- IS_PRINTABLE_CHAR - Static variable in class org.apache.directory.api.util.Strings
-
A table containing booleans when the corresponding char is printable
- isAlpha(byte) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current byte is an Alpha character :
<alpha> ::= [0x41-0x5A] | [0x61-0x7A]
- isAlpha(char) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is an Alpha character :
<alpha> ::= [0x41-0x5A] | [0x61-0x7A]
- isAlphaASCII(byte[], int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is an Alpha character : <alpha> ::=
[0x41-0x5A] | [0x61-0x7A]
- isAlphaASCII(char[], int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is an Alpha character : <alpha> ::=
[0x41-0x5A] | [0x61-0x7A]
- isAlphaASCII(String, int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is an Alpha character : <alpha> ::=
[0x41-0x5A] | [0x61-0x7A]
- isAlphaDigit(String, int) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current character is an 7 bits ASCII CHAR (between 0 and
127).
- isAlphaDigitMinus(byte[], int) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current character is an 7 bits ASCII CHAR (between 0 and
127).
- isAlphaDigitMinus(char[], int) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current character is an 7 bits ASCII CHAR (between 0 and
127).
- isAlphaDigitMinus(String, int) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current character is an 7 bits ASCII CHAR (between 0 and
127).
- isAlphaLowercaseASCII(String, int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a lowercased Alpha character :
<alpha> ::= [0x61-0x7A]
- isAlphaUppercaseASCII(String, int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a uppercased Alpha character :
<alpha> ::= [0x61-0x7A]
- isBit(String, int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a bit, ie 0 or 1.
- isCharASCII(char[], int, char) - Static method in class org.apache.directory.api.util.Chars
-
- isCharASCII(String, int, char) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is equal to a specific character.
- isCharASCII(byte[], int, char) - Static method in class org.apache.directory.api.util.Strings
-
Test if the current character is equal to a specific character.
- isCharASCII(String, int, char) - Static method in class org.apache.directory.api.util.Strings
-
Test if the current character is equal to a specific character.
- isDigit(byte[]) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a digit <digit> ::= '0' | '1' | '2' |
'3' | '4' | '5' | '6' | '7' | '8' | '9'
- isDigit(char) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a digit <digit> ::= '0' | '1' | '2' |
'3' | '4' | '5' | '6' | '7' | '8' | '9'
- isDigit(byte) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current byte is a digit <digit> ::= '0' | '1' | '2' |
'3' | '4' | '5' | '6' | '7' | '8' | '9'
- isDigit(byte[], int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a digit <digit> ::= '0' | '1' | '2' |
'3' | '4' | '5' | '6' | '7' | '8' | '9'
- isDigit(char[], int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a digit <digit> ::= '0' | '1' | '2' |
'3' | '4' | '5' | '6' | '7' | '8' | '9'
- isDigit(String, int) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a digit <digit> ::= '0' | '1' | '2' |
'3' | '4' | '5' | '6' | '7' | '8' | '9'
- isDigit(char[]) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is a digit <digit> ::= '0' | '1' | '2' |
'3' | '4' | '5' | '6' | '7' | '8' | '9'
- isEmpty() - Method in exception org.apache.directory.api.util.exception.MultiException
-
Tests to see if there are any nested exceptions within this
MultiException.
- isEmpty() - Method in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Tests to see if exceptions are nested within this exception.
- isEmpty() - Method in class org.apache.directory.api.util.SequencedHashMap
-
- isEmpty(String) - Static method in class org.apache.directory.api.util.Strings
-
Checks if a String is empty ("") or null.
- isEmpty(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Checks if a bytes array is empty or null.
- isHex(byte) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current byte is an Hex Char
<hex> ::= [0x30-0x39] | [0x41-0x46] | [0x61-0x66]
- isHex(byte[], int) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current character is an Hex Char <hex> ::= [0x30-0x39] |
[0x41-0x46] | [0x61-0x66]
- isHex(char[], int) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current character is an Hex Char <hex> ::= [0x30-0x39] |
[0x41-0x46] | [0x61-0x66]
- isHex(String, int) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current character is an Hex Char <hex> ::= [0x30-0x39] |
[0x41-0x46] | [0x61-0x66]
- isIA5String(String) - Static method in class org.apache.directory.api.util.Strings
-
Check that a String is a valid IA5String.
- isICharASCII(String, int, char) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is equal to a specific character.
- isICharASCII(byte[], int, char) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is equal to a specific character.
- isNotEmpty(String) - Static method in class org.apache.directory.api.util.Strings
-
Checks if a String is not empty ("") and not null.
- isPrintableString(String) - Static method in class org.apache.directory.api.util.Strings
-
Check that a String is a valid PrintableString.
- isUnicodeSubset(String, int) - Static method in class org.apache.directory.api.util.Unicode
-
Check if the current char is in the unicodeSubset : all chars but
'\0', '(', ')', '*' and '\'
- isUnicodeSubset(char) - Static method in class org.apache.directory.api.util.Unicode
-
Check if the current char is in the unicodeSubset : all chars but
'\0', '(', ')', '*' and '\'
- isUnicodeSubset(byte) - Static method in class org.apache.directory.api.util.Unicode
-
Check if the current byte is in the unicodeSubset : all chars but
'\0', '(', ')', '*' and '\'
- isValidUuid(String) - Static method in class org.apache.directory.api.util.Strings
-
Checks to see if a String is a valid UUID.
- iterator() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets an iterator over the keys.
- position() - Method in class org.apache.directory.api.util.ByteBuffer
-
- Position - Class in org.apache.directory.api.util
-
This class is used to store the position of a token in a string.
- Position() - Constructor for class org.apache.directory.api.util.Position
-
- printErrors(List<Throwable>) - Static method in class org.apache.directory.api.util.exception.Exceptions
-
Appends the messages of each Throwable to a string, separated by a new line.
- printStackTrace(PrintWriter) - Method in exception org.apache.directory.api.util.exception.MultiException
-
Beside printing out the standard stack trace this method prints out the
stack traces of all the nested exceptions.
- printStackTrace(PrintStream) - Method in exception org.apache.directory.api.util.exception.MultiException
-
Beside printing out the standard stack trace this method prints out the
stack traces of all the nested exceptions.
- printStackTrace() - Method in exception org.apache.directory.api.util.exception.MultiException
-
Beside printing out the standard stack trace this method prints out the
stack traces of all the nested exceptions using standard error.
- printStackTrace(PrintWriter) - Method in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Beside printing out the standard stack trace this method prints out the
stack traces of all the nested exceptions.
- printStackTrace(PrintStream) - Method in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Beside printing out the standard stack trace this method prints out the
stack traces of all the nested exceptions.
- printStackTrace() - Method in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Beside printing out the standard stack trace this method prints out the
stack traces of all the nested exceptions using standard error.
- put(Object, Object) - Method in class org.apache.directory.api.util.NoDuplicateKeysMap
-
Overrides java.util.Map.put(java.lang.Object, java.lang.Object) to
prevent duplicate keys.
- put(Object, Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
- put(Object, Object) - Method in class org.apache.directory.api.util.SynchronizedLRUMap
-
Removes the key and its Object from the Map.
- putAll(Map) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Adds all the mappings in the specified map to this map, replacing any
mappings that already exist (as per
Map.putAll(Map)).
- sequence() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Returns a List view of the keys rather than a set view.
- SequencedHashMap - Class in org.apache.directory.api.util
-
A map of objects whose mapping entries are sequenced based on the order in
which they were added.
- SequencedHashMap() - Constructor for class org.apache.directory.api.util.SequencedHashMap
-
Construct a new sequenced hash map with default initial size and load
factor.
- SequencedHashMap(int) - Constructor for class org.apache.directory.api.util.SequencedHashMap
-
Construct a new sequenced hash map with the specified initial size and
default load factor.
- SequencedHashMap(int, float) - Constructor for class org.apache.directory.api.util.SequencedHashMap
-
Construct a new sequenced hash map with the specified initial size and
load factor.
- SequencedHashMap(Map) - Constructor for class org.apache.directory.api.util.SequencedHashMap
-
Construct a new sequenced hash map and add all the elements in the
specified map.
- setMaximumSize(int) - Method in class org.apache.directory.api.util.SynchronizedLRUMap
-
Setter for property maximumSize.
- setToString(Set<?>) - Static method in class org.apache.directory.api.util.Strings
-
Utility method that return a String representation of a set
- SingletonEnumeration<T> - Class in org.apache.directory.api.util
-
A NamingEnumeration over a single element.
- SingletonEnumeration(T) - Constructor for class org.apache.directory.api.util.SingletonEnumeration
-
Creates a NamingEnumeration over a single element.
- size() - Method in exception org.apache.directory.api.util.exception.MultiException
-
Gets the size of this nested exception which equals the number of
exception nested within.
- size() - Method in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Gets the size (number of) exceptions nested within this exception.
- size() - Method in class org.apache.directory.api.util.SequencedHashMap
-
- splitIntoPackages(String, Set<String>) - Static method in class org.apache.directory.api.util.OsgiUtils
-
Splits an Package-Export OSGi Manifest Attribute value into packages
while stripping away the key/value properties.
- start - Variable in class org.apache.directory.api.util.Position
-
The starting position in the string
- StringConstants - Interface in org.apache.directory.api.util
-
Various String constants are kept here.
- Strings - Class in org.apache.directory.api.util
-
Various string manipulation methods that are more efficient then chaining
string operations: all is done in the same buffer without creating a bunch of
string objects.
- SynchronizedLRUMap - Class in org.apache.directory.api.util
-
An implementation of a Map which has a maximum size and uses a Least Recently
Used algorithm to remove items from the Map when the maximum size is reached
and new items are added.
- SynchronizedLRUMap() - Constructor for class org.apache.directory.api.util.SynchronizedLRUMap
-
Default constructor, primarily for the purpose of de-externalization.
- SynchronizedLRUMap(int) - Constructor for class org.apache.directory.api.util.SynchronizedLRUMap
-
Create a new LRUMap with a maximum capacity of i.
- TO_LOWER_CASE - Static variable in class org.apache.directory.api.util.Strings
-
- toByteArray(String) - Static method in class org.apache.directory.api.util.Strings
-
Get byte array from hex string
- toGeneralizedTime() - Method in class org.apache.directory.api.util.GeneralizedTime
-
Returns the string representation of this generalized time.
- toGeneralizedTime(GeneralizedTime.Format, GeneralizedTime.FractionDelimiter, int, GeneralizedTime.TimeZoneFormat) - Method in class org.apache.directory.api.util.GeneralizedTime
-
Returns the string representation of this generalized time.
- toGeneralizedTimeWithoutFraction() - Method in class org.apache.directory.api.util.GeneralizedTime
-
Returns the string representation of this generalized time.
- toHexString(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Gets a hex string from byte array.
- toLowerCase(String) - Static method in class org.apache.directory.api.util.Strings
-
Rewrote the toLowercase method to improve performances.
- toString() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- toString() - Method in class org.apache.directory.api.util.Position
-
- toString() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Provides a string representation of the entries within the map.
- toUpperCase(String) - Static method in class org.apache.directory.api.util.Strings
-
Rewrote the toLowercase method to improve performances.
- trim(String) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from both start and ends of this String,
handling null by returning null.
- trim(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from both start and ends of this bytes
array, handling null by returning null.
- trimConsecutiveToOne(String, char) - Static method in class org.apache.directory.api.util.Strings
-
Trims several consecutive characters into one.
- trimLeft(String) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from start of this String, handling
null by returning null.
- trimLeft(char[], int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from start of this array, handling
null by returning null.
- trimLeft(String, Position) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from a position in this array, handling
null by returning null.
- trimLeft(byte[], Position) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from a position in this array, handling
null by returning null.
- trimLeft(byte[], int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from start of this array, handling
null by returning null.
- trimRight(String) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this String, handling
null by returning null.
- trimRight(String, int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this String, handling
null by returning null.
- trimRight(char[], int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this array, handling
null by returning null.
- trimRight(String, Position) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this string, handling
null by returning null.
- trimRight(byte[], Position) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this string, handling
null by returning null.
- trimRight(byte[], int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this array, handling
null by returning null.