Class ReaderBootstrapper

java.lang.Object
com.ctc.wstx.io.InputBootstrapper
com.ctc.wstx.io.ReaderBootstrapper

public final class ReaderBootstrapper extends InputBootstrapper
Input bootstrap class used when input comes from a Reader; in this case, encoding is already known, and thus encoding from XML declaration (if any) is only double-checked, not really used.

Note: since the actual Reader to use after bootstrapping is pre-constructed, the local input buffer can (and should) be quite small.