public class OSLib
extends java.lang.Object
Copyright 2005-2007 Partner Software, Inc.
| Constructor and Description |
|---|
OSLib() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)