关于getResourceAsStream()java class.getResourceAsStream() 返回时inputstream类型 这个只能读取文件 那有没有相应的outputstream类 来写文件呢 [解决办法]应该没吧,写文件用FileOutputStream就行了嘛