public class MinioResource extends AbstractMinioResourceWith<MinioOperations>
Constructor and Description |
---|
MinioResource(MinioOperations minops,
CharSequence bucket,
CharSequence object) |
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
Resource |
createRelative(String path) |
boolean |
equals(Object other) |
boolean |
exists() |
InputStream |
getInputStream() |
URL |
getURL() |
int |
hashCode() |
long |
lastModified() |
String |
toString() |
self
getDescription, getFile, getFilename, isFile, isOpen, isReadable
getFileForLastModifiedCheck, getURI, readableChannel
public MinioResource(@NonNull MinioOperations minops, @NonNull CharSequence bucket, @NonNull CharSequence object)
public boolean exists()
exists
in interface Resource
exists
in class AbstractResource
@NonNull public URL getURL() throws IOException
getURL
in interface Resource
getURL
in class AbstractResource
IOException
public long contentLength() throws IOException
contentLength
in interface Resource
contentLength
in class AbstractResource
IOException
public long lastModified() throws IOException
lastModified
in interface Resource
lastModified
in class AbstractResource
IOException
@NonNull public InputStream getInputStream() throws IOException
IOException
@NonNull public Resource createRelative(@NonNull String path) throws IOException
createRelative
in interface Resource
createRelative
in class AbstractResource
IOException
public boolean equals(Object other)
equals
in class AbstractMinioResourceWith<MinioOperations>
public int hashCode()
hashCode
in class AbstractMinioResourceWith<MinioOperations>
@NonNull public String toString()
toString
in class AbstractMinioResourceWith<MinioOperations>