Package sonia.scm.repository.api
Interface ModifyCommandBuilder.ContentLoader
- All Known Implementing Classes:
ModifyCommandBuilder.SimpleContentLoader,ModifyCommandBuilder.WithOverwriteFlagContentLoader
- Enclosing class:
- ModifyCommandBuilder
public static interface ModifyCommandBuilder.ContentLoader
-
Method Summary
Modifier and TypeMethodDescriptionwithData(com.google.common.io.ByteSource data) Specify the data of the file using aByteSource.withData(InputStream data) Specify the data of the file using anInputStream.
-
Method Details
-
withData
Specify the data of the file using aByteSource.- Returns:
- The builder instance.
- Throws:
IOException- If the data could not be read.
-
withData
Specify the data of the file using anInputStream.- Returns:
- The builder instance.
- Throws:
IOException- If the data could not be read.
-