Class ResourceStorageLoadable
- java.lang.Object
-
- org.eclipse.xtext.resource.persistence.ResourceStorageLoadable
-
public class ResourceStorageLoadable extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResourceStorageLoadable(java.io.InputStream in, boolean storeNodeModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleLoadEObject(org.eclipse.emf.ecore.InternalEObject loaded, org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.EObjectInputStream input)
protected void
loadEntries(StorageAwareResource resource, java.util.zip.ZipInputStream zipIn)
Load entries from the storage.protected void
loadIntoResource(StorageAwareResource resource)
protected void
readContents(StorageAwareResource resource, java.io.InputStream inputStream)
protected void
readNodeModel(StorageAwareResource resource, java.io.InputStream inputStream)
protected void
readResourceDescription(StorageAwareResource resource, java.io.InputStream inputStream)
-
-
-
Method Detail
-
loadIntoResource
protected void loadIntoResource(StorageAwareResource resource) throws java.io.IOException
- Throws:
java.io.IOException
-
loadEntries
protected void loadEntries(StorageAwareResource resource, java.util.zip.ZipInputStream zipIn) throws java.io.IOException
Load entries from the storage. Overriding methods should first delegate to super before adding their own entries.- Throws:
java.io.IOException
-
readContents
protected void readContents(StorageAwareResource resource, java.io.InputStream inputStream) throws java.io.IOException
- Throws:
java.io.IOException
-
handleLoadEObject
protected void handleLoadEObject(org.eclipse.emf.ecore.InternalEObject loaded, org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.EObjectInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
readResourceDescription
protected void readResourceDescription(StorageAwareResource resource, java.io.InputStream inputStream) throws java.io.IOException
- Throws:
java.io.IOException
-
readNodeModel
protected void readNodeModel(StorageAwareResource resource, java.io.InputStream inputStream) throws java.io.IOException
- Throws:
java.io.IOException
-
-