摘要:
guava源码:Files 看一下它的调用过程 public static <T> T readLines(File file, Charset charset, LineProcessor<T> callback) throws IOException { return asCharSource( 阅读全文
摘要:
@GwtCompatible public final class Strings { private Strings() {} /** *若string为null,则返回空串;否则,返回自身 */ public static String nullToEmpty(@Nullable String string) { return (string == null... 阅读全文