org.eclipse.jdt.internal.formatter.comment
Class HTMLEntity2JavaReader

java.lang.Object
  extended by java.io.Reader
      extended by org.eclipse.jdt.internal.formatter.comment.SubstitutionTextReader
          extended by org.eclipse.jdt.internal.formatter.comment.HTMLEntity2JavaReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class HTMLEntity2JavaReader
extends SubstitutionTextReader

SubstitutionTextReader that will substitute plain text values for html entities encountered in the original text. Line breaks and whitespace are preserved.

Since:
3.0

Constructor Summary
HTMLEntity2JavaReader(java.io.Reader reader)
          Creates a new instance that will read from reader
 
Method Summary
 
Methods inherited from class org.eclipse.jdt.internal.formatter.comment.SubstitutionTextReader
close, getString, read, read, ready, reset
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLEntity2JavaReader

public HTMLEntity2JavaReader(java.io.Reader reader)
Creates a new instance that will read from reader

Parameters:
reader - the source reader