Package com.infiniteautomation.asciifile

Source Code of com.infiniteautomation.asciifile.AsciiFileDataSourceDefinition

package com.infiniteautomation.asciifile;

import com.infiniteautomation.asciifile.vo.AsciiFileDataSourceVO;
import com.infiniteautomation.asciifile.web.AsciiFileEditDwr;
import com.serotonin.m2m2.module.DataSourceDefinition;
import com.serotonin.m2m2.vo.dataSource.DataSourceVO;

/**
* @author Phillip Dunlap
*/

public class AsciiFileDataSourceDefinition extends DataSourceDefinition{

  @Override
  public String getDataSourceTypeName() {
    return "ASCII FILE";
  }

  @Override
  public String getDescriptionKey() {
    return "dsEdit.file.desc";
  }

  @Override
  protected DataSourceVO<?> createDataSourceVO() {
    return new AsciiFileDataSourceVO();
  }

  @Override
  public String getEditPagePath() {
    return "web/editFile.jsp";
  }

  @Override
  public Class<?> getDwrClass() {
    return AsciiFileEditDwr.class;
  }

}
TOP

Related Classes of com.infiniteautomation.asciifile.AsciiFileDataSourceDefinition

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.