public interface ResourceLoader
| Modifier and Type | Method and Description |
|---|---|
String |
getContent(String resourceName)
Returns text content of a resource
|
long |
getLastChangeTimestamp(String resourceName)
Returns timestamp of last resource modification
|
boolean |
isAvailable(String resourceName)
Returns whether resource with given name can be loaded
|
boolean isAvailable(String resourceName)
resourceName - the name of a resource to loadlong getLastChangeTimestamp(String resourceName) throws IllegalArgumentException
resourceName - IllegalArgumentException - if resource with such name is not availableString getContent(String resourceName) throws IllegalArgumentException
resourceName - IllegalArgumentException - if resource with such name is not availableCopyright © 2010-2014 anotheria.net. All Rights Reserved.