Interface Resource

All Known Implementing Classes:
ResourceFile, URLResponse

public interface Resource
Common interface for resource data. The interface defines a number of methods for reading its contents as either binary data or as text.

Since this interface represents a resource that is known to be available, a ResourceException will be thrown if the resource cannot be accessed, instead of an IOException.