|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprojectviewer.config.AppLauncher
Holds information on what applications to use to open certain types of files, based on user-configured file name globs.
Constructor Summary | |
AppLauncher()
|
Method Summary | |
void |
addAppExt(java.lang.String fileExt,
java.lang.String execPath)
|
void |
copy(AppLauncher other)
Copies the data from another AppLauncher into this one. |
java.util.Set |
getAppList()
|
java.lang.String |
getAppName(java.io.File f)
Deprecated. Use getAppName(String) instead. |
java.lang.String |
getAppName(java.lang.String path)
Returns the application name associated to the given file extension. |
int |
getCount()
|
static AppLauncher |
getInstance()
|
void |
launchApp(java.io.File f,
java.awt.Component comp)
Deprecated. Use launchApp(String, Component) instead. |
void |
launchApp(java.lang.String path,
java.awt.Component comp)
Launches an external app depending on the extension of the path provided, passing the path as an argument to the executable. |
void |
loadExts()
load extension properties from file |
void |
removeAppExt(java.lang.Object fileExt)
|
void |
storeExts()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AppLauncher()
Method Detail |
public static AppLauncher getInstance()
public java.util.Set getAppList()
public void addAppExt(java.lang.String fileExt, java.lang.String execPath)
public void removeAppExt(java.lang.Object fileExt)
public int getCount()
public void loadExts() throws java.io.IOException
java.io.IOException
public void storeExts() throws java.io.IOException
java.io.IOException
public void launchApp(java.io.File f, java.awt.Component comp)
launchApp(String, Component)
instead.
public void launchApp(java.lang.String path, java.awt.Component comp)
public void copy(AppLauncher other)
public java.lang.String getAppName(java.io.File f)
getAppName(String)
instead.
public java.lang.String getAppName(java.lang.String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |