Package org.nuxeo.ecm.liveconnect.core
Class AbstractLiveConnectFile
- java.lang.Object
-
- org.nuxeo.ecm.liveconnect.core.AbstractLiveConnectFile
-
- All Implemented Interfaces:
Serializable,LiveConnectFile
- Direct Known Subclasses:
BoxLiveConnectFile,ErrorLiveConnectFile,GoogleDriveLiveConnectFile
public abstract class AbstractLiveConnectFile extends Object implements LiveConnectFile
Basic implementation ofLiveConnectFile.- Since:
- 8.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractLiveConnectFile(LiveConnectFileInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncoding()Should be overriden by subclasses wanting to rely on a different field as encoding.LiveConnectFileInfogetInfo()StringgetMimeType()Should be overriden by subclasses wanting to rely on a different field as mime type.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.liveconnect.core.LiveConnectFile
getDigest, getFilename, getFileSize
-
-
-
-
Constructor Detail
-
AbstractLiveConnectFile
public AbstractLiveConnectFile(LiveConnectFileInfo info)
-
-
Method Detail
-
getInfo
public final LiveConnectFileInfo getInfo()
- Specified by:
getInfoin interfaceLiveConnectFile
-
getMimeType
public String getMimeType()
Should be overriden by subclasses wanting to rely on a different field as mime type.- Specified by:
getMimeTypein interfaceLiveConnectFile
-
getEncoding
public String getEncoding()
Should be overriden by subclasses wanting to rely on a different field as encoding.- Specified by:
getEncodingin interfaceLiveConnectFile
-
-