Package com._1c.g5.v8.bm.core
Interface IBmBlob
-
public interface IBmBlob
Blob.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
getContent()
Gets content.long
getLength()
Gets content length.IBmNamespace
getNamespace()
Gets the namespace the blob belongs to.String
getType()
Gets content type.void
setContent(String type, InputStream in)
Set content.
-
-
-
Method Detail
-
getNamespace
IBmNamespace getNamespace()
Gets the namespace the blob belongs to.- Returns:
- the namespace the blob belongs to. Never
null
.
-
getType
String getType()
Gets content type.- Returns:
- the type. Never
null
.
-
getContent
InputStream getContent()
Gets content.- Returns:
- an
input stream
to read content from. Nevernull
.
-
getLength
long getLength()
Gets content length.- Returns:
- the content length.
-
setContent
void setContent(String type, InputStream in)
Set content.- Parameters:
type
- The content type. May not benull
.in
- Aninput stream
to read content from. May not benull
.
-
-