public interface ResourceUtils
| Modifier and Type | Method and Description |
|---|---|
String |
createUrl(String appId,
String namespace,
String filename,
String portalName)
Create url to retrieve data from server resources
|
File |
getResourceDirectory(String appId,
String namespace)
Get a resource directory for a specific application and namespace
|
boolean |
serializeObjectToFile(File destFile,
Object obj)
Serialize an object to a File using a default mapper
|
File getResourceDirectory(String appId, String namespace)
appId - application uuidnamespace - resource namespaceString createUrl(String appId, String namespace, String filename, String portalName)
appId - application uuidnamespace - resource namespacefilename - name of the file to exposeportalName - portal to access the fileboolean serializeObjectToFile(File destFile, Object obj)
destFile - the file in which the object will be serializedobj - the object to serializeCopyright © 2015. All rights reserved.