java.lang.Object
meteordevelopment.meteorclient.utils.notebot.decoder.SongDecoders

public class SongDecoders extends Object
  • Constructor Details

    • SongDecoders

      public SongDecoders()
  • Method Details

    • registerDecoder

      public static void registerDecoder(String extension, SongDecoder songDecoder)
    • getDecoder

      public static SongDecoder getDecoder(File file)
    • hasDecoder

      public static boolean hasDecoder(File file)
    • hasDecoder

      public static boolean hasDecoder(Path path)
    • parse

      @NotNull public static @NotNull Song parse(File file) throws Exception
      Parse file to one of SongDecoder
      Parameters:
      file - A song file
      Returns:
      A Song object
      Throws:
      Exception