Class ReportWriter
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.server.offerdiff.ReportWriter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ReportWriter extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ReportWriter(java.io.File tempFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
getErrorCount()
long
getTotalObjectCount()
void
reportMatchingObject(java.lang.String objectId)
void
reportObjectMismatch(java.lang.String objectId, java.lang.Long sizeOffer1, java.lang.Long sizeOffer2)
-
-
-
Method Detail
-
reportMatchingObject
public void reportMatchingObject(java.lang.String objectId)
-
reportObjectMismatch
public void reportObjectMismatch(java.lang.String objectId, java.lang.Long sizeOffer1, java.lang.Long sizeOffer2) throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.io.IOException
-
getTotalObjectCount
public long getTotalObjectCount()
-
getErrorCount
public long getErrorCount()
-
-