@Exported
public interface BlobObject
Modifier and Type | Interface and Description |
---|---|
static interface |
BlobObject.BlobAddress
This interface represent the address information of a corresponding BlobObject.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getBinaryStream()
Retrieves the binary related to this Binary Object.
|
BlobObject.BlobAddress |
getBlobAddress()
Returns the db address for a given blob object.
|
String |
getFilename()
Gets the filename related to this binary object.
|
String |
getFoldername()
Gets the folder name of the binary Object; the value returned is the absolute path of where the blob/binary is stored.
|
List<WebReference> |
getWebReferences()
Gets the WebReference related to this binary object.
|
void |
setBinaryData(byte[] bytes)
Sets the binary related to this Binary Object.
|
void |
setFilename(String filename)
Sets the filename related to this binary object.
|
void |
setFoldername(String foldername)
Sets the folder name of the binary Object; the value returned is the absolute path of where the blob/binary is stored.
|
void |
setWebReferences(List<WebReference> webReference)
Sets the WebReference related to this binary object.
|
String getFilename()
void setFilename(String filename)
filename
- the fileName.String getFoldername()
void setFoldername(String foldername)
foldername
- folder name.InputStream getBinaryStream()
void setBinaryData(byte[] bytes)
bytes
- the binary.List<WebReference> getWebReferences()
void setWebReferences(List<WebReference> webReference)
webReference
- the webReference.BlobObject.BlobAddress getBlobAddress()