com.ibm.streamsx.rest.internal

Class DirectoryZipInputStream

  • java.lang.Object
    • com.ibm.streamsx.rest.internal.DirectoryZipInputStream


  • public class DirectoryZipInputStream
    extends java.lang.Object
    Given a path to a directory, this class creates an InputStream containing the contents of the directory, zipped. Empty directories are included.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.io.InputStream fromPath(java.nio.file.Path root)
      Create an InputStream from a directory, containing the contents of the directory, zipped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DirectoryZipInputStream

        public DirectoryZipInputStream()
    • Method Detail

      • fromPath

        public static java.io.InputStream fromPath(java.nio.file.Path root)
                                            throws java.io.IOException
        Create an InputStream from a directory, containing the contents of the directory, zipped.
        Throws:
        java.io.IOException
streamsx.topology 2.1 @ IBMStreams GitHub