public class GcResourceFile extends AbstractGcResource
Date: November 8, 2013
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_MODEL |
| Constructor and Description |
|---|
GcResourceFile(File file) |
GcResourceFile(String resourceName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
URL |
getResourceNameAsUrl() |
String |
getResourceNameAsUrlString()
Same as
getResourceNameAsUrl(), but still returns a string, if MalFormedURLException occurred. |
int |
hashCode() |
boolean |
hasUnderlyingResourceChanged()
Returns true, if the underlying resource has changed.
|
String |
toString() |
addPropertyChangeListener, getLogger, getModel, getResourceName, isReadCancelled, isReload, removePropertyChangeListener, reset, setIsReadCancelled, setIsReload, setLogger, setModelpublic static final String PROPERTY_MODEL
public GcResourceFile(File file)
public GcResourceFile(String resourceName)
public URL getResourceNameAsUrl() throws MalformedURLException
MalformedURLExceptionpublic String getResourceNameAsUrlString()
getResourceNameAsUrl(), but still returns a string, if MalFormedURLException occurred.public boolean hasUnderlyingResourceChanged()
GCResourceCopyright © 2019. All rights reserved.