|
MjSip Stack v1.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.zoolu.tools.Archive
Collection of static methods for handling files and jar archives.
| Field Summary | |
static java.lang.String |
BASE_PATH
The base path |
| Constructor Summary | |
Archive()
|
|
| Method Summary | |
static javax.sound.sampled.AudioInputStream |
getAudioInputStream(java.net.URL url)
Gets an AudioInputStream from an URL |
static java.net.URL |
getFileURL(java.lang.String file_name)
Gets the complete url of a file. |
static java.awt.Image |
getImage(java.lang.String file_name)
Gets an Image from file |
static java.awt.Image |
getImage(java.net.URL url)
Gets an Image from a URL. |
static javax.swing.ImageIcon |
getImageIcon(java.lang.String file_name)
Gets an ImageIcon from file |
static javax.swing.ImageIcon |
getImageIcon(java.net.URL url)
Gets an ImageIcon from an URL |
static java.io.InputStream |
getInputStream(java.net.URL url)
Gets an InputStream from an URL |
static java.net.URL |
getJarURL(java.lang.String jar_archive,
java.lang.String file_name)
Gets the complete url of a file included within a jar archive. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String BASE_PATH
| Constructor Detail |
public Archive()
| Method Detail |
public static java.net.URL getJarURL(java.lang.String jar_archive,
java.lang.String file_name)
public static java.net.URL getFileURL(java.lang.String file_name)
public static java.awt.Image getImage(java.lang.String file_name)
public static java.awt.Image getImage(java.net.URL url)
public static javax.swing.ImageIcon getImageIcon(java.lang.String file_name)
public static javax.swing.ImageIcon getImageIcon(java.net.URL url)
public static java.io.InputStream getInputStream(java.net.URL url)
public static javax.sound.sampled.AudioInputStream getAudioInputStream(java.net.URL url)
throws javax.sound.sampled.UnsupportedAudioFileException
|
MjSip Stack v1.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||