程序包 weka.gui
类 Loader
java.lang.Object
weka.gui.Loader
This class is for loading resources from a JAR archive.
- 版本:
- $Revision: 1.2 $
- 作者:
- FracPete (fracpete at waikato dot ac dot nz)
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getDir()
returns the dir prefixgetInputStream
(String filename) returns an InputStream for the given filename, can be NULL if it failsstatic InputStream
getInputStream
(String dir, String filename) returns an InputStream for the given dir and filename, can be NULL if it failsreturns a Reader for the given filename, can be NULL if it failsstatic Reader
returns a Reader for the given filename and dir, can be NULL if it failsreturns a URL for the given filename, can be NULL if it failsstatic URL
returns a URL for the given filename, can be NULL if it failsprocessFilename
(String filename) returns the processed filename, i.e.
-
构造器详细资料
-
Loader
initializes the object
-
-
方法详细资料
-
getDir
returns the dir prefix -
processFilename
returns the processed filename, i.e. with the dir-prefix if it's missing -
getURL
returns a URL for the given filename, can be NULL if it fails -
getURL
returns a URL for the given filename, can be NULL if it fails -
getInputStream
returns an InputStream for the given dir and filename, can be NULL if it fails -
getInputStream
returns an InputStream for the given filename, can be NULL if it fails -
getReader
returns a Reader for the given filename and dir, can be NULL if it fails -
getReader
returns a Reader for the given filename, can be NULL if it fails
-