|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.ebusiness.BinaryData
This class stores some binary data and its content type.
| Constructor Summary | |
BinaryData()
Constructor. |
|
BinaryData(byte[] data)
Constructor. |
|
BinaryData(byte[] data,
java.lang.String sContentType)
Constructor. |
|
| Method Summary | |
java.lang.String |
getContentType()
Gets the content type of the data. |
byte[] |
getData()
Gets the data. |
java.io.InputStream |
getInputStream()
Gets an input stream to the data. |
void |
setContentType(java.lang.String sContentType)
Sets the content type of the data. |
void |
setData(byte[] data)
Sets the data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BinaryData()
application/octet-stream) is used.public BinaryData(byte[] data)
application/octet-stream)
is used.data - the binary data
public BinaryData(byte[] data,
java.lang.String sContentType)
data - the binary datasContentType - the content type of the data| Method Detail |
public byte[] getData()
public void setData(byte[] data)
data - the data to setpublic void setContentType(java.lang.String sContentType)
sContentType - the content type of the datapublic java.lang.String getContentType()
public java.io.InputStream getInputStream()
null for no data)
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||