public class AttachmentDetails extends Object
Constructor and Description |
---|
AttachmentDetails(String id,
Integer size,
Date lastModified,
Boolean isImg,
Boolean writable,
Integer perms,
String file,
Integer mtime) |
Modifier and Type | Method and Description |
---|---|
String |
file()
name of the file
|
String |
id()
Media id (namespace + name)
|
Boolean |
isImg()
Whether the file is an image or not
|
Date |
lastModified()
Date of last modification of the file
|
Integer |
mtime()
upload date
|
Integer |
perms()
Permissions of file
|
Integer |
size()
Size in bytes
|
String |
toString() |
Boolean |
writable()
Whether the file is writable or not
|
public String id()
public final Boolean isImg()
public Boolean writable()
public Integer perms()
public Integer size()
public final Date lastModified()
public final String file()
public final Integer mtime()
Copyright © 2018. All rights reserved.