| |
|
| java.lang.Object net.sf.jasperreports.engine.util.JRStringUtil
JRStringUtil | public class JRStringUtil (Code) | | author: Teodor Danciu (teodord@users.sourceforge.net) version: $Id: JRStringUtil.java 1681 2007-03-29 15:33:50Z teodord $ |
getLiteral | public static String getLiteral(String name)(Code) | | Takes a name and returns the same if it is a Java identifier;
else it substitutes the illegal characters so that it can be an identifier
Parameters: name - |
replaceDosEOL | public static String replaceDosEOL(String text)(Code) | | Replaces DOS end of line (CRLF) with Unix end of line (LF).
Parameters: text - the text the text with CRLF replaced by LF; if no CRLF was found, the same object is returned. |
|
|
|