Package org.olap4j.impl
Interface Olap4jUtilCompatible
- All Known Implementing Classes:
Olap4jUtilCompatibleJdk14
,Olap4jUtilCompatibleJdk15
public interface Olap4jUtilCompatible
Interface containing methods which are implemented differently in different
versions of the JDK.
The methods should not be called directly, only via the corresponding
static methods in Olap4jUtil
, namely:
This interface could in principle be extended to allow native implementations of methods, or to serve as a factory for entire classes which have different implementations in different environments.
- Since:
- Feb 5, 2007
- Author:
- jhyde
-
Method Summary
Modifier and TypeMethodDescriptionenumSetAllOf
(Class<E> elementType) enumSetNoneOf
(Class<E> elementType) enumSetOf
(E first, E... rest) Returns a literal pattern String for the specified String.
-
Method Details
-
quotePattern
Returns a literal pattern String for the specified String.Specification as for
Pattern.quote(String)
, which was introduced in JDK 1.5.- Parameters:
s
- The string to be literalized- Returns:
- A literal string replacement
-
enumSetOf
-
enumSetNoneOf
-
enumSetAllOf
-