public class MFileS3 extends Object implements thredds.inventory.MFile
MFile for objects stored on AWS S3 compatible object stores.| Modifier and Type | Class and Description |
|---|---|
static class |
MFileS3.Provider |
| Constructor and Description |
|---|
MFileS3(CdmS3Uri s3Uri) |
MFileS3(String s3Uri) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(thredds.inventory.MFile o) |
boolean |
equals(Object o) |
Object |
getAuxInfo() |
long |
getLastModified() |
long |
getLength() |
String |
getName() |
thredds.inventory.MFile |
getParent() |
String |
getPath() |
int |
hashCode() |
boolean |
isDirectory() |
void |
setAuxInfo(Object auxInfo) |
public MFileS3(String s3Uri) throws IOException
IOExceptionpublic MFileS3(CdmS3Uri s3Uri)
public long getLastModified()
getLastModified in interface thredds.inventory.MFilepublic long getLength()
getLength in interface thredds.inventory.MFilepublic boolean isDirectory()
isDirectory in interface thredds.inventory.MFilepublic String getPath()
getPath in interface thredds.inventory.MFilepublic String getName()
getName in interface thredds.inventory.MFile@Nullable public thredds.inventory.MFile getParent() throws IOException
getParent in interface thredds.inventory.MFileIOExceptionpublic int compareTo(thredds.inventory.MFile o)
compareTo in interface Comparable<thredds.inventory.MFile>compareTo in interface thredds.inventory.MFile@Nullable public Object getAuxInfo()
getAuxInfo in interface thredds.inventory.MFilepublic void setAuxInfo(Object auxInfo)
setAuxInfo in interface thredds.inventory.MFile