/**
* Create new {@link OCFile} with given path
*
- * @param path
- * The remote path of the file
+ * @param path The remote path of the file
*/
public OCFile(String path) {
resetData();
/**
* Reconstruct from parcel
*
- * @param source
- * The source parcel
+ * @param source The source parcel
*/
private OCFile(Parcel source) {
mId = source.readLong();
/**
* Can be used to set the path where the file is stored
*
- * @param storage_path
- * to set
+ * @param storage_path to set
*/
public void setStoragePath(String storage_path) {
mLocalPath = storage_path;
/**
* Set a UNIX timestamp of the time the file was created
*
- * @param creation_timestamp
- * to set
+ * @param creation_timestamp to set
*/
public void setCreationTimestamp(long creation_timestamp) {
mCreationTimestamp = creation_timestamp;
/**
* Set a UNIX timestamp of the time the time the file was modified.
*
- * @param modification_timestamp
- * to set
+ * @param modification_timestamp to set
*/
public void setModificationTimestamp(long modification_timestamp) {
mModifiedTimestamp = modification_timestamp;
* Adds a file to this directory. If this file is not a directory, an
* exception gets thrown.
*
- * @param file
- * to add
- * @throws IllegalStateException
- * if you try to add a something and this is not a directory
+ * @param file to add
+ * @throws IllegalStateException if you try to add a something and this is
+ * not a directory
*/
public void addFile(OCFile file) throws IllegalStateException {
if (isDirectory()) {
/**
* Sets the ID of the file
*
- * @param file_id
- * to set
+ * @param file_id to set
*/
public void setFileId(long file_id) {
mId = file_id;
/**
* Sets the Mime-Type of the
*
- * @param mimetype
- * to set
+ * @param mimetype to set
*/
public void setMimetype(String mimetype) {
mMimeType = mimetype;
/**
* Sets the ID of the parent folder
*
- * @param parent_id
- * to set
+ * @param parent_id to set
*/
public void setParentId(long parent_id) {
mParentId = parent_id;
/**
* Sets the file size in bytes
*
- * @param file_len
- * to set
+ * @param file_len to set
*/
public void setFileLength(long file_len) {
mLength = file_len;