@Test public void getResourceAsStream_A$String() throws Exception { String name = "inputs/Sample.txt"; InputStream actual = IOUtil.getResourceAsStream(name); assertNotNull(actual); IOUtils.closeQuietly(actual); }
public static InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return IOUtil.class.getClassLoader().getResourceAsStream(name); }
IOUtil { public static InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return IOUtil.class.getClassLoader().getResourceAsStream(name); } }
IOUtil { public static InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return IOUtil.class.getClassLoader().getResourceAsStream(name); } private  IOUtil(); }
IOUtil { public static InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return IOUtil.class.getClassLoader().getResourceAsStream(name); } private  IOUtil(); static InputStream getResourceAsStream(String name); static final String readAsString(InputStream is, String encoding); static final List<String> readAsLineList(InputStream is); }
IOUtil { public static InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return IOUtil.class.getClassLoader().getResourceAsStream(name); } private  IOUtil(); static InputStream getResourceAsStream(String name); static final String readAsString(InputStream is, String encoding); static final List<String> readAsLineList(InputStream is);  }