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

# Class BasicFileStorage

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

public class BasicFileStorage extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BasicFileStorage(String basePath)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `deleteFile(String containerName, String storageId)`
  `Stream<String>`
  `listStorageIdsByContainerName(String containerName)`
  `InputStream`
  `readFile(String containerName, String storageId)`
  `String`
  `writeFile(String containerName, String objectName, InputStream inputStream, long size)`

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

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

- ## Constructor Details

  - ### BasicFileStorage

    public BasicFileStorage(String basePath)

- ## Method Details

  - ### writeFile

    public String writeFile(String containerName, String objectName, InputStream inputStream, long size) throws IOException
    Throws:
      `IOException`

  - ### readFile

    public InputStream readFile(String containerName, String storageId) throws IOException
    Throws:
      `IOException`

  - ### deleteFile

    public void deleteFile(String containerName, String storageId)

  - ### listStorageIdsByContainerName

    public Stream<String> listStorageIdsByContainerName(String containerName) throws IOException
    Throws:
      `IOException`