commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norbert Reilly (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-260) StringEscapeUtils should expose escape*() methods taking Writer argument
Date Wed, 31 May 2006 05:06:29 GMT
StringEscapeUtils should expose escape*() methods taking Writer argument
------------------------------------------------------------------------

         Key: LANG-260
         URL: http://issues.apache.org/jira/browse/LANG-260
     Project: Commons Lang
        Type: Improvement

 Environment: N/A
    Reporter: Norbert Reilly


StringEscapeUtils.escapeXML(String) is the only exposed variant, but the package private Entities.XML
class it uses under the covers has a variant taking a Writer. The StringEscapeUtils.escapeXML(Writer,
String) variant would be much more efficient when incrementally escaping values and adding
them one-by-one and could seemingly be exposed with very little effort. Ditto for the unescapeXML()
case, and presumably other styles of escape/unescape (like HTML) that use the Entities class
under the covers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message