public class File extends ActivityObject
The "file" Object type represents some document or other file with no additional machine-readable semantics.
It is intended that this type be used as a base type for other Objects that manifest as files, so that additional semantics can be added while providing a fallback ability for clients that do not support the more specific Object type.
The "file" Object type is identified by the URI http://activitystrea.ms/schema/1.0/file.
A file has the following additional components:
- Associated File URL
- The URL of the file described by this Object Construct. Represented in JSON by a property called fileUrl whose value is a JSON string containing the URL.
- File MIME Type
- The MIME type of the file described by this Object Construct. Represented in JSON by a property called mimeType whose value is a JSON string containing the MIME type.
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
String |
getTypeIRI() |
getAddress, getLocation, setAddress, setLocation
clone, equals, findRelatedLink, getAlternateLinks, getAuthors, getCategories, getContents, getContributors, getCreated, getForeignMarkup, getId, getIssued, getModified, getModule, getModules, getOtherLinks, getPublished, getRights, getSource, getSummary, getTitle, getTitleEx, getUpdated, getXmlBase, hashCode, isMediaEntry, setAlternateLinks, setAuthors, setCategories, setContents, setContributors, setCreated, setForeignMarkup, setId, setIssued, setModified, setModules, setOtherLinks, setPublished, setRights, setSource, setSummary, setTitle, setTitleEx, setUpdated, setXmlBase, toString
public String getTypeIRI()
getTypeIRI
in class ActivityObject
Copyright © 2022. All rights reserved.