Class DefaultStorageImpl
- java.lang.Object
-
- org.crumbleworks.forge.crumbprops.DefaultStorageImpl
-
- All Implemented Interfaces:
Storage
public class DefaultStorageImpl extends Object implements Storage
File-based implementation using Java'sProperties.- Since:
- 1.0
- Author:
- Michael Stocker
-
-
Constructor Summary
Constructors Constructor Description DefaultStorageImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidread(Set<PropertyField> properties, Path filePath)voidwrite(Set<PropertyField> properties, Path filePath)
-
-
-
Method Detail
-
write
public void write(Set<PropertyField> properties, Path filePath) throws StorageIOException
- Specified by:
writein interfaceStorage- Throws:
StorageIOException
-
read
public void read(Set<PropertyField> properties, Path filePath) throws StorageIOException
- Specified by:
readin interfaceStorage- Throws:
StorageIOException
-
-