Revision 11377

View differences:

trunk/libraries/libGPE/src/org/gvsig/gpe/GPEDefaults.java
46 46
 *
47 47
 * $Id$
48 48
 * $Log$
49
 * Revision 1.5  2007-04-19 11:50:20  csanchez
49
 * Revision 1.6  2007-04-26 14:23:16  jorpiell
50
 * Add a getStringProperty method
51
 *
52
 * Revision 1.5  2007/04/19 11:50:20  csanchez
50 53
 * Actualizacion protoripo libGPE
51 54
 *
52 55
 * Revision 1.4  2007/04/18 11:03:36  jorpiell
......
104 107
	}
105 108
	
106 109
	/**
107
	 * Gets a property
110
	 * Gets a String property
108 111
	 * @param key
109 112
	 * Property name
110 113
	 * @return
111 114
	 */
112
	public static String getProperty(String key){
115
	public static String getStringProperty(String key){
113 116
		Object obj = properties.getProperty(key);
114 117
		if (obj == null){
115 118
			return null;
......
118 121
	}
119 122
	
120 123
	/**
124
	 * Gets a property
125
	 * @param key
126
	 * Property name
127
	 * @return
128
	 */
129
	public static Object getProperty(String key){
130
		return properties.getProperty(key);
131
	}
132
	
133
	/**
121 134
	 * Sets a property
122 135
	 * @param key
123 136
	 * @param value

Also available in: Unified diff