public class PathUtility
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
CVS ID
|
Constructor and Description |
---|
PathUtility() |
Modifier and Type | Method and Description |
---|---|
static boolean |
createDirectory(javax.swing.JFrame frame,
java.lang.String subSystemName,
java.io.File dir)
Launches a dialog to create a new directory within an existing
subsystem.
|
static java.lang.StringBuilder |
getDataDirectory(java.lang.String subSystemName)
Get the Data directory for a particular subsystem.
|
static java.lang.String |
getDataDirectory(java.lang.String subSystemName,
Observation o)
Get the path to an observation within a particular subsystem.
|
static java.lang.StringBuilder |
getExtrasDirectory(java.lang.String subSystemName)
Get the Data directory for a particular subsystem.
|
static java.lang.String |
getExtrasDirectory(java.lang.String subSystemName,
Observation o)
Get the path to an observation within a particular subsystem.
|
static java.lang.String |
getRawPath(Channel channel)
Gets the name of the Raw Product for a given channel
|
public static final java.lang.String ID
public static boolean createDirectory(javax.swing.JFrame frame, java.lang.String subSystemName, java.io.File dir)
frame
- subSystemName
- dir
- public static java.lang.StringBuilder getDataDirectory(java.lang.String subSystemName)
subSystemName
- public static java.lang.StringBuilder getExtrasDirectory(java.lang.String subSystemName)
subSystemName
- public static java.lang.String getRawPath(Channel channel) throws Invalid_Argument_Exception
channel
- Invalid_Argument_Exception
public static java.lang.String getDataDirectory(java.lang.String subSystemName, Observation o) throws Invalid_Argument_Exception
subSystemName
- o
- The observationInvalid_Argument_Exception
- Bad Observationpublic static java.lang.String getExtrasDirectory(java.lang.String subSystemName, Observation o) throws Invalid_Argument_Exception
subSystemName
- o
- The observationInvalid_Argument_Exception
- Bad ObservationCopyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona