摘要:
public String readDoc(File file) { StringBuffer buffer = new StringBuffer(); InputStream input = null; WordExtractor extractor = null; String[] paragraphs = null; try { input = new FileInputStream(file); extractor = new WordExtractor(input); ... 阅读全文
posted @ 2013-08-22 15:02
悟寰轩-叶秋
阅读(4252)
评论(0)
推荐(0)
摘要:
/** * 获得最终访问地址 * * @param link * @return */ public String getRealLink(String link) { try { HttpContext httpContext = new BasicHttpContext(); HttpUtil.get(link, "iso-8859-1", httpContext); RedirectLocations redirectLocations = (RedirectL... 阅读全文
posted @ 2013-08-22 09:23
悟寰轩-叶秋
阅读(597)
评论(0)
推荐(0)

浙公网安备 33010602011771号