public class ExternalFileServingConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_THRESHOLD |
Constructor and Description |
---|
ExternalFileServingConfig() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getDirectory() |
java.io.File |
getRootForDB(java.lang.String dbkey) |
java.lang.String |
getRootURL() |
long |
getThreshold() |
boolean |
isEnabled() |
void |
setDirectory(java.io.File directory) |
void |
setEnabled(boolean enabled) |
void |
setRootURL(java.lang.String rootURL) |
void |
setThreshold(long threshold) |
public static final long DEFAULT_THRESHOLD
public boolean isEnabled()
public void setEnabled(boolean enabled)
public long getThreshold()
public void setThreshold(long threshold)
public java.io.File getDirectory()
public void setDirectory(java.io.File directory)
public java.lang.String getRootURL()
public void setRootURL(java.lang.String rootURL)
public java.io.File getRootForDB(java.lang.String dbkey)