Class TempWorkspace
- java.lang.Object
-
- fr.gouv.vitam.collect.internal.core.helpers.TempWorkspace
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class TempWorkspace extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description TempWorkspace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.io.File
getFile(java.lang.String filename)
java.io.File
writeToFile(java.lang.String filename, java.io.InputStream inputStream)
-
-
-
Method Detail
-
writeToFile
public java.io.File writeToFile(java.lang.String filename, java.io.InputStream inputStream) throws java.io.IOException
- Throws:
java.io.IOException
-
getFile
public java.io.File getFile(java.lang.String filename) 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
-
-