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 ofElement
s associating the specified entriesstatic aQute.bnd.differ.Element
resource(java.io.File file)
Returns the differElement
for comparisonstatic aQute.bnd.differ.Element
resource(java.io.File file, boolean expandFilter)
Returns the differElement
for comparison
-
-
-
Method Detail
-
resource
public static aQute.bnd.differ.Element resource(java.io.File file) throws java.lang.Exception
Returns the differElement
for comparisonNote that, the
filter
directives 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.Exception
Returns the differElement
for comparisonNote that, the
filter
directives will be expanded ifexpandFilter
is set totrue
- Parameters:
file
- the XML resource repositoryexpandFilter
- the flag to expandfilter
directives- 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 ofElement
s associating the specified entries- Parameters:
entries
- the entries to associatetype
- the type to use for comparisonexpandFilter
- the flag to expandfilter
directives- Returns:
- the list of
Element
s
-
-