javacommons/utils/tsrc/rtsupport/javasrc/com/nokia/mj/impl/properties/test/Property2.java
branchRCL_3
changeset 19 04becd199f91
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javacommons/utils/tsrc/rtsupport/javasrc/com/nokia/mj/impl/properties/test/Property2.java	Tue Apr 27 16:30:29 2010 +0300
@@ -0,0 +1,41 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+package com.nokia.mj.impl.properties.test;
+
+import com.nokia.mj.impl.rt.support.SystemPropertyProvider;
+
+/**
+ * A class for handling dynamic system properties of File API. In order to speed
+ * the search all the property names are stored into two Hashtables except for
+ * fileconn.dir.private and fileconn.dir.roots.names properties.
+ */
+public class Property2 implements SystemPropertyProvider
+{
+
+    public String getProperty(String key)
+    {
+        //Get the asked property name.
+        System.out.println("  test.Property2");
+        return key +" DynamicValue2";
+
+    }
+    public boolean isStatic(String key)
+    {
+        return true;
+    }
+}