Package com.baremaps.blob
Class CompositeBlobStore
- java.lang.Object
-
- com.baremaps.blob.BlobStore
-
- com.baremaps.blob.CompositeBlobStore
-
public class CompositeBlobStore extends BlobStore
-
-
Constructor Summary
Constructors Constructor Description CompositeBlobStore(BlobStore... components)CompositeBlobStore(List<BlobStore> components)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(URI uri)voiddelete(URI uri)Pathfetch(URI uri)InputStreamread(URI uri)byte[]readByteArray(URI uri)OutputStreamwrite(URI uri)voidwriteByteArray(URI uri, byte[] bytes)
-
-
-
Method Detail
-
fetch
public Path fetch(URI uri) throws IOException
- Specified by:
fetchin classBlobStore- Throws:
IOException
-
read
public InputStream read(URI uri) throws IOException
- Specified by:
readin classBlobStore- Throws:
IOException
-
readByteArray
public byte[] readByteArray(URI uri) throws IOException
- Specified by:
readByteArrayin classBlobStore- Throws:
IOException
-
write
public OutputStream write(URI uri) throws IOException
- Specified by:
writein classBlobStore- Throws:
IOException
-
writeByteArray
public void writeByteArray(URI uri, byte[] bytes) throws IOException
- Specified by:
writeByteArrayin classBlobStore- Throws:
IOException
-
delete
public void delete(URI uri) throws IOException
- Specified by:
deletein classBlobStore- Throws:
IOException
-
-