FileDocCategorySizeDatePackage
Paths.javaAPI DocExample475Tue Feb 14 12:43:26 GMT 2006None

Paths

public class Paths extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


    File absolute = new File("/public/html/javafaq/index.html");  
    File relative = new File("html/javafaq/index.html");  
    
    System.out.println("absolute: ");
    System.out.println(absolute.getName());
    System.out.println(absolute.getPath());

    System.out.println("relative: ");
    System.out.println(relative.getName());
    System.out.println(relative.getPath());