Package com.sun.enterprise.util.shared
Class ArchivistUtils
- java.lang.Object
-
- com.sun.enterprise.util.shared.ArchivistUtils
-
public class ArchivistUtils extends Object
This class contains utility methods that handles the archives.- Version:
- Author:
- Deployment Dev Team
-
-
Constructor Summary
Constructors Constructor Description ArchivistUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copy(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 void
copyWithoutClose(InputStream is, OutputStream os)
Utility method that eads the input stream fully and writes the bytes to the current entry in the output stream.
-
-
-
Method Detail
-
copy
public static void copy(InputStream is, OutputStream os) throws IOException
Utility method that eads the input stream fully and writes the bytes to the current entry in the output stream.- Throws:
IOException
-
copyWithoutClose
public static void copyWithoutClose(InputStream is, OutputStream os) throws IOException
Utility method that eads the input stream fully and writes the bytes to the current entry in the output stream.- Throws:
IOException
-
-