| java.lang.Object org.openrdf.sail.helpers.SailUtil
SailUtil | public class SailUtil (Code) | | Defines utility methods for working with Sails.
|
Method Summary | |
public static Sail | findSailInStack(Sail topSail, Class<? extends Sail> sailClass) Searches a stack of Sails from top to bottom for a Sail that is
an instance of the suppied class or interface. |
findSailInStack | public static Sail findSailInStack(Sail topSail, Class<? extends Sail> sailClass)(Code) | | Searches a stack of Sails from top to bottom for a Sail that is
an instance of the suppied class or interface. The first Sail that
matches (i.e. the one closest to the top) is returned.
Parameters: topSail - The top of the Sail stack. Parameters: sailClass - A class or interface. A Sail that is an instance of sailClass, or null if no suchSail was found. |
|
|