Class ResourceHelper


  • public class ResourceHelper
    extends org.apache.sling.testing.clients.util.ResourceUtil
    Fix a bug in the ResourceUtil.readResourceAsString(String) which append extra line break at the end of the file.
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String readResourceAsString​(java.lang.String resource)  
      • Methods inherited from class org.apache.sling.testing.clients.util.ResourceUtil

        getResourceAsStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceHelper

        public ResourceHelper()
    • Method Detail

      • readResourceAsString

        public static java.lang.String readResourceAsString​(java.lang.String resource)