1 Linux平台下快速搭建FTP服务器 win7下如何建立ftp服务器
摘要:百度经验连接(亲测可用) http://jingyan.baidu.com/article/380abd0a77ae041d90192cf4.html win7下如何建立ftp服务器 http://jingyan.baidu.com/article/574c5219d466c36c8d9dc138.
阅读全文
posted @
2016-11-28 15:41
life_start
阅读(183)
推荐(0)
24 配置项组织的一种方式
摘要:import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; /** * 所有配置项,配置加载与获取类 */ publ...
阅读全文
posted @
2016-11-18 11:25
life_start
阅读(234)
推荐(0)
12 hdfs常用文件、目录拷贝操作、删除操作
摘要:package com.da.hbase.tool.utils; import com.da.hbase.tool.common.Const; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; i...
阅读全文
posted @
2016-11-18 11:22
life_start
阅读(6033)
推荐(0)
3 windows环境与shell交互操作
摘要:/** * 由SshConfig配置获取一个Session * @param conf * @return */ public static Session createSession(SshConfig conf){ LOG.info("try connect to " + conf.getHostIp() + ",usern...
阅读全文
posted @
2016-11-18 11:20
life_start
阅读(981)
推荐(0)
23 遍历删除本地目录的方法,文件末尾追加内容,按行读取文件内容
摘要:1、遍历删除本地目录 2、文件末尾追加内容 3、按行读取文件内容
阅读全文
posted @
2016-11-18 11:17
life_start
阅读(303)
推荐(0)
23 读取excel
摘要:/** index mappingname originalname datatype family 0 task_id taskIndexCode STRING info 1 task_type resourceDescType INT32 info 2 camera_index_code cam
阅读全文
posted @
2016-11-08 19:15
life_start
阅读(293)
推荐(0)
22 java常用方法
摘要:/** * 通过正则获取该目录下满足条件的所有目录 * @param luceneFilePathRegular 正则目录,如/user/solrindex/正则表达式 * @return 满足正则表达式的目录集合 list */ public static List fetchDirByRegularLinux(String luceneFi...
阅读全文
posted @
2016-11-08 18:52
life_start
阅读(172)
推荐(0)