Class Overview
Class that represents a File
Summary
Fields |
private
String |
content |
File content encoded in Base64
|
private
Integer |
fid |
File Id
|
private
String |
filemime |
The files MIME type. |
private
String |
filename |
Name of the file with no path components. |
private
Integer |
filesize |
The size of the file in bytes. |
private
Object |
imageStyles |
Styles
|
private
Integer |
status |
A field indicating the status of the file. |
private
String |
targetUri |
Target Uri
|
private
Integer |
timestamp |
Timestamp for when the file was added. |
private
Integer |
uid |
The users.uid of the user who is associated with the file. |
private
String |
uriFull |
Uri full path
|
Public Constructors |
|
File()
|
[Expand]
Inherited Methods |
From class
org.mule.modules.drupal.model.DrupalEntity
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
private
static
final
long
serialVersionUID
Constant Value:
1342248788461288091
(0x12a0a0295c6efa9b)
Fields
private
String
content
File content encoded in Base64
private
String
filename
Name of the file with no path components. This may differ from the basename of the URI if the file is renamed to avoid overwriting an existing file.
private
Integer
filesize
The size of the file in bytes.
private
Object
imageStyles
private
Integer
status
A field indicating the status of the file. Two status are defined in core: temporary (0) and permanent (1). Temporary files older than DRUPAL_MAXIMUM_TEMP_FILE_AGE will be removed during a cron run.
private
Integer
timestamp
Timestamp for when the file was added.
private
Integer
uid
The users.uid of the user who is associated with the file. See User
Public Constructors
Public Methods
public
String
getContent
()
public
String
getFilemime
()
public
String
getFilename
()
public
Integer
getFilesize
()
public
Object
getImageStyles
()
public
Integer
getStatus
()
public
String
getTargetUri
()
public
Integer
getTimestamp
()
public
String
getUriFull
()
public
void
setContent
(String content)
public
void
setFid
(Integer fid)
public
void
setFilemime
(String filemime)
public
void
setFilename
(String filename)
public
void
setFilesize
(Integer filesize)
public
void
setImageStyles
(Object imageStyles)
public
void
setStatus
(Integer status)
public
void
setTargetUri
(String targetUri)
public
void
setTimestamp
(Integer timestamp)
public
void
setUid
(Integer uid)
public
void
setUriFull
(String uriFull)