/*
- * Copyright (c) 2017. Developed by Hedgecode.
+ * Copyright (c) 2017-2020. Developed by Hedgecode.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
return sb.toString();
}
+ protected void verifySerialize(Serializable serializeObject) throws IOException {
+ if (!serializeFile.exists()) {
+ serialize(serializeObject);
+ }
+ }
+
protected void serialize(Serializable serializeObject) throws IOException {
try (ObjectOutputStream oos =
new ObjectOutputStream(