Class DesktopWrapper


  • public final class DesktopWrapper
    extends java.lang.Object
    Wrapper class for java.awt.Desktop with `xdg-open` path on Linux platform.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void browse​(java.net.URI uri)  
      static void open​(java.io.File file)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • browse

        public static void browse​(java.net.URI uri)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • open

        public static void open​(java.io.File file)
                         throws java.io.IOException
        Throws:
        java.io.IOException