net.sourceforge.mp3dings.utils
Class ExternalApplication
java.lang.Object
net.sourceforge.mp3dings.utils.Bean
net.sourceforge.mp3dings.utils.ExternalApplication
- All Implemented Interfaces:
- Serializable
public class ExternalApplication
- extends Bean
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class net.sourceforge.mp3dings.utils.Bean |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getConstraints, getId, getPropertyChangeListeners, getPropertyChangeListeners, isSavable, load, load, removePropertyChangeListener, removePropertyChangeListener, save, save, setId |
PLAY
public static final int PLAY
- See Also:
- Constant Field Values
ENQUEUE
public static final int ENQUEUE
- See Also:
- Constant Field Values
SYSTEM_SHELL
public static final int SYSTEM_SHELL
- See Also:
- Constant Field Values
MP3DINGS
public static final int MP3DINGS
- See Also:
- Constant Field Values
CONSOLE
public static final int CONSOLE
- See Also:
- Constant Field Values
CUSTOM
public static final int CUSTOM
- See Also:
- Constant Field Values
NONE
public static final int NONE
- See Also:
- Constant Field Values
SINGLE_FILE
public static final int SINGLE_FILE
- See Also:
- Constant Field Values
FILE_LIST
public static final int FILE_LIST
- See Also:
- Constant Field Values
LOOP
public static final int LOOP
- See Also:
- Constant Field Values
PLAYLIST
public static final int PLAYLIST
- See Also:
- Constant Field Values
PROPERTY_EXE_PATH
public static final String PROPERTY_EXE_PATH
- See Also:
- Constant Field Values
PROPERTY_WORKING_DIRECTORY
public static final String PROPERTY_WORKING_DIRECTORY
- See Also:
- Constant Field Values
PROPERTY_WORKING_DIRECTORY_PATH
public static final String PROPERTY_WORKING_DIRECTORY_PATH
- See Also:
- Constant Field Values
PROPERTY_CALL_MODE
public static final String PROPERTY_CALL_MODE
- See Also:
- Constant Field Values
PROPERTY_EXPORTER
public static final String PROPERTY_EXPORTER
- See Also:
- Constant Field Values
PROPERTY_OUTPUT
public static final String PROPERTY_OUTPUT
- See Also:
- Constant Field Values
PROPERTY_OUTPUT_PATH
public static final String PROPERTY_OUTPUT_PATH
- See Also:
- Constant Field Values
PROPERTY_INPUT
public static final String PROPERTY_INPUT
- See Also:
- Constant Field Values
PROPERTY_INPUT_PATH
public static final String PROPERTY_INPUT_PATH
- See Also:
- Constant Field Values
PROPERTY_ERROR_OUTPUT
public static final String PROPERTY_ERROR_OUTPUT
- See Also:
- Constant Field Values
PROPERTY_ERROR_OUTPUT_PATH
public static final String PROPERTY_ERROR_OUTPUT_PATH
- See Also:
- Constant Field Values
PROPERTY_THREAD
public static final String PROPERTY_THREAD
- See Also:
- Constant Field Values
ExternalApplication
public ExternalApplication()
ExternalApplication
public ExternalApplication(ExternalApplication app)
setName
public void setName(String s)
- Overrides:
setName in class Bean
getName
public String getName()
- Overrides:
getName in class Bean
setExePath
public void setExePath(String path)
getExePath
public String getExePath()
setWorkingDirectory
public void setWorkingDirectory(int workingDirectory)
getWorkingDirectory
public int getWorkingDirectory()
setWorkingDirectoryPath
public void setWorkingDirectoryPath(String pwd)
getWorkingDirectoryPath
public String getWorkingDirectoryPath()
setCallMode
public void setCallMode(int callMode)
getCallMode
public int getCallMode()
setExporter
public void setExporter(int selectedExporter)
getExporter
public int getExporter()
setOutput
public void setOutput(int out)
getOutput
public int getOutput()
setOutputPath
public void setOutputPath(String out)
getOutputPath
public String getOutputPath()
setInput
public void setInput(int in)
getInput
public int getInput()
setInputPath
public void setInputPath(String in)
getInputPath
public String getInputPath()
setErrorOutput
public void setErrorOutput(int err)
getErrorOutput
public int getErrorOutput()
setErrorOutputPath
public void setErrorOutputPath(String err)
getErrorOutputPath
public String getErrorOutputPath()
needsMp3dingsConsole
public boolean needsMp3dingsConsole()
setThread
public void setThread(int thread)
getThread
public int getThread()
toString
public String toString()
- Overrides:
toString in class Object
load
public static ExternalApplication load(Preferences prefs,
int id)
load
public static ExternalApplication load(int id)
save
public void save(int id)
save
public void save(Preferences prefs,
int id)
getUnusedId
public static int getUnusedId()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
getPrefNode
public static Preferences getPrefNode()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
execute
public void execute(File[] files,
ProcessIOPane console)
throws FileNotFoundException
- Throws:
FileNotFoundException
execute
public void execute(File[] files,
ProcessIOPane console,
ExceptionHandler exceptionHandler)
throws FileNotFoundException
- Throws:
FileNotFoundException
execute
public void execute(File[] files,
ProcessIOPane console,
ExceptionHandler exceptionHandler,
Runnable runWhenDone)
throws FileNotFoundException
- Parameters:
runWhenDone - is executed (in a new thread) when the external application terminates
- Throws:
FileNotFoundException