diff --git a/src/main/java/device/usbPlayer/UsbPlayer.java b/src/main/java/device/usbPlayer/UsbPlayer.java index e3394a7..fbb8aa4 100644 --- a/src/main/java/device/usbPlayer/UsbPlayer.java +++ b/src/main/java/device/usbPlayer/UsbPlayer.java @@ -2,6 +2,7 @@ package device.usbPlayer; import device.Device; +import java.lang.reflect.Method; import java.util.ArrayList; public class UsbPlayer implements Device { @@ -178,7 +179,13 @@ public class UsbPlayer implements Device { @Override public String[] getOptions() { - return new String[0]; + + Method[] methods=this.getClass().getDeclaredMethods(); + String[] methodsList =new String[methods.length]; + for (int i = 0; i