Store, java.io.Closeable, java.lang.AutoCloseablepublic class WarcStore extends java.lang.Object implements java.io.Closeable, Store
Store implementation using the it.unimi.di.law.warc package.| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
DIGESTS_NAME |
|
static int |
NUM_GZ_WARC_RECORDS |
|
int |
OUTPUT_STREAM_BUFFER_SIZE |
|
static java.lang.String |
STORE_NAME |
| Constructor | Description |
|---|---|
WarcStore(RuntimeConfiguration rc) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
store(java.net.URI uri,
org.apache.http.HttpResponse response,
boolean isDuplicate,
byte[] contentDigest,
java.lang.String guessedCharset) |
public final int OUTPUT_STREAM_BUFFER_SIZE
public static final java.lang.String STORE_NAME
public static final java.lang.String DIGESTS_NAME
public static final int NUM_GZ_WARC_RECORDS
public WarcStore(RuntimeConfiguration rc) throws java.io.IOException
java.io.IOException