src/main/java/me/neznamy/tab/shared/config/ConfigurationFile.java
private List<String> readAllLines(File file) {
		List<String> list = new ArrayList<String>();
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8));
			String line;
			while ((line = br.readLine()) != null) {
				list.add(line);
			}
			br.close();
		} catch (Exception ex) {
			TAB.getInstance().getErrorManager().criticalError("Failed to read file " + file, ex);
		}
		return list;
	}
/**
	 * Reads all lines in file and returns them as List
	 * @return list of lines in file
	 */
Reads all lines in file and returns them as List
@return list of lines in file
Reads all lines in file and returns them as List @return list of lines in file
private List<String> readAllLines(File file) {
		List<String> list = new ArrayList<String>();
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8));
			String line;
			while ((line = br.readLine()) != null) {
				list.add(line);
			}
			br.close();
		} catch (Exception ex) {
			TAB.getInstance().getErrorManager().criticalError("Failed to read file " + file, ex);
		}
		return list;
	}
private List < String > readAllLines ( File file ) { List < String > list = new ArrayList < String > ( ) ; try { BufferedReader br = new BufferedReader ( new InputStreamReader ( new FileInputStream ( file ) , StandardCharsets . UTF_8 ) ) ; String line ; while ( ( line = br . readLine ( ) ) != null ) { list . add ( line ) ; } br . close ( ) ; } catch ( Exception ex ) { TAB . getInstance ( ) . getErrorManager ( ) . criticalError ( "Failed to read file " + file , ex ) ; } return list ; }
Reads all lines in file and returns them as List
 @return list of lines in file
Reads all lines in file and returns them as List @return list of lines in file