org.silverpeas.process.io.file
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 informations. It will not be physically manipulated.

It is useful for process check operation.

User: Yohann Chastagnier Date: 17/10/13


Method Summary
 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:

getPath

String getPath()
Gets the path of the virtual file. In most of cases, this information is the same as the name one.

Returns:

getName

String getName()
Gets the name of the virtual file.

Returns:

getSize

long getSize()
Gets the size of the virtual file (bytes).

Returns:

getMimeType

String getMimeType()
Gets the mime type of the virtual file.


isDeleted

boolean isDeleted()
Indicates if the virtual file is a deleted one.

Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.