Class TarWriter
java.lang.Object
org.apache.tika.server.core.writer.TarWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getSize
(Map<String, byte[]> stringMap, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) boolean
isWriteable
(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) void
writeTo
(Map<String, byte[]> parts, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
-
Constructor Details
-
TarWriter
public TarWriter()
-
-
Method Details
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) -
getSize
public long getSize(Map<String, byte[]> stringMap, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) -
writeTo
public void writeTo(Map<String, byte[]> parts, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, throws IOException, javax.ws.rs.WebApplicationExceptionObject> httpHeaders, OutputStream entityStream) - Specified by:
writeTo
in interfacejavax.ws.rs.ext.MessageBodyWriter<Map<String,
byte[]>> - Throws:
IOException
javax.ws.rs.WebApplicationException
-