Package org.nuxeo.ecm.liveconnect.core
Class ErrorLiveConnectFile
- java.lang.Object
-
- org.nuxeo.ecm.liveconnect.core.AbstractLiveConnectFile
-
- org.nuxeo.ecm.liveconnect.core.ErrorLiveConnectFile
-
- All Implemented Interfaces:
Serializable
,LiveConnectFile
public class ErrorLiveConnectFile extends AbstractLiveConnectFile
An emptyLiveConnectFile
returned when there is an underlyingIOException
.- Since:
- 9.10
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorLiveConnectFile(LiveConnectFileInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDigest()
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
-
-
-
-
Field Detail
-
FILENAME
public static final String FILENAME
- See Also:
- Constant Field Values
-
MIME_TYPE
public static final String MIME_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ErrorLiveConnectFile
public ErrorLiveConnectFile(LiveConnectFileInfo info)
-
-
Method Detail
-
getFilename
public String getFilename()
-
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
-
getFileSize
public long getFileSize()
-
getDigest
public String getDigest()
-
-