Package org.apache.commons.io.output
Interface AbstractByteArrayOutputStream.InputStreamConstructor<T extends java.io.InputStream>
-
- Type Parameters:
T
- the type of the InputStream.
- Enclosing class:
- AbstractByteArrayOutputStream
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface protected static interface AbstractByteArrayOutputStream.InputStreamConstructor<T extends java.io.InputStream>
Constructor for an InputStream subclass.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
construct(byte[] buf, int offset, int length)
Construct an InputStream subclass.
-
-
-
Method Detail
-
construct
T construct(byte[] buf, int offset, int length)
Construct an InputStream subclass.- Parameters:
buf
- the bufferoffset
- the offset into the bufferlength
- the length of the buffer- Returns:
- the InputStream subclass.
-
-