本文整理汇总了Java中com.sun.tools.doclets.internal.toolkit.util.DocPath类的典型用法代码示例。如果您正苦于以下问题:Java DocPath类的具体用法?Java DocPath怎么用?Java DocPath使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DocPath类属于com.sun.tools.doclets.internal.toolkit.util包,在下文中一共展示了DocPath类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: HtmlDocWriter
import com.sun.tools.doclets.internal.toolkit.util.DocPath; //导入依赖的package包/类
/**
* Constructor. Initializes the destination file name through the super
* class HtmlWriter.
*
* @param filename String file name.
*/
public HtmlDocWriter(Configuration configuration, DocPath filename)
throws IOException {
super(configuration, filename);
configuration.message.notice("doclet.Generating_0",
DocFile.createFileForOutput(configuration, filename).getPath());
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:13,代码来源:HtmlDocWriter.java
示例2: HtmlDocWriter
import com.sun.tools.doclets.internal.toolkit.util.DocPath; //导入依赖的package包/类
/**
* Constructor. Initializes the destination file name through the super
* class HtmlWriter.
*
* @param filename String file name.
*/
public HtmlDocWriter(Configuration configuration, DocPath filename)
throws IOException {
super(configuration, filename);
this.pathToRoot = filename.parent().invert();
configuration.message.notice("doclet.Generating_0",
DocFile.createFileForOutput(configuration, filename).getPath());
}
开发者ID:campolake,项目名称:openjdk9,代码行数:14,代码来源:HtmlDocWriter.java
示例3: getStyleSheetProperties
import com.sun.tools.doclets.internal.toolkit.util.DocPath; //导入依赖的package包/类
/**
* Returns a link to the stylesheet file.
*
* @return an HtmlTree for the lINK tag which provides the stylesheet location
*/
public HtmlTree getStyleSheetProperties(ConfigurationImpl configuration) {
String stylesheetfile = configuration.stylesheetfile;
DocPath stylesheet;
if (stylesheetfile.isEmpty()) {
stylesheet = DocPaths.STYLESHEET;
} else {
DocFile file = DocFile.createFileForInput(configuration, stylesheetfile);
stylesheet = DocPath.create(file.getName());
}
HtmlTree link = HtmlTree.LINK("stylesheet", "text/css",
pathToRoot.resolve(stylesheet).getPath(),
"Style");
return link;
}
开发者ID:campolake,项目名称:openjdk9,代码行数:20,代码来源:HtmlDocWriter.java
示例4: getHyperLink
import com.sun.tools.doclets.internal.toolkit.util.DocPath; //导入依赖的package包/类
public Content getHyperLink(DocPath link, String label) {
return getHyperLink(link, new StringContent(label), false, "", "", "");
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:HtmlDocWriter.java
示例5: AbstractPackageIndexWriter
import com.sun.tools.doclets.internal.toolkit.util.DocPath; //导入依赖的package包/类
/**
* Constructor. Also initializes the packages variable.
*
* @param configuration The current configuration
* @param filename Name of the package index file to be generated.
*/
public AbstractPackageIndexWriter(ConfigurationImpl configuration,
DocPath filename) throws IOException {
super(configuration, filename);
packages = configuration.packages;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:12,代码来源:AbstractPackageIndexWriter.java
示例6: AbstractProfileIndexWriter
import com.sun.tools.doclets.internal.toolkit.util.DocPath; //导入依赖的package包/类
/**
* Constructor. Also initializes the profiles variable.
*
* @param configuration The current configuration
* @param filename Name of the profile index file to be generated.
*/
public AbstractProfileIndexWriter(ConfigurationImpl configuration,
DocPath filename) throws IOException {
super(configuration, filename);
profiles = configuration.profiles;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:12,代码来源:AbstractProfileIndexWriter.java
注:本文中的com.sun.tools.doclets.internal.toolkit.util.DocPath类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论