@Path(value="/meta") public class MetadataResource extends Object
Constructor and Description |
---|
MetadataResource(TikaConfig tikaConfig) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.StreamingOutput |
getMetadata(InputStream is,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo info) |
javax.ws.rs.core.StreamingOutput |
getMetadataFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att,
javax.ws.rs.core.UriInfo info) |
static void |
metadataToCsv(Metadata metadata,
OutputStream outputStream) |
public MetadataResource(TikaConfig tikaConfig)
@Path(value="form") public javax.ws.rs.core.StreamingOutput getMetadataFromMultipart(org.apache.cxf.jaxrs.ext.multipart.Attachment att, @Context javax.ws.rs.core.UriInfo info) throws Exception
Exception
public javax.ws.rs.core.StreamingOutput getMetadata(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info) throws Exception
Exception
public static void metadataToCsv(Metadata metadata, OutputStream outputStream) throws IOException
IOException
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.