Skip to content

Instantly share code, notes, and snippets.

import java.io.CharArrayWriter;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;
public class CharArrayWriterResponse extends HttpServletResponseWrapper {
private final CharArrayWriter charArray = new CharArrayWriter();
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
@vivizhyy
vivizhyy / SouGouDic.java
Created September 19, 2012 12:42
搜狗细胞词库解析
package scel;
import java.util.List;
import java.util.Map;
public class SouGouDic {
private Map<String, List<String>> pinyinToWords;
private String name;
private String type;