org.gcube.application.framework.search.library.util
Class CollectionsToStringHelper
java.lang.Object
org.gcube.application.framework.search.library.util.CollectionsToStringHelper
public class CollectionsToStringHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionsToStringHelper
public CollectionsToStringHelper()
logHashMap
public static void logHashMap(HashMap<CollectionInfo,ArrayList<CollectionInfo>> collections)
stripNonValidXMLCharacters
public static String stripNonValidXMLCharacters(String in)
- This method ensures that the output String has only
valid XML unicode characters as specified by the
XML 1.0 standard. For reference, please see
the
standard. This method will return an empty
String if the input is null or empty.
- Parameters:
in - The String whose non-valid characters we want to remove.
- Returns:
- The in String, stripped of non-valid characters.
Copyright © 2013. All Rights Reserved.