org.asteriskjava.config.dialplan.ConfigInclude Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asterisk-java Show documentation
Show all versions of asterisk-java Show documentation
The free Java library for Asterisk PBX integration.
package org.asteriskjava.config.dialplan;
import org.asteriskjava.config.ConfigElement;
public class ConfigInclude extends ConfigElement {
String category;
public ConfigInclude(String filename, int lineno, String category) {
super(filename, lineno);
this.category = category;
}
@Override
protected StringBuilder rawFormat(StringBuilder sb) {
return sb.append(toString());
}
@Override
public String toString() {
return "include => " + category;
}
public String getName() {
return category;
}
}