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) short
getIndexForMediaData
(MediaData mediaData) getMediaData
(String string) getMediaDataFromIndex
(short short1) static byte
getMediaTypeForCategory
(String string) getRandomFromCategory
(String string) void
handleLegacyListenedLines
(IsoPlayer player) boolean
hasListenedToAll
(IsoPlayer player, MediaData mediaData) boolean
hasListenedToLine
(IsoPlayer player, String string) void
init()
void
load()
static void
receiveRequestData
(ByteBuffer byteBuffer) void
save()
void
sendRequestData
(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
-