Package org.olap4j.impl
Class Olap4jUtilCompatibleJdk15
java.lang.Object
org.olap4j.impl.Olap4jUtilCompatibleJdk15
- All Implemented Interfaces:
Olap4jUtilCompatible
Implementation of
Olap4jUtilCompatible
which runs in
JDK 1.5 and later.
Prior to JDK 1.5, this class should never be loaded. Applications should
instantiate this class via Class.forName(String)
or better, use
methods in Olap4jUtil
, and not instantiate it at all.
- Since:
- Feb 5, 2007
- Author:
- jhyde
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenumSetAllOf
(Class<E> elementType) enumSetNoneOf
(Class<E> elementType) enumSetOf
(E first, E... rest) final String
Returns a literal pattern String for the specified String.
-
Constructor Details
-
Olap4jUtilCompatibleJdk15
public Olap4jUtilCompatibleJdk15()
-
-
Method Details
-
quotePattern
Description copied from interface:Olap4jUtilCompatible
Returns a literal pattern String for the specified String.Specification as for
Pattern.quote(String)
, which was introduced in JDK 1.5.- Specified by:
quotePattern
in interfaceOlap4jUtilCompatible
- Parameters:
s
- The string to be literalized- Returns:
- A literal string replacement
-
enumSetOf
Description copied from interface:Olap4jUtilCompatible
- Specified by:
enumSetOf
in interfaceOlap4jUtilCompatible
-
enumSetNoneOf
Description copied from interface:Olap4jUtilCompatible
- Specified by:
enumSetNoneOf
in interfaceOlap4jUtilCompatible
-
enumSetAllOf
Description copied from interface:Olap4jUtilCompatible
- Specified by:
enumSetAllOf
in interfaceOlap4jUtilCompatible
-