Uses of Class
org.apache.creadur.whisker.app.StreamableResource
Package
Description
High level application components.
Ways to load resources.
-
Uses of StreamableResource in org.apache.creadur.whisker.app
Modifier and TypeMethodDescriptionfinal Whisker
Whisker.setLicenseDescriptor
(StreamableResource licenseDescriptor) Sets meta-data describing the source licensing. -
Uses of StreamableResource in org.apache.creadur.whisker.app.load
Modifier and TypeClassDescriptionfinal class
Streams, on demand, the contents of a resource located on the class path.final class
Streams, on demand, the contents of a file identified by a full file name, including path.final class
Streams the contents of a file.Modifier and TypeMethodDescriptionStreamableResourceFactory.streamFromClassPathResource
(String name) Builds instance that streams, on demand, from resource on the class path.StreamableResourceFactory.streamFromFileResource
(File file) Builds instance that streams, on demand, from resource stored in the file system.StreamableResourceFactory.streamFromFileResource
(String fileName) Builds instance that streams, on demand, from resource stored in the file system.StreamableResourceFactory.streamFromResource
(String resourceName) When the resource is found on the classpath, builds an instance that streams, on demand, from the classpath.