public class CachedFileInfo extends Object
Contains the details of a file in the temporary cache area.
Constructor and Description |
---|
CachedFileInfo(int fid,
int stid,
String tempPath,
String virtPath)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getFileId()
Return the file id
|
FileState |
getFileState()
Return the associated file state
|
int |
getStreamId()
Return the stream id
|
String |
getTemporaryPath()
Return the temporary file path
|
String |
getVirtualPath()
Return the virtual file path
|
boolean |
hasFileState()
Check if there is an associated file state
|
void |
setFileState(FileState state)
Set the associated file state
|
String |
toString()
Return the cached file information as a string
|
public final int getFileId()
public final int getStreamId()
public final boolean hasFileState()
public final FileState getFileState()
public final String getTemporaryPath()
public final String getVirtualPath()
public final void setFileState(FileState state)
state
- FileStateCopyright © 2005–2017 Alfresco Software. All rights reserved.