public class MinioItemResource extends AbstractMinioResourceWith<MinioItem>
Constructor and Description |
---|
MinioItemResource(MinioItem item) |
MinioItemResource(MinioItem item,
CharSequence description) |
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 MinioItemResource(@NonNull MinioItem item, @NonNull CharSequence description)
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<MinioItem>
public int hashCode()
hashCode
in class AbstractMinioResourceWith<MinioItem>
@NonNull public String toString()
toString
in class AbstractMinioResourceWith<MinioItem>