public class LinkedDocumentInfo
extends java.lang.Object
Constructor and Description |
---|
LinkedDocumentInfo() |
Modifier and Type | Method and Description |
---|---|
static void |
clearDocProps()
Clear the document path properties so they will be reloaded upon next request.
|
static java.lang.String |
getDocumentURL(java.lang.String documentFile)
Translate a filename to a web url.
|
static java.util.Properties |
getProperties()
Returns the cached doclink properties.
|
static java.util.ArrayList |
getTopLevelFolders() |
public static java.lang.String getDocumentURL(java.lang.String documentFile)
http://servername
All the doclinks functionality regarding filenames are case sensitive because regardless of the operating system, the jsp server is case sensitive.
documentFile
- Filename, including full path (drive and directory).
For example:r:\storage\mro\linkdocs\sample.doc
http://docserver/mro/linkdocs/sample.doc
public static java.util.Properties getProperties()
public static java.util.ArrayList getTopLevelFolders()
public static void clearDocProps()