Interface Resource

All Superinterfaces:
AbstractResource, ReadableResource, WritableResource
All Known Subinterfaces:
CloseableResource, ReadableButNotWritableResource, WritableButNotReadableResource
All Known Implementing Classes:
DataResource, DelegatingMultipartResource, DelegatingResource, EmptyResource, ErrorResource, FileDescriptorResource, FileResource, IntegrityValidatingDelegatingResource, MarkdownResource, MemoryResource, MultibaseResource, NullResource, ReadableButNotWritableDelegatingResource, RegexMultipartResource, StringResource, StringResource2, TeapotResource, TestResource, WritableButNotReadableDelegatingResource

public interface Resource extends ReadableResource, WritableResource
Resource.

Resource represent "the bytes that are at the AbstractResource.uri() - with their AbstractResource.mediaType(), and a way to read from / write to them via ReadableResource.byteSource() and WritableResource.byteSink().

PS: Nota bene that this Resource (of Enola's Java API) is NOT the same as the rdfs:Resource , which is a Thing in Enola's Java API.