@ApplicationScoped public class LdpBinaryStoreServiceImpl extends Object implements LdpBinaryStoreService
| Constructor and Description |
|---|
LdpBinaryStoreServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(String resource) |
boolean |
delete(org.openrdf.model.URI uri) |
String |
getHash(String resource) |
String |
getHash(org.openrdf.model.URI uri) |
void |
init() |
InputStream |
read(String resource) |
InputStream |
read(org.openrdf.model.URI resource) |
boolean |
store(String resource,
InputStream stream) |
boolean |
store(org.openrdf.model.URI resource,
InputStream stream) |
@PostConstruct public void init()
public boolean store(String resource, InputStream stream)
store in interface LdpBinaryStoreServicepublic boolean store(org.openrdf.model.URI resource,
InputStream stream)
store in interface LdpBinaryStoreServicepublic InputStream read(String resource) throws IOException
read in interface LdpBinaryStoreServiceIOExceptionpublic InputStream read(org.openrdf.model.URI resource) throws IOException
read in interface LdpBinaryStoreServiceIOExceptionpublic String getHash(String resource)
getHash in interface LdpBinaryStoreServicepublic String getHash(org.openrdf.model.URI uri)
getHash in interface LdpBinaryStoreServicepublic boolean delete(org.openrdf.model.URI uri)
delete in interface LdpBinaryStoreServicepublic boolean delete(String resource)
delete in interface LdpBinaryStoreServiceCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.