Package | Description |
---|---|
org.cactoos.bytes |
Bytes.
|
org.cactoos.io |
Input/Output.
|
org.cactoos.scalar |
Scalars.
|
org.cactoos.text |
Text.
|
Constructor and Description |
---|
BytesOf(Input input)
Ctor.
|
BytesOf(Input input,
int max)
Ctor.
|
DigestEnvelope(Input input,
int max,
String algrthm)
Ctor.
|
DigestEnvelope(Input input,
String algrthm)
Ctor.
|
Md5DigestOf(Input input)
Ctor.
|
Md5DigestOf(Input input,
int max)
Ctor.
|
Sha1DigestOf(Input input)
Ctor.
|
Sha1DigestOf(Input input,
int max)
Ctor.
|
Sha256DigestOf(Input input)
Ctor.
|
Sha256DigestOf(Input input,
int max)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckedInput<E extends Exception>
Input that throws exception of specified type.
|
class |
CloseShieldInput
A decorator of
Input that prevents InputStream
to be closed by its performers. |
class |
DeadInput
Input with no data.
|
class |
GzipInput
Input that reads compressed data from the GZIP file format.
|
class |
HeadOf
Input that only shows the first N bytes of the original input.
|
class |
InputNoNulls
Input check for no nulls.
|
class |
InputOf
An
Input that encapsulates other sources of data. |
class |
InputWithFallback
Input that returns an alternative input if the main one throws
IOException . |
class |
Joined
Concatenation of several inputs.
|
class |
LoggingInput
Logged input.
|
class |
ResourceOf
Classpath resource.
|
class |
Stdin
Input that reads from
stdin . |
class |
Sticky
Input that reads only once.
|
class |
SyncInput
Thread-safe
Input . |
class |
TailOf
Input showing only last N bytes of the stream.
|
class |
TeeInput
Input to Output copying pipe.
|
class |
UncheckedInput
Input that doesn't throw checked
Exception . |
class |
Zip
Zip files and directory.
|
Constructor and Description |
---|
CheckedInput(Input orig,
Func<Exception,E> fnc)
Ctor.
|
CloseShieldInput(Input origin)
Ctor.
|
GzipInput(Input input)
Ctor.
|
GzipInput(Input input,
int max)
Ctor.
|
HeadOf(Input orig,
int len)
Ctor.
|
InputNoNulls(Input input)
Ctor.
|
InputStreamOf(Input input)
Ctor.
|
InputWithFallback(Input input)
Ctor.
|
InputWithFallback(Input input,
Func<IOException,Input> alt)
Ctor.
|
InputWithFallback(Input input,
Input alt)
Ctor.
|
InputWithFallback(Input input,
IoCheckedFunc<IOException,Input> alt)
Ctor.
|
Joined(Input first,
Input... rest)
Ctor.
|
Joined(Input first,
Input... rest)
Ctor.
|
LoggingInput(Input input,
String src)
Ctor.
|
LoggingInput(Input input,
String src,
Logger lgr)
Ctor.
|
LSInputOf(Input inpt)
Ctor.
|
LSInputOf(Input inpt,
String pubid,
String sysid,
String bse)
Ctor.
|
ReaderOf(Input input)
Ctor.
|
ReaderOf(Input input,
CharSequence charset)
Ctor.
|
ReaderOf(Input input,
Charset charset)
Ctor.
|
ReaderOf(Input input,
CharsetDecoder decoder)
Ctor.
|
ResourceOf(CharSequence res,
Input fbk)
New resource input with current context
ClassLoader . |
ResourceOf(Text res,
Input fbk)
New resource input with current context
ClassLoader . |
Sticky(Input input)
Ctor.
|
SyncInput(Input input)
Ctor.
|
SyncInput(Input input,
Object lck)
Ctor.
|
TailOf(Input inpt,
int bytes)
Constructor.
|
TailOf(Input inpt,
int bytes,
int maximum)
Constructor.
|
TeeInput(Input input,
File file)
Ctor.
|
TeeInput(Input input,
Output output)
Ctor.
|
TeeInput(Input input,
Path path)
Ctor.
|
TeeInput(Input input,
Writer writer)
Ctor.
|
TeeInput(Input input,
Writer writer,
CharSequence charset)
Ctor.
|
TeeInput(Input input,
Writer writer,
CharSequence charset,
int size)
Ctor.
|
TeeInput(Input input,
Writer writer,
Charset charset)
Ctor.
|
TeeInput(Input input,
Writer writer,
Charset charset,
int size)
Ctor.
|
TeeInput(Input input,
Writer writer,
int size)
Ctor.
|
UncheckedInput(Input ipt)
Ctor.
|
Constructor and Description |
---|
InputWithFallback(Input input,
Func<IOException,Input> alt)
Ctor.
|
InputWithFallback(Input input,
IoCheckedFunc<IOException,Input> alt)
Ctor.
|
Joined(Iterable<Input> ipts)
Ctor.
|
ResourceOf(CharSequence res,
Func<CharSequence,Input> fbk)
New resource input with current context
ClassLoader . |
ResourceOf(CharSequence res,
Func<CharSequence,Input> fbk,
Class<?> cls)
New resource input with
ClassLoader from the specified Class . |
ResourceOf(CharSequence res,
Func<CharSequence,Input> fbk,
ClassLoader ldr)
New resource input with specified
ClassLoader . |
ResourceOf(Text res,
Func<Text,Input> fbk)
New resource input with current context
ClassLoader . |
ResourceOf(Text res,
Func<Text,Input> fbk,
ClassLoader ldr)
New resource input with specified
ClassLoader . |
Constructor and Description |
---|
LengthOf(Input input)
Ctor.
|
LengthOf(Input input,
int max)
Ctor.
|
PropertiesOf(Input input)
Ctor.
|
Constructor and Description |
---|
TextOf(Input input)
Ctor.
|
TextOf(Input input,
Charset cset)
Ctor.
|
TextOf(Input input,
int max)
Ctor.
|
TextOf(Input input,
int max,
Charset cset)
Ctor.
|
TextOf(Input input,
String cset)
Ctor.
|
Copyright © 2017–2022 Cactoos. All rights reserved.