Package org.duracloud.syncui.service
Class SyncToolConfigSerializer
- java.lang.Object
-
- org.duracloud.syncui.service.SyncToolConfigSerializer
-
public class SyncToolConfigSerializer extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncToolConfigdeserialize(String syncToolConfigXmlPath)static voidserialize(SyncToolConfig syncToolConfig, String syncToolConfigXmlPath)
-
-
-
Method Detail
-
deserialize
public static SyncToolConfig deserialize(String syncToolConfigXmlPath) throws IOException
- Parameters:
syncToolConfigXmlPath-- Returns:
- deserialized config if the xml file is available and valid, otherwise null
- Throws:
IOException
-
serialize
public static void serialize(SyncToolConfig syncToolConfig, String syncToolConfigXmlPath) throws IOException
- Throws:
IOException
-
-