public class ResourceLoader extends Object
| Constructor and Description |
|---|
ResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
loadPackageFileAsString(String fileName,
Class<?> packageClass)
Load package resource as string in OSGi or Non-OSGi environment.
|
public static String loadPackageFileAsString(String fileName, Class<?> packageClass) throws IOException
fileName - name of string resourcepackageClass - class represents the packageIOExceptionCopyright © 2020. All rights reserved.