/* BaseEventFormatter.java (c) 2012-2014 Edward Swartz All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html */ package v9t9.engine.demos.format; import v9t9.common.demos.IDemoEventFormatter; /** * @author ejs * */ public abstract class BaseEventFormatter implements IDemoEventFormatter { private final String bufferId; private final String eventId; public BaseEventFormatter(String bufferId, String eventId) { this.bufferId = bufferId; this.eventId = eventId; } /* (non-Javadoc) * @see v9t9.common.demo.IDemoEventFormatter#getBufferIdentifer() */ @Override public String getBufferIdentifer() { return bufferId; } /* (non-Javadoc) * @see v9t9.common.demo.IDemoEventFormatter#getEventIdentifier() */ @Override public String getEventIdentifier() { return eventId; } }