public static class Content.ContentFolder extends Object implements Serializable, Cloneable, JsonSerializable
| Modifier and Type | Field and Description |
|---|---|
List<Content> |
files |
List<Content.ContentFolder> |
folders |
String |
name |
| Constructor and Description |
|---|
ContentFolder(String name,
Content[] contents) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(Content content) |
protected Content.ContentFolder |
clone() |
boolean |
equals(Object object) |
int |
getSize()
Get the Size of the Folder in Bytes
|
int |
hashCode() |
com.google.gson.JsonObject |
toJsonObject() |
@Nullable public String name
@NotNull public List<Content.ContentFolder> folders
public int getSize()
public void addContent(Content content)
@NotNull protected Content.ContentFolder clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException@NotNull public com.google.gson.JsonObject toJsonObject()
toJsonObject in interface JsonSerializableCopyright © 2016. All rights reserved.