home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2009 March / ME_03_2009.iso / Software / Internet / Cyberduck-3.1.2.dmg / Cyberduck.app / Contents / Resources / Java / jdom-1.1.jar / JDOMAbout.class (.txt) next >
Encoding:
Java Class File  |  2007-11-14  |  1.9 KB  |  32 lines

  1. public class JDOMAbout {
  2.    public static void main(String[] args) throws Exception {
  3.       JDOMAbout$Info info = new JDOMAbout$Info();
  4.       String title = info.title;
  5.       System.out.println(title + " version " + info.version);
  6.       System.out.println("Copyright " + info.copyright);
  7.       System.out.println();
  8.       System.out.println(info.description);
  9.       System.out.println();
  10.       System.out.println("Authors:");
  11.  
  12.       for(JDOMAbout$Author author : info.authors) {
  13.          System.out.print("  " + author.name);
  14.          if (author.email == null) {
  15.             System.out.println();
  16.          } else {
  17.             System.out.println(" <" + author.email + ">");
  18.          }
  19.       }
  20.  
  21.       System.out.println();
  22.       System.out.println(title + " license:");
  23.       System.out.println(info.license);
  24.       System.out.println();
  25.       System.out.println(title + " support:");
  26.       System.out.println(info.support);
  27.       System.out.println();
  28.       System.out.println(title + " web site: " + info.website);
  29.       System.out.println();
  30.    }
  31. }
  32.