Interface DummyHandledFile
-
- All Known Implementing Classes:
AbstractDummyHandledFile
,DummyFile
,SimpleDocumentDummyHandledFile
,ThumbnailDummyHandledFile
public interface DummyHandledFile
This class permits to wrap a representation of a file that it will be used only for its information. It will not be physically manipulated.It is useful for process check operation.
User: Yohann Chastagnier Date: 17/10/13
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getComponentInstanceId()
Gets the component instance id at which the virtual file is associated.String
getMimeType()
Gets the mime type of the virtual file.String
getName()
Gets the name of the virtual file.String
getPath()
Gets the path of the virtual file.long
getSize()
Gets the size of the virtual file (bytes).boolean
isDeleted()
Indicates if the virtual file is a deleted one.
-
-
-
Method Detail
-
getComponentInstanceId
String getComponentInstanceId()
Gets the component instance id at which the virtual file is associated.- Returns:
- the identifier of the component instance.
-
getPath
String getPath()
Gets the path of the virtual file. In most of cases, this information is the same as the name one.- Returns:
- the virtual path of the file.
-
getName
String getName()
Gets the name of the virtual file.- Returns:
- the virtual name of the file.
-
getSize
long getSize()
Gets the size of the virtual file (bytes).- Returns:
- the virtual size of the file.
-
getMimeType
String getMimeType()
Gets the mime type of the virtual file.- Returns:
- the virtual mime type of the file.
-
isDeleted
boolean isDeleted()
Indicates if the virtual file is a deleted one.- Returns:
- true if the virtual file is being to be deleted, false otherwise.
-
-