|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUtils.Constants.WindsurfProperties
public class WindsurfProperties
Class containing Windsurf-specific constants.
| Field Summary | |
|---|---|
protected static java.lang.String |
START_PATH
Base path for relative image addresses |
| Constructor Summary | |
|---|---|
WindsurfProperties()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getIndexPath()
Returns the base path for index files. |
static java.lang.String |
getPropFile()
Returns the name of the file containing other constants. |
static int |
getPropSize()
Returns the number of constants in the properties file. |
static java.lang.String |
getStartPath()
Returns the base path. |
static java.lang.String |
path2URL(java.lang.String path)
Given an image path, returns the corresponding URL (prepends the base path). |
static void |
setIndexPath(java.lang.String path)
Modifies the base path for index files. |
static void |
setPropFile(java.lang.String filename)
Modifies the name of the file containing other constants. |
static void |
setPropSize(int size)
Modifies the number of constants in the properties file. |
static void |
setStartPath(java.lang.String path)
Modifies the base path. |
static java.lang.String |
URL2Path(java.lang.String url)
Given an image URL, returns the corresponding path (removes the base path). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String START_PATH
| Constructor Detail |
|---|
public WindsurfProperties()
| Method Detail |
|---|
public static java.lang.String getStartPath()
public static void setStartPath(java.lang.String path)
path - The new base path.public static java.lang.String getPropFile()
public static void setPropFile(java.lang.String filename)
filename - The new name of the file containing other constants.public static int getPropSize()
public static void setPropSize(int size)
size - The new number of constants in the properties file.public static java.lang.String getIndexPath()
public static void setIndexPath(java.lang.String path)
path - The new base path for index files.public static java.lang.String path2URL(java.lang.String path)
path - Image path.
public static java.lang.String URL2Path(java.lang.String url)
url - Image URL.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||