org.objectweb.dsrg.sofa.repository.model
Interface CodeBundle

All Superinterfaces:
org.eclipse.emf.ecore.EObject, NamedEntity, org.eclipse.emf.common.notify.Notifier, VersionedEntity
All Known Implementing Classes:
CodeBundleImpl

public interface CodeBundle
extends VersionedEntity

A representation of the model object 'Code Bundle'.

The following features are supported:

See Also:
ModelPackage.getCodeBundle()
Generated from the meta-model

Method Summary
 java.io.InputStream getDataInputStream(DataStreamType dataStreamType)
          Opens data input stream into specified stream of CodeBundle.
 java.io.InputStream getDataInputStream(DataStreamType dataStream, java.lang.String jarEntryName)
          Opens data output stream into specified stream of CodeBundle and specified JAR entry only.
 java.io.InputStream getDataInputStream(DataStreamType dataStream, java.lang.String jarEntryName, boolean recursiveSearching)
          Opens data output stream into specified stream of CodeBundle and specified JAR entry only.
 java.io.OutputStream getDataOutputStream(DataStreamType dataStreamType)
          Opens data output stream into specified stream of CodeBundle.
 org.eclipse.emf.common.util.EList getDependencies()
          Returns the value of the 'Dependencies' reference list.
 java.util.jar.Manifest getJarManifest(DataStreamType dataStream)
          Get Manifest object for JAR file stored in this Codebundle.
 
Methods inherited from interface org.objectweb.dsrg.sofa.repository.model.VersionedEntity
addInfo, getInfo, getVersion, isLocked, setLocked, setVersion
 
Methods inherited from interface org.objectweb.dsrg.sofa.repository.model.NamedEntity
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getDependencies

org.eclipse.emf.common.util.EList getDependencies()
Returns the value of the 'Dependencies' reference list. The list contents are of type CodeBundle.

If the meaning of the 'Dependencies' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Dependencies' reference list.
See Also:
ModelPackage.getCodeBundle_Dependencies()
Generated from the meta-model

getJarManifest

java.util.jar.Manifest getJarManifest(DataStreamType dataStream)
                                      throws java.io.IOException
Get Manifest object for JAR file stored in this Codebundle.

Parameters:
dataStream - Chosen stream of CodeBundle, ORIGINAL or RENAMED
Returns:
Throws:
java.io.IOException
Modified by hand

getDataOutputStream

java.io.OutputStream getDataOutputStream(DataStreamType dataStreamType)
                                         throws java.io.IOException
Opens data output stream into specified stream of CodeBundle.

Returns:
Throws:
java.io.IOException
Modified by hand

getDataInputStream

java.io.InputStream getDataInputStream(DataStreamType dataStreamType)
                                       throws java.io.IOException
Opens data input stream into specified stream of CodeBundle.

Returns:
Throws:
java.io.IOException
Modified by hand

getDataInputStream

java.io.InputStream getDataInputStream(DataStreamType dataStream,
                                       java.lang.String jarEntryName)
                                       throws java.io.IOException
Opens data output stream into specified stream of CodeBundle and specified JAR entry only. Intended to be used by ClassLoader to load only specified Class from CodeBundle. Default value of recursive searching is implementation dependent.

Parameters:
dataStream - ORIGINAL or RENAMED
jarEntryName - Entry name to read
Returns:
Throws:
java.io.IOException
Modified by hand

getDataInputStream

java.io.InputStream getDataInputStream(DataStreamType dataStream,
                                       java.lang.String jarEntryName,
                                       boolean recursiveSearching)
                                       throws java.io.IOException
Opens data output stream into specified stream of CodeBundle and specified JAR entry only. Intended to be used by ClassLoader to load only specified Class from CodeBundle.

Parameters:
dataStream - ORIGINAL or RENAMED
jarEntryName - Entry name to read
recursiveSearching - Recursively looks for class in dependent CodeBundles on the server
Returns:
Throws:
java.io.IOException
Modified by hand