javacommons/utils/tsrc/rtsupport/javasrc/com/nokia/mj/impl/properties/test/Property2.java
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 package com.nokia.mj.impl.properties.test; |
|
19 |
|
20 import com.nokia.mj.impl.rt.support.SystemPropertyProvider; |
|
21 |
|
22 /** |
|
23 * A class for handling dynamic system properties of File API. In order to speed |
|
24 * the search all the property names are stored into two Hashtables except for |
|
25 * fileconn.dir.private and fileconn.dir.roots.names properties. |
|
26 */ |
|
27 public class Property2 implements SystemPropertyProvider |
|
28 { |
|
29 |
|
30 public String getProperty(String key) |
|
31 { |
|
32 //Get the asked property name. |
|
33 System.out.println(" test.Property2"); |
|
34 return key +" DynamicValue2"; |
|
35 |
|
36 } |
|
37 public boolean isStatic(String key) |
|
38 { |
|
39 return true; |
|
40 } |
|
41 } |
|