Package step.repositories.jira.util
Class JiraUtils
- java.lang.Object
-
- step.repositories.jira.util.JiraUtils
-
public class JiraUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.fasterxml.jackson.databind.ObjectMapper
OBJECT_MAPPER
-
Constructor Summary
Constructors Constructor Description JiraUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
encodeAsBase64(InputStream inputStream)
static String
getIssueSummary(Issue issue, boolean prefixWithKey)
static String
guessContentTypeFromFilename(String filename)
static String
setParameters(String parameterizedString, Object... parameters)
static String
stripTrailingSlashes(String in)
-
-
-
Method Detail
-
encodeAsBase64
public static String encodeAsBase64(InputStream inputStream) throws IOException
- Throws:
IOException
-
-