Class AbstractDataManager

java.lang.Object
de.calamanari.pk.abstractfactory.AbstractDataManager
Direct Known Subclasses:
PlainFileDataManager, SecureFileDataManager

public abstract class AbstractDataManager
extends java.lang.Object
Abstract data manager is the abstract base class (aka ABSTRACT FACTORY)
Author:
Karl Eilebrecht
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractDataManager()  
  • Method Summary

    Modifier and Type Method Description
    abstract AbstractDataReader createDataReader​(java.lang.String itemName)
    Creates a data reader
    abstract AbstractDataWriter createDataWriter​(java.lang.String itemName)
    Creates a data writer.
    java.lang.String getName()
    Textual description of this manager.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getName

      public java.lang.String getName()
      Textual description of this manager.
      Returns:
      name may be null
    • createDataWriter

      public abstract AbstractDataWriter createDataWriter​(java.lang.String itemName)
      Creates a data writer.
      Parameters:
      itemName - NOT NULL
      Returns:
      data writer
    • createDataReader

      public abstract AbstractDataReader createDataReader​(java.lang.String itemName)
      Creates a data reader
      Parameters:
      itemName - NOT NULL
      Returns:
      data reader