Class InventoryDocWriter
java.lang.Object
gov.nasa.pds.registry.common.util.doc.InventoryDocWriter
- All Implemented Interfaces:
Closeable,AutoCloseable
Interface to write product references extracted from PDS4 collection inventory files.
- Author:
- karpenko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()getData()voidwriteBatch(String collectionLidvid, ProdRefsBatch batch, RefType refType, String jobId)
-
Constructor Details
-
InventoryDocWriter
public InventoryDocWriter()
-
-
Method Details
-
getData
-
clearData
public void clearData() -
writeBatch
public void writeBatch(String collectionLidvid, ProdRefsBatch batch, RefType refType, String jobId) throws Exception - Throws:
Exception
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-