Package org.xwiki.resource
Interface ResourceLoader<T extends ResourceReference>
-
- Type Parameters:
T
- the Resource Reference type to load
@Role public interface ResourceLoader<T extends ResourceReference>
Load Resources pointed to by Resource Reference as a Input Stream.- Since:
- 6.1M2
- Version:
- $Id: dea2adf8c9efa871149d093b4cb8b37ab7c7e77e $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
load(T reference)
-
-
-
Method Detail
-
load
InputStream load(T reference)
- Parameters:
reference
- the reference to the Resource to load- Returns:
- the Resource content as an Input Stream or null if it doesn't exist or cannot be loaded
-
-