Houston, we have a problem. I can't think of a simple class name. I have abstract class, something like that:

public abstract class DataDisplay {
    public abstract void dataDisplay(Data data);

This class only displays data in some way: paint it to canvas, send SMS, send bytes through socket, etc.

closed as primarily opinion-based by gnat, GlenH7, Kilian Foth, Dan Pichelman, user40980 Nov 4 '14 at 17:43

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  1. It seems like it should be an interface, not an abstract class.
  2. It is too generic if it can do anything from printing to console to sending your data to space. You may end up violating single responsibility principle in your implementations.

If still you think it's OK, I'd say it is a Representer since it deals with some Data type and presents it in a different ways, i.e. represents what is present as Data. I have no deep enough knowledge of English, but it seems reasonable.

Not the answer you're looking for? Browse other questions tagged or ask your own question.