|
CodeToHtml 原始碼轉換 HTML 工具預設風格樣式 |
|
|
|
CodeToHtml原始碼HTML轉換工具 提供以下幾種常見的原始碼風格樣式:
Eclipse 風格
/**
* This is about <code>ClassName</code>.
* {@link com.yourCompany.aPackage.SuperClass}
* @author author
*/
public class ClassName extends SuperClass {
/* This comment may span multiple lines. */
private int integer = 0;
public final static char character = 'A';
// This comment may span only this line
private String string = "zero";
}
Kawa 風格
/**
* This is about <code>ClassName</code>.
* {@link com.yourCompany.aPackage.SuperClass}
* @author author
*/
public class ClassName extends SuperClass {
/* This comment may span multiple lines. */
private int integer = 0;
public final static char character = 'A';
// This comment may span only this line
private String string = "zero";
}
Monochrome 風格
/**
* This is about <code>ClassName</code>.
* {@link com.yourCompany.aPackage.SuperClass}
* @author author
*/
public class ClassName extends SuperClass {
/* This comment may span multiple lines. */
private int integer = 0;
public final static char character = 'A';
// This comment may span only this line
private String string = "zero";
}
|