org.gcube.application.framework.search.library.util
Class CollectionsToStringHelper

java.lang.Object
  extended by org.gcube.application.framework.search.library.util.CollectionsToStringHelper

public class CollectionsToStringHelper
extends Object


Constructor Summary
CollectionsToStringHelper()
           
 
Method Summary
static void logHashMap(HashMap<CollectionInfo,ArrayList<CollectionInfo>> collections)
           
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionsToStringHelper

public CollectionsToStringHelper()
Method Detail

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.