com.stackmob.sdkapi
Class SMBinary

java.lang.Object
  extended by com.stackmob.sdkapi.SMValue<byte[]>
      extended by com.stackmob.sdkapi.SMBinary

public class SMBinary
extends SMValue<byte[]>

A Binary value


Field Summary
 
Fields inherited from class com.stackmob.sdkapi.SMValue
value
 
Constructor Summary
SMBinary(String filename, String contentType, byte[] value)
          Create a new SMBinary
 
Method Summary
 boolean equals(Object o)
           
 String getContentType()
           
 String getFilename()
           
 int hashCode()
           
 
Methods inherited from class com.stackmob.sdkapi.SMValue
asA, getValue, isA, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SMBinary

public SMBinary(String filename,
                String contentType,
                byte[] value)
Create a new SMBinary

Parameters:
value - the byte array containing binary payload
filename - name associated with binary payload
contentType - content type of binary payload
Method Detail

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.