public abstract class AbstractAvatarBase extends Object implements AvatarBase
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_AVATAR |
protected boolean |
readOnly |
protected List<String> |
typeList |
protected Set<String> |
types |
| Constructor and Description |
|---|
AbstractAvatarBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containType(String type) |
Avatar |
getDefaultAvatar() |
Set<String> |
getTypes() |
boolean |
isReadOnly() |
void |
setReadOnly(boolean readOnly) |
void |
setTypes(Set<String> types) |
abstract boolean |
updateAvatar(String name,
File file,
String type) |
int |
updateAvatarBatch(File zipFile) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvatar, getAvatarNames, getDescriptionprotected boolean readOnly
protected static final String DEFAULT_AVATAR
public boolean containType(String type)
containType in interface AvatarBasepublic Set<String> getTypes()
getTypes in interface AvatarBasepublic Avatar getDefaultAvatar()
getDefaultAvatar in interface AvatarBasepublic boolean isReadOnly()
isReadOnly in interface AvatarBasepublic void setReadOnly(boolean readOnly)
public int updateAvatarBatch(File zipFile)
updateAvatarBatch in interface AvatarBasepublic abstract boolean updateAvatar(String name, File file, String type)
updateAvatar in interface AvatarBaseCopyright © 2013 The Beangle Software Group. All Rights Reserved.