comparison dwt/dwthelper/System.d @ 310:7ca3f26319f1

System.out.println and interface CharSequence
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:47:19 +0200
parents 9764f08379f2
children 77fa7f3ab37e
comparison
equal deleted inserted replaced
308:dc2ae028d2d8 310:7ca3f26319f1
165 } 165 }
166 166
167 public static void setProperty ( String key, String value ) { 167 public static void setProperty ( String key, String value ) {
168 /* set property for local dwt keys */ 168 /* set property for local dwt keys */
169 if (key[0..3] == "dwt") { 169 if (key[0..3] == "dwt") {
170 if (key !is null && value !is null) 170 if (key !is null && value !is null)
171 localProperties[ key ] = value; 171 localProperties[ key ] = value;
172 /* else set properties for global system keys (environment) */ 172 /* else set properties for global system keys (environment) */
173 } else { 173 } else {
174 174
175 } 175 }
176 176
177 }
178
179 class Output {
180 public void println( String str ){
181 implMissing( __FILE__, __LINE__ );
182 }
183 }
184
185 public static Output out__;
186 public static Output out_(){
187 if( out__ is null ){
188 out__ = new Output();
189 }
190 return out__;
177 } 191 }
178 192
179 private static String[String] localProperties; 193 private static String[String] localProperties;
180 } 194 }
181 195