|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.netheos.pcsapi.models.CFile
public abstract class CFile
Represents a file (folder or blob) located in the cloud
| Field Summary | |
|---|---|
protected CMetadata |
metadata
|
protected Date |
modificationDate
|
| Constructor Summary | |
|---|---|
CFile(CPath path)
|
|
| Method Summary | |
|---|---|
CMetadata |
getMetadata()
Get the file metadata |
Date |
getModificationDate()
Get the last modification date |
CPath |
getPath()
Get the file path |
boolean |
isBlob()
Indicates if the file is a blob |
boolean |
isFolder()
Indicates if the file is a folder |
void |
setMetadata(CMetadata metadata)
|
void |
setModificationDate(Date modificationDate)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Date modificationDate
protected CMetadata metadata
| Constructor Detail |
|---|
public CFile(CPath path)
| Method Detail |
|---|
public CPath getPath()
public Date getModificationDate()
public void setModificationDate(Date modificationDate)
public CMetadata getMetadata()
public void setMetadata(CMetadata metadata)
public boolean isFolder()
public boolean isBlob()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||