Package sonia.scm.repository.api
Class ModifyCommandBuilder.SimpleContentLoader
java.lang.Object
sonia.scm.repository.api.ModifyCommandBuilder.SimpleContentLoader
- All Implemented Interfaces:
ModifyCommandBuilder.ContentLoader
- Enclosing class:
- ModifyCommandBuilder
public class ModifyCommandBuilder.SimpleContentLoader
extends Object
implements 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
Description copied from interface:ModifyCommandBuilder.ContentLoaderSpecify the data of the file using aByteSource.- Specified by:
withDatain interfaceModifyCommandBuilder.ContentLoader- Returns:
- The builder instance.
- Throws:
IOException- If the data could not be read.
-
withData
Description copied from interface:ModifyCommandBuilder.ContentLoaderSpecify the data of the file using anInputStream.- Specified by:
withDatain interfaceModifyCommandBuilder.ContentLoader- Returns:
- The builder instance.
- Throws:
IOException- If the data could not be read.
-