标签:tostring file try NPU div str utils cep class
import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import org.apache.commons.io.IOUtils; try { InputStream stream = getClass().getClassLoader().getResourceAsStream("a.html"); return IOUtils.toString(stream, StandardCharsets.UTF_8); } catch (IOException e) { return e.toString(); }
标签:tostring file try NPU div str utils cep class
原文地址:https://www.cnblogs.com/tonggc1668/p/12665876.html