summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/avatars/AvatarStorage.java')
-rwxr-xr-xsrc/com/isode/stroke/avatars/AvatarStorage.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/isode/stroke/avatars/AvatarStorage.java b/src/com/isode/stroke/avatars/AvatarStorage.java
index 98f7e6f..2803006 100755
--- a/src/com/isode/stroke/avatars/AvatarStorage.java
+++ b/src/com/isode/stroke/avatars/AvatarStorage.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -13,15 +13,12 @@ package com.isode.stroke.avatars;
import com.isode.stroke.base.ByteArray;
import com.isode.stroke.jid.JID;
-import java.nio.file.Path;
public interface AvatarStorage {
public boolean hasAvatar(String hash);
public void addAvatar(String hash, ByteArray avatar);
- public ByteArray getAvatar(String hash);
- public Path getAvatarPath(String hash);
-
+ public String getAvatar(String hash);
public void setAvatarForJID(JID jid, String hash);
public String getAvatarForJID(JID jid);
} \ No newline at end of file