@FunctionalInterface public static interface FileStore.InputStreamExtractor<T>
| Modifier and Type | Method and Description |
|---|---|
T |
extract(InputStream inputStream)
Consumes the given
InputStream, and extracts a result. |
T extract(@WillNotClose InputStream inputStream) throws IOException
InputStream, and extracts a result.
The method is not required the close the stream when finished.inputStream - The stream to be be consumed.IOException - If the stream cannot be read.Copyright © 2021–2024 Atlassian. All rights reserved.