本文整理汇总了Java中org.apache.catalina.util.ResourceSet类的典型用法代码示例。如果您正苦于以下问题:Java ResourceSet类的具体用法?Java ResourceSet怎么用?Java ResourceSet使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ResourceSet类属于org.apache.catalina.util包,在下文中一共展示了ResourceSet类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getResourcePathsInternal
import org.apache.catalina.util.ResourceSet; //导入依赖的package包/类
/**
* Internal implementation of getResourcesPath() logic.
*
* @param resources Directory context to search
* @param path Collection path
*/
private Set<String> getResourcePathsInternal(DirContext resources,
String path) {
ResourceSet<String> set = new ResourceSet<String>();
try {
listCollectionPaths(set, resources, path);
} catch (NamingException e) {
return (null);
}
set.setLocked(true);
return (set);
}
示例2: getResourcePathsInternal
import org.apache.catalina.util.ResourceSet; //导入依赖的package包/类
/**
* Internal implementation of getResourcesPath() logic.
*
* @param resources Directory context to search
* @param path Collection path
*/
private Set getResourcePathsInternal(DirContext resources, String path) {
ResourceSet set = new ResourceSet();
try {
listCollectionPaths(set, resources, path);
} catch (NamingException e) {
return (null);
}
set.setLocked(true);
return (set);
}
示例3: getResourcePathsInternal
import org.apache.catalina.util.ResourceSet; //导入依赖的package包/类
/**
* Internal implementation of getResourcesPath() logic.
*
* @param resources
* Directory context to search
* @param path
* Collection path
*/
private Set<String> getResourcePathsInternal(DirContext resources, String path) {
ResourceSet<String> set = new ResourceSet<String>();
try {
listCollectionPaths(set, resources, path);
} catch (NamingException e) {
return (null);
}
set.setLocked(true);
return (set);
}