|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.system.OSLib
public class OSLib
Handy functions to start programs and applications in the operating system. Mostly this is a convenience wrapper around of these are just wrappers around java.awt.Desktop.
Copyright 2005-2007 Partner Software, Inc.
| Constructor Summary | |
|---|---|
OSLib()
|
|
| Method Summary | |
|---|---|
static void |
browse(java.io.File file)
Open the default web browser pointing at the given file. |
static void |
browse(java.lang.String url)
Open the default web browser pointing at the given URL. |
static void |
browse(java.net.URI uri)
Open the default web browser pointing at the given URI. |
static void |
browse(java.net.URL url)
Open the default web browser pointing at the given URL. |
static void |
browse(VfsFile file)
Open the default web browser pointing at the given file. |
static void |
copyToClipboard(VfsFile file)
|
static void |
edit(java.io.File file)
Open the default editor for the given file. |
static void |
edit(java.lang.String filename)
Open the default editor for the given file. |
static void |
mail()
Open the default mail program. |
static void |
mail(org.jdesktop.jdic.desktop.Message msg)
|
static void |
mail(java.lang.String url)
Open the default mail program for the given destination URL. |
static void |
mail(java.net.URI uri)
Open the default mail program for the given destination URI. |
static void |
mail(java.net.URL url)
Open the default mail program for the given destination URL. |
static void |
open(java.io.File file)
Open the given file (same as double-clicking in most environments). |
static void |
open(java.lang.String filename)
Open the given file (same as double-clicking in most environments). |
static void |
open(VfsFile file)
Open the given file (same as double-clicking in most environments). |
static void |
pasteFromClipboard(VfsFile file)
|
static void |
print(java.io.File file)
Print the given file. |
static void |
print(java.lang.String filename)
Print the given file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSLib()
| Method Detail |
|---|
public static void browse(java.io.File file)
public static void browse(VfsFile file)
public static void browse(java.lang.String url)
public static void browse(java.net.URI uri)
public static void browse(java.net.URL url)
public static void edit(java.io.File file)
public static void edit(java.lang.String filename)
public static void mail()
public static void mail(java.lang.String url)
public static void mail(java.net.URI uri)
public static void mail(java.net.URL url)
public static void open(java.io.File file)
public static void open(VfsFile file)
public static void mail(org.jdesktop.jdic.desktop.Message msg)
public static void open(java.lang.String filename)
public static void print(java.io.File file)
public static void print(java.lang.String filename)
public static void copyToClipboard(VfsFile file)
public static void pasteFromClipboard(VfsFile file)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||