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 String
getEncoding()
Should be overriden by subclasses wanting to rely on a different field as encoding.LiveConnectFileInfo
getInfo()
String
getMimeType()
Should be overriden by subclasses wanting to rely on a different field as mime type.String
toString()
-
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:
getInfo
in interfaceLiveConnectFile
-
getMimeType
public String getMimeType()
Should be overriden by subclasses wanting to rely on a different field as mime type.- Specified by:
getMimeType
in interfaceLiveConnectFile
-
getEncoding
public String getEncoding()
Should be overriden by subclasses wanting to rely on a different field as encoding.- Specified by:
getEncoding
in interfaceLiveConnectFile
-
-