com.atlassian.gadgets.opensocial.model
Class MediaItem

java.lang.Object
  extended by com.atlassian.gadgets.opensocial.model.MediaItem

@Immutable
public final class MediaItem
extends Object


Nested Class Summary
static class MediaItem.Builder
          A builder that facilitates construction of MediaItem objects.
static class MediaItem.Type
          An enumeration of potential media types.
 
Constructor Summary
MediaItem(MediaItem.Builder builder)
           
 
Method Summary
 boolean equals(Object o)
           
 String getMimeType()
           
 MediaItem.Type getType()
           
 URI getUrl()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaItem

public MediaItem(MediaItem.Builder builder)
Method Detail

getMimeType

public String getMimeType()

getType

public MediaItem.Type getType()

getUrl

public URI getUrl()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009 Atlassian. All Rights Reserved.