Class SoundAsset


  • public class SoundAsset
    extends RawAsset
    • Constructor Detail

      • SoundAsset

        public SoundAsset​(@NotNull
                          @NotNull java.lang.String name)
      • SoundAsset

        public SoundAsset​(@NotNull
                          @NotNull java.lang.String name,
                          @NotNull
                          @NotNull java.lang.String url)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • SoundAsset

        public SoundAsset​(@NotNull
                          @NotNull java.lang.String name,
                          @NotNull
                          @NotNull com.google.gson.JsonObject jsonObject)
    • Method Detail

      • export

        public void export​(java.lang.String namespace,
                           java.lang.String variation,
                           @NotNull
                           @NotNull java.nio.file.Path path)
                    throws java.io.IOException
        Overrides:
        export in class RawAsset
        Throws:
        java.io.IOException