|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.assetapi.data.BlobObjectImpl
public class BlobObjectImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.fatwire.assetapi.data.BlobObject |
---|
BlobObject.BlobAddress |
Constructor Summary | |
---|---|
BlobObjectImpl(java.lang.String filename,
java.lang.String folder,
byte[] bytes)
|
|
BlobObjectImpl(java.lang.String filename,
java.lang.String folder,
byte[] bytes,
BlobObject.BlobAddress blobAddress)
|
Method Summary | |
---|---|
java.io.InputStream |
getBinaryStream()
retrieves the binary related to this Binary Object |
BlobObject.BlobAddress |
getBlobAddress()
Returns the db address for a given blob object. |
java.lang.String |
getFilename()
Gets the filename related to this binary object |
java.lang.String |
getFoldername()
Gets the foler name of the binary Object; the value returned is the absolute path of where the blob/binary is stored |
void |
setBinaryData(byte[] bytes)
sets the binary related to this Binary Object |
void |
setFilename(java.lang.String filename)
Sets the filename related to this binary object |
void |
setFoldername(java.lang.String foldername)
Sets the foler name of the binary Object; the value returned is the absolute path of where the blob/binary is stored |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlobObjectImpl(java.lang.String filename, java.lang.String folder, byte[] bytes)
public BlobObjectImpl(java.lang.String filename, java.lang.String folder, byte[] bytes, BlobObject.BlobAddress blobAddress)
Method Detail |
---|
public java.lang.String getFilename()
BlobObject
getFilename
in interface BlobObject
public java.lang.String getFoldername()
BlobObject
getFoldername
in interface BlobObject
public java.io.InputStream getBinaryStream()
BlobObject
getBinaryStream
in interface BlobObject
public BlobObject.BlobAddress getBlobAddress()
BlobObject
getBlobAddress
in interface BlobObject
public void setBinaryData(byte[] bytes)
BlobObject
setBinaryData
in interface BlobObject
public void setFilename(java.lang.String filename)
BlobObject
setFilename
in interface BlobObject
public void setFoldername(java.lang.String foldername)
BlobObject
setFoldername
in interface BlobObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |