List of utility methods to do Class Path Load
StringBuilder | loadTextFromClassPath(Class> cls, String filename) load Text From Class Path InputStream input = cls.getResourceAsStream(filename); if (input == null) return null; try { BufferedReader in = new BufferedReader(new InputStreamReader(input)); StringBuilder sb = new StringBuilder(Math.max(1, input.available())); String s; while ((s = in.readLine()) != null) ... |