Class RecordedMedia

java.lang.Object
zombie.radio.media.RecordedMedia

public class RecordedMedia
extends java.lang.Object
  • Field Details

    • DISABLE_LINE_LEARNING

      public static boolean DISABLE_LINE_LEARNING
    • VERSION

      public static final int VERSION
      See Also:
      Constant Field Values
    • SAVE_FILE

      public static final java.lang.String SAVE_FILE
      See Also:
      Constant Field Values
  • Constructor Details

    • RecordedMedia

      public RecordedMedia()
  • Method Details

    • hasListenedLineAndAdd

      public boolean hasListenedLineAndAdd​(java.lang.String string)
    • init

      public void init()
    • getMediaTypeForCategory

      public static byte getMediaTypeForCategory​(java.lang.String string)
    • getCategories

      public java.util.ArrayList getCategories()
    • getAllMediaForType

      public java.util.ArrayList getAllMediaForType​(byte byte1)
    • register

      public MediaData register​(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1)
    • getMediaDataFromIndex

      public MediaData getMediaDataFromIndex​(short short1)
    • getIndexForMediaData

      public short getIndexForMediaData​(MediaData mediaData)
    • getMediaData

      public MediaData getMediaData​(java.lang.String string)
    • getRandomFromCategory

      public MediaData getRandomFromCategory​(java.lang.String string)
    • load

      public void load() throws java.io.IOException
      Throws:
      java.io.IOException
    • save

      public void save() throws java.io.IOException
      Throws:
      java.io.IOException
    • toAscii

      public static java.lang.String toAscii​(java.lang.String string)
    • hasListenedToLine

      public boolean hasListenedToLine​(IsoPlayer player, java.lang.String string)
    • hasListenedToAll

      public boolean hasListenedToAll​(IsoPlayer player, MediaData mediaData)