public class DataPersister extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DataPersister.EntityType |
Modifier and Type | Method and Description |
---|---|
static File |
filename(File dir,
String environmentId,
DataPersister.EntityType entityType) |
static <T> T |
readValue(File dir,
String environmentId,
DataPersister.EntityType entityType,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference,
T defaultValue) |
static void |
writeValue(File dir,
String environmentId,
DataPersister.EntityType entityType,
Object value) |
public static void writeValue(File dir, String environmentId, DataPersister.EntityType entityType, Object value) throws IOException
IOException
public static <T> T readValue(File dir, String environmentId, DataPersister.EntityType entityType, com.fasterxml.jackson.core.type.TypeReference<T> typeReference, T defaultValue) throws IOException
IOException
public static File filename(File dir, String environmentId, DataPersister.EntityType entityType)
Copyright © 2016–2023. All rights reserved.