Uses of Annotation Interface
com.google.common.io.ParametricNullness
Packages that use ParametricNullness
Package
Description
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
-
Uses of ParametricNullness in com.google.common.io
Methods in com.google.common.io with annotations of type ParametricNullnessModifier and TypeMethodDescriptionByteProcessor.getResult()Return the result of processing all the bytes.LineProcessor.getResult()Return the result of processing all the lines.<T> TByteSource.ByteArrayByteSource.read(ByteProcessor<T> processor) <T> TByteSource.read(ByteProcessor<T> processor) Reads the contents of this byte source using the givenprocessorto process bytes as they are read.static <T> TByteStreams.readBytes(InputStream input, ByteProcessor<T> processor) Process the bytes of the given input stream using the given processor.static <T> TFiles.readBytes(File file, ByteProcessor<T> processor) Deprecated.<T> TCharSource.CharSequenceCharSource.readLines(LineProcessor<T> processor) <T> TCharSource.readLines(LineProcessor<T> processor) Reads lines of text from this source, processing each line as it is read using the givenprocessor.static <T> TCharStreams.readLines(Readable readable, LineProcessor<T> processor) Streams lines from aReadableobject, stopping when the processor returnsfalseor all lines have been read and returning the result produced by the processor.static <T> TFiles.readLines(File file, Charset charset, LineProcessor<T> callback) Deprecated.PreferasCharSource(file, charset).readLines(callback).static <T> TResources.readLines(URL url, Charset charset, LineProcessor<T> callback) Streams lines from a URL, stopping when our callback returns false, or we have read all of the lines.<C extends Closeable>
CCloser.register(C closeable) Method parameters in com.google.common.io with annotations of type ParametricNullness
asByteSource(file).read(processor).