dori.jasper.engine.util
Class JRStringUtil

java.lang.Object
  extended bydori.jasper.engine.util.JRStringUtil

public class JRStringUtil
extends java.lang.Object


Constructor Summary
JRStringUtil()
           
 
Method Summary
static java.lang.String replaceTabWithBlank(java.lang.String source)
           
static java.lang.String treatNewLineChars(java.lang.String source)
          This method inserts a blank character between to consecutive newline characters if encoutered.
static java.lang.String xmlEncode(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRStringUtil

public JRStringUtil()
Method Detail

treatNewLineChars

public static java.lang.String treatNewLineChars(java.lang.String source)
This method inserts a blank character between to consecutive newline characters if encoutered. Also appends a blank character at the beginning of the text, if the first character is a newline character and at the end of the text, if the last character is also a newline. This is useful when trying to layout the paragraphs.


replaceTabWithBlank

public static java.lang.String replaceTabWithBlank(java.lang.String source)

xmlEncode

public static java.lang.String xmlEncode(java.lang.String text)


Copyright © 2001-2004 Teodor Danciu. All Rights Reserved.