public class FileDefinitionHolder extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addDefinition(String fileName,
String fileContent)
Add file definition under file name in to the definition map.
|
Map<String,String> |
getFileDefinitionMap()
Get the file definition map.
|
static FileDefinitionHolder |
getInstance()
Get the current instance of the file definition holder.
|
void |
removeFileDefinition(String fileName)
Remove definition related to the given file name from the definition map.
|
public static FileDefinitionHolder getInstance()
FileDefinitionHolderpublic void addDefinition(String fileName, String fileContent)
fileName - file name for the servicefileContent - file content for the servicepublic Map<String,String> getFileDefinitionMap()
Map of stringspublic void removeFileDefinition(String fileName)
fileName - file name to be removedCopyright © 2019 WSO2. All rights reserved.