java.lang.Object
com.atlassian.plugin.webresource.impl.support.Support

public class Support extends Object
Basic utility functions.
Since:
v6.3
  • Field Details

    • LOGGER

      public static final org.slf4j.Logger LOGGER
  • Constructor Details

    • Support

      public Support()
  • Method Details

    • efficientAndPredicate

      public static Predicate<Bundle> efficientAndPredicate(List<Predicate<Bundle>> predicates)
      Join list of predicates with AND operand.
    • equals

      public static boolean equals(Object a, Object b)
      Helper to check for equality without bothering to handle nulls.
    • copy

      public static void copy(InputStream in, OutputStream out)
      Copy in into out and close streams safely.
    • logIOException

      public static void logIOException(IOException e)
    • getSourceMap

      public static com.atlassian.sourcemap.ReadableSourceMap getSourceMap(String resourcePath, Resource resource, String sourceUrl)