- 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 exception 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]
- ALPHABET - Static variable in class org.apache.directory.api.util.Base64
-
code characters for values 0..63
- 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.
- append(char) - Method in class org.apache.directory.api.util.StringBuilderWriter
-
Append a single character to this Writer.
- append(CharSequence) - Method in class org.apache.directory.api.util.StringBuilderWriter
-
Append a character sequence to this Writer.
- append(CharSequence, int, int) - Method in class org.apache.directory.api.util.StringBuilderWriter
-
- 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
-
Transform an array of ASCII bytes to a string.
- calendar - Variable in class org.apache.directory.api.util.GeneralizedTime
-
The calendar
- 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 class org.apache.directory.api.util.Unicode
-
- CHAR_FOUR_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
-
- CHAR_ONE_BYTE_MASK - Static variable in class org.apache.directory.api.util.Unicode
-
- CHAR_SIX_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
-
- CHAR_THREE_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
-
- CHAR_TWO_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
-
- 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.
- cleanDirectory(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Deletes a directory recursively.
- clear() - Method in class org.apache.directory.api.util.ByteBuffer
-
Reset the Buffer position to 0.
- 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.
- close() - Method in class org.apache.directory.api.util.StringBuilderWriter
-
Closing this writer has no effect.
- closeQuietly(InputStream) - Static method in class org.apache.directory.api.util.IOUtils
-
Closes an InputStream unconditionally.
- closeQuietly(Closeable...) - Static method in class org.apache.directory.api.util.IOUtils
-
Closes a Closeable unconditionally.
- closeQuietly(Closeable) - Static method in class org.apache.directory.api.util.IOUtils
-
Closes a Closeable unconditionally.
- CODES - Static variable in class org.apache.directory.api.util.Base64
-
lookup table for converting base64 characters to value in range 0..63
- compareTo(GeneralizedTime) - Method in class org.apache.directory.api.util.GeneralizedTime
-
Compares this GeneralizedTime object with the specified GeneralizedTime object.
- components - Variable in class org.apache.directory.api.util.AbstractSimpleComponentsMonitor
-
The components.
- 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[]
- convertIntervalDate(String) - Static method in class org.apache.directory.api.util.DateUtils
-
Converts the 18-digit Active Directory timestamps, also named 'Windows NT time format' or 'Win32 FILETIME or SYSTEMTIME'.
- copy(InputStream, Writer, Charset) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from an InputStream to chars on a
Writer using the specified character encoding.
- copy(Reader, Writer) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a Reader to a Writer.
- copy(InputStream, OutputStream) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from an InputStream to an
OutputStream.
- copy(InputStream, OutputStream, int) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from an InputStream to an OutputStream using an internal buffer of the
given size.
- copy(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Copy a byte array into a new byte array
- copyFile(File, File) - Static method in class org.apache.directory.api.util.FileUtils
-
Copies a file to a new location preserving the file date.
- copyFile(File, File, boolean) - Static method in class org.apache.directory.api.util.FileUtils
-
Copies a file to a new location.
- copyLarge(Reader, Writer) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a large (over 2GB) Reader to a Writer.
- copyLarge(InputStream, OutputStream) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from a large (over 2GB) InputStream to an
OutputStream.
- copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from a large (over 2GB) InputStream to an
OutputStream.
- copyLarge(Reader, Writer, char[]) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a large (over 2GB) Reader to a Writer.
- 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.
- createSentinel() - Static method in class org.apache.directory.api.util.SequencedHashMap
-
Construct an empty sentinel used to hold the head (sentinel.next) and the
tail (sentinel.prev) of the list.
- 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
-
- DateUtils - Class in org.apache.directory.api.util
-
Gets the generalized time using the "Z" form of the g-time-zone.
- DateUtils() - Constructor for class org.apache.directory.api.util.DateUtils
-
Private constructor.
- 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.
- DEFAULT_BUFFER_SIZE - Static variable in class org.apache.directory.api.util.IOUtils
-
- DEFAULT_INITIAL_SIZE - Static variable in class org.apache.directory.api.util.ByteBuffer
-
the default initial buffer size
- delegate - Variable in class org.apache.directory.api.util.DummySSLSocketFactory
-
The delegate.
- deleteDirectory(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Deletes a directory recursively.
- deleteQuietly(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Deletes a file, never throwing an exception.
- deserializeBoolean(byte[], int) - Static method in class org.apache.directory.api.util.Serialize
-
Read a boolean from a buffer at a given position
- deserializeBytes(byte[], int) - Static method in class org.apache.directory.api.util.Serialize
-
Read a byte[] from a buffer at a given position
- deserializeInt(byte[], int) - Static method in class org.apache.directory.api.util.Serialize
-
Read an integer from a buffer at a given position
- DIGIT - Static variable in class org.apache.directory.api.util.Chars
-
'0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
- doCopyFile(File, File, boolean) - Static method in class org.apache.directory.api.util.FileUtils
-
Internal copy file method.
- 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
-
Returns the byte at a given position.
- 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.
- getAllDigits(int) - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getAssignmentCompatibleMethod(Class<?>, String, Class<?>[]) - Static method in class org.apache.directory.api.util.MethodUtils
-
- getBuilder() - Method in class org.apache.directory.api.util.StringBuilderWriter
-
Return the underlying builder.
- 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, this 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
-
Get the files that fits a given filter
- getDate(String) - Static method in class org.apache.directory.api.util.DateUtils
-
Return a Date instance from a String
- getDate() - Method in class org.apache.directory.api.util.GeneralizedTime
-
- getDate(String) - Static method in class org.apache.directory.api.util.GeneralizedTime
-
Get a Date instance from a given String
- 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
-
- getEntry(int) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Returns the Map.Entry at the specified index
- 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.
- getFormatWithoutFraction(GeneralizedTime.Format) - Method in class org.apache.directory.api.util.GeneralizedTime
-
Gets the corresponding format with fraction.
- getFraction(int) - Method in class org.apache.directory.api.util.GeneralizedTime
-
- 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 single 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.
- getKey() - Method in class org.apache.directory.api.util.SequencedHashMap.Entry
-
- 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.
- getLoopbackAddress() - Static method in class org.apache.directory.api.util.Network
-
- getLoopbackHostName() - Static method in class org.apache.directory.api.util.Network
-
- 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
-
- getTempDirectory() - Static method in class org.apache.directory.api.util.FileUtils
-
Returns a
File representing the system temporary directory.
- getTempDirectoryPath() - Static method in class org.apache.directory.api.util.FileUtils
-
Returns the path to the system temporary directory.
- 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() - Method in class org.apache.directory.api.util.SequencedHashMap.Entry
-
- 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
-
- GMT - Static variable in class org.apache.directory.api.util.TimeZones
-
The GMT TimeZone
- growBuffer(int) - Method in class org.apache.directory.api.util.ByteBuffer
-
- growBuffer() - Method in class org.apache.directory.api.util.ByteBuffer
-
- indexOf(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets the index of the specified key.
- INFINITE - Static variable in class org.apache.directory.api.util.GeneralizedTime
-
A Date far in the future, when Micro$oft would have vanished for a long time...
- initialSize - Variable in class org.apache.directory.api.util.ByteBuffer
-
the initial size of the buffer in number of bytes: also increment for allocations
- input - Variable in exception org.apache.directory.api.util.exception.InvalidCharacterException
-
- insertEntry(SequencedHashMap.Entry) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Inserts a new internal entry to the tail of the linked list.
- instance - Static variable in class org.apache.directory.api.util.DummySSLSocketFactory
-
The default instance.
- 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
-
Creates a new instance of an InvalidCharacterException
- IOUtils - Class in org.apache.directory.api.util
-
This code comes from Apache commons.io library.
- IOUtils() - Constructor for class org.apache.directory.api.util.IOUtils
-
Creates a new instance of FileUtils.
- 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).
- isAlphaDigitMinus(char) - 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
-
Test if the current character is equal to a specific character.
- 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(char) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current char is an Hex Char
<hex> ::= [0x30-0x39] | [0x41-0x46] | [0x61-0x66]
- 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.
- isSymlink(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Determines whether the specified file is a Symbolic Link rather than an actual file.
- isUnderscore(byte[], int) - Static method in class org.apache.directory.api.util.Chars
-
Check if the current character is the ASCII character underscore 0x5F.
- 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.
- readExternal(ObjectInput) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Deserializes this map from the given stream.
- readFileToByteArray(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Reads the contents of a file into a byte array.
- readFileToString(File) - Static method in class org.apache.directory.api.util.FileUtils
-
- readFileToString(File, Charset) - Static method in class org.apache.directory.api.util.FileUtils
-
Reads the contents of a file into a String.
- readFileToString(File, String) - Static method in class org.apache.directory.api.util.FileUtils
-
Reads the contents of a file into a String.
- readLines(File) - Static method in class org.apache.directory.api.util.FileUtils
-
- readLines(File, Charset) - Static method in class org.apache.directory.api.util.FileUtils
-
Reads the contents of a file line by line to a List of Strings.
- readLines(InputStream, Charset) - Static method in class org.apache.directory.api.util.IOUtils
-
Gets the contents of an InputStream as a list of Strings,
one entry per line, using the specified character encoding.
- readLines(Reader) - Static method in class org.apache.directory.api.util.IOUtils
-
Gets the contents of a Reader as a list of Strings,
one entry per line.
- readUTF(ObjectInput) - Static method in class org.apache.directory.api.util.Unicode
-
Reads in a string that has been encoded using a modified UTF-8 format.
- remove() - Method in class org.apache.directory.api.util.SequencedHashMap.OrderedIterator
-
- remove(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
- remove(int) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Removes the element at the specified index.
- REMOVED_MASK - Static variable in class org.apache.directory.api.util.SequencedHashMap
-
- removeEntry(SequencedHashMap.Entry) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Removes an internal entry from the linked list.
- removeImpl(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Fully remove an entry from the map, returning the old entry or null if
there was no such entry with the specified key.
- removeLRU() - Method in class org.apache.directory.api.util.SynchronizedLRUMap
-
This method is used internally by the class for finding and removing the
LRU Object.
- returnType - Variable in class org.apache.directory.api.util.SequencedHashMap.OrderedIterator
-
Holds the type that should be returned from the iterator.
- RuntimeMultiException - Exception in org.apache.directory.api.util.exception
-
This exception is thrown when Base class for nested exceptions.
- RuntimeMultiException() - Constructor for exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Constructs an Exception without a message.
- RuntimeMultiException(String) - Constructor for exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Constructs an Exception with a detailed message.
- RuntimeMultiException(String, Throwable) - Constructor for exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Constructs an Exception with a detailed message.
- sentinel - Variable in class org.apache.directory.api.util.SequencedHashMap
-
Sentinel used to hold the head and tail of the list of entries.
- 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.
- SequencedHashMap.Entry - Class in org.apache.directory.api.util
-
Map.Entry that doubles as a node in the linked list of
sequenced mappings.
- SequencedHashMap.OrderedIterator - Class in org.apache.directory.api.util
-
- Serialize - Class in org.apache.directory.api.util
-
A class containing static methods used to serialize and deserialize base types
- Serialize() - Constructor for class org.apache.directory.api.util.Serialize
-
- serialize(int, byte[], int) - Static method in class org.apache.directory.api.util.Serialize
-
Write an integer into a buffer at a given position
- serialize(byte[], byte[], int) - Static method in class org.apache.directory.api.util.Serialize
-
Write a byte[] into a buffer at a given position
- serialVersionUID - Static variable in exception org.apache.directory.api.util.exception.InvalidCharacterException
-
- serialVersionUID - Static variable in exception org.apache.directory.api.util.exception.MultiException
-
The serialVersionUID.
- serialVersionUID - Static variable in exception org.apache.directory.api.util.exception.NotImplementedException
-
The serialVersionUID.
- serialVersionUID - Static variable in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
The serialVersionUID.
- serialVersionUID - Static variable in class org.apache.directory.api.util.NoDuplicateKeysMap
-
- serialVersionUID - Static variable in class org.apache.directory.api.util.SequencedHashMap
-
- serialVersionUID - Static variable in class org.apache.directory.api.util.SynchronizedLRUMap
-
- 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
- setUp(Calendar) - Method in class org.apache.directory.api.util.GeneralizedTime
-
- setValue(Object) - Method in class org.apache.directory.api.util.SequencedHashMap.Entry
-
- 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 a 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
- StringBuilderWriter - Class in org.apache.directory.api.util
-
- StringBuilderWriter() - Constructor for class org.apache.directory.api.util.StringBuilderWriter
-
- StringBuilderWriter(int) - Constructor for class org.apache.directory.api.util.StringBuilderWriter
-
Construct a new
StringBuilder instance with the specified capacity.
- StringBuilderWriter(StringBuilder) - Constructor for class org.apache.directory.api.util.StringBuilderWriter
-
- StringConstants - Class in org.apache.directory.api.util
-
Various String constants are kept here.
- StringConstants() - Constructor for class org.apache.directory.api.util.StringConstants
-
- 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.
- Strings() - Constructor for class org.apache.directory.api.util.Strings
-
Private constructor
- 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.
- SYSTEM_SEPARATOR - Static variable in class org.apache.directory.api.util.FileUtils
-
The system separator character.
- TimeZoneFormat() - Constructor for enum org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
- TimeZones - Class in org.apache.directory.api.util
-
- TimeZones() - Constructor for class org.apache.directory.api.util.TimeZones
-
- TO_LOWER_CASE - Static variable in class org.apache.directory.api.util.Strings
-
- TO_LOWER_CASE_BYTE - Static variable in class org.apache.directory.api.util.Strings
-
- toBufferedReader(Reader) - Static method in class org.apache.directory.api.util.IOUtils
-
Returns the given reader if it is a
BufferedReader, otherwise creates a BufferedReader from the given
reader.
- toByteArray(InputStream, int) - Static method in class org.apache.directory.api.util.IOUtils
-
Gets the contents of an InputStream as a byte[].
- toByteArray(InputStream, long) - Static method in class org.apache.directory.api.util.IOUtils
-
Gets contents of an InputStream as a byte[].
- toByteArray(String) - Static method in class org.apache.directory.api.util.Strings
-
Get byte array from hex string
- toCharset(Charset) - Static method in class org.apache.directory.api.util.IOUtils
-
Returns the given Charset or the default Charset if the given Charset is null.
- toCharset(String) - Static method in class org.apache.directory.api.util.IOUtils
-
Returns a Charset for the named charset.
- 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
-
- toLowerCase(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Rewrote the toLowercase method to improve performances.
- toLowerCaseAscii(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(InputStream, Charset) - Static method in class org.apache.directory.api.util.IOUtils
-
Gets the contents of an InputStream as a String
using the specified character encoding.
- toString() - Method in class org.apache.directory.api.util.Position
-
- toString() - Method in class org.apache.directory.api.util.SequencedHashMap.Entry
-
- toString() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Provides a string representation of the entries within the map.
- toString() - Method in class org.apache.directory.api.util.StringBuilderWriter
-
- toUpperCase(String) - Static method in class org.apache.directory.api.util.Strings
-
- toUpperCaseAscii(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.
- TRUE - Static variable in class org.apache.directory.api.util.Serialize
-
The serialized value for TRUE