[jdom-interest] re: Stirring up Trouble

Robin Meade rmeade at outreach.hawaii.edu
Wed Jul 19 14:23:52 PDT 2000


Brett McLaughlin wrote:
snip
> 
> getContent(boolean preserveWhitespace);
> 
> is perfectly intuitive.
> 
> But what does
> 
> getContent()
> 
> do? 
snip

Wouldn't 

  getContentTrimmed();

be more readable than

  getContent(true);
  
For the latter, I need to consult the JavaDoc to know what's going on.

As for
  
  getContent();

I would assume it returned the untrimmed content.

Robin Meade



More information about the jdom-interest mailing list