Class ResourceLoader
- java.lang.Object
-
- de.codecentric.reedelk.platform.services.resource.ResourceLoader
-
public class ResourceLoader extends Object
A Resource Loader which lazy load resources from the given URL.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_BUFFER_SIZE
-
Constructor Summary
Constructors Constructor Description ResourceLoader(URL resourceURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactivestreams.Publisher<byte[]>body()org.reactivestreams.Publisher<byte[]>body(int readBufferSize)StringbodyAsString()StringgetResourceFilePath()
-
-
-
Field Detail
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResourceLoader
public ResourceLoader(URL resourceURL)
-
-