Package org.ldaptive.url
Class MinimalUrlFormatter
java.lang.Object
org.ldaptive.url.AbstractUrlFormatter
org.ldaptive.url.MinimalUrlFormatter
- All Implemented Interfaces:
UrlFormatter
Formats an LDAP URL using the exact properties contained in the LDAP URL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringformatAttribute(String attrName) Formats the supplied attribute name.protected StringformatBaseDn(String baseDn, Dn parsedBaseDn) Formats the supplied baseDN.protected StringformatFilter(String filter, Filter parsedFilter) Formats the supplied filter string.protected StringformatHostname(String hostname) Formats the supplied hostname.protected StringformatScheme(String scheme) Formats the supplied scheme.Methods inherited from class org.ldaptive.url.AbstractUrlFormatter
format
-
Constructor Details
-
MinimalUrlFormatter
public MinimalUrlFormatter()
-
-
Method Details
-
formatScheme
Description copied from class:AbstractUrlFormatterFormats the supplied scheme.- Specified by:
formatSchemein classAbstractUrlFormatter- Parameters:
scheme- to format- Returns:
- formatted scheme
-
formatHostname
Description copied from class:AbstractUrlFormatterFormats the supplied hostname.- Specified by:
formatHostnamein classAbstractUrlFormatter- Parameters:
hostname- to format- Returns:
- formatted hostname
-
formatBaseDn
Description copied from class:AbstractUrlFormatterFormats the supplied baseDN.- Specified by:
formatBaseDnin classAbstractUrlFormatter- Parameters:
baseDn- to formatparsedBaseDn- to supplement formatting options- Returns:
- formatted baseDN
-
formatAttribute
Description copied from class:AbstractUrlFormatterFormats the supplied attribute name.- Specified by:
formatAttributein classAbstractUrlFormatter- Parameters:
attrName- to format- Returns:
- formatted attribute name
-
formatFilter
Description copied from class:AbstractUrlFormatterFormats the supplied filter string.- Specified by:
formatFilterin classAbstractUrlFormatter- Parameters:
filter- to formatparsedFilter- to supplement formatting options- Returns:
- formatted filter string
-