Package | Description |
---|---|
io.fabric8.maven.core.util |
Modifier and Type | Method and Description |
---|---|
static ResourceFileType |
ResourceFileType.fromExtension(String ext) |
static ResourceFileType |
ResourceFileType.fromFile(File file) |
static ResourceFileType |
ResourceFileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceFileType[] |
ResourceFileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
ResourceUtil.load(File file,
Class<T> clazz,
ResourceFileType resourceFileType) |
static <T> T |
ResourceUtil.load(InputStream in,
Class<T> clazz,
ResourceFileType resourceFileType) |
static File |
ResourceUtil.save(File file,
Object data,
ResourceFileType type) |
static File |
KubernetesResourceUtil.writeResource(Object resource,
File target,
ResourceFileType resourceFileType) |
static File |
KubernetesResourceUtil.writeResourceFile(Object resource,
File outputFile,
ResourceFileType resourceFileType) |
Copyright © 2020. All rights reserved.