Show
Ignore:
Timestamp:
05/04/08 18:12:38 (8 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted the char[] to String and use the an alias.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/dwthelper/File.d

    r0 r212  
    1313 
    1414    public static char separatorChar; 
    15     public static char[] separator; 
     15    public static String separator; 
    1616    public static char pathSeparatorChar; 
    17     public static char[] pathSeparator; 
     17    public static String pathSeparator; 
    1818 
    1919    private tango.io.FilePath.FilePath mFilePath; 
     
    2626    } 
    2727 
    28     public this ( char[] pathname ){ 
     28    public this ( String pathname ){ 
    2929        mFilePath = new tango.io.FilePath.FilePath( pathname ); 
    3030    } 
    3131 
    32     public this ( char[] parent, char[] child ){ 
     32    public this ( String parent, String child ){ 
    3333        mFilePath = new tango.io.FilePath.FilePath( tango.io.FilePath.FilePath.join( parent, child ) ); 
    3434    } 
    3535 
    36     public this ( dwt.dwthelper.File.File parent, char[] child ){ 
     36    public this ( dwt.dwthelper.File.File parent, String child ){ 
    3737        mFilePath = new tango.io.FilePath.FilePath( tango.io.FilePath.FilePath.join( parent.mFilePath.toString, child ) ); 
    3838    } 
     
    4343    } 
    4444 
    45     public char[] getName(){ 
    46         implMissing( __FILE__, __LINE__ ); 
    47         return null; 
    48     } 
    49  
    50     public char[] getParent(){ 
     45    public String getName(){ 
     46        implMissing( __FILE__, __LINE__ ); 
     47        return null; 
     48    } 
     49 
     50    public String getParent(){ 
    5151        implMissing( __FILE__, __LINE__ ); 
    5252        return null; 
     
    5858    } 
    5959 
    60     public char[] getPath(){ 
     60    public String getPath(){ 
    6161        implMissing( __FILE__, __LINE__ ); 
    6262        return null; 
     
    6868    } 
    6969 
    70     public char[] getAbsolutePath(){ 
     70    public String getAbsolutePath(){ 
    7171        return tango.io.FileSystem.FileSystem.toAbsolute( mFilePath ).toString; 
    7272    } 
     
    7676    } 
    7777 
    78     public char[] getCanonicalPath(){ 
     78    public String getCanonicalPath(){ 
    7979        implMissing( __FILE__, __LINE__ ); 
    8080        return null; 
     
    137137    } 
    138138 
    139     public char[][] list(){ 
     139    public String[] list(){ 
    140140        implMissing( __FILE__, __LINE__ ); 
    141141        return null; 
     
    177177    } 
    178178 
    179     public static dwt.dwthelper.File.File createTempFile( char[] prefix, char[] suffix, dwt.dwthelper.File.File directory ){ 
    180         implMissing( __FILE__, __LINE__ ); 
    181         return null; 
    182     } 
    183  
    184     public static dwt.dwthelper.File.File createTempFile( char[] prefix, char[] suffix ){ 
     179    public static dwt.dwthelper.File.File createTempFile( String prefix, String suffix, dwt.dwthelper.File.File directory ){ 
     180        implMissing( __FILE__, __LINE__ ); 
     181        return null; 
     182    } 
     183 
     184    public static dwt.dwthelper.File.File createTempFile( String prefix, String suffix ){ 
    185185        implMissing( __FILE__, __LINE__ ); 
    186186        return null; 
     
    192192    } 
    193193 
    194     public char[] toString(){ 
     194    public String toString(){ 
    195195        implMissing( __FILE__, __LINE__ ); 
    196196        return null;