Class CharStreams

  • @GwtIncompatible
    public final class CharStreams
    extends Object
    Provides utility methods for working with character streams.

    All method parameters must be non-null unless documented otherwise.

    Some of the methods in this class take arguments with a generic type of Readable & Closeable. A Reader implements both of those interfaces. Similarly for Appendable & Closeable and Writer.

    Chris Nokleberg, Bin Zhu, Colin Decker