com.stackmob.sdkapi
Class SMBinary
java.lang.Object
com.stackmob.sdkapi.SMValue<byte[]>
com.stackmob.sdkapi.SMBinary
public class SMBinary
- extends SMValue<byte[]>
A Binary value
| Fields inherited from class com.stackmob.sdkapi.SMValue |
value |
|
Constructor Summary |
SMBinary(String filename,
String contentType,
byte[] value)
Create a new SMBinary |
SMBinary
public SMBinary(String filename,
String contentType,
byte[] value)
- Create a new SMBinary
- Parameters:
value - the byte array containing binary payloadfilename - name associated with binary payloadcontentType - content type of binary payload
getFilename
public String getFilename()
getContentType
public String getContentType()
equals
public boolean equals(Object o)
- Overrides:
equals in class SMValue<byte[]>
hashCode
public int hashCode()
- Overrides:
hashCode in class SMValue<byte[]>
Copyright © 2013 StackMob. All Rights Reserved.