Class OSSInputFile

  • All Implemented Interfaces:
    InputFile

    public class OSSInputFile
    extends java.lang.Object
    implements InputFile
    • Method Detail

      • getLength

        public long getLength()
        Description copied from interface: InputFile
        Returns the total length of the file, in bytes
        Specified by:
        getLength in interface InputFile
        Returns:
        the total length of the file, in bytes
      • location

        public java.lang.String location()
      • client

        public com.aliyun.oss.OSS client()
      • exists

        public boolean exists()
      • objectMetadata

        protected com.aliyun.oss.model.SimplifiedObjectMeta objectMetadata()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object