public final class CdnUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
destringify(String value) |
static Composer<Object> |
findComposer(CdnSettings settings,
AnnotatedType type,
@Nullable Field field) |
static Composer<Object> |
findComposer(CdnSettings settings,
Class<?> clazz,
AnnotatedType type,
@Nullable Field field) |
static String |
readFile(File file,
Charset charset) |
static String |
stringify(String value) |
static Class<?> |
toClass(Type type) |
public static Composer<Object> findComposer(CdnSettings settings, AnnotatedType type, @Nullable @Nullable Field field) throws Exception
Exceptionpublic static Composer<Object> findComposer(CdnSettings settings, Class<?> clazz, AnnotatedType type, @Nullable @Nullable Field field) throws Exception
Exceptionpublic static String readFile(File file, Charset charset) throws IOException
IOExceptionCopyright © 2021. All rights reserved.