comparison dwt/graphics/ImageDataLoader.d @ 238:380bad9f6852

reverted char[] to String
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:42:55 +0200
parents 5899e0b43e5d
children
comparison
equal deleted inserted replaced
237:98b80b00af79 238:380bad9f6852
9 * IBM Corporation - initial API and implementation 9 * IBM Corporation - initial API and implementation
10 * Port to the D programming language: 10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de> 11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/ 12 *******************************************************************************/
13 module dwt.graphics.ImageDataLoader; 13 module dwt.graphics.ImageDataLoader;
14
15 import dwt.dwthelper.utils;
14 16
15 public import dwt.graphics.ImageData; 17 public import dwt.graphics.ImageData;
16 public import dwt.dwthelper.InputStream; 18 public import dwt.dwthelper.InputStream;
17 19
18 import dwt.graphics.ImageLoader; 20 import dwt.graphics.ImageLoader;
25 27
26 public static ImageData[] load(InputStream stream) { 28 public static ImageData[] load(InputStream stream) {
27 return (new ImageLoader()).load(stream); 29 return (new ImageLoader()).load(stream);
28 } 30 }
29 31
30 public static ImageData[] load(char[] filename) { 32 public static ImageData[] load(String filename) {
31 return (new ImageLoader()).load(filename); 33 return (new ImageLoader()).load(filename);
32 } 34 }
33 35
34 } 36 }