Package aQute.bnd.differ
Class XmlRepoDiffer
- java.lang.Object
-
- aQute.bnd.differ.XmlRepoDiffer
-
public final class XmlRepoDiffer extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<aQute.bnd.differ.Element>mapToElements(java.util.Map<java.lang.String,? extends java.lang.Object> entries, Type type, boolean expandFilter)Creates list ofElements associating the specified entriesstatic aQute.bnd.differ.Elementresource(java.io.File file)Returns the differElementfor comparisonstatic aQute.bnd.differ.Elementresource(java.io.File file, boolean expandFilter)Returns the differElementfor comparison
-
-
-
Method Detail
-
resource
public static aQute.bnd.differ.Element resource(java.io.File file) throws java.lang.ExceptionReturns the differElementfor comparisonNote that, the
filterdirectives will not be expanded- Parameters:
file- the XML resource repository- Returns:
- the differ
Element - Throws:
java.lang.Exception- for any discrepancy- See Also:
resource(File, boolean)
-
resource
public static aQute.bnd.differ.Element resource(java.io.File file, boolean expandFilter) throws java.lang.ExceptionReturns the differElementfor comparisonNote that, the
filterdirectives will be expanded ifexpandFilteris set totrue- Parameters:
file- the XML resource repositoryexpandFilter- the flag to expandfilterdirectives- Returns:
- the differ
Element - Throws:
java.lang.Exception- for any discrepancy- See Also:
resource(File)
-
mapToElements
public static java.util.List<aQute.bnd.differ.Element> mapToElements(java.util.Map<java.lang.String,? extends java.lang.Object> entries, Type type, boolean expandFilter)Creates list ofElements associating the specified entries- Parameters:
entries- the entries to associatetype- the type to use for comparisonexpandFilter- the flag to expandfilterdirectives- Returns:
- the list of
Elements
-
-