Class JsonPagesWriter
java.lang.Object
org.netpreserve.jwarc.JsonPagesWriter
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JsonPagesWriter
- Throws:
IOException
-
-
Method Details
-
process
- Throws:
IOException
-
addPage
Adds a page entry to pages.jsonl.- Parameters:
url- the URL of the pagets- the timestamp in RFC3339 formattitle- an optional title for the page- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
flush
- Throws:
IOException
-