Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addMillis(long) - Method in class org.apache.directory.api.util.MockTimeProvider
-
Add some time to the current time
- addThrowable(Throwable) - Method in exception class org.apache.directory.api.util.exception.MultiException
-
Add an exception to this multiexception.
- addThrowable(Throwable) - Method in exception class org.apache.directory.api.util.exception.RuntimeMultiException
-
Add an exeception to this multiexception.
- 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.
- buffer() - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
-
Get's the bytes, the backing store for this buffer.
- 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
- capacity() - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
-
Capacity of the buffer
- 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 '...'.
- 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.
- 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 the enumeration
- 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
Closeableunconditionally. - closeQuietly(Closeable...) - Static method in class org.apache.directory.api.util.IOUtils
-
Closes a
Closeableunconditionally. - closeQuietly(InputStream) - Static method in class org.apache.directory.api.util.IOUtils
-
Closes an
InputStreamunconditionally. - CollectionUtils - Class in org.apache.directory.api.util
-
Collection and Iterator utils.
- COLON - Static variable in class org.apache.directory.api.util.ParserUtil
-
The various found characters
- COMMA - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.FractionDelimiter
-
Use a comma as fraction delimiter.
- COMMA - Static variable in class org.apache.directory.api.util.ParserUtil
- compare(byte[], byte[]) - Static method in class org.apache.directory.api.util.Strings
-
Compate two byte arrrays
- compareTo(GeneralizedTime) - Method in class org.apache.directory.api.util.GeneralizedTime
-
Compares this GeneralizedTime object with the specified GeneralizedTime object.
- 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
InputStreamto anOutputStream. - copy(InputStream, OutputStream, int) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from an
InputStreamto anOutputStreamusing 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
InputStreamto chars on aWriterusing the specified character encoding. - copy(Reader, Writer) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a
Readerto aWriter. - copyLarge(InputStream, OutputStream) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from a large (over 2GB)
InputStreamto anOutputStream. - copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies bytes from a large (over 2GB)
InputStreamto anOutputStream. - copyLarge(Reader, Writer) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a large (over 2GB)
Readerto aWriter. - copyLarge(Reader, Writer, char[]) - Static method in class org.apache.directory.api.util.IOUtils
-
Copies chars from a large (over 2GB)
Readerto 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.
- createEscaper(String) - Static method in class org.apache.directory.api.util.PostalAddress
-
Create an escaper that uses the specified line separator.
- createUnescaper(String) - Static method in class org.apache.directory.api.util.PostalAddress
-
Create an unescaper that uses the specified line separator.
- currentIimeMillis() - Method in class org.apache.directory.api.util.MockTimeProvider
-
Get the current time in millisecond
- 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.
- 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_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 - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
g-differential format, using hour only.
- DIFF_HOUR_MINUTE - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
g-differential format, using hour and minute.
- DOLLAR - Static variable in class org.apache.directory.api.util.ParserUtil
- DOT - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.FractionDelimiter
-
Use a dot as fraction delimiter.
- DOT - Static variable in class org.apache.directory.api.util.ParserUtil
- DQUOTE - Static variable in class org.apache.directory.api.util.ParserUtil
- 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
- 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
-
Public constructor
- 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
- END - Static variable in class org.apache.directory.api.util.ParserUtil
-
A terminaison token.
- entrySet() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.entrySet(). - EQUAL - Static variable in class org.apache.directory.api.util.ParserUtil
- 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(String, String) - Static method in class org.apache.directory.api.util.Strings
-
Compares two Strings, returning
trueif they are equal. - ESC - Static variable in class org.apache.directory.api.util.ParserUtil
- Exceptions - Class in org.apache.directory.api.util.exception
-
Provides utilities for manipulating and examining
Throwableobjects. - 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
F
- FALSE - Static variable in class org.apache.directory.api.util.Serialize
-
The serialized value for FALSE
- FileUtils - Class in org.apache.directory.api.util
-
This code comes from Apache commons.io library.
- 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.
- formatHtml(String, boolean, boolean, boolean) - Static method in class org.apache.directory.api.util.Strings
-
This method is used to insert HTML block dynamically
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) - Static method in class org.apache.directory.api.util.OsgiUtils
-
All the packages that are exported from all bundles found on the system classpath.
- getAssignmentCompatibleMethod(Class, String, Class[]) - Static method in class org.apache.directory.api.util.MethodUtils
-
A replacement for
Class.getMethod(String, 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.
- getByte() - Method in class org.apache.directory.api.util.Position
-
Get the byte at the current position
- getBytes() - Method in class org.apache.directory.api.util.Position
-
Get the stored bytes
- 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
-
Get the date
- getDate(String) - Static method in class org.apache.directory.api.util.DateUtils
-
Converts a generalized time string to a
Dateobject. - 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
-
Get the day
- getDefaultCharsetName() - Static method in class org.apache.directory.api.util.Strings
-
Get the default charset
- getDollarToken(String, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Get a token (which is a suite of alphabetic or dash characters prefixed with a '$'
- getFirst() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the entry for the "oldest" mapping.
- getFirstKey() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the key for the "oldest" mapping.
- getFirstValue() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the value for the "oldest" mapping.
- getFraction() - Method in class org.apache.directory.api.util.GeneralizedTime
-
Get the milliseconds
- getGeneralizedTime(long) - Static method in class org.apache.directory.api.util.DateUtils
-
Create a GeneralizedTime based on a time
- getGeneralizedTime(Date) - Static method in class org.apache.directory.api.util.DateUtils
-
Create a GeneralizedTime based on a Date instance
- 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
-
Get the hours
- getKey() - Method in interface org.apache.directory.api.util.KeyValue
-
Gets the key from the pair.
- getLast() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the entry for the "newest" mapping.
- getLastKey() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the key for the "newest" mapping.
- getLastValue() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Return the value for the "newest" mapping.
- getMaximumSize() - Method in class org.apache.directory.api.util.SynchronizedLRUMap
-
Getter for property maximumSize.
- getMessage() - Method in exception class org.apache.directory.api.util.exception.InvalidCharacterException
- getMinutes() - Method in class org.apache.directory.api.util.GeneralizedTime
-
Get the minutes
- getMonth() - Method in class org.apache.directory.api.util.GeneralizedTime
-
Get the month
- getSeconds() - Method in class org.apache.directory.api.util.GeneralizedTime
-
Get the seconds
- 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
Filerepresenting 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
-
Get the time
- getToken(String, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Get a token (which is a suite of alphabetic or dash characters
- getUUID(long) - Static method in class org.apache.directory.api.util.Strings
-
Create a new UUID using a long as the least significant bits
- getValue() - Method in interface org.apache.directory.api.util.KeyValue
-
Gets the value from the pair.
- getValue(int) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets the value at the specified index.
- getYear() - Method in class org.apache.directory.api.util.GeneralizedTime
-
Get the year
- GMT - Static variable in class org.apache.directory.api.util.TimeZones
-
The GMT TimeZone
H
- hashCode() - Method in class org.apache.directory.api.util.GeneralizedTime
- hashCode() - Method in class org.apache.directory.api.util.SequencedHashMap
-
Implements
Map.hashCode(). - hasMore() - Method in class org.apache.directory.api.util.EmptyEnumeration
-
Always returns false.
- hasMore() - Method in class org.apache.directory.api.util.SingletonEnumeration
- hasMoreChars(Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Checks if there are more characters.
- hasMoreElements() - Method in class org.apache.directory.api.util.EmptyEnumeration
-
Always return false.
- hasMoreElements() - Method in class org.apache.directory.api.util.SingletonEnumeration
- 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_CHAR - Static variable in class org.apache.directory.api.util.Strings
-
Hex chars
- HYPHEN - Static variable in class org.apache.directory.api.util.ParserUtil
I
- indexOf(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets the index of the specified key.
- InvalidCharacterException - Exception Class in org.apache.directory.api.util.exception
-
Exception thrown when a Character is invalid
- InvalidCharacterException(int) - Constructor for exception class 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.
- 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 class org.apache.directory.api.util.exception.MultiException
-
Tests to see if there are any nested exceptions within this MultiException.
- isEmpty() - Method in exception class 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.
- isMatchChar(byte, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Check if a specific character is present at the current position in the string.
- isMatchChar(String, char, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Check if a specific character is present at the current position in the string.
- 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
- 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
- LANGLE - Static variable in class org.apache.directory.api.util.ParserUtil
- lastIndexOf(Object) - Method in class org.apache.directory.api.util.SequencedHashMap
-
Gets the last index of the specified key.
- LCURLY - Static variable in class org.apache.directory.api.util.ParserUtil
- 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 class org.apache.directory.api.util.exception.MultiException
-
Lists the nested exceptions that this Exception encapsulates.
- listNestedExceptions() - Method in exception class 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
- 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.
- LPAREN - Static variable in class org.apache.directory.api.util.ParserUtil
M
- 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.
- matchChar(byte[], byte, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Match a specific character at the current position in the string.
- matchChar(String, char, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Match a specific character at the current position in the string.
- MethodUtils - Class in org.apache.directory.api.util
-
A class used to manage some class reflection methods
- MockTimeProvider - Class in org.apache.directory.api.util
-
Implementation of
TimeProviderthat always returns a fixed time. - MockTimeProvider() - Constructor for class org.apache.directory.api.util.MockTimeProvider
-
A MockTimeProvider constructor which sets the time to teh cirrent time
- MultiException - Exception Class in org.apache.directory.api.util.exception
-
This exception is thrown when Base class for nested exceptions.
- MultiException() - Constructor for exception class org.apache.directory.api.util.exception.MultiException
-
Constructs an Exception without a message.
- MultiException(String) - Constructor for exception class org.apache.directory.api.util.exception.MultiException
-
Constructs an Exception with a detailed message.
N
- Network - Class in org.apache.directory.api.util
-
Network utils.
- next() - Method in class org.apache.directory.api.util.EmptyEnumeration
-
Always throws NoSuchElementException.
- 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
-
A public constructor
- NOT_EQUAL - Static variable in class org.apache.directory.api.util.StringConstants
-
A flag used when comparing values
- NotImplementedException - Exception Class 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 class org.apache.directory.api.util.exception.NotImplementedException
-
Constructs an Exception with a detailed message.
- NotImplementedException(String) - Constructor for exception class 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.
- ONE_N - Static variable in class org.apache.directory.api.util.ParserUtil
- openInputStream(File) - Static method in class org.apache.directory.api.util.FileUtils
-
Opens a
FileInputStreamfor 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
FileOutputStreamfor 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
FileOutputStreamfor the specified file, checking and creating the parent directory if it does not exist. - 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.
P
- parseDescr(String, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Parse the Descr, following this grammar:
- parseInt(String) - Static method in class org.apache.directory.api.util.Strings
-
Past an ASCII String to a number
- parseInteger(String, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Parse an integer
- parseNumericOid(String, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Parse a Numeric OID, which grammar is:
- parseOid(String, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Parse an oid.
- parseQuotedSafeUtf8(String, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Parse a DistinguishedName, following this grammar:
- ParserException - Exception Class in org.apache.directory.api.util.exception
-
An exception thrown if we have an error while processing some parsing.
- ParserException() - Constructor for exception class org.apache.directory.api.util.exception.ParserException
-
A standard constuctor
- ParserException(String) - Constructor for exception class org.apache.directory.api.util.exception.ParserException
-
A constructor with a message
- ParserUtil - Class in org.apache.directory.api.util
-
An utility class used when parsing some of LDAP elements
- PLUS - Static variable in class org.apache.directory.api.util.ParserUtil
- position() - Method in class org.apache.directory.api.util.ExpansibleByteBuffer
-
Position of the last byte in the buffer
- 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
-
A public constructor
- Position(byte[]) - Constructor for class org.apache.directory.api.util.Position
-
A public constructor
- Position(String) - Constructor for class org.apache.directory.api.util.Position
-
A public constructor
- PostalAddress - Class in org.apache.directory.api.util
-
Create unescapers and escapers for the RFC 4517 Postal Address syntax.
- printErrors(List) - 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 class 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 class 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 class 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 class 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 class 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 class 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
- RANGLE - Static variable in class org.apache.directory.api.util.ParserUtil
- RCURLY - Static variable in class org.apache.directory.api.util.ParserUtil
- 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
InputStreamas 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
Readeras 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(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). - reverse(Iterator) - Static method in class org.apache.directory.api.util.CollectionUtils
-
A method used to create a reversed iterable element
- RPAREN - Static variable in class org.apache.directory.api.util.ParserUtil
- RuntimeMultiException - Exception Class in org.apache.directory.api.util.exception
-
This exception is thrown when Base class for nested exceptions.
- RuntimeMultiException() - Constructor for exception class org.apache.directory.api.util.exception.RuntimeMultiException
-
Constructs an Exception without a message.
- RuntimeMultiException(String) - Constructor for exception class org.apache.directory.api.util.exception.RuntimeMultiException
-
Constructs an Exception with a detailed message.
- RuntimeMultiException(String, Throwable) - Constructor for exception class org.apache.directory.api.util.exception.RuntimeMultiException
-
Constructs an Exception with a detailed message.
S
- SEMI_COLON - Static variable in class org.apache.directory.api.util.ParserUtil
- SEP - Static variable in class org.apache.directory.api.util.ParserUtil
- 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.
- 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
- 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
-
Set the current time in millisecond
- setToString(Set) - Static method in class org.apache.directory.api.util.Strings
-
Utility method that return a String representation of a set
- SHARP - Static variable in class org.apache.directory.api.util.ParserUtil
- 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 class 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 class 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(). - skipComment(String, Position) - Static method in class org.apache.directory.api.util.ParserUtil
-
Skip any comments at the beginning of a string
- skipSpaces(String, Position, boolean) - Static method in class org.apache.directory.api.util.ParserUtil
-
Skip spaces at the current position of the string.
- SPACE - Static variable in class org.apache.directory.api.util.ParserUtil
- splitIntoPackages(String, Set) - 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
-
Writerimplementation that outputs to aStringBuilder. - StringBuilderWriter() - Constructor for class org.apache.directory.api.util.StringBuilderWriter
-
Construct a new
StringBuilderinstance with default capacity. - StringBuilderWriter(int) - Constructor for class org.apache.directory.api.util.StringBuilderWriter
-
Construct a new
StringBuilderinstance 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.
- 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.
- substractMillis(long) - Method in class org.apache.directory.api.util.MockTimeProvider
-
Substract some time to the current time
- 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.
T
- TimeProvider - Interface in org.apache.directory.api.util
-
Provides the current time, i.e.
- TimeZones - Class in org.apache.directory.api.util
-
Predefined
TimeZones. - 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
InputStreamas abyte[]. - toByteArray(InputStream, long) - Static method in class org.apache.directory.api.util.IOUtils
-
Gets contents of an
InputStreamas 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
-
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
InputStreamas 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
nullby 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
nullby 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
nullby 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
nullby returningnull. - trimLeft(char[], int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from start of this array, handling
nullby returningnull. - trimLeft(String) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from start of this String, handling
nullby 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
nullby returningnull. - trimRight(byte[], int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this array, handling
nullby returningnull. - trimRight(byte[], Position) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this string, handling
nullby returningnull. - trimRight(char[], int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this array, handling
nullby returningnull. - trimRight(String) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this String, handling
nullby returningnull. - trimRight(String, int) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this String, handling
nullby returningnull. - trimRight(String, Position) - Static method in class org.apache.directory.api.util.Strings
-
Removes spaces (char <= 32) from end of this string, handling
nullby 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.
- upperCase(String) - Static method in class org.apache.directory.api.util.Strings
-
Converts a String to upper case as per
String.toUpperCase(Locale). - USCORE - Static variable in class org.apache.directory.api.util.ParserUtil
- 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
- 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
- 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
Stringto bytes on anOutputStreamusing 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
lenbytes from the specified byte array starting at offsetoffto a file, creating the file if it does not exist. - 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 - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.Format
-
Time format, minutes and seconds are omitted, excluding fraction.
- YEAR_MONTH_DAY_HOUR_FRACTION - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.Format
-
Time format, minutes and seconds are omitted, including fraction of an hour.
- YEAR_MONTH_DAY_HOUR_MIN - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.Format
-
Time format with minutes, seconds are omitted, excluding fraction.
- YEAR_MONTH_DAY_HOUR_MIN_FRACTION - Enum constant in enum 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 - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.Format
-
Time format with minutes and seconds, excluding fraction.
- YEAR_MONTH_DAY_HOUR_MIN_SEC_FRACTION - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.Format
-
Time format with minutes and seconds, including fraction.
Z
- Z - Enum constant in enum org.apache.directory.api.util.GeneralizedTime.TimeZoneFormat
-
g-time-zone (Zulu) format.
- ZERO - Static variable in class org.apache.directory.api.util.ParserUtil
- ZERO_N - Static variable in class org.apache.directory.api.util.ParserUtil
-
Define two constants for optional or mandatory elements
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form