Class GoogleDriveLiveConnectFile
- java.lang.Object
-
- org.nuxeo.ecm.liveconnect.core.AbstractLiveConnectFile
-
- org.nuxeo.ecm.liveconnect.google.drive.GoogleDriveLiveConnectFile
-
- All Implemented Interfaces:
Serializable
,LiveConnectFile
public class GoogleDriveLiveConnectFile extends AbstractLiveConnectFile
- Since:
- 8.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GoogleDriveLiveConnectFile(LiveConnectFileInfo fileInfo, com.google.api.services.drive.model.File file)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDigest()
static String
getDigest(com.google.api.services.drive.model.File file)
String
getFilename()
long
getFileSize()
String
getMimeType()
Should be overriden by subclasses wanting to rely on a different field as mime type.-
Methods inherited from class org.nuxeo.ecm.liveconnect.core.AbstractLiveConnectFile
getEncoding, getInfo, toString
-
-
-
-
Constructor Detail
-
GoogleDriveLiveConnectFile
public GoogleDriveLiveConnectFile(LiveConnectFileInfo fileInfo, com.google.api.services.drive.model.File file)
-
-
Method Detail
-
getFilename
public String getFilename()
-
getFileSize
public long getFileSize()
-
getDigest
public String getDigest()
-
getMimeType
public String getMimeType()
Description copied from class:AbstractLiveConnectFile
Should be overriden by subclasses wanting to rely on a different field as mime type.- Specified by:
getMimeType
in interfaceLiveConnectFile
- Overrides:
getMimeType
in classAbstractLiveConnectFile
-
getDigest
public static String getDigest(com.google.api.services.drive.model.File file)
-
-