public class BESResource extends java.lang.Object implements ResourceInfo
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BESDateFormat |
Constructor and Description |
---|
BESResource(java.lang.String dataSourceName,
BesApi besApi) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getLastModifiedDate() |
java.lang.String |
getName() |
long |
getSize() |
boolean |
isDataset() |
boolean |
isNode() |
long |
lastModified() |
boolean |
sourceExists() |
boolean |
sourceIsAccesible() |
java.lang.String |
toString() |
public static final java.lang.String BESDateFormat
public BESResource(java.lang.String dataSourceName, BesApi besApi) throws java.lang.Exception
java.lang.Exception
public boolean sourceExists()
sourceExists
in interface ResourceInfo
public boolean sourceIsAccesible()
sourceIsAccesible
in interface ResourceInfo
public boolean isNode()
isNode
in interface ResourceInfo
public boolean isDataset()
isDataset
in interface ResourceInfo
public java.lang.String getName()
public long getSize()
public java.util.Date getLastModifiedDate()
public long lastModified()
lastModified
in interface ResourceInfo
public java.lang.String toString()
toString
in class java.lang.Object