JAVA August 25, 2018

ProtostuffUtil序列化反序列化工具类

Words count 1.7k Reading time 2 mins.

package com.springboot.demo.utils;

import com.dyuproject.protostuff.LinkedBuffer;
import com.dyuproject...
Read article

JAVA August 25, 2018

Properties读取配置文件工具类

Words count 925 Reading time 1 mins.

PropertiesUtil.java

package com.springboot.demo.utils;

import org.springframework.core.io.ClassPathResource;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * Created by shirukai on 2018/8/13
 * 读取配置文件
 */
public...
Read article
0%