本文整理了Java中org.eclipse.emf.ecore.resource.impl.ResourceImpl.getUnderlyingInputStream
方法的一些代码示例,展示了ResourceImpl.getUnderlyingInputStream
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResourceImpl.getUnderlyingInputStream
方法的具体详情如下:
包路径:org.eclipse.emf.ecore.resource.impl.ResourceImpl
类名称:ResourceImpl
方法名:getUnderlyingInputStream
[英]Returns the input stream for the zip entry, or the original input stream, as appropriate.
[中]返回zip条目的输入流或原始输入流(视情况而定)。
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
int length = memoryBuffer.length();
ByteArrayInputStream inputStream = new ByteArrayInputStream(newContentBuffer);
InputStream underlyingInputStream = getUnderlyingInputStream(inputStream, options);
byte [] underlyingNewContentBuffer;
int underlyingLength;
try
oldContents = getUnderlyingInputStream(uriConverter.createInputStream(getURI(), defaultLoadOptions), options);
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
try
oldContents = getUnderlyingInputStream(uriConverter.createInputStream(getURI(), defaultLoadOptions), options);
InputStream newContents = getUnderlyingInputStream(uriConverter.createInputStream(temporaryFileURI, null), options);
try
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
try
oldContents = getUnderlyingInputStream(uriConverter.createInputStream(getURI(), defaultLoadOptions), options);
InputStream newContents = getUnderlyingInputStream(uriConverter.createInputStream(temporaryFileURI, null), options);
try
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
int length = memoryBuffer.length();
ByteArrayInputStream inputStream = new ByteArrayInputStream(newContentBuffer);
InputStream underlyingInputStream = getUnderlyingInputStream(inputStream, options);
byte [] underlyingNewContentBuffer;
int underlyingLength;
try
oldContents = getUnderlyingInputStream(uriConverter.createInputStream(getURI(), defaultLoadOptions), options);
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore
inputStream = getUnderlyingInputStream(inputStream, options);
URIConverter.Cipher cipher = options != null ?
(URIConverter.Cipher)options.get(Resource.OPTION_CIPHER) :
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore
inputStream = getUnderlyingInputStream(inputStream, options);
URIConverter.Cipher cipher = options != null ?
(URIConverter.Cipher)options.get(Resource.OPTION_CIPHER) :
内容来源于网络,如有侵权,请联系作者删除!