|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.model.ResourcesModel
public class ResourcesModel
Class, which secures access to files needed by the application.
Constructor Summary | |
---|---|
ResourcesModel()
Constructor of the class |
Method Summary | |
---|---|
javax.swing.ImageIcon |
createImageIcon(java.lang.String path)
Returns an image icon from given file. |
java.lang.String |
getHelpPage(java.lang.String file_name)
Returns an HTML code of a page, which should be represented in the help panel. |
java.io.BufferedReader |
getStopListPath()
Returns a path to a file, which contains actual stop-list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourcesModel()
Method Detail |
---|
public javax.swing.ImageIcon createImageIcon(java.lang.String path)
path
- path to a file containing an image icon
public java.lang.String getHelpPage(java.lang.String file_name)
file_name
- file name of the corresponding HTML page
public java.io.BufferedReader getStopListPath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |