代码样例如下(以java举例): InputStream in = HTTPServer.class.getResourceAsStream(file_path); 像上面这种通过打点再打点调用的方式就叫做链式调用。