Here you can find the source of getFileFromPool(String path)
public static InputStream getFileFromPool(String path)
//package com.java2s; //License from project: Open Source License import java.io.InputStream; import java.net.URLClassLoader; public class Main { private static final URLClassLoader loader = (URLClassLoader) ClassLoader.getSystemClassLoader(); public static InputStream getFileFromPool(String path) { return loader.getResourceAsStream(path); }/* www . ja va 2 s .co m*/ }