public class GcBinaryWebResource extends GcAtomResource implements GcWebResource
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MIME_TYPE |
| Constructor and Description |
|---|
GcBinaryWebResource(String resourceName,
byte[] binaryContent) |
GcBinaryWebResource(String resourceName,
byte[] binaryContent,
String mimeType) |
GcBinaryWebResource(org.xmlpull.infoset.XmlElement atomRes) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBinaryContent() |
void |
setBinaryContent(byte[] binaryContent) |
void |
setMimeType(String mimeType) |
getContentEl, getId, getLocation, getMimeType, getRel, getTitle, getTitle, setLocation, setRel, setTitle, xmlSet, xmlTypeName, xmlTypeNscheckNamespaceAndName, xml, xmlCuteElName, xmlGetAttributeNcNameValue, xmlGetAttributeQNameValue, xmlRequireAttributeNcNameValue, xmlRequireAttributeQNameValue, xmlSetAttributeNcNameValue, xmlSetAttributeQNameValue, xmlSetRequiredAttributeNcNameValue, xmlSetRequiredAttributeQNameValue, xmlValidate, xmlViewAsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getLocation, getMimeType, getRel, getTitle, setLocation, setRel, setTitlepublic static final String DEFAULT_MIME_TYPE
public GcBinaryWebResource(String resourceName, byte[] binaryContent)
public GcBinaryWebResource(String resourceName, byte[] binaryContent, String mimeType)
public GcBinaryWebResource(org.xmlpull.infoset.XmlElement atomRes)
public void setBinaryContent(byte[] binaryContent)
public byte[] getBinaryContent()
public void setMimeType(String mimeType)
setMimeType in interface GcWebResourcesetMimeType in class GcAtomResourceCopyright © 2013. All Rights Reserved.