adavid.util
Class JMakefile

java.lang.Object
  |
  +--adavid.util.JMakefile

public class JMakefile
extends java.lang.Object


Constructor Summary
JMakefile()
           
 
Method Summary
static java.lang.String getBackPath(int depth)
          returns a back path of the form ../../../ corresponding to depth
static boolean isExtFile(java.lang.String name, java.lang.String ext)
          returns true if the string name ends with extension ext
static void main(java.lang.String[] args)
          main program, run it with nothing to know the options and how to use it
static java.lang.String shortName(java.lang.String name)
          returns the short name of the string name, which is the name without the last extension beginning with a dot.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMakefile

public JMakefile()
Method Detail

getBackPath

public static java.lang.String getBackPath(int depth)
returns a back path of the form ../../../ corresponding to depth

isExtFile

public static boolean isExtFile(java.lang.String name,
                                java.lang.String ext)
returns true if the string name ends with extension ext

shortName

public static java.lang.String shortName(java.lang.String name)
returns the short name of the string name, which is the name without the last extension beginning with a dot.

main

public static void main(java.lang.String[] args)
main program, run it with nothing to know the options and how to use it