KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > collections > FullPropertiesImpl


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
// This file is
5
// Copyright (C) 2002-@year@ by Leo Mekenkamp. All rights reserved.
6
// $Id: PersistentPropertiesImpl.java,v 1.2 2003/02/03 07:39:13 leomekenkamp Exp $
7

8 package org.ozoneDB.collections;
9
10 import java.util.Properties JavaDoc;
11
12 /**
13  * <p>Do not use this class directly; use the <code>OzoneProperties</code>
14  * interface instead.</p>
15  *
16  * <p>Stores properties in an ozone aware map (<code>FullTreeMapImpl</code>).</p>
17  *
18  * @author <a HREF="mailto:ozone-db.orgATmekenkampD0Tcom">Leo Mekenkamp (mind the anti-sp@m)</a>
19  * @version $Id: $
20  */

21 public class FullPropertiesImpl extends BasePropertiesImpl implements OzoneProperties {
22     
23     private static final long serialVersionUID = 1L;
24
25     public FullPropertiesImpl() {
26         // TODO: replace when fake factories are finished
27
this.backingMap = (OzoneTreeMap) database().createObject(FullTreeMapImpl.class);
28     }
29     
30     public FullPropertiesImpl(Properties JavaDoc properties) {
31         this();
32         load(properties);
33     }
34         
35 }
36
Popular Tags