posted @ 2017-01-23 10:56
life_start
阅读(393)
推荐(0)
摘要:
maven依赖 <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <surefire.redirectTestOutputToFile>true</surefire.redirectTest
阅读全文
posted @ 2017-01-23 10:21
life_start
阅读(383)
推荐(0)
摘要:
Cron表达式是一个字符串,字符串以5或6个空格隔开,分为6或7个域,每一个域代表一个含义,Cron有如下两种语法格式: Seconds Minutes Hours DayofMonth Month DayofWeek Year或 Seconds Minutes Hours DayofMonth M
阅读全文
posted @ 2017-01-05 14:05
life_start
阅读(204)
推荐(0)
摘要:
clean scala:compile compile package
阅读全文
posted @ 2016-12-22 09:38
life_start
阅读(496)
推荐(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
阅读(794)
推荐(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
阅读(12167)
推荐(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
阅读(207)
推荐(0)
摘要:
//读取log4j日志配置文件 InputStream inputStream=ApplicationExecutor.class.getResourceAsStream("/log4j_hwf.properties"); PropertyConfigurator.configure(inputStream); ### set log levels...
阅读全文
posted @ 2016-12-12 11:00
life_start
阅读(2200)
推荐(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
阅读(87)
推荐(0)
摘要:
百度经验连接(亲测可用) http://jingyan.baidu.com/article/380abd0a77ae041d90192cf4.html win7下如何建立ftp服务器 http://jingyan.baidu.com/article/574c5219d466c36c8d9dc138.
阅读全文
posted @ 2016-11-28 15:41
life_start
阅读(177)
推荐(0)