1 7 8 package java.awt.peer; 9 10 11 import java.io.File ; 12 import java.io.IOException ; 13 import java.net.URI ; 14 import java.awt.Desktop.Action ; 15 16 24 public interface DesktopPeer { 25 32 public boolean isSupported(Action action); 33 34 43 public void open(File file) throws IOException ; 44 45 54 public void edit(File file) throws IOException ; 55 56 64 public void print(File file) throws IOException ; 65 66 78 public void mail(URI mailtoURL) throws IOException ; 79 80 87 public void browse(URI url) throws IOException ; 88 } 89 | Popular Tags |