net.fortytwo.sesametools.ldserver
Class RDFMediaTypes

java.lang.Object
  extended by net.fortytwo.sesametools.ldserver.RDFMediaTypes

public class RDFMediaTypes
extends Object

Author:
Joshua Shinavier (http://fortytwo.net)

Constructor Summary
RDFMediaTypes()
           
 
Method Summary
static org.openrdf.rio.RDFFormat findFormat(String suffix)
           
static org.restlet.data.MediaType findMediaType(org.openrdf.rio.RDFFormat format)
           
static org.openrdf.rio.RDFFormat findRdfFormat(org.restlet.data.MediaType mediaType)
           
static String findSuffix(org.openrdf.rio.RDFFormat format)
           
static org.restlet.representation.Variant findVariant(org.openrdf.rio.RDFFormat format)
           
static List<org.restlet.representation.Variant> getRDFVariants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFMediaTypes

public RDFMediaTypes()
Method Detail

getRDFVariants

public static List<org.restlet.representation.Variant> getRDFVariants()

findRdfFormat

public static org.openrdf.rio.RDFFormat findRdfFormat(org.restlet.data.MediaType mediaType)

findMediaType

public static org.restlet.data.MediaType findMediaType(org.openrdf.rio.RDFFormat format)

findVariant

public static org.restlet.representation.Variant findVariant(org.openrdf.rio.RDFFormat format)

findFormat

public static org.openrdf.rio.RDFFormat findFormat(String suffix)

findSuffix

public static String findSuffix(org.openrdf.rio.RDFFormat format)


Copyright © 2013. All Rights Reserved.