Class GlobusInputStream

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void abort()
      Aborts transfer.
      long getSize()
      Returns the total size of input data.
      int read()  
      • Methods inherited from class java.io.InputStream

        available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

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

      • GlobusInputStream

        public GlobusInputStream()
    • Method Detail

      • getSize

        public long getSize()
        Returns the total size of input data.
        Returns:
        -1 if size is unknown.
      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • abort

        public void abort()
        Aborts transfer. Usually makes sure to release all resources (sockets, file descriptors)
        Does nothing by default.