1 /* 2 * Copyright (C) 2007 The Guava Authors 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /** 18 * This package contains utility methods and classes for working with Java I/O; 19 * for example input streams, output streams, readers, writers, and files. 20 * 21 * <p>At the core of this package are the Source/Sink types: 22 * {@link com.google.common.io.ByteSource ByteSource}, 23 * {@link com.google.common.io.CharSource CharSource}, 24 * {@link com.google.common.io.ByteSink ByteSink} and 25 * {@link com.google.common.io.CharSink CharSink}. They are factories for I/O streams that 26 * provide many convenience methods that handle both opening and closing streams for you. 27 * 28 * <p>This package is a part of the open-source 29 * <a href="http://guava-libraries.googlecode.com">Guava libraries</a>. For more information on 30 * Sources and Sinks as well as other features of this package, see 31 * <a href="https://code.google.com/p/guava-libraries/wiki/IOExplained">I/O Explained</a> on the 32 * Guava wiki. 33 * 34 * @author Chris Nokleberg 35 */ 36 @ParametersAreNonnullByDefault 37 package com.google.common.io; 38 39 import javax.annotation.ParametersAreNonnullByDefault; 40 41