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