telosys.objects
Class Browser

java.lang.Object
  extended bytelosys.objects.Browser

public class Browser
extends java.lang.Object

Class for the browser instance


Constructor Summary
Browser()
           
 
Method Summary
 string getType()
          Returns the type of the browser (Mozilla, Internet Explorer)
 boolean isInternetExplorer()
          Returns true if the browser is Internet Explorer
 boolean isMozilla()
          Returns true if the browser is Mozilla
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Browser

public Browser()
Method Detail

isMozilla

public boolean isMozilla()
Returns true if the browser is Mozilla

Returns:
true(Mozilla) | false(not Mozilla)

isInternetExplorer

public boolean isInternetExplorer()
Returns true if the browser is Internet Explorer

Returns:
true(Internet Explorer) | false(not Internet Explorer)

getType

public string getType()
Returns the type of the browser (Mozilla, Internet Explorer)

Returns:
the browser type : "Mozilla/Firefox" or "Internet Explorer"