public class MetadataResource extends Object
Constructor and Description |
---|
MetadataResource() |
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) |
static void |
metadataToCsv(Metadata metadata,
OutputStream outputStream) |
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-2013 The Apache Software Foundation. All Rights Reserved.