public class AvatarDefinitionForView extends java.lang.Object implements AvatarDefinitionAccess
Constructor and Description |
---|
AvatarDefinitionForView(AvatarAccess avaccess)
Constructs a new ARP avatar definition access object, using
the given
AvatarAccess , which must not be null . |
AvatarDefinitionForView(java.lang.String avname)
Constructs a new ARP avatar definition access object for the avatar
with the given name, but with a
null access object. |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
asNewStream()
Returns an input stream for this ARP avatar definition, or
null if the definition is unavailable. |
java.lang.String |
asURL()
Returns the URL for this ARP avatar definition, or
null if the definition is unavailable. |
java.lang.String |
avatarName()
Returns the name of the avatar whose definition is provided here.
|
boolean |
isAvailable()
Indicates whether the data for this avatar definition is available.
|
public AvatarDefinitionForView(AvatarAccess avaccess)
AvatarAccess
, which must not be null
.public AvatarDefinitionForView(java.lang.String avname)
null
access object.public java.lang.String avatarName()
avatarName
in interface AvatarDefinitionAccess
public boolean isAvailable()
isAvailable
in interface AvatarDefinitionAccess
public java.io.InputStream asNewStream()
null
if the definition is unavailable.asNewStream
in interface AvatarDefinitionAccess
public java.lang.String asURL()
null
if the definition is unavailable.asURL
in interface AvatarDefinitionAccess