Class ResourceStorageLoadable


  • public class ResourceStorageLoadable
    extends java.lang.Object
    • Constructor Detail

      • ResourceStorageLoadable

        public ResourceStorageLoadable​(java.io.InputStream in,
                                       boolean storeNodeModel)
    • 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