using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core.Helpers;
using Tango.Logging;
namespace Tango.Protobuf.Compilers
{
///
/// Represents a protobuf Java Compiler.
///
///
public class JavaCompiler : ProtoCompiler
{
///
/// Gets the compiler language.
///
public override CompilerLanguage Language => CompilerLanguage.Java;
///
/// Gets the protobuf compiler CLI arguments (without input/output files!).
///
///
protected override string GetProtoArguments()
{
return "--java_out";
}
///
/// Gets a value indicating whether this compiler uses the default folder structure when generating code.
///
public override bool UsesDefaultStructure => true;
}
}