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 Details

    • ArchivistUtils

      public ArchivistUtils()
  • Method Details

    • 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