Package com.dbxml.db.core

Examples of com.dbxml.db.core.CollectionManager


   }

   private Collection getAbsoluteCollection(String path) throws dbXMLException {
      if ( path.startsWith("/") ) {
         StringTokenizer st = new StringTokenizer(path, "/");
         CollectionManager cm = Database.getInstance();
         if ( !st.hasMoreTokens() )
            return (Collection)cm;
         while ( cm != null && st.hasMoreTokens() ) {
            path = st.nextToken();
            cm = cm.getCollection(path);
         }
         return (Collection)cm;
      }
      else
         throw new dbXMLException("Invalid Collection Path '"+path+"'");
View Full Code Here

TOP

Related Classes of com.dbxml.db.core.CollectionManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.