Package zombie.radio.media
Class RecordedMedia
java.lang.Object
zombie.radio.media.RecordedMedia
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllMediaForCategory(String string) getAllMediaForType(byte byte1) shortgetIndexForMediaData(MediaData mediaData) getMediaData(String string) getMediaDataFromIndex(short short1) static bytegetMediaTypeForCategory(String string) getRandomFromCategory(String string) voidhandleLegacyListenedLines(IsoPlayer player) booleanhasListenedToAll(IsoPlayer player, MediaData mediaData) booleanhasListenedToLine(IsoPlayer player, String string) voidinit()voidload()static voidreceiveRequestData(ByteBuffer byteBuffer) voidsave()voidsendRequestData(ByteBuffer byteBuffer) static String
-
Field Details
-
DISABLE_LINE_LEARNING
public static boolean DISABLE_LINE_LEARNING -
VERSION1
public static final int VERSION1- See Also:
-
VERSION2
public static final int VERSION2- See Also:
-
VERSION
public static final int VERSION- See Also:
-
SAVE_FILE
- See Also:
-
-
Constructor Details
-
RecordedMedia
public RecordedMedia()
-
-
Method Details
-
init
public void init() -
getMediaTypeForCategory
-
getCategories
-
getAllMediaForType
-
getAllMediaForCategory
-
register
-
getMediaDataFromIndex
-
getIndexForMediaData
-
getMediaData
-
getRandomFromCategory
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
toAscii
-
hasListenedToLine
-
hasListenedToAll
-
sendRequestData
-
receiveRequestData
-
handleLegacyListenedLines
-