public static List < String > readFileFromClassPathAsList ( String _fileName ) { List < String > result = readFileFromClassPathAsList ( _fileName , Charset . defaultCharset ( ) , false ) ; return result == null ? new ArrayList < String > ( ) : result ; }
Reads a file from classpath to a list of String using default charset and log any exception .