public final class WorkspaceHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static java.io.File createWorkingDirByBundle(Bundle bundle)
throws java.io.IOException
bundle - the bundlejava.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 namejava.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 subdirectoryjava.io.IOException - if any error occurs