Package fr.gouv.vitam.workspace.client
Class WorkspaceBufferingInputStream
java.lang.Object
java.io.InputStream
fr.gouv.vitam.workspace.client.WorkspaceBufferingInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceBufferingInputStream(WorkspaceClientFactory workspaceClientFactory, String containerName, String objectName, int maxOnDiskBufferSize, int maxInMemoryBufferSize, File tmpDirectory) -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
WorkspaceBufferingInputStream
public WorkspaceBufferingInputStream(WorkspaceClientFactory workspaceClientFactory, String containerName, String objectName, int maxOnDiskBufferSize, int maxInMemoryBufferSize, File tmpDirectory) throws IOException, ContentAddressableStorageNotFoundException
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-