Package org.cactoos.io
Input/Output.
- Since:
- 0.1
-
Class Summary Class Description AppendTo Output that appends content to a given file.CheckedInput<E extends Exception> Input that throws exception of specified type.CheckedOutput<E extends Exception> Output that throws exception of specified type.CloseShieldInput A decorator ofInput
that preventsInputStream
to be closed by its performers.CloseShieldInputStream Decorator ofInputStream
to prevent it to be closed.CloseShieldOutput A decorator ofOutput
that preventsOutputStream
to be closed by its performers.CloseShieldOutputStream Decorator ofOutputStream
to prevent it to be closed.DeadInput Input with no data.DeadInputStream InputStream with no data.DeadOutput Output that accepts anything.DeadOutputStream OutputStream that accepts anything.Directory Files and folders in a directory.GzipInput Input that reads compressed data from the GZIP file format.GzipOutput Output that writes compressed data in the GZIP file format.HeadInputStream Input stream that only shows the first N bytes of the original stream.HeadOf Input that only shows the first N bytes of the original input.InputNoNulls Input check for no nulls.InputOf AnInput
that encapsulates other sources of data.InputStreamOf AnInputStream
that encapsulates other sources of data.InputWithFallback Input that returns an alternative input if the main one throwsIOException
.Joined Concatenation of several inputs.LoggingInput Logged input.LoggingInputStream Logged input stream.LoggingOutput Logged output.LoggingOutputStream Logged output stream.LSInputOf Input as LSInput.OutputNoNulls Output check for no nulls.OutputStreamTo AnOutputStream
that encapsulates other destination for the data.OutputTo AnOutput
that encapsulates other destination for the data.ReaderOf AReader
that encapsulates other sources of data.ResourceOf Classpath resource.Stderr Output that writes tostderr
.Stdin Input that reads fromstdin
.Stdout Output that writes tostdout
.Sticky Input that reads only once.SyncInput Thread-safeInput
.SyncOutput Thread-safeOutput
.TailOf Input showing only last N bytes of the stream.TeeInput Input to Output copying pipe.TeeInputStream Stream that copies input to output.TeeOutput Output to Output copying pipe.TeeOutputStream Stream that copies output to output.TeeReader Input to Output copying reader.TempFile A temporary file.TempFolder A temporary folder.UncheckedInput Input that doesn't throw checkedException
.UncheckedOutput Input that doesn't throw checkedException
.WriterTo AWriter
that encapsulates other destination for the data.Zip Zip files and directory.