public class WorkspaceBufferingInputStream extends InputStream
Constructor and Description |
---|
WorkspaceBufferingInputStream(WorkspaceClientFactory workspaceClientFactory,
String containerName,
String objectName,
int maxOnDiskBufferSize,
int maxInMemoryBufferSize,
File tmpDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int off,
int len) |
available, mark, markSupported, reset, skip
public WorkspaceBufferingInputStream(WorkspaceClientFactory workspaceClientFactory, String containerName, String objectName, int maxOnDiskBufferSize, int maxInMemoryBufferSize, File tmpDirectory) throws IOException, ContentAddressableStorageNotFoundException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buffer) throws IOException
read
in class InputStream
IOException
public int read(byte[] buffer, int off, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2019 Vitam. All rights reserved.