Package | Description |
---|---|
eu.fbk.knowledgestore |
KnowledgeStore core API (
ks-core ). |
eu.fbk.knowledgestore.data |
Data objects and supporting classes (
ks-core ). |
Modifier and Type | Method and Description |
---|---|
protected abstract Representation |
AbstractSession.doDownload(Long timeout,
org.openrdf.model.URI id,
Set<String> mimeTypes,
boolean useCaches) |
protected abstract Representation |
Operation.Download.doExec(Long timeout,
org.openrdf.model.URI resourceID,
Set<String> mimeTypes,
boolean caching)
Implementation method responsible of executing the download operation.
|
Representation |
Operation.Download.exec()
Executes the operation, returning the requested representation or null, if it does not
exist.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Outcome |
Operation.Upload.doExec(Long timeout,
org.openrdf.model.URI resourceID,
Representation representation) |
protected abstract Outcome |
AbstractSession.doUpload(Long timeout,
org.openrdf.model.URI resourceID,
Representation representation) |
Operation.Upload |
Operation.Upload.representation(Representation representation)
Sets the representation to upload, if any.
|
Modifier and Type | Method and Description |
---|---|
static Representation |
Representation.create(byte[] bytes)
Creates a representation based on the byte array specified.
|
static Representation |
Representation.create(CharSequence sequence)
Creates a representation based on the
CharSequence specified. |
static Representation |
Representation.create(File file,
boolean autoDecompress)
Creates a representation based on the
File specified. |
static Representation |
Representation.create(InputStream stream)
Creates a representation based on the
InputStream specified. |
static Representation |
Representation.create(Reader reader)
Creates a representation based on the
Reader specified. |
static Representation |
Representation.create(URL url)
Creates a representation based on the resolvable URL specified.
|
Copyright © 2015–2016 FBK-irst. All rights reserved.