|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.netheos.pcsapi.models.CFolderContent
public class CFolderContent
Contains the folder content.
| Constructor Summary | |
|---|---|
CFolderContent(Map<CPath,CFile> content)
|
|
| Method Summary | |
|---|---|
boolean |
containsPath(CPath path)
Indicates if the folder contains the given path |
boolean |
equals(Object obj)
|
CFile |
getFile(CPath path)
Get a file by its path |
Collection<CFile> |
getFiles()
Get the files stored in the folder |
Collection<CPath> |
getPaths()
Get the files paths stored in the folder |
int |
hashCode()
|
boolean |
isEmpty()
Indicates if the folder is empty |
Iterator<CFile> |
iterator()
|
int |
size()
Get the files count in the folder |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CFolderContent(Map<CPath,CFile> content)
| Method Detail |
|---|
public boolean containsPath(CPath path)
path - The path to check
public Collection<CFile> getFiles()
public Collection<CPath> getPaths()
public CFile getFile(CPath path)
path - The file path to search
public boolean isEmpty()
public int size()
public Iterator<CFile> iterator()
iterator in interface Iterable<CFile>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||