Package com.sun.enterprise.util.shared
Class ArchivistUtils
java.lang.Object
com.sun.enterprise.util.shared.ArchivistUtils
This class contains utility methods that handles the archives.
- Version:
- Author:
- Deployment Dev Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(InputStream is, OutputStream os) Utility method that eads the input stream fully and writes the bytes to the current entry in the output stream.static voidcopyWithoutClose(InputStream is, OutputStream os) Utility method that eads the input stream fully and writes the bytes to the current entry in the output stream.
-
Constructor Details
-
ArchivistUtils
public ArchivistUtils()
-
-
Method Details
-
copy
Utility method that eads the input stream fully and writes the bytes to the current entry in the output stream.- Throws:
IOException
-
copyWithoutClose
Utility method that eads the input stream fully and writes the bytes to the current entry in the output stream.- Throws:
IOException
-