public class DirectorySerializer extends Object
| Constructor and Description |
|---|
DirectorySerializer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteDirectory(Path path)
Removes the specified directory.
|
static void |
deserialize(Path path,
byte[] data)
Deserializes directory content.
|
static byte[] |
serialize(Path path)
Serializes directory content.
|
public static byte[] serialize(Path path) throws IOException
path - Path to the directory.IOException - If directory cannot be serialized.public static void deserialize(Path path, byte[] data) throws IOException, ClassNotFoundException
path - Path to the directory.data - Serialized content.IOException - If the directory cannot be deserialized.ClassNotFoundException - If the directory cannot be deserialized.public static void deleteDirectory(Path path)
path - Path to the directory.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025