12 2016 档案

摘要:clean scala:compile compile package 阅读全文
posted @ 2016-12-22 09:38 life_start 阅读(476) 评论(0) 推荐(0)
摘要:1 . 校验密码强度 密码的强度必须是包含大小写字母和数字的组合,不能使用特殊字符,长度在8-10之间。 ^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,10}$ 2. 校验中文 字符串仅能是中文。 ^[\u4e00-\u9fa5]{0,}$ 3. 由数字、26个英文字母或下划 阅读全文
posted @ 2016-12-19 15:59 life_start 阅读(771) 评论(0) 推荐(0)
摘要:我加载的方法是://参数fileName是jar包的路径,processorName 是业务类的包名+类名public static A load(String fileName, String processorName) { String filePath = fileName; A proce 阅读全文
posted @ 2016-12-14 17:27 life_start 阅读(12132) 评论(0) 推荐(0)
摘要:public class Count { public static void main(String[] args) throws IOException { String filePath="F:\\testPbToJson1,F:\\testPbToJson2,F:\\testPbToJson3"; String [] filepaths=fileP... 阅读全文
posted @ 2016-12-14 16:04 life_start 阅读(188) 评论(0) 推荐(0)
摘要://读取log4j日志配置文件 InputStream inputStream=ApplicationExecutor.class.getResourceAsStream("/log4j_hwf.properties"); PropertyConfigurator.configure(inputStream); ### set log levels... 阅读全文
posted @ 2016-12-12 11:00 life_start 阅读(2174) 评论(0) 推荐(0)
摘要:Configuration conf=new Configuration(); String zookeeper=""; String clientport="2181"; String tableName="pbtest"; String rowkey="22977609"; conf.set(HBASE_ZOO... 阅读全文
posted @ 2016-12-01 14:27 life_start 阅读(79) 评论(0) 推荐(0)