Package com.baremaps.blob
Class FileBlobStore
- java.lang.Object
-
- com.baremaps.blob.BlobStore
-
- com.baremaps.blob.FileBlobStore
-
public class FileBlobStore extends BlobStore
-
-
Constructor Summary
Constructors Constructor Description FileBlobStore()
-
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
-
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
-
-