org.universAAL.middleware.util
Class ResourceComparator
java.lang.Object
org.universAAL.middleware.util.ResourceComparator
public final class ResourceComparator
- extends Object
Helper class for comparing two Resource
s.
- Author:
- mtazari - Saied
Tazari, Carsten Stockloew
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceComparator
public ResourceComparator()
ResourceComparator
public ResourceComparator(boolean ignoreEmptyList)
areEqual
public boolean areEqual(Resource r1,
Resource r2)
- Tests whether two Resources are equal, i.e. the Resource, all properties,
and all Resources connected by properties.
printDiffs
public void printDiffs(Resource r1,
Resource r2)
- Prints the differences between two Resources to the log.
- See Also:
LogUtils.logDebug(org.universAAL.middleware.container.ModuleContext,
Class, String, Object[], Throwable)
getDiffsAsStack
public Stack getDiffsAsStack(Resource r1,
Resource r2)
getDiffsAsString
public String getDiffsAsString(Resource r1,
Resource r2)
Copyright © 2014 universAAL Consortium. All Rights Reserved.