org.jclouds.openstack.keystone.v2_0.domain
Class MediaType

java.lang.Object
  extended by org.jclouds.openstack.keystone.v2_0.domain.MediaType

public class MediaType
extends Object

Class MediaType


Nested Class Summary
static class MediaType.Builder<T extends MediaType.Builder<T>>
           
 
Constructor Summary
protected MediaType(String base, String type)
           
 
Method Summary
static MediaType.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getBase()
           
 String getType()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 MediaType.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaType

@ConstructorProperties(value={"base","type"})
protected MediaType(@Nullable
                                               String base,
                                               @Nullable
                                               String type)
Method Detail

builder

public static MediaType.Builder<?> builder()

toBuilder

public MediaType.Builder<?> toBuilder()

getBase

@Nullable
public String getBase()

getType

@Nullable
public String getType()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.