de.uplanet.lucy.server.util
Class VHFileDescriptor
java.lang.Object
de.uplanet.lucy.server.util.VHFileDescriptor
public class VHFileDescriptor
- extends java.lang.Object
Holds the necessary information for the FileValueHolder
.
- Version:
- $Revision: 70184 $
Constructor Summary |
VHFileDescriptor(java.lang.String p_strFileName,
java.lang.String p_strPath,
java.lang.String p_strContentType,
boolean p_bRefDown,
de.uplanet.lucy.server.util.FileMetaInfo p_metaInfo,
java.util.Date p_lastModified,
boolean p_bHistory,
int p_iOrder)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VHFileDescriptor
public VHFileDescriptor(java.lang.String p_strFileName,
java.lang.String p_strPath,
java.lang.String p_strContentType,
boolean p_bRefDown,
de.uplanet.lucy.server.util.FileMetaInfo p_metaInfo,
java.util.Date p_lastModified,
boolean p_bHistory,
int p_iOrder)
- Parameters:
p_strFileName
- The file namep_strPath
- The physical file name pathp_strContentType
- The content type of the filep_bRefDown
- If download by reference (should normally be true, otherwise server must stream the file up to the web).p_metaInfo
- Meta Infos of the file like (image size...)p_lastModified
- The last modified date of the filep_bHistory
- true
if history file (not realy used in actual bl).p_iOrder
- the order field. (not really used in actual bl).
getFileName
public java.lang.String getFileName()
- Returns:
- The name of the file.
getPath
public java.lang.String getPath()
- Returns:
- The path to the file.
getContentType
public java.lang.String getContentType()
- Returns:
- The MIME content type.
isDownloadByReference
public boolean isDownloadByReference()
- Returns:
- True if download by reference
setLastModified
public void setLastModified(java.util.Date p_dt)
- Parameters:
p_dt
-
getMetaInfo
public de.uplanet.lucy.server.util.FileMetaInfo getMetaInfo()
- The meta infos of the file
- Returns:
- The meta file infos (not
null
)
getLastModified
public java.util.Date getLastModified()
isHistory
public boolean isHistory()
getOrder
public int getOrder()
getInstance
public static final VHFileDescriptor getInstance(java.lang.String p_strPath)
Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.