All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.config.IncludeDirective Maven / Gradle / Ivy

There is a newer version: 3.41.0
Show newest version
package org.asteriskjava.config;

public class IncludeDirective extends ConfigDirective
{
    /**
     * file name included.
     */
    private final String includeFile;

    public IncludeDirective(String includeFile)
    {
        super();
        this.includeFile = includeFile;
    }

    public IncludeDirective(String filename, int lineno, String includeFile)
    {
        super(filename, lineno);
        this.includeFile = includeFile;
    }

    public String getIncludeFile()
    {
        return includeFile;
    }

    @Override
    protected StringBuilder rawFormat(StringBuilder sb)
    {
        sb.append("#include \"").append(includeFile).append("\"");
        return sb;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy