org.openjena.atlas.web
Class MediaRange
java.lang.Object
org.openjena.atlas.web.MediaType
org.openjena.atlas.web.MediaRange
public class MediaRange
- extends MediaType
A media range is a media type used in content negotiation.
It has a q parameter (others are possible but we don't need them ... yet
| Methods inherited from class org.openjena.atlas.web.MediaType |
create, create, equals, getCharset, getContentType, getParameter, getSubType, getType, hashCode, setParameter, setSubType, setType, toHeaderString, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MediaRange
public MediaRange(MediaRange other)
MediaRange
public MediaRange(MediaType other)
MediaRange
public MediaRange(java.lang.String string)
get_q
public double get_q()
accepts
public boolean accepts(MediaType item)
moreGroundedThan
public boolean moreGroundedThan(MediaType item)
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.