public class FeatureFileGeneratorUtils extends Object
| Constructor and Description |
|---|
FeatureFileGeneratorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createFeatureXml(FeatureResourceBundle resourceBundle,
File featureXmlFile)
Generates the feature.xml file for a feature.
|
static void |
createManifestMFFile(FeatureResourceBundle resourceBundle,
File featureManifestFile)
Creates manifest file for a feature.
|
static void |
createP2Inf(FeatureResourceBundle resourceBundle,
File p2InfFile)
Generates the P2Inf file.
|
static void |
createPropertiesFile(FeatureResourceBundle resourceBundle,
File featurePropertyFile)
Generates the feature property file.
|
public static void createPropertiesFile(FeatureResourceBundle resourceBundle, File featurePropertyFile) throws IOException, MissingRequiredPropertyException
resourceBundle - containing the project resourcesfeaturePropertyFile - File Object representing the feature property fileIOExceptionMissingRequiredPropertyExceptionpublic static void createManifestMFFile(FeatureResourceBundle resourceBundle, File featureManifestFile) throws IOException
resourceBundle - containing the project resourcesfeatureManifestFile - File Object representing the manifest fileIOExceptionpublic static void createP2Inf(FeatureResourceBundle resourceBundle, File p2InfFile) throws IOException
resourceBundle - containing the project resourcesp2InfFile - File object representing the p2inf fileIOExceptionpublic static void createFeatureXml(FeatureResourceBundle resourceBundle, File featureXmlFile) throws TransformerException, IOException, SAXException, ParserConfigurationException
resourceBundle - containing the project resourcesfeatureXmlFile - File object representing the feature xml fileTransformerExceptionIOExceptionSAXExceptionParserConfigurationExceptionCopyright © 2015 WSO2. All rights reserved.