src/com/beem/project/beem/smack/avatar/AvatarCache.java
changeset 799 b2a796654230
child 801 9093c2de4159
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/com/beem/project/beem/smack/avatar/AvatarCache.java	Sun Sep 12 01:07:36 2010 +0200
@@ -0,0 +1,13 @@
+package com.beem.project.beem.smack.avatar;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+public interface AvatarCache {
+
+    void put(String id, byte[] data) throws IOException;
+    void put(String id, InputStream data) throws IOException;
+
+    byte[] get(String id) throws IOException;
+    boolean contains(String id);
+}