uk.org.toot.misc
Class VstSetup
java.lang.Object
uk.org.toot.misc.VstSetup
public class VstSetup
- extends java.lang.Object
This class is responsible for setup of VST plugin paths.
- Author:
- st
Method Summary |
static java.util.List<java.io.File> |
getPaths()
If the file containing the VST plugin paths doesn't exist
we show a user dialog to set these paths and write them to the file. |
static boolean |
isVstAvailable()
|
static java.util.List<java.io.File> |
readPaths()
|
static void |
writePaths(java.util.List<java.io.File> paths)
Note that the written file will not have any effect until the next time
the application is started if called arbitrarily. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VstSetup
public VstSetup()
isVstAvailable
public static boolean isVstAvailable()
- Returns:
- whether VST Plugin support is available from the SPI
readPaths
public static java.util.List<java.io.File> readPaths()
- Returns:
- a List of the VST plugin paths.
writePaths
public static void writePaths(java.util.List<java.io.File> paths)
- Note that the written file will not have any effect until the next time
the application is started if called arbitrarily.
- Parameters:
paths
- the List of VST plugin paths to write
getPaths
public static java.util.List<java.io.File> getPaths()
- If the file containing the VST plugin paths doesn't exist
we show a user dialog to set these paths and write them to the file.
The file should therefore exist after the dialog is closed.
- Returns:
- a List of the VST plugin paths.
Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.