@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 LdpBinaryStoreService
public boolean store(org.openrdf.model.URI resource, InputStream stream)
store
in interface LdpBinaryStoreService
public InputStream read(String resource) throws IOException
read
in interface LdpBinaryStoreService
IOException
public InputStream read(org.openrdf.model.URI resource) throws IOException
read
in interface LdpBinaryStoreService
IOException
public String getHash(String resource)
getHash
in interface LdpBinaryStoreService
public String getHash(org.openrdf.model.URI uri)
getHash
in interface LdpBinaryStoreService
public boolean delete(org.openrdf.model.URI uri)
delete
in interface LdpBinaryStoreService
public boolean delete(String resource)
delete
in interface LdpBinaryStoreService
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.