|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.opstring.OARUtil
public class OARUtil
Utilities for working with OperationalString Archives (OARs)
| Constructor Summary | |
|---|---|
OARUtil()
|
|
| Method Summary | |
|---|---|
static File |
find(String name,
File dir)
Find a file in an extracted OAR directory |
static OAR |
getOAR(File dir)
Find the OAR file and return an OAR object |
static void |
install(File oarFile,
File installDir)
Install an OAR |
static DownloadRecord |
install(URL archive,
File installDir)
Install an OAR |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OARUtil()
| Method Detail |
|---|
public static DownloadRecord install(URL archive,
File installDir)
throws IOException,
OARException
archive - The URL of the archiveinstallDir - The parent directory to install the archive into
DownloadRecord
detailing the installation specifics
OARException - If the manifest cannot be read
IOException - If there are errors accessing the file system or the
archive parameter
public static void install(File oarFile,
File installDir)
throws IOException,
OARException
oarFile - The OAR FileinstallDir - The parent directory to install the archive into
OARException - If the manifest cannot be read
IOException - If there are errors accessing the file system or the
archive parameter
public static OAR getOAR(File dir)
throws IOException,
OARException
dir - The directory to search
OARException - If the manifest cannot be read
IOException - if there are errors accessing the file system
public static File find(String name,
File dir)
name - The filename to find. If the first character of the
name is '*', then the match will be the first file that ends with the
remaining stringdir - The parent directory to start the search from
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||