Package gov.nih.mipav.model.file
Class MetadataExtractor.StringUtil
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.StringUtil
-
- Enclosing class:
- MetadataExtractor
public static final class MetadataExtractor.StringUtil extends java.lang.Object
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Constructor Summary
Constructors Constructor Description StringUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
compare(java.lang.String s1, java.lang.String s2)
static java.lang.String
fromStream(java.io.InputStream stream)
static java.lang.String
join(java.lang.Iterable<? extends java.lang.CharSequence> strings, java.lang.String delimiter)
static <T extends java.lang.CharSequence>
java.lang.Stringjoin(T[] strings, java.lang.String delimiter)
static java.lang.String
urlEncode(java.lang.String name)
-
-
-
Method Detail
-
join
public static java.lang.String join(java.lang.Iterable<? extends java.lang.CharSequence> strings, java.lang.String delimiter)
-
join
public static <T extends java.lang.CharSequence> java.lang.String join(T[] strings, java.lang.String delimiter)
-
fromStream
public static java.lang.String fromStream(java.io.InputStream stream) throws java.io.IOException
- Throws:
java.io.IOException
-
compare
public static int compare(java.lang.String s1, java.lang.String s2)
-
urlEncode
public static java.lang.String urlEncode(java.lang.String name)
-
-