public class SNonAndroid
extends java.lang.Object
| Constructor and Description | 
|---|
| SNonAndroid() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | clearAWT()Workaround for AWT/Swing memory leaks. | 
| static java.util.ResourceBundle | findResourceBundle(java.lang.String name,
                  java.util.Locale currentLocale,
                  java.lang.ClassLoader cl)Try to find a  ResourceBundleby trying Classloaders 
 from all calling Classes. | 
| static java.io.File | getDefaultDirectory()Get the default directory. | 
| static java.lang.String | getDisplayName(java.io.File file)Get the display name (e.g. | 
| static java.io.File[] | getFiles(java.io.File file,
        boolean hiding)Get the files of a directory. | 
| static java.io.File | getHomeDirectory()Get the home directory. | 
| static java.lang.String[] | getMacAddresses()Get the mac address. | 
| static java.util.List<java.net.InetAddress> | getNetworkIps()Get the network ips. | 
| static short | getNetworkPrefixLength(java.net.InetAddress iadr)Get the network prefix length for IPV4 address
  24=C, 16=B, 8=A classes. | 
| static java.io.File | getParentDirectory(java.io.File file)Get the parent directory. | 
| static boolean | hasGui()Test if there is a gui available. | 
| static boolean | isFloppyDrive(java.io.File file)Check if a file represents a floppy. | 
| static boolean | isGuiThread()Test if a call is running on the swing thread. | 
| static void | openFile(java.lang.String path)Opens a File with the default application. | 
public static short getNetworkPrefixLength(java.net.InetAddress iadr)
iadr - The address.public static boolean isFloppyDrive(java.io.File file)
public static java.lang.String getDisplayName(java.io.File file)
public static java.util.ResourceBundle findResourceBundle(java.lang.String name,
                                                          java.util.Locale currentLocale,
                                                          java.lang.ClassLoader cl)
ResourceBundle by trying Classloaders 
 from all calling Classes.name - Name of the ResourceBundle to findcurrentLocale - Name of the localecl - the default classloaderResourceBundle or null.public static java.util.List<java.net.InetAddress> getNetworkIps()
public static void openFile(java.lang.String path)
                     throws java.io.IOException
path - java.io.IOExceptionpublic static boolean isGuiThread()
public static boolean hasGui()
public static java.io.File getHomeDirectory()
public static java.io.File getDefaultDirectory()
public static java.io.File getParentDirectory(java.io.File file)
public static java.io.File[] getFiles(java.io.File file,
                                      boolean hiding)
public static java.lang.String[] getMacAddresses()
public static void clearAWT()