/**
* Function Detail : 对输入的字符处理
* @param pstrWord
* @return
* @throws java.io.UnsupportedEncodingException
*/
public static String replaceIn(String pstrWord) throws Exception
{
// pstrWord = replace(pstrWord);
pstrWord = htmlEncode(pstrWord);
pstrWord = pstrWord.replaceAll( " " , " <br/> " );
pstrWord = pstrWord.replaceAll( " " , "   " );
pstrWord = pstrWord.replaceAll( " " , " " );
return pstrWord;
}
/**
* Function Detail : 对输出的字符处理
* @param pstrWord
* @return
* @throws java.io.UnsupportedEncodingException
*/
public static String replaceOut(String pstrWord) throws Exception
{
pstrWord = pstrWord.replaceAll( " <br/> " , " " );
pstrWord = pstrWord.replaceAll( "   " , " " );
pstrWord = pstrWord.replaceAll( " " , " " );
pstrWord = toChinese(pstrWord);
return pstrWord;
}
* Function Detail : 对输入的字符处理
* @param pstrWord
* @return
* @throws java.io.UnsupportedEncodingException
*/
public static String replaceIn(String pstrWord) throws Exception
{
// pstrWord = replace(pstrWord);
pstrWord = htmlEncode(pstrWord);
pstrWord = pstrWord.replaceAll( " " , " <br/> " );
pstrWord = pstrWord.replaceAll( " " , "   " );
pstrWord = pstrWord.replaceAll( " " , " " );
return pstrWord;
}
/**
* Function Detail : 对输出的字符处理
* @param pstrWord
* @return
* @throws java.io.UnsupportedEncodingException
*/
public static String replaceOut(String pstrWord) throws Exception
{
pstrWord = pstrWord.replaceAll( " <br/> " , " " );
pstrWord = pstrWord.replaceAll( "   " , " " );
pstrWord = pstrWord.replaceAll( " " , " " );
pstrWord = toChinese(pstrWord);
return pstrWord;
}