com.sshtools.common.util
Class BrowserLauncher

java.lang.Object
  extended by com.sshtools.common.util.BrowserLauncher

public class BrowserLauncher
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private static java.lang.Class aeDescClass
           
private static java.lang.reflect.Constructor aeDescConstructor
           
private static java.lang.reflect.Constructor aeTargetConstructor
           
private static java.lang.reflect.Constructor appleEventConstructor
           
private static java.lang.Object browser
           
private static java.lang.String errorMessage
           
private static java.lang.String FINDER_CREATOR
           
private static java.lang.String FINDER_TYPE
           
private static java.lang.reflect.Method findFolder
           
private static java.lang.String FIRST_WINDOWS_PARAMETER
           
private static java.lang.reflect.Method getFileType
           
private static java.lang.String GURL_EVENT
           
private static int jvm
           
private static java.lang.Integer kAnyTransactionID
           
private static java.lang.Integer kAutoGenerateReturnID
           
private static java.lang.Integer keyDirectObject
           
private static java.lang.Object kSystemFolderType
           
private static boolean loadedWithoutErrors
           
private static java.lang.Class macOSErrorClass
           
private static java.lang.reflect.Method makeOSType
           
private static int MRJ_2_0
           
private static int MRJ_2_1
           
private static java.lang.Class mrjFileUtilsClass
           
private static java.lang.Class mrjOSTypeClass
           
private static java.lang.String NETSCAPE_OPEN_PARAMETER_END
           
private static java.lang.String NETSCAPE_OPEN_PARAMETER_START
           
private static int OTHER
           
private static java.lang.reflect.Method putParameter
           
private static java.lang.String SECOND_WINDOWS_PARAMETER
           
private static java.lang.reflect.Method sendNoReply
           
private static int WINDOWS_9x
           
private static int WINDOWS_NT
           
 
Constructor Summary
private BrowserLauncher()
           
 
Method Summary
private static boolean loadClasses()
           
private static java.lang.Object locateBrowser()
           
static void openURL(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jvm

private static int jvm

browser

private static java.lang.Object browser

loadedWithoutErrors

private static boolean loadedWithoutErrors

mrjFileUtilsClass

private static java.lang.Class mrjFileUtilsClass

mrjOSTypeClass

private static java.lang.Class mrjOSTypeClass

macOSErrorClass

private static java.lang.Class macOSErrorClass

aeDescClass

private static java.lang.Class aeDescClass

aeTargetConstructor

private static java.lang.reflect.Constructor aeTargetConstructor

appleEventConstructor

private static java.lang.reflect.Constructor appleEventConstructor

aeDescConstructor

private static java.lang.reflect.Constructor aeDescConstructor

findFolder

private static java.lang.reflect.Method findFolder

getFileType

private static java.lang.reflect.Method getFileType

makeOSType

private static java.lang.reflect.Method makeOSType

putParameter

private static java.lang.reflect.Method putParameter

sendNoReply

private static java.lang.reflect.Method sendNoReply

kSystemFolderType

private static java.lang.Object kSystemFolderType

keyDirectObject

private static java.lang.Integer keyDirectObject

kAutoGenerateReturnID

private static java.lang.Integer kAutoGenerateReturnID

kAnyTransactionID

private static java.lang.Integer kAnyTransactionID

MRJ_2_0

private static final int MRJ_2_0
See Also:
Constant Field Values

MRJ_2_1

private static final int MRJ_2_1
See Also:
Constant Field Values

WINDOWS_NT

private static final int WINDOWS_NT
See Also:
Constant Field Values

WINDOWS_9x

private static final int WINDOWS_9x
See Also:
Constant Field Values

OTHER

private static final int OTHER
See Also:
Constant Field Values

FINDER_TYPE

private static final java.lang.String FINDER_TYPE
See Also:
Constant Field Values

FINDER_CREATOR

private static final java.lang.String FINDER_CREATOR
See Also:
Constant Field Values

GURL_EVENT

private static final java.lang.String GURL_EVENT
See Also:
Constant Field Values

FIRST_WINDOWS_PARAMETER

private static final java.lang.String FIRST_WINDOWS_PARAMETER
See Also:
Constant Field Values

SECOND_WINDOWS_PARAMETER

private static final java.lang.String SECOND_WINDOWS_PARAMETER
See Also:
Constant Field Values

NETSCAPE_OPEN_PARAMETER_START

private static final java.lang.String NETSCAPE_OPEN_PARAMETER_START
See Also:
Constant Field Values

NETSCAPE_OPEN_PARAMETER_END

private static final java.lang.String NETSCAPE_OPEN_PARAMETER_END
See Also:
Constant Field Values

errorMessage

private static java.lang.String errorMessage
Constructor Detail

BrowserLauncher

private BrowserLauncher()
Method Detail

loadClasses

private static boolean loadClasses()

locateBrowser

private static java.lang.Object locateBrowser()

openURL

public static void openURL(java.lang.String url)
                    throws java.io.IOException
Parameters:
url -
Throws:
java.io.IOException