|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.process.io.file.AbstractDummyHandledFile
org.silverpeas.process.io.file.DummyFile
public class DummyFile
Simple dummy representation of a File that has to be handle.
User: Yohann Chastagnier Date: 17/10/13
Constructor Summary | |
---|---|
DummyFile(File file,
String componentInstanceId)
Case of the file is considered as a creation. |
|
DummyFile(File file,
String componentInstanceId,
boolean deleted)
Default constructor. |
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. |
Methods inherited from class org.silverpeas.process.io.file.AbstractDummyHandledFile |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyFile(File file, String componentInstanceId)
file
- componentInstanceId
- public DummyFile(File file, String componentInstanceId, boolean deleted)
file
- deleted
- Method Detail |
---|
public String getComponentInstanceId()
DummyHandledFile
public String getPath()
DummyHandledFile
public String getName()
DummyHandledFile
public long getSize()
DummyHandledFile
public String getMimeType()
DummyHandledFile
public boolean isDeleted()
DummyHandledFile
isDeleted
in interface DummyHandledFile
isDeleted
in class AbstractDummyHandledFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |