Class Stringify
java.lang.Object
org.jenkinsci.plugins.pollmailboxtrigger.mail.utils.Stringify
- Author:
- Nick Grealy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstringify(int messageNumber) Converts the given object to aString.static <A> Stringstringify(A[] array) Converts the given object to aString.static <A> StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static Stringstringify(Enumeration allHeaders) Converts the given object to aString.static Stringstringify(Iterator<? extends Map.Entry<?, ?>> iterator, String pKeyValueDelimiter, String pDelimiter) Converts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static StringConverts the given object to aString.static Stringstringify(javax.mail.Address[] addresses) Converts the given object to aString.static Stringstringify(javax.mail.Flags flags) Converts the given object to aString.static Stringstringify(javax.mail.Flags.Flag flag) Converts the given object to aString.static Stringstringify(javax.mail.Folder folder) Converts the given object to aString.static Stringstringify(javax.mail.Header content) Converts the given object to aString.static Stringstringify(javax.mail.Part part) Get text from all parts of the email.
-
Field Details
-
DATE_FORMAT_TEXT
- See Also:
-
TEXT_WILDCARD
- See Also:
-
TEXT_HTML
- See Also:
-
TEXT_PLAIN
- See Also:
-
MULTIPART_WILDCARD
- See Also:
-
MULTIPART_ALTERNATIVE
- See Also:
-
NEWLINE
- See Also:
-
BLANK
- See Also:
-
-
Constructor Details
-
Stringify
public Stringify()
-
-
Method Details
-
stringify
Converts the given object to aString.- Parameters:
t- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
message- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Type Parameters:
A- the type of the array- Parameters:
array- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Type Parameters:
A-- Parameters:
array- the object to convert to a String.delimiter- a delimiter.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
list- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
list- the object to convert to a String.delimiter- a delimiter.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
list- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
list- the object to convert to a String.delimiter- a delimiter.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
iterator- the object to convert to a String.pDelimiter- a delimiter.- Returns:
- a String
-
stringify
public static String stringify(Iterator<? extends Map.Entry<?, ?>> iterator, String pKeyValueDelimiter, String pDelimiter) Converts the given object to aString.- Parameters:
iterator- the object to convert to a String.pKeyValueDelimiter- a delimiter.pDelimiter- a delimiter.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
date- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
messageNumber- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
allHeaders- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
content- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
content- the object to convert to a String.keyValueDelimiter- a delimiter.delimiter- a delimiter.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
content- the object to convert to a String.keyValueDelimiter- a delimiter.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
content- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
content- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
addresses- the object to convert to a String.- Returns:
- a String
-
stringify
Get text from all parts of the email. Loosely based on oracle.com.- Parameters:
part- - the mail part to convert to string.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
flags- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
flag- the object to convert to a String.- Returns:
- a String
-
stringify
Converts the given object to aString.- Parameters:
folder- the object to convert to a String.- Returns:
- a String
-