Modifier and Type | Method and Description |
---|---|
AliyunProperties |
aliyunProperties() |
com.aliyun.oss.OSS |
client() |
boolean |
exists() |
long |
getLength()
Returns the total length of the file, in bytes
|
java.lang.String |
location() |
SeekableInputStream |
newStream()
Opens a new
SeekableInputStream for the underlying data file |
protected com.aliyun.oss.model.SimplifiedObjectMeta |
objectMetadata() |
java.lang.String |
toString() |
OSSURI |
uri() |
public long getLength()
InputFile
public SeekableInputStream newStream()
InputFile
SeekableInputStream
for the underlying data filepublic java.lang.String location()
public com.aliyun.oss.OSS client()
public OSSURI uri()
public AliyunProperties aliyunProperties()
public boolean exists()
protected com.aliyun.oss.model.SimplifiedObjectMeta objectMetadata()
public java.lang.String toString()
toString
in class java.lang.Object