A B C D E F G H I K L M N O P R S T U V W Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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.
- addMillis(long) - Method in class org.apache.directory.api.util.MockTimeProvider
- 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.ExpansibleByteBuffer
-
Appends a byte to this buffer.
- append(byte[]) - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
-
Appends the bytes to this buffer.
- append(char) - Method in class org.apache.directory.api.util.StringBuilderWriter
-
Append a single character to this Writer.
- append(int) - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
-
Appends an int to this buffer.
- 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
-
Append a portion of a character sequence to the
StringBuilder
. - 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.
- 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, 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(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(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.
- asciiBytesToString(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Transform an array of ASCII bytes to a string. the byte array should contains only values in [0, 127].
B
- Base64 - Class in org.apache.directory.api.util
-
Encoding and decoding of Base64 characters to and from raw bytes.
- Base64() - Constructor for class org.apache.directory.api.util.Base64
-
Private constructor.
- buf - Variable in class org.apache.directory.api.util.ExpansibleByteBuffer
-
the bytes of the buffer
- buffer() - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
-
Get's the bytes, the backing store for this buffer.
- builder - Variable in class org.apache.directory.api.util.StringBuilderWriter
- byteAt(byte[], int) - Static method in class org.apache.directory.api.util.Strings
-
Get the byte at a given position in a byte array, checking for limits
- bytesToChar(byte[]) - Static method in class org.apache.directory.api.util.Unicode
-
Return the Unicode char which is coded in the bytes at position 0.
- bytesToChar(byte[], int) - Static method in class org.apache.directory.api.util.Unicode
-
Return the Unicode char which is coded in the bytes at the given position.
- byteToString(byte) - Static method in class org.apache.directory.api.util.Strings
-
Helper function that dump a byte as a double digit value
C
- calendar - Variable in class org.apache.directory.api.util.GeneralizedTime
-
The calendar
- capacity() - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
- 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_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_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(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
- 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
- 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.ExpansibleByteBuffer
-
Reset the Buffer position to 0.
- clear() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.clear()
. - 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(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. - closeQuietly(InputStream) - Static method in class org.apache.directory.api.util.IOUtils
-
Closes an
InputStream
unconditionally. - CODES - Static variable in class org.apache.directory.api.util.Base64
-
lookup table for converting base64 characters to value in range 0..63
- CollectionUtils - Class in org.apache.directory.api.util
-
Collection and Iterator utils.
- CollectionUtils() - Constructor for class org.apache.directory.api.util.CollectionUtils
- COMMA - org.apache.directory.api.util.GeneralizedTime.FractionDelimiter
-
Use a comma as fraction delimiter.
- compare(byte[], byte[]) - Static method in class org.apache.directory.api.util.Strings
- 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
-
Implements
Map.containsKey(Object)
. - containsValue(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.containsValue(Object)
. - 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(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Copy a byte array into a new byte array
- copy(InputStream, OutputStream) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from an
InputStream
to anOutputStream
. - copy(InputStream, OutputStream, int) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from an
InputStream
to anOutputStream
using an internal buffer of the given size. - copy(InputStream, Writer, Charset) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from an
InputStream
to chars on aWriter
using the specified character encoding. - copy(Reader, Writer) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a
Reader
to aWriter
. - copyLarge(InputStream, OutputStream) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from a large (over 2GB)
InputStream
to anOutputStream
. - copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from a large (over 2GB)
InputStream
to anOutputStream
. - copyLarge(Reader, Writer) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a large (over 2GB)
Reader
to aWriter
. - copyLarge(Reader, Writer, char[]) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a large (over 2GB)
Reader
to aWriter
. - copyOfUsedBytes() - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
-
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.
- currentIimeMillis() - Method in class org.apache.directory.api.util.MockTimeProvider
- currentIimeMillis() - Method in interface org.apache.directory.api.util.TimeProvider
-
Gets the current time in milliseconds sind 1970-01-01 UTC.
D
- 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
-
Deprecated.Use the java.util.Base64.geDecoder().decode(String) method instead
- 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) - 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.
- deepTrim(String, boolean) - Static method in class org.apache.directory.api.util.Strings
-
Put common code to deepTrim(String) and deepTrimToLower here.
- 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 - Static variable in interface org.apache.directory.api.util.TimeProvider
-
The default time provider that always returns the system time.
- DEFAULT_BUFFER_SIZE - Static variable in class org.apache.directory.api.util.IOUtils
-
The default buffer size (4096) to use for
IOUtils.copyLarge(InputStream, OutputStream)
andIOUtils.copyLarge(Reader, Writer)
- DEFAULT_INITIAL_SIZE - Static variable in class org.apache.directory.api.util.ExpansibleByteBuffer
-
the default initial buffer size
- DEFAULT_MAX_SIZE - Static variable in class org.apache.directory.api.util.SynchronizedLRUMap
-
Default maximum size
- 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
- DIFF_HOUR - org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
g-differential format, using hour only.
- DIFF_HOUR_MINUTE - org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
g-differential format, using hour and minute.
- DIGIT - Static variable in class org.apache.directory.api.util.Chars
-
'0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
- DOT - org.apache.directory.api.util.GeneralizedTime.FractionDelimiter
-
Use a dot as fraction delimiter.
- 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
E
- element - Variable in class org.apache.directory.api.util.SingletonEnumeration
-
The singleton element to return
- EMPTY - Static variable in class org.apache.directory.api.util.StringConstants
-
The empty String
""
. - EMPTY_BYTES - Static variable in class org.apache.directory.api.util.Strings
-
An empty byte array
- EMPTY_STRING - Static variable in class org.apache.directory.api.util.Strings
-
An empty String
- EMPTY_STRING_ARRAY - Static variable in class org.apache.directory.api.util.Strings
-
An empty String array
- EMPTY_STRINGS - Static variable in class org.apache.directory.api.util.StringConstants
-
The empty String[]
- EmptyEnumeration<T> - Class in org.apache.directory.api.util
-
An empty NamingEnumeration without any values: meaning hasMore/hasMoreElements() always returns false, and next/nextElement() always throws a NoSuchElementException.
- EmptyEnumeration() - Constructor for class org.apache.directory.api.util.EmptyEnumeration
- encode(byte[]) - Static method in class org.apache.directory.api.util.Base64
-
Deprecated.Use the java.util.Base64.getEncoder().encode(byte[]) method instead
- encodeHex(byte[]) - Static method in class org.apache.directory.api.util.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- end - Variable in class org.apache.directory.api.util.Position
-
The token end position in the string
- entries - Variable in class org.apache.directory.api.util.SequencedHashMap
-
Map of keys to entries
- ENTRY - Static variable in class org.apache.directory.api.util.SequencedHashMap
- entrySet() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.entrySet()
. - EOF - Static variable in class org.apache.directory.api.util.IOUtils
-
The end of file
- equals(Object) - Method in class org.apache.directory.api.util.GeneralizedTime
- equals(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.equals(Object)
. - equals(Object) - Method in class org.apache.directory.api.util.SequencedHashMap.MapEntry
- equals(String, String) - Static method in class org.apache.directory.api.util.Strings
-
Compares two Strings, returning
true
if they are equal. - Exceptions - Class in org.apache.directory.api.util.exception
-
Provides utilities for manipulating and examining
Throwable
objects. - Exceptions() - Constructor for class org.apache.directory.api.util.exception.Exceptions
-
Private constructor
- ExpansibleByteBuffer - Class in org.apache.directory.api.util
-
A dynamically growing byte[].
- ExpansibleByteBuffer() - Constructor for class org.apache.directory.api.util.ExpansibleByteBuffer
-
Create a default ExpansibleByteBuffer capable of holding 10 bytes
- ExpansibleByteBuffer(int) - Constructor for class org.apache.directory.api.util.ExpansibleByteBuffer
-
Creates a ExpansibleByteBuffer which has an initialze size
- expectedModCount - Variable in class org.apache.directory.api.util.SequencedHashMap.OrderedIterator
-
Holds the expected modification count.
F
- FALSE - Static variable in class org.apache.directory.api.util.Serialize
-
The serialized value for FALSE
- FILE_COPY_BUFFER_SIZE - Static variable in class org.apache.directory.api.util.FileUtils
-
The file copy buffer size (30 MB)
- FileUtils - Class in org.apache.directory.api.util
-
This code comes from Apache commons.io library.
- FileUtils() - Constructor for class org.apache.directory.api.util.FileUtils
-
Creates a new instance of FileUtils.
- finalStateValid() - Method in interface org.apache.directory.api.util.ComponentsMonitor
-
Checks if the final state is valid.
- finalStateValid() - Method in class org.apache.directory.api.util.MandatoryAndOptionalComponentsMonitor
-
Checks if the final state is valid.
- finalStateValid() - Method in class org.apache.directory.api.util.MandatoryComponentsMonitor
-
Checks if the final state is valid.
- finalStateValid() - Method in class org.apache.directory.api.util.OptionalComponentsMonitor
-
Checks if the final state is valid.
- flush() - Method in class org.apache.directory.api.util.StringBuilderWriter
-
Flushing this writer has no effect.
- forceDelete(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Deletes a file.
- Format() - Constructor for enum org.apache.directory.api.util.GeneralizedTime.Format
- formatHtml(String, boolean, boolean, boolean) - Static method in class org.apache.directory.api.util.Strings
-
This method is used to insert HTML block dynamically
- FractionDelimiter() - Constructor for enum org.apache.directory.api.util.GeneralizedTime.FractionDelimiter
G
- 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(long) - Constructor for class org.apache.directory.api.util.GeneralizedTime
-
Creates a new instance of GeneralizedTime by setting the time to an instance of Calendar.
- 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(Calendar) - Constructor for class org.apache.directory.api.util.GeneralizedTime
-
Creates a new instance of GeneralizedTime, based on the given Calendar object.
- 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.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.ExpansibleByteBuffer
-
Returns the byte at a given position.
- 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.SequencedHashMap
-
Implements
Map.get(Object)
. - 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
-
A replacement for
Class.getMethod(java.lang.String, java.lang.Class<?>...)
with extended capability. - 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() - Method in class org.apache.directory.api.util.GeneralizedTime
- getDate(String) - Static method in class org.apache.directory.api.util.DateUtils
-
Converts a generalized time string to a
Date
object. - getDate(String) - Static method in class org.apache.directory.api.util.GeneralizedTime
-
Get a Dat einstance from a given String
- getDay() - Method in class org.apache.directory.api.util.GeneralizedTime
- getDefaultCharsetName() - Static method in class org.apache.directory.api.util.Strings
-
Get the default charset
- 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() - Method in class org.apache.directory.api.util.GeneralizedTime
- getFraction(int) - Method in class org.apache.directory.api.util.GeneralizedTime
- getGeneralizedTime(long) - Static method in class org.apache.directory.api.util.DateUtils
- getGeneralizedTime(Date) - Static method in class org.apache.directory.api.util.DateUtils
- getGeneralizedTime(TimeProvider) - Static method in class org.apache.directory.api.util.DateUtils
-
Gets the generalized time right now.
- 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]
- getHexValue(char, char) - Static method in class org.apache.directory.api.util.Hex
-
Translate two chars to an hex value.
- 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.MapEntry
- 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[], int, int, Charset) - 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.
- getString(byte[], Charset) - Static method in class org.apache.directory.api.util.Strings
-
From commons-httpclients.
- 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.MapEntry
- 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() - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
- growBuffer(int) - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
H
- hashCode() - Method in class org.apache.directory.api.util.GeneralizedTime
- hashCode() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.hashCode()
. - hashCode() - Method in class org.apache.directory.api.util.SequencedHashMap.MapEntry
-
Compute the instance's hash code
- hasMore - Variable in class org.apache.directory.api.util.SingletonEnumeration
-
Can we return a element
- hasMore() - Method in class org.apache.directory.api.util.EmptyEnumeration
-
Always returns false.
- hasMore() - Method in class org.apache.directory.api.util.SingletonEnumeration
- hasMoreElements() - Method in class org.apache.directory.api.util.EmptyEnumeration
-
Always return false.
- hasMoreElements() - Method in class org.apache.directory.api.util.SingletonEnumeration
- hasNext() - Method in class org.apache.directory.api.util.SequencedHashMap.OrderedIterator
-
Returns whether there is any additional elements in the iterator to be returned.
- Hex - Class in org.apache.directory.api.util
-
Various hex and string manipulation methods that are more efficient then chaining operations: all is done in the same buffer without creating a bunch of intermediate String objects.
- Hex() - Constructor for class org.apache.directory.api.util.Hex
- HEX - Static variable in class org.apache.directory.api.util.Chars
-
<hex> ::= [0x30-0x39] | [0x41-0x46] | [0x61-0x66]
- HEX_CHAR - Static variable in class org.apache.directory.api.util.Hex
-
Used to build output as Hex
- HEX_CHAR - Static variable in class org.apache.directory.api.util.Strings
-
Hex chars
- HEX_VALUE - Static variable in class org.apache.directory.api.util.Hex
-
<hex> ::= [0x30-0x39] | [0x41-0x46] | [0x61-0x66]
I
- 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.ExpansibleByteBuffer
-
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.MapEntry) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Inserts a new internal entry to the tail of the linked list.
- 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) - 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(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(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(char[], 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.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.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 byte 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 character 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) - 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(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'
- 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
-
Implements
Map.isEmpty()
. - isEmpty(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Checks if a bytes array is empty or null.
- isEmpty(String) - Static method in class org.apache.directory.api.util.Strings
-
Checks if a String 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) - 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(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(byte[], int, char) - Static method in class org.apache.directory.api.util.Chars
-
Test if the current character is equal to a specific character.
- 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.
- 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(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 '\'
- 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(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 '\'
- 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.
K
- key - Variable in class org.apache.directory.api.util.SequencedHashMap.MapEntry
- KEY - Static variable in class org.apache.directory.api.util.SequencedHashMap
- keySet() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.keySet()
. - KeyValue - Interface in org.apache.directory.api.util
-
Defines a simple key value pair.
L
- lastIndexOf(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets the last index of the specified key.
- ldapLoopbackUrl(int) - Static method in class org.apache.directory.api.util.Network
-
Construct a LDAP URL using the loopback address.
- length - Variable in class org.apache.directory.api.util.Position
-
The current token length
- listNestedExceptions() - Method in exception org.apache.directory.api.util.exception.MultiException
-
Lists the nested exceptions that this Exception encapsulates.
- listNestedExceptions() - Method in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Lists the nested exceptions that this Exception encapsulates.
- listToString(List<?>) - Static method in class org.apache.directory.api.util.Strings
-
Utility method that return a String representation of a list
- listToString(List<?>, String) - Static method in class org.apache.directory.api.util.Strings
-
Utility method that return a String representation of a list
- LOG - Static variable in class org.apache.directory.api.util.MethodUtils
-
The logger.
- LOG - Static variable in class org.apache.directory.api.util.OsgiUtils
-
A logger
- LOG - Static variable in class org.apache.directory.api.util.Strings
-
A logger for this class
- LOOPBACK - Static variable in class org.apache.directory.api.util.Network
-
The loopback address (ie, ::1 or 127.0.0.1
- LOOPBACK_HOSTNAME - Static variable in class org.apache.directory.api.util.Network
-
The loopback hostname
- lowerCase(String) - Static method in class org.apache.directory.api.util.Strings
-
Converts a String to lower case as per
String.toLowerCase()
. - lowerCaseAscii(String) - Static method in class org.apache.directory.api.util.Strings
-
Rewrote the toLowercase method to improve performances.
M
- MandatoryAndOptionalComponentsMonitor - Class in org.apache.directory.api.util
-
A monitor that tracks both, mandatory and optional components.
- MandatoryAndOptionalComponentsMonitor(String[], String[]) - Constructor for class org.apache.directory.api.util.MandatoryAndOptionalComponentsMonitor
-
Instantiates a new mandatory and optional components monitor.
- mandatoryComponentsMonitor - Variable in class org.apache.directory.api.util.MandatoryAndOptionalComponentsMonitor
-
The mandatory components monitor.
- MandatoryComponentsMonitor - Class in org.apache.directory.api.util
-
A components monitor for manadatory components.
- MandatoryComponentsMonitor(String[]) - Constructor for class org.apache.directory.api.util.MandatoryComponentsMonitor
-
Instantiates a new mandatory components monitor.
- MapEntry(Object, Object) - Constructor for class org.apache.directory.api.util.SequencedHashMap.MapEntry
- mapToString(Map<?, ?>) - Static method in class org.apache.directory.api.util.Strings
-
Utility method that return a String representation of a map.
- mapToString(Map<?, ?>, String) - Static method in class org.apache.directory.api.util.Strings
-
Utility method that return a String representation of a map.
- maximumSize - Variable in class org.apache.directory.api.util.SynchronizedLRUMap
-
Maximum size
- MethodUtils - Class in org.apache.directory.api.util
- MethodUtils() - Constructor for class org.apache.directory.api.util.MethodUtils
-
Private constructor.
- MockTimeProvider - Class in org.apache.directory.api.util
-
Implementation of
TimeProvider
that always returns a fixed time. - MockTimeProvider() - Constructor for class org.apache.directory.api.util.MockTimeProvider
- modCount - Variable in class org.apache.directory.api.util.SequencedHashMap
-
Holds the number of modifications that have occurred to the map, excluding modifications made through a collection view's iterator (e.g.
- MultiException - Exception in org.apache.directory.api.util.exception
-
This exception is thrown when Base class for nested exceptions.
- MultiException() - Constructor for exception org.apache.directory.api.util.exception.MultiException
-
Constructs an Exception without a message.
- MultiException(String) - Constructor for exception org.apache.directory.api.util.exception.MultiException
-
Constructs an Exception with a detailed message.
N
- nestedExceptions - Variable in exception org.apache.directory.api.util.exception.MultiException
-
Collection of nested exceptions.
- nestedExceptions - Variable in exception org.apache.directory.api.util.exception.RuntimeMultiException
-
Collection of nested exceptions.
- Network - Class in org.apache.directory.api.util
-
Network utils.
- Network() - Constructor for class org.apache.directory.api.util.Network
-
Private constructor.
- next - Variable in class org.apache.directory.api.util.SequencedHashMap.MapEntry
- next() - Method in class org.apache.directory.api.util.EmptyEnumeration
-
Always throws NoSuchElementException.
- next() - Method in class org.apache.directory.api.util.SequencedHashMap.OrderedIterator
-
Returns the next element from the iterator.
- next() - Method in class org.apache.directory.api.util.SingletonEnumeration
- nextElement() - Method in class org.apache.directory.api.util.EmptyEnumeration
-
Always throws NoSuchElementException.
- nextElement() - Method in class org.apache.directory.api.util.SingletonEnumeration
- NoDuplicateKeysMap - Class in org.apache.directory.api.util
-
A Map implementation derived from HashMap that only overrides a single method put() in order to prevent duplicate keyed entries to be added.
- NoDuplicateKeysMap() - Constructor for class org.apache.directory.api.util.NoDuplicateKeysMap
- NOT_EQUAL - Static variable in class org.apache.directory.api.util.StringConstants
-
A flag used when comparing values
- NotImplementedException - Exception in org.apache.directory.api.util.exception
-
This exception is thrown when a Backend operation is either temporarily unsupported or perminantly unsupported as part of its implementation.
- NotImplementedException() - Constructor for exception org.apache.directory.api.util.exception.NotImplementedException
-
Constructs an Exception with a detailed message.
- NotImplementedException(String) - Constructor for exception org.apache.directory.api.util.exception.NotImplementedException
-
Constructs an Exception with a detailed message.
O
- ONE_KB - Static variable in class org.apache.directory.api.util.FileUtils
-
The number of bytes in a kilobyte.
- ONE_MB - Static variable in class org.apache.directory.api.util.FileUtils
-
The number of bytes in a megabyte.
- openInputStream(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Opens a
FileInputStream
for the specified file, providing better error messages than simply callingnew FileInputStream(file)
. - openOutputStream(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Opens a
FileOutputStream
for the specified file, checking and creating the parent directory if it does not exist. - openOutputStream(File, boolean) - Static method in class org.apache.directory.api.util.FileUtils
-
Opens a
FileOutputStream
for the specified file, checking and creating the parent directory if it does not exist. - optionalComponentsMonitor - Variable in class org.apache.directory.api.util.MandatoryAndOptionalComponentsMonitor
-
The optional components monitor.
- OptionalComponentsMonitor - Class in org.apache.directory.api.util
-
A components monitor for optional components.
- OptionalComponentsMonitor(String[]) - Constructor for class org.apache.directory.api.util.OptionalComponentsMonitor
-
Instantiates a new optional components monitor.
- OrderedIterator(int) - Constructor for class org.apache.directory.api.util.SequencedHashMap.OrderedIterator
-
Construct an iterator over the sequenced elements in the order in which they were added.
- org.apache.directory.api.util - package org.apache.directory.api.util
- org.apache.directory.api.util.exception - package org.apache.directory.api.util.exception
- OsgiUtils - Class in org.apache.directory.api.util
-
Utilities for OSGi environments and embedding OSGi containers.
- OsgiUtils() - Constructor for class org.apache.directory.api.util.OsgiUtils
P
- parseDay() - Method in class org.apache.directory.api.util.GeneralizedTime
- parseFractionDelmiter(int) - Method in class org.apache.directory.api.util.GeneralizedTime
- parseFractionOfHour() - Method in class org.apache.directory.api.util.GeneralizedTime
- parseFractionOfMinute() - Method in class org.apache.directory.api.util.GeneralizedTime
- parseFractionOfSecond() - Method in class org.apache.directory.api.util.GeneralizedTime
- parseHour() - Method in class org.apache.directory.api.util.GeneralizedTime
- parseInt(String) - Static method in class org.apache.directory.api.util.Strings
-
Past an ASCII String to a number
- parseMinute() - Method in class org.apache.directory.api.util.GeneralizedTime
- parseMonth() - Method in class org.apache.directory.api.util.GeneralizedTime
- parseSecond() - Method in class org.apache.directory.api.util.GeneralizedTime
- parseTimezone(int) - Method in class org.apache.directory.api.util.GeneralizedTime
- parseYear() - Method in class org.apache.directory.api.util.GeneralizedTime
- pos - Variable in class org.apache.directory.api.util.ExpansibleByteBuffer
-
the position into the buffer
- pos - Variable in class org.apache.directory.api.util.SequencedHashMap.OrderedIterator
-
Holds the "current" position in the iterator.
- position() - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
- position(int) - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
-
Set the position to a specific value
- 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
- prev - Variable in class org.apache.directory.api.util.SequencedHashMap.MapEntry
- 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() - 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() - 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.
- 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(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(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(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.
- 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
-
Implements
Map.put(Object, Object)
. - 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)
).
R
- 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
-
Deprecated.2.5 use
FileUtils.readFileToString(File, Charset)
instead - readFileToString(File, String) - Static method in class org.apache.directory.api.util.FileUtils
-
Reads the contents of a file into a String.
- readFileToString(File, Charset) - 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
-
Deprecated.2.5 use
FileUtils.readLines(File, Charset)
instead - 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
-
Removes the last element returned from the
SequencedHashMap.OrderedIterator.next()
method from the sequenced map. - remove(int) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Removes the element at the specified index.
- remove(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.remove(Object)
. - REMOVED_MASK - Static variable in class org.apache.directory.api.util.SequencedHashMap
- removeEntry(SequencedHashMap.MapEntry) - 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.
- reverse(Iterator<T>) - Static method in class org.apache.directory.api.util.CollectionUtils
- 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.
S
- 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.MapEntry - 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(byte[], byte[], int) - Static method in class org.apache.directory.api.util.Serialize
-
Write a byte[] into a buffer at a given position
- 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 - 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
- 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.
- setTimeInMillis(long) - Method in class org.apache.directory.api.util.MockTimeProvider
- 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.MapEntry
- 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
-
Implements
Map.size()
. - 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
-
Writer
implementation that outputs to aStringBuilder
. - StringBuilderWriter() - Constructor for class org.apache.directory.api.util.StringBuilderWriter
-
Construct a new
StringBuilder
instance with default capacity. - 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
-
Construct a new instance with the specified
StringBuilder
. - 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
- substractMillis(long) - Method in class org.apache.directory.api.util.MockTimeProvider
- 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.
T
- timeInMillis - Variable in class org.apache.directory.api.util.MockTimeProvider
- TimeProvider - Interface in org.apache.directory.api.util
-
Provides the current time, i.e.
- TimeZoneFormat() - Constructor for enum org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
- TimeZones - Class in org.apache.directory.api.util
-
Predefined
TimeZone
s. - 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 abyte[]
. - toByteArray(InputStream, long) - Static method in class org.apache.directory.api.util.IOUtils
-
Gets contents of an
InputStream
as abyte[]
. - toByteArray(String) - Static method in class org.apache.directory.api.util.Strings
-
Get byte array from hex string
- toCharset(String) - Static method in class org.apache.directory.api.util.IOUtils
-
Returns a Charset for the named charset.
- 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.
- 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(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Rewrote the toLowercase method to improve performances.
- toLowerCase(String) - Static method in class org.apache.directory.api.util.Strings
-
Deprecated.
- 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() - Method in class org.apache.directory.api.util.Position
- toString() - Method in class org.apache.directory.api.util.SequencedHashMap.MapEntry
- 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
-
Returns
StringBuilder.toString()
. - 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. - toUpperCase(String) - Static method in class org.apache.directory.api.util.Strings
-
Deprecated.
- toUpperCaseAscii(String) - Static method in class org.apache.directory.api.util.Strings
-
Rewrote the toLowercase method to improve performances.
- 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 returningnull
. - 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 returningnull
. - trimConsecutiveToOne(String, char) - Static method in class org.apache.directory.api.util.Strings
-
Trims several consecutive characters into one.
- 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 returningnull
. - 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 returningnull
. - 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 returningnull
. - trimLeft(String) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from start of this String, handling
null
by returningnull
. - 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 returningnull
. - 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 returningnull
. - 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 returningnull
. - 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 returningnull
. - trimRight(String) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this String, handling
null
by returningnull
. - 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 returningnull
. - 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 returningnull
. - TRUE - Static variable in class org.apache.directory.api.util.Serialize
-
The serialized value for TRUE
U
- Unicode - Class in org.apache.directory.api.util
-
Various unicode manipulation methods that are more efficient then chaining operations: all is done in the same buffer without creating a bunch of string objects.
- Unicode() - Constructor for class org.apache.directory.api.util.Unicode
- UNICODE_SUBSET - Static variable in class org.apache.directory.api.util.Unicode
-
%01-%27 %2B-%5B %5D-%7F
- upFormat - Variable in class org.apache.directory.api.util.GeneralizedTime
-
The user provided format
- upFractionDelimiter - Variable in class org.apache.directory.api.util.GeneralizedTime
-
The user provided fraction delimiter
- upFractionLength - Variable in class org.apache.directory.api.util.GeneralizedTime
-
the user provided fraction length
- upGeneralizedTime - Variable in class org.apache.directory.api.util.GeneralizedTime
-
The user provided value
- UPPER_CASE - Static variable in class org.apache.directory.api.util.Strings
-
upperCase = 'A' ..
- upperCase(String) - Static method in class org.apache.directory.api.util.Strings
-
Converts a String to upper case as per
String.toUpperCase( Locale )
. - upTimeZoneFormat - Variable in class org.apache.directory.api.util.GeneralizedTime
-
The user provided time zone format
- useComponent(String) - Method in class org.apache.directory.api.util.AbstractSimpleComponentsMonitor
-
Use a component.
- useComponent(String) - Method in interface org.apache.directory.api.util.ComponentsMonitor
-
Use a component.
- useComponent(String) - Method in class org.apache.directory.api.util.MandatoryAndOptionalComponentsMonitor
-
Use a component.
- UTF8 - Static variable in class org.apache.directory.api.util.Strings
-
The ASCI chars
- UTF8_FIVE_BYTES - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_FIVE_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_FOUR_BYTES - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_FOUR_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_MULTI_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_SIX_BYTES - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_SIX_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_THREE_BYTES - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_THREE_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_TWO_BYTES - Static variable in class org.apache.directory.api.util.Unicode
- UTF8_TWO_BYTES_MASK - Static variable in class org.apache.directory.api.util.Unicode
- utf8ToString(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Return an UTF-8 encoded String
- utf8ToString(byte[], int) - Static method in class org.apache.directory.api.util.Strings
-
Return an UTF-8 encoded String
- utf8ToString(byte[], int, int) - Static method in class org.apache.directory.api.util.Strings
-
Return an UTF-8 encoded String
- uuidToBytes(String) - Static method in class org.apache.directory.api.util.Strings
-
converts the string representation of an UUID to bytes
- uuidToString(byte[]) - Static method in class org.apache.directory.api.util.Strings
-
converts the bytes of a UUID to string
V
- value - Variable in class org.apache.directory.api.util.SequencedHashMap.MapEntry
- VALUE - Static variable in class org.apache.directory.api.util.SequencedHashMap
- valueOf(String) - Static method in enum org.apache.directory.api.util.GeneralizedTime.Format
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.directory.api.util.GeneralizedTime.FractionDelimiter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.directory.api.util.GeneralizedTime.Format
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.directory.api.util.GeneralizedTime.FractionDelimiter
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.values()
.
W
- WINDOWS_SEPARATOR - Static variable in class org.apache.directory.api.util.FileUtils
-
The Windows separator character.
- write(char[], int, int) - Method in class org.apache.directory.api.util.StringBuilderWriter
-
Write a portion of a character array to the
StringBuilder
. - write(String) - Method in class org.apache.directory.api.util.StringBuilderWriter
-
Write a String to the
StringBuilder
. - write(String, OutputStream, Charset) - Static method in class org.apache.directory.api.util.IOUtils
-
Writes chars from a
String
to bytes on anOutputStream
using the specified character encoding. - writeByteArrayToFile(File, byte[]) - Static method in class org.apache.directory.api.util.FileUtils
-
Writes a byte array to a file creating the file if it does not exist.
- writeByteArrayToFile(File, byte[], boolean) - Static method in class org.apache.directory.api.util.FileUtils
-
Writes a byte array to a file creating the file if it does not exist.
- writeByteArrayToFile(File, byte[], int, int, boolean) - Static method in class org.apache.directory.api.util.FileUtils
-
Writes
len
bytes from the specified byte array starting at offsetoff
to a file, creating the file if it does not exist. - writeExternal(ObjectOutput) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Serializes this map to the given stream.
- writeStringToFile(File, String) - Static method in class org.apache.directory.api.util.FileUtils
-
Deprecated.2.5 use
FileUtils.writeStringToFile(File, String, Charset, boolean)
instead - writeStringToFile(File, String, String) - Static method in class org.apache.directory.api.util.FileUtils
-
Writes a String to a file creating the file if it does not exist.
- writeStringToFile(File, String, Charset, boolean) - Static method in class org.apache.directory.api.util.FileUtils
-
Writes a String to a file creating the file if it does not exist.
- writeUTF(ObjectOutput, String) - Static method in class org.apache.directory.api.util.Unicode
-
Writes four bytes of length information to the output stream, followed by the modified UTF-8 representation of every character in the string str.
Y
- YEAR_MONTH_DAY_HOUR - org.apache.directory.api.util.GeneralizedTime.Format
-
Time format, minutes and seconds are omitted, excluding fraction.
- YEAR_MONTH_DAY_HOUR_FRACTION - org.apache.directory.api.util.GeneralizedTime.Format
-
Time format, minutes and seconds are omitted, including fraction of an hour.
- YEAR_MONTH_DAY_HOUR_MIN - org.apache.directory.api.util.GeneralizedTime.Format
-
Time format with minutes, seconds are omitted, excluding fraction.
- YEAR_MONTH_DAY_HOUR_MIN_FRACTION - org.apache.directory.api.util.GeneralizedTime.Format
-
Time format with minutes seconds are omitted, including fraction of a minute.
- YEAR_MONTH_DAY_HOUR_MIN_SEC - org.apache.directory.api.util.GeneralizedTime.Format
-
Time format with minutes and seconds, excluding fraction.
- YEAR_MONTH_DAY_HOUR_MIN_SEC_FRACTION - org.apache.directory.api.util.GeneralizedTime.Format
-
Time format with minutes and seconds, including fraction.
Z
- Z - org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
g-time-zone (Zulu) format.
All Classes All Packages