本文整理了Java中org.eclipse.emf.ecore.resource.impl.ResourceImpl.getURIConverter
方法的一些代码示例,展示了ResourceImpl.getURIConverter
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResourceImpl.getURIConverter
方法的具体详情如下:
包路径:org.eclipse.emf.ecore.resource.impl.ResourceImpl
类名称:ResourceImpl
方法名:getURIConverter
[英]Returns the URI converter. This typically gets the ResourceSet#getURIConverterfrom the #getResourceSet resource set, but it calls #getDefaultURIConverter when there is no containing resource set.
[中]返回URI转换器。这通常会从#getResourceSet资源集中获取资源集#GetUriConverter,但当没有包含资源集时,它会调用#getDefaultURIConverter。
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
Map<String, ?> contentDescription = getURIConverter().contentDescription(uri, effectiveOptions);
lineDelimiter = (String)contentDescription.get(ContentHandler.LINE_DELIMITER_PROPERTY);
if (lineDelimiter != null)
URIConverter uriConverter = getURIConverter();
ExtensibleURIConverterImpl.OptionsMap effectiveOptions = new ExtensibleURIConverterImpl.OptionsMap(URIConverter.OPTION_RESPONSE, response, options, defaultSaveOptions);
OutputStream outputStream = uriConverter.createOutputStream(getURI(), effectiveOptions);
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
Map<String, ?> contentDescription = getURIConverter().contentDescription(uri, effectiveOptions);
lineDelimiter = (String)contentDescription.get(ContentHandler.LINE_DELIMITER_PROPERTY);
if (lineDelimiter != null)
URIConverter uriConverter = getURIConverter();
ExtensibleURIConverterImpl.OptionsMap effectiveOptions = new ExtensibleURIConverterImpl.OptionsMap(URIConverter.OPTION_RESPONSE, response, options, defaultSaveOptions);
OutputStream outputStream = uriConverter.createOutputStream(getURI(), effectiveOptions);
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
URIConverter uriConverter = getURIConverter();
OutputStream temporaryFileOutputStream = uriConverter.createOutputStream(temporaryFileURI, null);
try
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
URIConverter uriConverter = getURIConverter();
OutputStream temporaryFileOutputStream = uriConverter.createOutputStream(temporaryFileURI, null);
try
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
protected void saveOnlyIfChangedWithMemoryBuffer(Map<?, ?> options) throws IOException
URIConverter uriConverter = getURIConverter();
class MyByteArrayOutputStream extends ByteArrayOutputStream
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
protected void saveOnlyIfChangedWithMemoryBuffer(Map<?, ?> options) throws IOException
URIConverter uriConverter = getURIConverter();
class MyByteArrayOutputStream extends ByteArrayOutputStream
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
URIConverter uriConverter = getURIConverter();
Map<?, ?> response = options == null ? null : (Map<?, ?>)options.get(URIConverter.OPTION_RESPONSE);
if (response == null)
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
URIConverter uriConverter = getURIConverter();
Map<?, ?> response = options == null ? null : (Map<?, ?>)options.get(URIConverter.OPTION_RESPONSE);
if (response == null)
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
public void delete(Map<?, ?> options) throws IOException
{
getURIConverter().delete(getURI(), mergeMaps(options, defaultDeleteOptions));
unload();
ResourceSet resourceSet = getResourceSet();
if (resourceSet != null)
{
resourceSet.getResources().remove(this);
}
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
public void delete(Map<?, ?> options) throws IOException
{
getURIConverter().delete(getURI(), mergeMaps(options, defaultDeleteOptions));
unload();
ResourceSet resourceSet = getResourceSet();
if (resourceSet != null)
{
resourceSet.getResources().remove(this);
}
}
内容来源于网络,如有侵权,请联系作者删除!