Is it possible to know whether the copied content in clipboard is mp3 file using awt.Toolkit and Clipboard in java

后端 未结 2 1416
挽巷
挽巷 2021-01-29 14:13

I am trying to write a code which runs at background and monitors the copy actions for copying a .mp3 file or a folder containing

2条回答
  •  囚心锁ツ
    2021-01-29 14:49

    My suggestion is: http://msdn.microsoft.com/en-us/library/ff468802(v=vs.85).aspx

    Using native windows C function and user JNA(Java native access library) to complete your requirement. JNA: https://github.com/twall/jna

提交回复
热议问题