Class Support
java.lang.Object
com.atlassian.plugin.webresource.impl.support.Support
Basic utility functions.
- Since:
- v6.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(InputStream in, OutputStream out) Copy in into out and close streams safely.efficientAndPredicate(List<Predicate<Bundle>> predicates) Join list of predicates with AND operand.static booleanHelper to check for equality without bothering to handle nulls.static com.atlassian.sourcemap.ReadableSourceMapgetSourceMap(String resourcePath, Resource resource, String sourceUrl) static void
-
Field Details
-
LOGGER
public static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
Support
public Support()
-
-
Method Details
-
efficientAndPredicate
Join list of predicates with AND operand. -
equals
Helper to check for equality without bothering to handle nulls. -
copy
Copy in into out and close streams safely. -
logIOException
-
getSourceMap
-