Package com.funnelback.plugin.gatherer
Interface PluginStore
-
public interface PluginStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
store(URI uri, byte[] content, com.google.common.collect.ListMultimap<String,String> metadata)
Store content under a URI.
-
-
-
Method Detail
-
store
void store(URI uri, byte[] content, com.google.common.collect.ListMultimap<String,String> metadata)
Store content under a URI.- Parameters:
uri
- The URI for the content, typically a URL.content
- The content itself.metadata
- Extra data about the document which may be mapped to metadata classes. This map must contain exactly one Content-Type metadata value, and the value must follow the HTTP Content-Type header syntax. Further the Content-Type value must declare the type of the content and if the Charset of the content.
-
-