public class GHBlobBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
GHBlobBuilder |
binaryContent(byte[] content)
Configures a blob with the specified binary
content. |
GHBlob |
create()
Creates a blob based on the parameters specified thus far.
|
GHBlobBuilder |
textContent(String content)
Configures a blob with the specified text
content. |
public GHBlobBuilder textContent(String content)
content.content - string text of the blobpublic GHBlobBuilder binaryContent(byte[] content)
content.content - byte array of the blobpublic GHBlob create() throws IOException
IOException - if the blob cannot be created.Copyright © 2020. All rights reserved.