public class IndexPageEntry
extends java.lang.Object
Constructor and Description |
---|
IndexPageEntry(java.lang.String sFile,
boolean bIsDirectory)
Construct a new
IndexPageEntry based on a file name. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description
|
java.lang.String |
getDisplayName()
Get the display name
|
java.lang.String |
getFile()
Get the file name
|
java.lang.String |
getOriginalFile()
Get the original file name
|
java.lang.String |
getPdfFile()
Get the pdf file name
|
boolean |
isDirectory()
Check whether this is a file or a directory
|
void |
setDescription(java.lang.String sDescription)
Set the description of this file (additional information about the file)
|
void |
setDisplayName(java.lang.String sDisplayName)
Set the display name for this entry.
|
void |
setFile(java.lang.String sFile)
Set the file name
|
void |
setOriginalFile(java.lang.String sOriginalFile)
Set the file name for the original file
|
void |
setPdfFile(java.lang.String sPdfFile)
Set the file name for a pdf file associated with this file
|
public IndexPageEntry(java.lang.String sFile, boolean bIsDirectory)
IndexPageEntry
based on a file name.
The file name is also used as display name.sFile
- the file name for this entrybIsDirectory
- true if this is a directory, false if it is a filepublic void setFile(java.lang.String sFile)
sFile
- the file namepublic void setDisplayName(java.lang.String sDisplayName)
sDisplayName
- the display namepublic void setDescription(java.lang.String sDescription)
sDescription
- the descriptionpublic void setPdfFile(java.lang.String sPdfFile)
sPdfFile
- the file namepublic void setOriginalFile(java.lang.String sOriginalFile)
sOriginalFile
- the origianl file namepublic java.lang.String getFile()
public java.lang.String getDisplayName()
public java.lang.String getDescription()
public java.lang.String getPdfFile()
public java.lang.String getOriginalFile()
public boolean isDirectory()