JsonCSharpClassGeneratorLib/CodeWriters/JavaCodeWriter.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Xamasoft.JsonClassGenerator.CodeWriters
{
public class JavaCodeWriter : ICodeWriter
{
public string FileExtension
{
get { return ".java"; }
}
public string DisplayName
{
get { return "Java"; }
}
public string GetTypeName(JsonType type, IJsonClassGeneratorConfig config)
{
throw new NotImplementedException();
}
public void WriteClass(IJsonClassGeneratorConfig config, TextWriter sw, JsonType type)
{
throw new NotImplementedException();
}
public void WriteFileStart(IJsonClassGeneratorConfig config, TextWriter sw)
{
foreach (var line in JsonClassGenerator.FileHeader)
{
sw.WriteLine("// " + line);
}
}
public void WriteFileEnd(IJsonClassGeneratorConfig config, TextWriter sw)
{
throw new NotImplementedException();
}
public void WriteNamespaceStart(IJsonClassGeneratorConfig config, TextWriter sw, bool root)
{
throw new NotImplementedException();
}
public void WriteNamespaceEnd(IJsonClassGeneratorConfig config, TextWriter sw, bool root)
{
throw new NotImplementedException();
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
