Package fr.gouv.vitam.storage.offers.tape.cas

# Class TarFileRapairer

java.lang.Object
fr.gouv.vitam.storage.offers.tape.cas.TarFileRapairer

public class TarFileRapairer extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `TarFileRapairer.DigestWithSize`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TarFileRapairer(ObjectReferentialRepository objectReferentialRepository)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TarFileRapairer.DigestWithSize`
  `repairAndVerifyTarArchive(InputStream inputStream, OutputStream outputStream, String tarId)`
  `TarFileRapairer.DigestWithSize`
  `verifyTarArchive(InputStream inputStream)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TarFileRapairer

    public TarFileRapairer(ObjectReferentialRepository objectReferentialRepository)

- ## Method Details

  - ### repairAndVerifyTarArchive

    public TarFileRapairer.DigestWithSize repairAndVerifyTarArchive(InputStream inputStream, OutputStream outputStream, String tarId) throws IOException, ObjectReferentialException
    Throws:
      `IOException`
      `ObjectReferentialException`

  - ### verifyTarArchive

    public TarFileRapairer.DigestWithSize verifyTarArchive(InputStream inputStream) throws IOException, ObjectReferentialException
    Throws:
      `IOException`
      `ObjectReferentialException`