|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.transform.util.Utility
public class Utility
Utility class.
Constructor Summary | |
---|---|
Utility()
|
Method Summary | |
---|---|
static File |
createOutputFile(File file,
File outputDir,
String format)
|
static void |
exec(File program,
String[] args)
|
static void |
generate(File target,
File outputFile,
String templateName)
|
static String |
getDateTime()
Get the current date time. |
static List<gov.nasa.arc.pds.xml.generated.FileAreaObservational> |
getFileAreas(File pds4Label)
|
static gov.nasa.pds.tools.label.Label |
parsePds3Label(File label)
|
static URL |
toURL(String s)
Convert a string to a URL. |
static String |
toWellFormedURI(String s)
Convert a string to a URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utility()
Method Detail |
---|
public static URL toURL(String s) throws MalformedURLException
s
- The string to convert
MalformedURLException
public static String toWellFormedURI(String s)
s
- The string to convert.
public static String getDateTime()
public static gov.nasa.pds.tools.label.Label parsePds3Label(File label) throws Exception
Exception
public static List<gov.nasa.arc.pds.xml.generated.FileAreaObservational> getFileAreas(File pds4Label) throws gov.nasa.pds.objectAccess.ParseException
gov.nasa.pds.objectAccess.ParseException
public static File createOutputFile(File file, File outputDir, String format)
public static void exec(File program, String[] args) throws IOException, InterruptedException
IOException
InterruptedException
public static void generate(File target, File outputFile, String templateName) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |