org.apache.tika.server
Class UnpackerResource

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

public class UnpackerResource
extends Object


Field Summary
static String TEXT_FILENAME
           
 
Constructor Summary
UnpackerResource()
           
 
Method Summary
 Map<String,byte[]> unpack(InputStream is, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo info)
           
 Map<String,byte[]> unpackAll(InputStream is, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_FILENAME

public static final String TEXT_FILENAME
See Also:
Constant Field Values
Constructor Detail

UnpackerResource

public UnpackerResource()
Method Detail

unpack

public Map<String,byte[]> unpack(InputStream is,
                                 @Context
                                 javax.ws.rs.core.HttpHeaders httpHeaders,
                                 @Context
                                 javax.ws.rs.core.UriInfo info)
                          throws Exception
Throws:
Exception

unpackAll

public Map<String,byte[]> unpackAll(InputStream is,
                                    @Context
                                    javax.ws.rs.core.HttpHeaders httpHeaders,
                                    @Context
                                    javax.ws.rs.core.UriInfo info)
                             throws Exception
Throws:
Exception


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