<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>C# to Java Converter Help</title>
<meta name="description" content="C# to Java Converter help contents"/>
<link href="help-styles.css" rel="stylesheet" type="text/css">
</head>
<body id="bodystyle">
<div id="outer_container">
<div id="content_div">
<h1 class="companyname">Tangible Software Solutions</h1>
<p class="vertical_spacer"></p>
<h1 class="titlestyle">C# to Java Converter Help</h1>
<p class="vertical_spacer"></p>
<hr/>
<h2 class="subtitlestyle">Contents</h2>
<ol>
<li class="spaced_list_item"><a class="linktext" href="#folder-conversion">Project & Folder Conversion</a></li>
<li class="spaced_list_item"><a class="linktext" href="#file-and-snippet-conversion">File & Snippet Conversion</a></li>
<li class="spaced_list_item"><a class="linktext" href="#command-line-conversion">Command Line Conversion</a></li>
<li class="spaced_list_item"><a class="linktext" href="#code-formatting-options">Code Formatting Options</a></li>
<li class="spaced_list_item"><a class="linktext" href="#conversion-message-options">Conversion Message Options</a></li>
<li class="spaced_list_item"><a class="linktext" href="#custom-string-replacements">Custom String Replacements</a></li>
<li class="spaced_list_item"><a class="linktext" href="#type-and-member-replacements">Type & Member Replacements</a></li>
<li class="spaced_list_item"><a class="linktext" href="#diagnostic-options">Diagnostic Options</a></li>
<li class="spaced_list_item"><a class="linktext" href="#file-encoding-options">File Encoding Options</a></li>
<li class="spaced_list_item"><a class="linktext" href="#additions-and-omissions">Additions & Omissions</a></li>
<li class="spaced_list_item"><a class="linktext" href="#project-conversion-groups">Project Conversion Groups</a></li>
<li class="spaced_list_item"><a class="linktext" href="#default-shared-assemblies">Default Shared Assemblies for Conversions</a></li>
<li class="spaced_list_item"><a class="linktext" href="#assumed-imported-namespaces">Assumed Imported Namespaces for Snippet Conversions</a></li>
<li class="spaced_list_item"><a class="linktext" href="#package-and-file-options">Package & File Options</a></li>
<li class="spaced_list_item"><a class="linktext" href="#property-conversion-options">Property Conversion Options</a></li>
<li class="spaced_list_item"><a class="linktext" href="#naming-conventions">Naming Conventions</a></li>
<li class="spaced_list_item"><a class="linktext" href="#dot-net-to-java-options">.NET to Java Class Library Options</a></li>
<li class="spaced_list_item"><a class="linktext" href="#bypass-type-conversion">Omit Types from Conversion</a></li>
<li class="spaced_list_item"><a class="linktext" href="#misc-options">Miscellaneous Options</a></li>
<li class="spaced_list_item"><a class="linktext" href="#assembly-resolution">Assembly Resolution</a></li>
<li class="spaced_list_item"><a class="linktext" href="#reference-parameters">Conversion of 'ref' Parameters</a></li>
<li class="spaced_list_item"><a class="linktext" href="#lambdas-and-delegates">Conversion of Lambdas and Delegates</a></li>
</ol>
<p class="vertical_spacer"></p>
<hr/>
<h2 class="subtitlestyle" id="folder-conversion">Project & Folder Conversion</h2>
<p class="standard_padding">The Project & Folder Converter tab allows you to convert
all C# code within a project or folder. Once the files are converted, you can then
view C# to Java Converter comments, compare converted code files to original code files,
and view the converted code folder.<br/>
<br/>
The Conversion History listview displays previously converted sources and allows you
to view remaining C# to Java Converter comments and view the converted code folder.<br/>
<br/>
Note that due to the lack of similarity between C# and Java project types and
project files, C# to Java Converter does not generate Java project files. You need
to assemble the resulting .java files generated by C# to Java Converter into a new
Java project.
</p>
<p class="vertical_spacer"></p>
<hr/>
<h2 class="subtitlestyle" id="file-and-snippet-conversion">File & Snippet Conversion</h2>
<p class="standard_padding">The File & Snippet Converter tab allows you to convert
C# code snippets or files. From the left side textbox, you can type or paste code
snippets, insert files, or view C# to Java Converter sample snippets. Once a file or
snippet is converted, you can select and copy the results, save the results to a file,
or search the results.
</p>
<p class="vertical_spacer"></p>
<hr/>
<h2 class="subtitlestyle" id="command-line-conversion">Command Line Conversion</h2>
<p class="standard_padding">C# to Java Converter can be launched from the command line
with two or three parameters. If only one parameter is specified, it is interpreted
as the name of one of your custom project conversion groups. If two parameters are
specified, the first parameter is a C# project file, folder, or source code file that
you wish to convert, and the second parameter is the folder that the converted Java
files will be written to or the name of the converted file for the single file
conversion case. If the optional last parameter indicating the location of a conversion options file is included, then
that file is imported before the conversion starts. A conversion options file
has the extension '.opt' and is produced by exporting existing options to an xml file from the converter.<br/>
<br/>
e.g. (project group conversion),<br/>
"CSharp to Java Converter" "MyProjectGroup"<br/>
<br/>
e.g. (single project conversion),<br/>
"CSharp to Java Converter" "C:\C# Projects\Sample Project.csproj" "C:\Java\Sample Target Folder"<br/>
<br/>
e.g. (folder conversion),<br/>
"CSharp to Java Converter" "C:\C# Projects\Sample Source Folder" "C:\Java\Sample Target Folder"<br/>
<br/>
e.g. (single file conversion),<br/>
"CSharp to Java Converter" "C:\C#\testfile.cs" "C:\Java\testfile.java"<br/>
<br/>
e.g. (conversion of a list of files - one file per line),<br/>
"CSharp to Java Converter" "C:\list-of-files.txt" "C:\Java\Sample Target Folder"<br/>
<br/>
e.g. (folder conversion with a conversion options file specified),<br/>
"CSharp to Java Converter" "C:\C# Projects\Sample Source Folder" "C:\Java\Sample Target Folder" "C:\Options\C# to Java Converter.opt"<br/>
<br/>
Once the command line conversion is complete, C# to Java Converter will shut down.<br/>
<br/>
Note that 'CSharp to Java Converter' must be in double quotes since the executable
name contains a space.
</p>
<p class="vertical_spacer"></p>
<hr/>
<h2 class="subtitlestyle" id="code-formatting-options">Code Formatting Options</h2>
<ul>
<li class="spaced_list_item"><u>Braces:</u> You can choose whether to place opening
braces on the next line after the construct header (default) or at the end of the same line.
You can choose whether to have braces vertically aligned with the construct (default) or
indented. Loops and <b>if</b> or <b>else</b> blocks with a single statement are converted by default
with enclosing braces. If you prefer to exclude braces for these cases then check
the preference to remove braces for single statement loops and <b>if/else</b> blocks.
</li>
<li class="spaced_list_item"><u>Indentation:</u> You can choose whether the converted code uses
tabs or spaces for the leading white space. If you choose tabs for leading white space, then
leading spaces in the original code of the length that you specify are replaced by tabs. If you
choose spaces for leading white space, then tabs in the original code are replaced by spaces
of the length that you specify.
</li>
<li class="spac
CSharp to Java Converter 22.1.19(2022年最新版)
5星 · 超过95%的资源 需积分: 5 72 浏览量
2022-02-14
13:27:59
上传
评论 1
收藏 469KB 7Z 举报
yongfa365
- 粉丝: 30
- 资源: 18
最新资源
- 5G网络基础培训课件.zip
- 2024-spring-HIT-CS-大作业
- yolo目标检测项目实验
- downloadFile-1.hc
- C++课程设计:基于Qt的航班信息管理系统
- ADS7822UVerilog驱动,前面传的有点问题
- 基于python的高性能爬虫程序,使用了多线程+缓存+xpath实现的,这里以彼-岸图库为例,实现,仅用于学习交流
- 中分辨率成像光谱仪(MODIS)烧毁面积产品信息MODIS-C6-BA-User-Guide-1.2.pdf
- Screenshot_20240427_172613_com.huawei.browser.jpg
- 关于学习Python的相关资源网站链接及相关介绍.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论5