public interface Store
| Modifier and Type | Method and Description |
|---|---|
long |
count()
Returns number of elements in store
|
ReadableByteChannel |
getContent(tigase.xmpp.jid.BareJID uploader,
String slotId,
String filename)
Method to retrieve content of file from slot
|
void |
remove(tigase.xmpp.jid.BareJID uploader,
String slotId)
Method removes content of slot
|
void |
setContent(tigase.xmpp.jid.BareJID uploader,
String slotId,
String filename,
long size,
ReadableByteChannel source)
Method to set content of file to slot
|
long |
size()
Returns size used by store
|
long count()
throws IOException
IOExceptionlong size() throws IOException
IOExceptionReadableByteChannel getContent(tigase.xmpp.jid.BareJID uploader, String slotId, String filename) throws IOException
IOExceptionvoid setContent(tigase.xmpp.jid.BareJID uploader,
String slotId,
String filename,
long size,
ReadableByteChannel source)
throws IOException
IOExceptionvoid remove(tigase.xmpp.jid.BareJID uploader,
String slotId)
throws IOException
IOExceptionCopyright © 2013–2021 Tigase. All rights reserved.