---
title: "Apach Common 包"
author: "harbey"
date: "2009-10-28T22:47:02Z"
tags: []
slug: "apach-common"
draft: false
lastmod: "2009-10-28T22:47:02Z"
id: 505995
url: "https://harbey.iteye.com/blog/505995"
---

**Common IO:**
FileUtils:

```java

 File tpl = new File("c:\\test.html");
 FileUtils.readFileToString(tpl, "GBK");

```