public interface Store
| Modifier and Type | Method and Description |
|---|---|
long |
count()
Returns number of elements in store
|
ReadableByteChannel |
getContent(tigase.xmpp.BareJID uploader,
String slotId,
String filename)
Method to retrieve content of file from slot
|
void |
remove(tigase.xmpp.BareJID uploader,
String slotId)
Method removes content of slot
|
void |
setContent(tigase.xmpp.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.BareJID uploader, String slotId, String filename) throws IOException
uploader - slotId - filename - IOExceptionvoid setContent(tigase.xmpp.BareJID uploader,
String slotId,
String filename,
long size,
ReadableByteChannel source)
throws IOException
uploader - slotId - filename - size - source - IOExceptionvoid remove(tigase.xmpp.BareJID uploader,
String slotId)
throws IOException
uploader - slotId - IOExceptionCopyright © 2017 Tigase. All rights reserved.