|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AvatarAccess
Interface defining access to the data files needed to work with a JARP avatar. The XML files associated with the avatar are presented as raw byte arrays whose encoding (typically UTF-8) is assumed to be determinable either through an initial XML declaration or through some external means.
Method Summary | |
---|---|
byte[] |
asdData()
Returns the avatar's ASD XML file ( asd.xml ) as a byte array. |
java.io.InputStream |
avatarDefStream()
Returns an input stream for the data in the ARP avatar definition file for this avatar ( avatardef.jarp or avatardef.jarp ). |
java.lang.String |
avatarDefURL()
Returns the URL for the ARP avatar definition file for this avatar ( avatardef.jarp or avatardef.jarp ). |
java.lang.String |
avatarName()
The avatar name. |
java.lang.String |
baseURL()
The base URL for the directory containing the avatar data files. |
byte[] |
configData()
Returns the avatar's animgen configuration data XML file ( config.xml ) as a byte array. |
byte[] |
nonmanualsData()
Returns the avatar's nonmanuals XML file ( nonmanuals.xml )
as a byte array. |
void |
terminateAccess()
Performs any necessary termination actions for this avatar access, for example releasing any temporary files or other resources associated with it. |
Method Detail |
---|
java.lang.String avatarName()
java.lang.String baseURL()
byte[] asdData()
asd.xml
) as a byte array.
byte[] configData()
config.xml
) as a byte array.
byte[] nonmanualsData()
nonmanuals.xml
)
as a byte array.
java.io.InputStream avatarDefStream()
avatardef.jarp
or avatardef.jarp
).
java.lang.String avatarDefURL()
avatardef.jarp
or avatardef.jarp
).
void terminateAccess()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |