| org.mandarax.zkb.IOManager
All known Subclasses: org.mandarax.zkb.AbstractIOManager,
IOManager | public interface IOManager extends LogCategories(Code) | | Interface that describes how ZKB is imported / exported.
This functionality used to be in the ZKBManager (v3.3 and older), outsourcing it has various advantages, in
particular that we can now export/import to/from zip files AND folders.
author: Jens Dietrich version: 3.4 <7 March 05> since: 3.4 |
Inner Class :public class Data | |
Method Summary | |
public Data | read(Object source) Read zkb data. | public void | write(Object target, byte[] metaData, byte[] kbData, byte[] resourceData, ObjectPersistencyService ops) Write zkb data.
Parameters: target - an object describing the target (e.g. |
read | public Data read(Object source) throws Exception(Code) | | Read zkb data.
Parameters: source - the data source (e.g., a file) a data object |
write | public void write(Object target, byte[] metaData, byte[] kbData, byte[] resourceData, ObjectPersistencyService ops) throws Exception(Code) | | Write zkb data.
Parameters: target - an object describing the target (e.g. a file) Parameters: metaData - the serialized meta data Parameters: kbData - the serialized knowledge base Parameters: resourceData - the serialized resource data (objects) Parameters: ops - the object persistency service used |
|
|