org.openqa.selenium.html5
Class AppCacheEntry

java.lang.Object
  extended by org.openqa.selenium.html5.AppCacheEntry

public class AppCacheEntry
extends java.lang.Object

Represents a cache resource in the application cache.


Constructor Summary
AppCacheEntry(AppCacheType type, java.lang.String url, java.lang.String mimeType)
           
 
Method Summary
 java.lang.String getMimeType()
          Gets String representation of the Mime type the cache resource is labeled with.
 AppCacheType getType()
          Gets the cache type, which can be any of the resource types listed in AppCacheType
 java.lang.String getUrl()
          Gets a String representation of the URL which identifies the cache resource.
 java.lang.String toString()
          Gets a human readable String representation of the cache entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppCacheEntry

public AppCacheEntry(AppCacheType type,
                     java.lang.String url,
                     java.lang.String mimeType)
Method Detail

getType

public AppCacheType getType()
Gets the cache type, which can be any of the resource types listed in AppCacheType

Returns:
AppCacheType

getUrl

public java.lang.String getUrl()
Gets a String representation of the URL which identifies the cache resource.

Returns:
The URL of the cache resource

getMimeType

public java.lang.String getMimeType()
Gets String representation of the Mime type the cache resource is labeled with.

Returns:
Mime type of the cache resource

toString

public java.lang.String toString()
Gets a human readable String representation of the cache entry.

Overrides:
toString in class java.lang.Object
Returns:
A human readable String.


Copyright © 2011. All Rights Reserved.