Uses of Class
com.apicatalog.jsonld.http.media.MediaType
-
Packages that use MediaType Package Description com.apicatalog.jsonld.document Processable documents.com.apicatalog.jsonld.http.link com.apicatalog.jsonld.http.media com.apicatalog.rdf com.apicatalog.rdf.impl com.apicatalog.rdf.spi -
-
Uses of MediaType in com.apicatalog.jsonld.document
Methods in com.apicatalog.jsonld.document that return MediaType Modifier and Type Method Description MediaTypeDocument. getContentType()The Content-Type of the loaded document, exclusive of any optional parameters.MediaTypeJsonDocument. getContentType()MediaTypeRdfDocument. getContentType()Methods in com.apicatalog.jsonld.document with parameters of type MediaType Modifier and Type Method Description static booleanJsonDocument. accepts(MediaType contentType)static booleanRdfDocument. accepts(MediaType contentType)static JsonDocumentJsonDocument. of(MediaType contentType, jakarta.json.JsonStructure structure)Create a new document fromJsonStructure.static JsonDocumentJsonDocument. of(MediaType contentType, InputStream is)Create a new document from content provided byInputStream.static JsonDocumentJsonDocument. of(MediaType contentType, Reader reader)Create a new document from content provided byReader.static DocumentRdfDocument. of(MediaType contentType, RdfDataset dataset)Create a new document fromRdfDataset.static RdfDocumentRdfDocument. of(MediaType type, InputStream is)static DocumentRdfDocument. of(MediaType type, Reader reader)static DocumentDocumentParser. parse(MediaType contentType, InputStream inputStream)Deprecated.Create a new document.static DocumentDocumentParser. parse(MediaType contentType, Reader reader)Deprecated.Create a new document. -
Uses of MediaType in com.apicatalog.jsonld.http.link
Methods in com.apicatalog.jsonld.http.link that return types with arguments of type MediaType Modifier and Type Method Description Optional<MediaType>Link. type()Constructors in com.apicatalog.jsonld.http.link with parameters of type MediaType Constructor Description Link(URI contextUri, URI targetUri, Set<String> relations, MediaType type, LinkAttributes attributes) -
Uses of MediaType in com.apicatalog.jsonld.http.media
Fields in com.apicatalog.jsonld.http.media declared as MediaType Modifier and Type Field Description static MediaTypeMediaType. ANYstatic MediaTypeMediaType. HTMLstatic MediaTypeMediaType. JSONstatic MediaTypeMediaType. JSON_LDstatic MediaTypeMediaType. N_QUADSstatic MediaTypeMediaType. XHTMLMethods in com.apicatalog.jsonld.http.media that return MediaType Modifier and Type Method Description static MediaTypeMediaType. of(String value)static MediaTypeMediaType. of(String type, String subtype)Methods in com.apicatalog.jsonld.http.media with parameters of type MediaType Modifier and Type Method Description booleanMediaType. match(MediaType mediaType) -
Uses of MediaType in com.apicatalog.rdf
Methods in com.apicatalog.rdf that return types with arguments of type MediaType Modifier and Type Method Description static Collection<MediaType>Rdf. canRead()static Collection<MediaType>Rdf. canWrite()Methods in com.apicatalog.rdf with parameters of type MediaType Modifier and Type Method Description static RdfReaderRdf. createReader(MediaType contentType, InputStream is)static RdfReaderRdf. createReader(MediaType contentType, Reader reader)static RdfWriterRdf. createWriter(MediaType contentType, OutputStream os)static RdfWriterRdf. createWriter(MediaType contentType, Writer writer) -
Uses of MediaType in com.apicatalog.rdf.impl
Methods in com.apicatalog.rdf.impl that return types with arguments of type MediaType Modifier and Type Method Description Collection<MediaType>DefaultRdfProvider. canRead()Collection<MediaType>DefaultRdfProvider. canWrite()Methods in com.apicatalog.rdf.impl with parameters of type MediaType Modifier and Type Method Description RdfReaderDefaultRdfProvider. createReader(MediaType contentType, Reader reader)RdfWriterDefaultRdfProvider. createWriter(MediaType contentType, Writer writer) -
Uses of MediaType in com.apicatalog.rdf.spi
Methods in com.apicatalog.rdf.spi that return types with arguments of type MediaType Modifier and Type Method Description abstract Collection<MediaType>RdfProvider. canRead()abstract Collection<MediaType>RdfProvider. canWrite()Methods in com.apicatalog.rdf.spi with parameters of type MediaType Modifier and Type Method Description abstract RdfReaderRdfProvider. createReader(MediaType contentType, Reader reader)abstract RdfWriterRdfProvider. createWriter(MediaType contentType, Writer writer)
-