|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.utils.workspace.WorkspaceHelper
public final class WorkspaceHelper
Helper class to create bundle working directories in a single location. Use system property "org.eclipse.smila.utils.workspace.root" to specify location of SMILA workspace. Default is SMILA.work in eclipse install location.
| Method Summary | |
|---|---|
static java.io.File |
createWorkingDir(java.lang.String bundleName)
Create a working directory for the given bundle in the SMILA workspace. |
static java.io.File |
createWorkingDir(java.lang.String bundleName,
java.lang.String dirName)
Create a working subdirectory for the given bundle in the SMILA workspace. |
static java.io.File |
createWorkingDirByBundle(Bundle bundle)
Creates the working dir. |
static boolean |
existsWorkingDir(java.lang.String bundleName,
java.lang.String dirName)
Checks if the working subdirectory exists for the given bundle in the SMILA workspace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.io.File createWorkingDirByBundle(Bundle bundle)
throws java.io.IOException
bundle - the bundle
java.io.IOException - Signals that an I/O exception has occurred.
public static java.io.File createWorkingDir(java.lang.String bundleName)
throws java.io.IOException
bundleName - bundle name
java.io.IOException - creation error.
public static java.io.File createWorkingDir(java.lang.String bundleName,
java.lang.String dirName)
throws java.io.IOException
bundleName - bundle namedirName - name of subdirectory.
java.io.IOException - creation error.
public static boolean existsWorkingDir(java.lang.String bundleName,
java.lang.String dirName)
throws java.io.IOException
bundleName - bundle namedirName - name of subdirectory
java.io.IOException - if any error occurs
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||