| Package | Description |
|---|---|
| com.atlassian.dc.filestore.api |
| Modifier and Type | Method and Description |
|---|---|
default void |
FileStore.Reader.consume(FileStore.InputStreamConsumer inputStreamConsumer)
Consumes the contents of the file.
|
default InputStreamAndMeta |
FileStore.Reader.getInputStreamAndMeta()
Opens an input stream and returns it with extra information such as its length.
|
InputStream |
FileStore.Reader.openInputStream()
Opens a new
InputStream for the file. |
default <T> T |
FileStore.Reader.read(FileStore.InputStreamExtractor<T> inputStreamExtractor)
Consumes the contents of the file and produces a result.
|
default void |
FileStore.Writer.write(byte[] data)
Writes the given byte array to the file.
|
default void |
FileStore.Writer.write(FileStore.InputStreamSupplier inputStreamSupplier)
Writes the data provided by the given
FileStore.InputStreamSupplier to the file. |
default void |
FileStore.Writer.write(FileStore.OutputStreamWriter bufferWriter)
Writes to the file using an
FileStore.OutputStreamWriter. |
void |
FileStore.Writer.write(InputStream source)
Writes the data from the given
InputStream to the file. |
Copyright © 2021–2024 Atlassian. All rights reserved.