public class BundleMappingHandler extends Object implements org.apache.sling.feature.builder.PostProcessHandler
Constructor and Description |
---|
BundleMappingHandler() |
Modifier and Type | Method and Description |
---|---|
protected static File |
getDataFile(org.apache.sling.feature.builder.HandlerContext context,
String name) |
protected static File |
getDataFile(org.apache.sling.feature.builder.HandlerContext context,
String directory,
String name) |
protected static File |
getFeatureDataFile(org.apache.sling.feature.builder.HandlerContext context,
org.apache.sling.feature.Feature target,
String fileName) |
protected Properties |
loadProperties(File file) |
void |
postProcess(org.apache.sling.feature.builder.HandlerContext context,
org.apache.sling.feature.Feature feature,
org.apache.sling.feature.Extension extension) |
protected void |
storeProperties(Properties properties,
File file) |
public void postProcess(org.apache.sling.feature.builder.HandlerContext context, org.apache.sling.feature.Feature feature, org.apache.sling.feature.Extension extension)
postProcess
in interface org.apache.sling.feature.builder.PostProcessHandler
protected static File getFeatureDataFile(org.apache.sling.feature.builder.HandlerContext context, org.apache.sling.feature.Feature target, String fileName) throws IOException
IOException
protected static File getDataFile(org.apache.sling.feature.builder.HandlerContext context, String directory, String name) throws IOException
IOException
protected static File getDataFile(org.apache.sling.feature.builder.HandlerContext context, String name) throws IOException
IOException
protected Properties loadProperties(File file) throws IOException, FileNotFoundException
IOException
FileNotFoundException
protected void storeProperties(Properties properties, File file) throws IOException, FileNotFoundException
IOException
FileNotFoundException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.