List of usage examples for java.io Reader subclass-usage
From source file com.google.ratel.deps.io.input.XmlStreamReader.java
/**
* Character stream that handles all the necessary Voodo to figure out the
* charset encoding of the XML document within the stream.
* <p>
* IMPORTANT: This class is not related in any way to the org.xml.sax.XMLReader.
* This one IS a character stream.
From source file com.seajas.search.contender.scripting.XmlHtmlReader.java
/**
* Character stream that handles (or at least attemtps to) all the necessary Voodo to figure out the charset encoding of both XML and HTML documents within a given stream.
*
* IMPORTANT: This class is not related in any way to the org.xml.sax.XMLReader. This one IS a character stream.
*
* All this has to be done without consuming characters from the stream, if not the XML parser will not recognized the document as a valid XML. This is not 100% true, but it's close enough (UTF-8 BOM is not handled by all parsers right now, XmlReader handles it and things work in all parsers).
From source file org.apache.hadoop.gateway.filter.rewrite.impl.json.JsonFilterReader.java
class JsonFilterReader extends Reader { private static final UrlRewriteMessages LOG = MessagesFactory.get(UrlRewriteMessages.class); private static final UrlRewriteFilterPathDescriptor.Compiler<JsonPath.Expression> JPATH_COMPILER = new JsonPathCompiler(); private static final UrlRewriteFilterPathDescriptor.Compiler<Pattern> REGEX_COMPILER = new RegexCompiler();
From source file org.apache.hadoop.gateway.filter.rewrite.impl.xml.XmlFilterReader.java
public abstract class XmlFilterReader extends Reader { private static final UrlRewriteResources RES = ResourcesFactory.get(UrlRewriteResources.class); private static final String DEFAULT_XML_VERSION = "1.0";
From source file XmlReader.java
/**
* This handles several XML-related tasks that normal java.io Readers
* don't support, inluding use of IETF standard encoding names and
* automatic detection of most XML encodings. The former is needed
* for interoperability; the latter is needed to conform with the XML
* spec. This class also optimizes reading some common encodings by