Module org.refcodes.mixin
Package org.refcodes.mixin
Interface InputStreamAccessor.InputStreamProperty
- All Superinterfaces:
InputStreamAccessor
,InputStreamAccessor.InputStreamMutator
- Enclosing interface:
- InputStreamAccessor
public static interface InputStreamAccessor.InputStreamProperty
extends InputStreamAccessor, InputStreamAccessor.InputStreamMutator
Provides an input stream property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.InputStreamAccessor
InputStreamAccessor.InputStreamBuilder<B extends InputStreamAccessor.InputStreamBuilder<?>>, InputStreamAccessor.InputStreamMutator, InputStreamAccessor.InputStreamProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault InputStream
letInputStream
(InputStream aInputStream) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenInputStream
(setter) as ofInputStreamAccessor.InputStreamMutator.setInputStream(InputStream)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.InputStreamAccessor
getInputStream
Methods inherited from interface org.refcodes.mixin.InputStreamAccessor.InputStreamMutator
setInputStream
-
Method Details
-
letInputStream
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenInputStream
(setter) as ofInputStreamAccessor.InputStreamMutator.setInputStream(InputStream)
and returns the very same value (getter).- Parameters:
aInputStream
- TheInputStream
to set (viaInputStreamAccessor.InputStreamMutator.setInputStream(InputStream)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-