Changeset 83 for trunk


Ignore:
Timestamp:
06/23/11 11:03:53 (13 years ago)
Author:
sherbold
Message:
  • fixed typo
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaHelperLib/src/de/ugoe/cs/util/FileTools.java

    r73 r83  
    2626         * </p> 
    2727         * @param filename name of the file 
    28          * @param cariageReturn if true, "\r\n", if false "\n" is used as line seperator 
     28         * @param carriageReturn if true, "\r\n", if false "\n" is used as line seperator 
    2929         * @return string array, where each line contains a file 
    3030         * @throws IOException see {@link FileReader#read(char[])}, {@link FileReader#close()}  
    3131         * @throws FileNotFoundException see {@link FileReader#FileReader(File)} 
    3232         */ 
    33         public static String[] getLinesFromFile(String filename, boolean cariageReturn) throws IOException, FileNotFoundException { 
     33        public static String[] getLinesFromFile(String filename, boolean carriageReturn) throws IOException, FileNotFoundException { 
    3434                File f = new File(filename); 
    3535                FileReader reader = new FileReader(f); 
     
    3838                reader.close(); 
    3939                String splitString; 
    40                 if( cariageReturn ) { 
     40                if( carriageReturn ) { 
    4141                        splitString = "\r\n"; 
    4242                } else { 
Note: See TracChangeset for help on using the changeset viewer.