public class ContentImpl extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
fileName
The file name.
|
protected long |
length
The length.
|
protected String |
mimeType
The mime type.
|
protected static long |
serialVersionUID
The Constant serialVersionUID.
|
Constructor and Description |
---|
ContentImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Returns the name of the file representing the content.
|
long |
getLength()
Returns the length of the content in bytes.
|
String |
getMimeType()
Returns the mime type of the content.
|
protected static final long serialVersionUID
protected long length
protected String mimeType
protected String fileName
public long getLength()
public String getMimeType()
public String getFileName()
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.