public class Contents extends Object
Constructor and Description |
---|
Contents(String name,
String path,
ContentType type,
net.sf.json.JSONObject content,
ContentFormat format) |
Modifier and Type | Method and Description |
---|---|
net.sf.json.JSONObject |
getContent() |
String |
getCreated() |
ContentFormat |
getFormat() |
String |
getLast_modified() |
String |
getMimetype() |
String |
getName() |
String |
getPath() |
int |
getSize() |
ContentType |
getType() |
boolean |
isWritable() |
void |
setContent(net.sf.json.JSONObject content) |
void |
setCreated(String created) |
void |
setFormat(ContentFormat format) |
void |
setLast_modified(String last_modified) |
void |
setMimetype(String mimetype) |
void |
setName(String name) |
void |
setPath(String path) |
void |
setSize(int size) |
void |
setType(ContentType type) |
void |
setWritable(boolean writable) |
public Contents(String name, String path, ContentType type, net.sf.json.JSONObject content, ContentFormat format)
public String getName()
public void setName(String name)
public String getPath()
public void setPath(String path)
public ContentType getType()
public void setType(ContentType type)
public boolean isWritable()
public void setWritable(boolean writable)
public String getCreated()
public void setCreated(String created)
public String getLast_modified()
public void setLast_modified(String last_modified)
public int getSize()
public void setSize(int size)
public String getMimetype()
public void setMimetype(String mimetype)
public net.sf.json.JSONObject getContent()
public void setContent(net.sf.json.JSONObject content)
public ContentFormat getFormat()
public void setFormat(ContentFormat format)
Copyright © 2016–2020. All rights reserved.