|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.netheos.pcsapi.providers.cloudme.CMFolder
public class CMFolder
This class represents a CloudMe folder It is characterized by an id. Its name is the base/simple name of the folder
| Constructor Summary | |
|---|---|
CMFolder(String id,
String name)
|
|
| Method Summary | |
|---|---|
CMFolder |
addChild(String id,
String name)
Adds a child folder |
CMFolder |
getChildByName(String name)
Finds a child according to its name |
CPath |
getCPath()
Gets the CPath corresponding to this folder |
CMFolder |
getFolder(CPath path)
Gets the CloudMe folder corresponding to a given CPath Returns null if the folder does not exist |
String |
getId()
|
String |
getName()
|
Iterator<CMFolder> |
iterator()
|
CFolder |
toCFolder()
Converts a CloudMe folder to a generic CFolder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CMFolder(String id,
String name)
| Method Detail |
|---|
public String getName()
public String getId()
public CMFolder addChild(String id,
String name)
id - id of the child foldername - name of the child folder
public Iterator<CMFolder> iterator()
iterator in interface Iterable<CMFolder>public CMFolder getChildByName(String name)
name - of the folder to find
public CMFolder getFolder(CPath path)
path -
public CPath getCPath()
public CFolder toCFolder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||