public class CachedFileInfo
extends java.lang.Object
Contains the details of a file in the temporary cache area.
Constructor and Description |
---|
CachedFileInfo(int fid,
int stid,
java.lang.String tempPath,
java.lang.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
|
java.lang.String |
getTemporaryPath()
Return the temporary file path
|
java.lang.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
|
java.lang.String |
toString()
Return the cached file information as a string
|
public CachedFileInfo(int fid, int stid, java.lang.String tempPath, java.lang.String virtPath)
fid
- intstid
- inttempPath
- StringvirtPath
- Stringpublic final int getFileId()
public final int getStreamId()
public final boolean hasFileState()
public final FileState getFileState()
public final java.lang.String getTemporaryPath()
public final java.lang.String getVirtualPath()
public final void setFileState(FileState state)
state
- FileStatepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.