Interface StaticFiles
- All Superinterfaces:
FileFinder
- All Known Implementing Classes:
BasicStaticFiles
,StaticFiles.Void
API for retrieving localized static files from either the classpath or file system.
See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Builder class.static class
Represents no static files -
Method Summary
Modifier and TypeMethodDescriptionstatic StaticFiles.Builder
Static creator.Resolve the specified path.Methods inherited from interface org.apache.juneau.cp.FileFinder
getStream, getString
-
Method Details
-
create
Static creator.- Parameters:
beanStore
- The bean store to use for creating beans.- Returns:
- A new builder for this object.
-
resolve
Resolve the specified path.- Parameters:
path
- The path to resolve to a static file.locale
- Optional locale.- Returns:
- The resource, or
null if not found.
-