Class ResourceStorageWritable


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

      • ResourceStorageWritable

        public ResourceStorageWritable​(java.io.OutputStream out,
                                       boolean storeNodeModel)
    • Method Detail

      • writeResource

        public void writeResource​(StorageAwareResource resource)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • writeEntries

        protected void writeEntries​(StorageAwareResource resource,
                                    java.util.zip.ZipOutputStream zipOut)
                             throws java.io.IOException
        Write entries into the storage. Overriding methods should first delegate to super before adding their own entries.
        Throws:
        java.io.IOException
      • writeContents

        protected void writeContents​(StorageAwareResource storageAwareResource,
                                     java.io.OutputStream outputStream)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • beforeSaveEObject

        protected void beforeSaveEObject​(org.eclipse.emf.ecore.InternalEObject object,
                                         org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.EObjectOutputStream writable)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • handleSaveEObject

        protected void handleSaveEObject​(org.eclipse.emf.ecore.InternalEObject object,
                                         org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.EObjectOutputStream out)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • writeResourceDescription

        protected void writeResourceDescription​(StorageAwareResource resource,
                                                java.io.OutputStream outputStream)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • writeNodeModel

        protected void writeNodeModel​(StorageAwareResource resource,
                                      java.io.OutputStream outputStream)
                               throws java.io.IOException
        Throws:
        java.io.IOException