public abstract class AbstractTraceWithoutStorage extends AbstractEclipseTrace
AbstractTrace.TraceAccess, AbstractTrace.TraceRegionsByURI
Constructor and Description |
---|
AbstractTraceWithoutStorage() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.core.resources.IStorage |
findStorage(SourceRelativeURI uri,
org.eclipse.core.resources.IProject project) |
protected abstract java.io.InputStream |
getContents(SourceRelativeURI uri,
org.eclipse.core.resources.IProject project) |
protected java.nio.charset.Charset |
getEncoding() |
protected java.io.Reader |
getLocalContentsAsText(org.eclipse.core.resources.IProject project) |
org.eclipse.core.resources.IProject |
getLocalProject() |
protected SourceRelativeURI |
getLocalSourceRelativeURI() |
org.eclipse.core.resources.IStorage |
getLocalStorage()
Returns the storage that is associated with this trace.
|
AbsoluteURI |
getLocalURI()
Returns the absolute URI of the local resource.
|
protected void |
setEncoding(java.nio.charset.Charset encoding) |
protected void |
setLocalURI(SourceRelativeURI uri) |
protected void |
setProject(org.eclipse.core.resources.IProject project) |
createLocationInResource, findProject, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getBestAssociatedLocation, getBestAssociatedLocation, getBestAssociatedLocation, getContents, getContentsAsText, getContentsAsText, getLocalContentsAsText, getLocalProjectConfig, getStorage2uriMapper, getURIForStorage, getWorkspace
createLocationInResourceFor, doGetRootTraceRegion, encloses, encloses, findLanguage, findParentByURI, findTraceRegionAt, findTraceRegionAtLeftOffset, findTraceRegionAtRightOffset, getAllTraceRegions, getAllTraceRegions, getLocalLanguage, getMergedLocationInResource, getRootTraceRegion, getService, getSrcRelativeLocalURI, getTraceRegionProvider, hasTraceData, isAssociatedWith, isTraceToSource, isTraceToTarget, mergeRegions, resolvePath, setTraceRegionProvider, setTraceToSource, toLocations, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocalLanguage, getSrcRelativeLocalURI, hasTraceData
public org.eclipse.core.resources.IProject getLocalProject()
getLocalProject
in class AbstractEclipseTrace
protected SourceRelativeURI getLocalSourceRelativeURI()
protected void setEncoding(java.nio.charset.Charset encoding)
protected java.nio.charset.Charset getEncoding()
public org.eclipse.core.resources.IStorage getLocalStorage()
IPlatformSpecificTrace
null
.protected void setProject(org.eclipse.core.resources.IProject project)
protected void setLocalURI(SourceRelativeURI uri)
protected org.eclipse.core.resources.IStorage findStorage(SourceRelativeURI uri, org.eclipse.core.resources.IProject project)
findStorage
in class AbstractEclipseTrace
protected java.io.Reader getLocalContentsAsText(org.eclipse.core.resources.IProject project) throws java.io.IOException
getLocalContentsAsText
in class AbstractEclipseTrace
java.io.IOException
protected abstract java.io.InputStream getContents(SourceRelativeURI uri, org.eclipse.core.resources.IProject project) throws java.io.IOException
getContents
in class AbstractEclipseTrace
java.io.IOException
public AbsoluteURI getLocalURI()
ITrace
null
.getLocalURI
in interface ITrace
getLocalURI
in class AbstractTrace
null
.