|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlegacy.resource.CodecLibrary
public class CodecLibrary
CodecLibrary.class contains codec maps for use with resource management classes
Constructor Summary | |
---|---|
CodecLibrary()
|
Method Summary | |
---|---|
static Codec[] |
getFontCodecs()
getFontCodecsFor(String ext) returns a list of codecs for this type |
static Codec[] |
getImageCodecs()
getImageCodecsFor(String ext) returns a list of codecs for this type |
static Codec[] |
getMidiCodecs()
getMidiCodecsFor(String ext) returns a list of codecs for this type |
static Codec[] |
getPalletCodecs()
getPalletCodecsFor(String ext) returns a list of codecs for this type |
static Codec[] |
getSoundCodecs()
getSoundCodecsFor(String ext) returns a list of codecs for this type |
static void |
installCodecs(java.util.Properties codex)
installCodecs(Properties) allows the end user to add additional codecs which the ResourceManager can use load resoruces for use. the codex list allows is a properties list and sould be formated as follows |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CodecLibrary()
Method Detail |
---|
public static final void installCodecs(java.util.Properties codex)
//Codex Properties File for my game mygame.codex.worldmap = "codec to read a map as an image" mygame.codex.tile = "codec to read a tile"
codex
- a properties file containg a list of classes to use.public static final Codec[] getImageCodecs()
public static final Codec[] getPalletCodecs()
public static final Codec[] getMidiCodecs()
public static final Codec[] getSoundCodecs()
public static final Codec[] getFontCodecs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |