Module org.eclipse.persistence.jpa
Class StaticWeaveJAROutputHandler
java.lang.Object
org.eclipse.persistence.internal.jpa.weaving.AbstractStaticWeaveOutputHandler
org.eclipse.persistence.internal.jpa.weaving.StaticWeaveJAROutputHandler
The class provides a set of methods to pack passing in entries into the sepcified archive file.
the class JAR output.
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.weaving.AbstractStaticWeaveOutputHandler
outputStreamHolder
-
Constructor Summary
ConstructorDescriptionStaticWeaveJAROutputHandler
(JarOutputStream outputStreamHolder) Construct an instance of StaticWeaveJAROutputHandler -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDirEntry
(String dirPath) Add directory entry into outputstream.void
addEntry
(InputStream jis, JarEntry entry) Write entry into target, this method usually copy original class into target.void
Write entry bytes into target, this method is usually called if class has been tranformedMethods inherited from class org.eclipse.persistence.internal.jpa.weaving.AbstractStaticWeaveOutputHandler
closeOutputStream, getOutputStream, readwriteStreams
-
Constructor Details
-
StaticWeaveJAROutputHandler
Construct an instance of StaticWeaveJAROutputHandler
-
-
Method Details
-
addDirEntry
Add directory entry into outputstream.- Specified by:
addDirEntry
in classAbstractStaticWeaveOutputHandler
- Throws:
IOException
-
addEntry
Write entry bytes into target, this method is usually called if class has been tranformed- Specified by:
addEntry
in classAbstractStaticWeaveOutputHandler
- Throws:
IOException
-
addEntry
Write entry into target, this method usually copy original class into target.- Specified by:
addEntry
in classAbstractStaticWeaveOutputHandler
- Throws:
IOException
URISyntaxException
-