org.onebusaway.presentation.impl.resources
Class ResourcePrototypeImpl
java.lang.Object
org.onebusaway.presentation.impl.resources.ResourcePrototypeImpl
- All Implemented Interfaces:
- com.google.gwt.resources.client.ResourcePrototype
- Direct Known Subclasses:
- CssResourceImpl, DataResourceImpl, ImageResourceImpl
public class ResourcePrototypeImpl
- extends Object
- implements com.google.gwt.resources.client.ResourcePrototype
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_context
protected ClientBundleContext _context
_parentBundle
protected ClientBundleImpl _parentBundle
_initialized
protected boolean _initialized
_localUrl
protected URL _localUrl
_localFile
protected File _localFile
_localFileLength
protected long _localFileLength
ResourcePrototypeImpl
public ResourcePrototypeImpl(ClientBundleContext context,
ClientBundleImpl parentBundle,
String name)
setLocalFile
public void setLocalFile(File file)
getName
public String getName()
ResourcePrototype
Interface
- Specified by:
getName
in interface com.google.gwt.resources.client.ResourcePrototype
getLocalUrl
public URL getLocalUrl()
LocalResource
Interface
getLastModifiedTime
public long getLastModifiedTime()
isUpToDate
protected boolean isUpToDate()
- Protected Methods
setUpToDate
protected void setUpToDate()
refresh
protected void refresh()
constructURL
protected String constructURL(String resourceKey,
String resourceExtension,
LocalResource resource)
Copyright © 2012 OneBusAway. All Rights Reserved.