jpl::util::Util Class Reference

List of all members.

Static Public Member Functions

static String[] classpath_parts ()
static boolean create_dir (String dir)
static boolean create_file (String file)
static boolean delete_file (String f)
static String[] dir_to_member_names (String dir)
static String[] dir_to_member_paths (String dir)
static String[] dir_to_members (String dir)
static boolean file_can_read (String f)
static boolean file_can_write (String f)
static boolean file_exists (String f)
static boolean file_is_dir (String f)
static boolean file_is_file (String f)
static long file_last_modified (String f)
static long file_to_length (String f)
static byte[] filename_to_byte_array (String f)
static String new_scratch_dir (String dir)
static String new_scratch_file (String dir, String suffix)
static String new_scratch_file (String dir)
static String new_scratch_suffix_dir (String dir, String suffix)
static String new_scratch_suffix_file (String dir, String suffix)
static boolean rename_file_to_file (String n1, String n2)
static int spawn (String command)
static int spawn_in_out_err (String command, String infile, String outfile, String errfile)
static int spawn_in_out_err_wait (String command, String infile, String outfile, String errfile, boolean wait)
static int spawn_wait (String command, boolean wait)

Static Private Member Functions

static boolean strings_contains_string (String[] ss, int n, String s)

Static Private Attributes

static Random r = new Random()

Detailed Description

Definition at line 12 of file util/Util.java.


Member Function Documentation

static String [] jpl::util::Util::classpath_parts (  )  [inline, static]

Definition at line 381 of file util/Util.java.

static boolean jpl::util::Util::create_dir ( String  dir  )  [inline, static]

Definition at line 324 of file util/Util.java.

static boolean jpl::util::Util::create_file ( String  file  )  [inline, static]

Definition at line 310 of file util/Util.java.

static boolean jpl::util::Util::delete_file ( String  f  )  [inline, static]

Definition at line 370 of file util/Util.java.

static String [] jpl::util::Util::dir_to_member_names ( String  dir  )  [inline, static]

Definition at line 52 of file util/Util.java.

static String [] jpl::util::Util::dir_to_member_paths ( String  dir  )  [inline, static]

Definition at line 34 of file util/Util.java.

static String [] jpl::util::Util::dir_to_members ( String  dir  )  [inline, static]

Definition at line 16 of file util/Util.java.

static boolean jpl::util::Util::file_can_read ( String  f  )  [inline, static]

Definition at line 340 of file util/Util.java.

static boolean jpl::util::Util::file_can_write ( String  f  )  [inline, static]

Definition at line 345 of file util/Util.java.

static boolean jpl::util::Util::file_exists ( String  f  )  [inline, static]

Definition at line 335 of file util/Util.java.

static boolean jpl::util::Util::file_is_dir ( String  f  )  [inline, static]

Definition at line 355 of file util/Util.java.

static boolean jpl::util::Util::file_is_file ( String  f  )  [inline, static]

Definition at line 350 of file util/Util.java.

static long jpl::util::Util::file_last_modified ( String  f  )  [inline, static]

Definition at line 360 of file util/Util.java.

static long jpl::util::Util::file_to_length ( String  f  )  [inline, static]

Definition at line 365 of file util/Util.java.

static byte [] jpl::util::Util::filename_to_byte_array ( String  f  )  [inline, static]

Definition at line 427 of file util/Util.java.

static String jpl::util::Util::new_scratch_dir ( String  dir  )  [inline, static]

Definition at line 225 of file util/Util.java.

static String jpl::util::Util::new_scratch_file ( String  dir,
String  suffix 
) [inline, static]

Definition at line 196 of file util/Util.java.

static String jpl::util::Util::new_scratch_file ( String  dir  )  [inline, static]

Definition at line 191 of file util/Util.java.

static String jpl::util::Util::new_scratch_suffix_dir ( String  dir,
String  suffix 
) [inline, static]

Definition at line 282 of file util/Util.java.

static String jpl::util::Util::new_scratch_suffix_file ( String  dir,
String  suffix 
) [inline, static]

Definition at line 253 of file util/Util.java.

static boolean jpl::util::Util::rename_file_to_file ( String  n1,
String  n2 
) [inline, static]

Definition at line 447 of file util/Util.java.

static int jpl::util::Util::spawn ( String  command  )  [inline, static]

Definition at line 158 of file util/Util.java.

static int jpl::util::Util::spawn_in_out_err ( String  command,
String  infile,
String  outfile,
String  errfile 
) [inline, static]

Definition at line 64 of file util/Util.java.

static int jpl::util::Util::spawn_in_out_err_wait ( String  command,
String  infile,
String  outfile,
String  errfile,
boolean  wait 
) [inline, static]

Definition at line 107 of file util/Util.java.

static int jpl::util::Util::spawn_wait ( String  command,
boolean  wait 
) [inline, static]

Definition at line 164 of file util/Util.java.

static boolean jpl::util::Util::strings_contains_string ( String[]  ss,
int  n,
String  s 
) [inline, static, private]

Definition at line 415 of file util/Util.java.


Member Data Documentation

Random jpl::util::Util::r = new Random() [static, private]

Definition at line 14 of file util/Util.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines


jpl
Author(s): Lorenz Moesenlechner
autogenerated on Fri Jan 11 09:40:32 2013