Exemplo n.º 1
0
 private static NameIterator getObjNmIter(Config config) {
   String pattern = config.get("objects");
   String prefix = config.get("oprefix", OBJECT_PREFIX);
   String suffix = config.get("osuffix", OBJECT_SUFFIX);
   return Iterators.getNameIterator(pattern, prefix, suffix);
 }
Exemplo n.º 2
0
 private static NameIterator getConNmIter(Config config) {
   String pattern = config.get("containers");
   String prefix = config.get("cprefix", CONTAINER_PREFIX);
   String suffix = config.get("csuffix", CONTAINER_SUFFIX);
   return Iterators.getNameIterator(pattern, prefix, suffix);
 }