/**
* @param name description : 특정 메소드가 취하는 파라메터를 기술할 때 사용된다.
* @return description : 특정 메소드의 리턴값을 기술할 때 사용된다.
* @exception class_name : 특정 메소드가 발생시킬 수 있는 에외상황을 기술할 때 사용된다.
* @see class_name : "See also"라는 항목을 만들어 해당 클래스와 연결해준다.
* @see class_name#method_name : "See also"라는 항목을 만들어 특정 메소드와 연결해준다.
* {@link class_name#member label} : 메소드나 필드의 상호 참조에 대한 링크를 표시
*
* @version text : HTML 파일의 버전을 표시하는 항목을 만들어 준다.
* @author text : HTML 파일의 저자를 표시하는 항목을 만들어 준다.
*/
/** * String 에 관련된 Util 클래스 * @version : 1.0 * @author : kim jeng soon (newtake@naver.com) */ public class StringUtils{ /** * 문자를 replace합니다. * @param str - 문자 * @param pattern replace전 문자 * @param replace replace후 문자 * @return 바꿔진 문자 */ public static String replace(String str, String pattern, String replace) { int s = 0; int e = 0; StringBuffer result = new StringBuffer(); while ((e = str.indexOf(pattern, s)) >= 0) { result.append(str.substring(s, e)); result.append(replace); s = e + pattern.length(); } result.append(str.substring(s)); return result.toString(); } }
/**
* Title : 제목 .....(Action, Dao, Dto, Form .. class)
* <p>Description : 내용 <p>
* <p>Copyright: Copyright(c) 2004 soma. All rights reserved.</p>
*
* @author Jaehak. Hwang
* @version $Revision. * $
* $log : $
*
* @struts.action name="actionForm" path="/exemAction" scope="request"
* @struts.action-forward name="pass" path="/exemAction1.do"
*
* @struts:form name="actionForm"
*/