public class Support extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
Support() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(InputStream in,
OutputStream out)
Copy in into out and close streams safely.
|
static com.google.common.base.Predicate<Bundle> |
efficientAndPredicate(List<com.google.common.base.Predicate<Bundle>> predicates)
Join list of predicates with AND operand.
|
static boolean |
equals(Object a,
Object b)
Helper to check for equality without bothering to handle nulls.
|
static String |
indent(String string,
String indent)
Indent string, multiline also supported.
|
static void |
logIOException(IOException e) |
static org.dom4j.Element |
parseXml(String xml)
Parses XML.
|
public static com.google.common.base.Predicate<Bundle> efficientAndPredicate(List<com.google.common.base.Predicate<Bundle>> predicates)
public static String indent(String string, String indent)
public static boolean equals(Object a, Object b)
public static void copy(InputStream in, OutputStream out)
public static void logIOException(IOException e)
public static org.dom4j.Element parseXml(String xml)
Copyright © 2017 Atlassian. All rights reserved.