public final class HTTPDFileHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
defaultFiles |
private static java.io.File |
htDefaultPath |
static java.io.File |
htDocsPath |
private static java.io.File |
htLocalePath |
static java.lang.String |
indexForward |
private static serverSwitch |
switchboard |
Constructor and Description |
---|
HTTPDFileHandler() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
getLocalizedFile(java.lang.String path)
Returns a path to the localized or default file according to the locale.language (from he switchboard)
|
static java.io.File |
getOverlayedFile(java.lang.String path) |
static void |
initDefaultPath() |
private static serverSwitch switchboard
public static java.io.File htDocsPath
public static java.lang.String[] defaultFiles
private static java.io.File htDefaultPath
private static java.io.File htLocalePath
public static java.lang.String indexForward
public static final void initDefaultPath()
public static java.io.File getLocalizedFile(java.lang.String path)
path
- relative from htrootpublic static final java.io.File getOverlayedFile(java.lang.String path)