KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > xml > cli > CollectionFactory


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7

8 package org.ozoneDB.xml.cli;
9
10 import org.xmldb.api.base.Collection;
11 import org.ozoneDB.ExternalDatabase;
12 /**
13  * @author per
14  */

15 public class CollectionFactory {
16
17     public static Collection create( ExternalDatabase database, String JavaDoc collectionName) throws Exception JavaDoc {
18         return CollectionImpl.newCollection(database, collectionName);
19     }
20 }
21
Popular Tags