本文整理了Java中org.eclipse.pde.internal.core.XMLPrintHandler.writeFile()
方法的一些代码示例,展示了XMLPrintHandler.writeFile()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLPrintHandler.writeFile()
方法的具体详情如下:
包路径:org.eclipse.pde.internal.core.XMLPrintHandler
类名称:XMLPrintHandler
方法名:writeFile
暂无
代码示例来源:origin: org.eclipse/org.eclipse.pde.core
protected void saveExtensions(State state, File dir) {
try {
File file = new File(dir, CACHE_EXTENSION); //$NON-NLS-1$
XMLPrintHandler.writeFile(createExtensionDocument(state), file);
} catch (IOException e) {
}
}
代码示例来源:origin: org.eclipse/org.eclipse.pde.core
XMLPrintHandler.writeFile(doc, new File(dir, CACHE_EXTENSION));
} catch (Exception e) {
PDECore.log(e);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.pde.core
XMLPrintHandler.writeFile(doc, new File(dir, CACHE_EXTENSION));
} catch (Exception e) {
PDECore.log(e);
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui
protected void generateAntBuildFile(String filename) {
String parent = new Path(filename).removeLastSegments(1).toOSString();
String buildFilename = new Path(filename).lastSegment();
if (!buildFilename.endsWith(".xml")) //$NON-NLS-1$
buildFilename += ".xml"; //$NON-NLS-1$
File dir = new File(new File(parent).getAbsolutePath());
if (!dir.exists())
dir.mkdirs();
try {
Document task = generateAntTask();
if (task != null) {
File buildFile = new File(dir, buildFilename);
XMLPrintHandler.writeFile(task, buildFile);
generateAntTask();
setDefaultValues(dir, buildFilename);
}
} catch (IOException e) {
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.pde.core
root.appendChild(target);
XMLPrintHandler.writeFile(doc, scriptFile);
代码示例来源:origin: org.eclipse/org.eclipse.ajdt.ui
root.appendChild(target);
XMLPrintHandler.writeFile(doc, scriptFile);
代码示例来源:origin: org.eclipse/org.eclipse.pde.core
root.appendChild(target);
XMLPrintHandler.writeFile(doc, scriptFile);
代码示例来源:origin: org.eclipse/org.eclipse.pde.core
XMLPrintHandler.writeFile(doc, new File(destination, CACHE_EXTENSION)); //$NON-NLS-1$
} catch (ParserConfigurationException e) {
} catch (FactoryConfigurationError e) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.pde.core
root.appendChild(target);
XMLPrintHandler.writeFile(doc, scriptFile);
代码示例来源:origin: org.eclipse/org.eclipse.ajdt.ui
copy.appendChild(fileset);
XMLPrintHandler.writeFile(doc, scriptFile);
代码示例来源:origin: org.eclipse/org.eclipse.pde.core
XMLPrintHandler.writeFile(doc, new File(file, "feature.xml")); //$NON-NLS-1$
} catch (DOMException e1) {
} catch (FactoryConfigurationError e1) {
代码示例来源:origin: org.eclipse/org.eclipse.pde.core
copy.appendChild(fileset);
XMLPrintHandler.writeFile(doc, scriptFile);
代码示例来源:origin: org.eclipse/org.eclipse.pde.core
XMLPrintHandler.writeFile(doc, new File(destination, CACHE_EXTENSION));
} catch (ParserConfigurationException e) {
} catch (FactoryConfigurationError e) {
代码示例来源:origin: org.eclipse/org.eclipse.ajdt.ui
XMLPrintHandler.writeFile(doc, new File(file, "feature.xml")); //$NON-NLS-1$
} catch (DOMException e1) {
} catch (FactoryConfigurationError e1) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.pde.core
XMLPrintHandler.writeFile(doc, new File(file, ICoreConstants.FEATURE_FILENAME_DESCRIPTOR));
} catch (DOMException e1) {
} catch (FactoryConfigurationError e1) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.pde.core
XMLPrintHandler.writeFile(doc, new File(destination, CACHE_EXTENSION));
} catch (ParserConfigurationException e) {
} catch (FactoryConfigurationError e) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.pde.core
XMLPrintHandler.writeFile(doc, new File(file, ICoreConstants.FEATURE_FILENAME_DESCRIPTOR));
} catch (DOMException e1) {
} catch (FactoryConfigurationError e1) {
内容来源于网络,如有侵权,请联系作者删除!