org.apache.tika.server
Class MetadataResource

java.lang.Object
  extended by org.apache.tika.server.MetadataResource

public class MetadataResource
extends Object


Constructor Summary
MetadataResource()
           
 
Method Summary
 javax.ws.rs.core.StreamingOutput getMetadata(InputStream is, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo info)
           
static void metadataToCsv(Metadata metadata, OutputStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataResource

public MetadataResource()
Method Detail

getMetadata

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
Throws:
Exception

metadataToCsv

public static void metadataToCsv(Metadata metadata,
                                 OutputStream outputStream)
                          throws IOException
Throws:
IOException


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.