MeasureDataRenderer.java :  » Profiler » JMeasurement » de » mcs » jmeasurement » renderer » Java Open Source

Java Open Source » Profiler » JMeasurement 
JMeasurement » de » mcs » jmeasurement » renderer » MeasureDataRenderer.java
/*
 * MCS Media Computer Software Copyright (c) 2005 by MCS
 * -------------------------------------- Created on 23.04.2005 by w.klaas
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package de.mcs.jmeasurement.renderer;

import de.mcs.jmeasurement.MeasurePoint;

/**
 * this is the interface for the data renderer, which will create the string
 * representations of one MeasurePoint.
 * 
 * @author w.klaas
 */
public interface MeasureDataRenderer {

    /**
     * This methode will generate the string representation of the desired
     * renderer for one measure point.
     * 
     * @param point
     *            goes in.
     * @param prefix
     *            some renderer need a differentation of the caller, like the
     *            Snapshot renderer and the main render, so the renderer could
     *            build different links for any of them.
     * @return String the string representation of the values
     * @since 0.64
     */
    String getDataAsString(MeasurePoint point, String prefix);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.