|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.Styles
public class Styles
Utility class to load the application style XML file. This class
assumes that the style file will be available as
/META-INF/resource/style/Default.stylesheet.
Copyright 2006 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
static StyleSheet |
DEFAULT_STYLE_SHEET
Default application style sheet. |
static String |
IMAGE_PATH
The location of the application images. |
static String |
STYLE_PATH
The location of the XML style sheet. |
| Constructor Summary | |
|---|---|
Styles()
|
|
| Method Summary | |
|---|---|
protected static InputStream |
getStyleInputStream(String file)
Open the STYLE_PATH as a resource stream and return
the InputStream to it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String IMAGE_PATH
public static final String STYLE_PATH
public static final StyleSheet DEFAULT_STYLE_SHEET
| Constructor Detail |
|---|
public Styles()
| Method Detail |
|---|
protected static InputStream getStyleInputStream(String file)
STYLE_PATH as a resource stream and return
the InputStream to it.
file - The name of the style sheet to open
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||