japi-cvs Mailing List for JAPI (Page 48)
Status: Beta
Brought to you by:
christianhujer
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
(115) |
May
(11) |
Jun
(5) |
Jul
(2) |
Aug
(10) |
Sep
(35) |
Oct
(14) |
Nov
(49) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(57) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(25) |
Jun
(134) |
Jul
(76) |
Aug
(34) |
Sep
(27) |
Oct
(5) |
Nov
|
Dec
(1) |
2008 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(63) |
Nov
(30) |
Dec
(43) |
2009 |
Jan
(10) |
Feb
(420) |
Mar
(67) |
Apr
(3) |
May
(61) |
Jun
(21) |
Jul
(19) |
Aug
|
Sep
(6) |
Oct
(16) |
Nov
(1) |
Dec
|
2010 |
Jan
(1) |
Feb
|
Mar
|
Apr
(7) |
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: <chr...@us...> - 2006-11-26 23:38:22
|
Revision: 233 http://svn.sourceforge.net/japi/?rev=233&view=rev Author: christianhujer Date: 2006-11-26 15:38:21 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added template README files. Added Paths: ----------- libs/argparser/trunk/README libs/finance/trunk/README libs/lang/trunk/README libs/logging/trunk/README libs/swing-action/trunk/README libs/swing-app/trunk/README libs/swing-bookmarks/trunk/README libs/swing-extlib/trunk/README libs/swing-font/trunk/README libs/swing-keyprefs/trunk/README libs/swing-misc/trunk/README libs/swing-prefs/trunk/README libs/swing-proxyprefs/trunk/README libs/swing-recent/trunk/README libs/swing-tod/trunk/README libs/swing-treetable/trunk/README libs/taglets/trunk/README libs/util/trunk/README site/trunk/README Copied: libs/argparser/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/argparser/trunk/README (rev 0) +++ libs/argparser/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/finance/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/finance/trunk/README (rev 0) +++ libs/finance/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/lang/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/lang/trunk/README (rev 0) +++ libs/lang/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/logging/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/logging/trunk/README (rev 0) +++ libs/logging/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-action/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-action/trunk/README (rev 0) +++ libs/swing-action/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-app/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-app/trunk/README (rev 0) +++ libs/swing-app/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-bookmarks/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-bookmarks/trunk/README (rev 0) +++ libs/swing-bookmarks/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-extlib/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-extlib/trunk/README (rev 0) +++ libs/swing-extlib/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-font/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-font/trunk/README (rev 0) +++ libs/swing-font/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-keyprefs/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-keyprefs/trunk/README (rev 0) +++ libs/swing-keyprefs/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-misc/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-misc/trunk/README (rev 0) +++ libs/swing-misc/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-prefs/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-prefs/trunk/README (rev 0) +++ libs/swing-prefs/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-proxyprefs/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-proxyprefs/trunk/README (rev 0) +++ libs/swing-proxyprefs/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-recent/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-recent/trunk/README (rev 0) +++ libs/swing-recent/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-tod/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-tod/trunk/README (rev 0) +++ libs/swing-tod/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/swing-treetable/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/swing-treetable/trunk/README (rev 0) +++ libs/swing-treetable/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/taglets/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/taglets/trunk/README (rev 0) +++ libs/taglets/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: libs/util/trunk/README (from rev 232, common/trunk/README) =================================================================== --- libs/util/trunk/README (rev 0) +++ libs/util/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Copied: site/trunk/README (from rev 232, common/trunk/README) =================================================================== --- site/trunk/README (rev 0) +++ site/trunk/README 2006-11-26 23:38:21 UTC (rev 233) @@ -0,0 +1,117 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users and developers (low traffic) +* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=149894 + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 23:33:41
|
Revision: 232 http://svn.sourceforge.net/japi/?rev=232&view=rev Author: christianhujer Date: 2006-11-26 15:33:39 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Updated README. Modified Paths: -------------- common/trunk/README Modified: common/trunk/README =================================================================== --- common/trunk/README 2006-11-26 23:29:13 UTC (rev 231) +++ common/trunk/README 2006-11-26 23:33:39 UTC (rev 232) @@ -103,12 +103,13 @@ Japi mailing lists are the usual sourceforge hosted sourceforge project mailing lists. The current mailing lists are: * jap...@li... - News for JAPI users (low traffic) -* jap...@li... + News for JAPI users and developers (low traffic) * jap...@li... -* jap...@li... + japi developer talk list +* jap...@li... + svn commit digest list (named cvs for historic reasons) To find out how to subscribe or read the archives, go to: - http://sourceforge.net/mail/?group_id=xxxxxx + http://sourceforge.net/mail/?group_id=149894 LICSENSE INFORMATION This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 23:29:16
|
Revision: 231 http://svn.sourceforge.net/japi/?rev=231&view=rev Author: christianhujer Date: 2006-11-26 15:29:13 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added libs-swing-treetable. New JAPI is now compilable completely. Modified Paths: -------------- libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml Added Paths: ----------- libs/swing-treetable/ libs/swing-treetable/branches/ libs/swing-treetable/tags/ libs/swing-treetable/trunk/ libs/swing-treetable/trunk/libs-swing-treetable.iml libs/swing-treetable/trunk/src/ libs/swing-treetable/trunk/src/net/ libs/swing-treetable/trunk/src/net/sf/ libs/swing-treetable/trunk/src/net/sf/japi/ libs/swing-treetable/trunk/src/net/sf/japi/swing/ libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable/ Modified: libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml =================================================================== --- libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml 2006-11-26 23:23:22 UTC (rev 230) +++ libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml 2006-11-26 23:29:13 UTC (rev 231) @@ -10,6 +10,7 @@ <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="module" module-name="libs-swing-action" /> <orderEntry type="module" module-name="libs-swing-prefs" /> + <orderEntry type="module" module-name="libs-swing-treetable" /> <orderEntryProperties /> </component> <component name="copyright"> Added: libs/swing-treetable/trunk/libs-swing-treetable.iml =================================================================== --- libs/swing-treetable/trunk/libs-swing-treetable.iml (rev 0) +++ libs/swing-treetable/trunk/libs-swing-treetable.iml 2006-11-26 23:29:13 UTC (rev 231) @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + </component> +</module> + Property changes on: libs/swing-treetable/trunk/libs-swing-treetable.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Copied: libs/swing-treetable/trunk/src/net/sf/japi/swing/treetable (from rev 225, historic/trunk/src/app/net/sf/japi/swing/treetable) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 23:23:23
|
Revision: 230 http://svn.sourceforge.net/japi/?rev=230&view=rev Author: christianhujer Date: 2006-11-26 15:23:22 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added CanLoad interface to libs-swing-app. Modified Paths: -------------- libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/Bookmarkable.java Added Paths: ----------- libs/swing-app/trunk/src/ libs/swing-app/trunk/src/net/ libs/swing-app/trunk/src/net/sf/ libs/swing-app/trunk/src/net/sf/japi/ libs/swing-app/trunk/src/net/sf/japi/swing/ libs/swing-app/trunk/src/net/sf/japi/swing/app/ libs/swing-app/trunk/src/net/sf/japi/swing/app/CanLoad.java Copied: libs/swing-app/trunk/src/net/sf/japi/swing/app/CanLoad.java (from rev 225, historic/trunk/src/app/net/sf/japi/swing/io/CanLoad.java) =================================================================== --- libs/swing-app/trunk/src/net/sf/japi/swing/app/CanLoad.java (rev 0) +++ libs/swing-app/trunk/src/net/sf/japi/swing/app/CanLoad.java 2006-11-26 23:23:22 UTC (rev 230) @@ -0,0 +1,36 @@ +/* JAPI - (Yet another (hopefully) useful) Java API + * + * Copyright (C) 2004-2006 Christian Hujer + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + */ + +package net.sf.japi.swing.app; + +/** Interface to be implemented by classes that are able to load a URL. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public interface CanLoad { + + /** Load a document. + * This method does not declare any exceptions. + * The implementor of this method is responsible for handling any exceptional conditions which might occur during the load operation. + * @param url URL to load + * @return <code>true</code> if and only if loading the file was successful + */ + boolean load(String url); + +} // interface CanLoad Modified: libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml =================================================================== --- libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml 2006-11-26 23:20:50 UTC (rev 229) +++ libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml 2006-11-26 23:23:22 UTC (rev 230) @@ -10,6 +10,7 @@ <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="module" module-name="libs-swing-action" /> <orderEntry type="module" module-name="libs-util" /> + <orderEntry type="module" module-name="libs-swing-app" /> <orderEntryProperties /> </component> <component name="copyright"> Modified: libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/Bookmarkable.java =================================================================== --- libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/Bookmarkable.java 2006-11-26 23:20:50 UTC (rev 229) +++ libs/swing-bookmarks/trunk/src/net/sf/japi/swing/bookmarks/Bookmarkable.java 2006-11-26 23:23:22 UTC (rev 230) @@ -21,7 +21,7 @@ package net.sf.japi.swing.bookmarks; import java.awt.Component; -import net.sf.japi.swing.io.CanLoad; +import net.sf.japi.swing.app.CanLoad; /** Interface for classes that want to interact with the BookmarkManager. * Implement this interface if your class provides information for creating bookmarks. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 23:20:51
|
Revision: 229 http://svn.sourceforge.net/japi/?rev=229&view=rev Author: christianhujer Date: 2006-11-26 15:20:50 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added libs-swing-app. Added Paths: ----------- libs/swing-app/ libs/swing-app/branches/ libs/swing-app/tags/ libs/swing-app/trunk/ libs/swing-app/trunk/libs-swing-app.iml Added: libs/swing-app/trunk/libs-swing-app.iml =================================================================== --- libs/swing-app/trunk/libs-swing-app.iml (rev 0) +++ libs/swing-app/trunk/libs-swing-app.iml 2006-11-26 23:20:50 UTC (rev 229) @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + </component> +</module> + Property changes on: libs/swing-app/trunk/libs-swing-app.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 23:18:14
|
Revision: 228 http://svn.sourceforge.net/japi/?rev=228&view=rev Author: christianhujer Date: 2006-11-26 15:18:12 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added EmptyEnumeration to util. Modified Paths: -------------- libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml Added Paths: ----------- libs/util/trunk/src/net/ libs/util/trunk/src/net/sf/ libs/util/trunk/src/net/sf/japi/ libs/util/trunk/src/net/sf/japi/util/ libs/util/trunk/src/net/sf/japi/util/EmptyEnumeration.java Modified: libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml =================================================================== --- libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml 2006-11-26 23:16:13 UTC (rev 227) +++ libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml 2006-11-26 23:18:12 UTC (rev 228) @@ -9,6 +9,7 @@ <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="module" module-name="libs-swing-action" /> + <orderEntry type="module" module-name="libs-util" /> <orderEntryProperties /> </component> <component name="copyright"> Copied: libs/util/trunk/src/net/sf/japi/util/EmptyEnumeration.java (from rev 225, historic/trunk/src/app/net/sf/japi/util/EmptyEnumeration.java) =================================================================== --- libs/util/trunk/src/net/sf/japi/util/EmptyEnumeration.java (rev 0) +++ libs/util/trunk/src/net/sf/japi/util/EmptyEnumeration.java 2006-11-26 23:18:12 UTC (rev 228) @@ -0,0 +1,44 @@ +/* JAPI - (Yet another (hopefully) useful) Java API + * + * Copyright (C) 2004-2006 Christian Hujer + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + */ + +package net.sf.japi.util; + +import java.util.Enumeration; +import java.util.NoSuchElementException; + +/** Empty Enumeration. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public class EmptyEnumeration<E> implements Enumeration<E> { + + /** Create a new EmptyEnumeration. */ + public EmptyEnumeration() {} + + /** {@inheritDoc} */ + public boolean hasMoreElements() { + return false; + } + + /** {@inheritDoc} */ + public E nextElement() { + throw new NoSuchElementException(); + } + +} // class EmptyEnumeration This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 23:16:18
|
Revision: 227 http://svn.sourceforge.net/japi/?rev=227&view=rev Author: christianhujer Date: 2006-11-26 15:16:13 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added ColumnLayout to extlib. Modified Paths: -------------- libs/swing-prefs/trunk/libs-swing-prefs.iml Added Paths: ----------- libs/swing-extlib/trunk/src/net/ libs/swing-extlib/trunk/src/net/sf/ libs/swing-extlib/trunk/src/net/sf/japi/ libs/swing-extlib/trunk/src/net/sf/japi/swing/ libs/swing-extlib/trunk/src/net/sf/japi/swing/ColumnLayout.java Added: libs/swing-extlib/trunk/src/net/sf/japi/swing/ColumnLayout.java =================================================================== --- libs/swing-extlib/trunk/src/net/sf/japi/swing/ColumnLayout.java (rev 0) +++ libs/swing-extlib/trunk/src/net/sf/japi/swing/ColumnLayout.java 2006-11-26 23:16:13 UTC (rev 227) @@ -0,0 +1,149 @@ +package net.sf.japi.swing; + +import java.awt.LayoutManager; +import java.awt.Component; +import java.awt.Dimension; +import java.awt.Container; +import java.awt.Insets; +import org.jetbrains.annotations.Nullable; +import org.jetbrains.annotations.NotNull; + +/** Layout similar to FlowLayout, but using columns (vertical layout) instead of rows (horizontal layout). + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +@SuppressWarnings({"NonPrivateFieldAccessedInSynchronizedContext", "FieldAccessedSynchronizedAndUnsynchronized"}) +public class ColumnLayout implements LayoutManager { + + /** Horizontal Gap. */ + private int hgap = 4; + + /** Vertical Gap. */ + private int vgap = 4; + + /** Create a ColumnLayout with default gaps (4, 4). */ + public ColumnLayout() { + } + + /** Create a ColumnLayout with defined gaps. + * @param hgap horizontal gap + * @param vgap vertical gap + */ + public ColumnLayout(final int hgap, final int vgap) { + this.hgap = hgap; + this.vgap = vgap; + } + + /** Returns horizontal Gap. + * @return horizontal Gap. + */ + public int getHgap() { + return hgap; + } + + /** Sets horizontal Gap. + * @param hgap horizontal Gap. + */ + public void setHgap(final int hgap) { + this.hgap = hgap; + } + + /** Returns vertical Gap. + * @return vertical Gap. + */ + public int getVgap() { + return vgap; + } + + /** Sets vertical Gap. + * @param vgap vertical Gap. + */ + public void setVgap(final int vgap) { + this.vgap = vgap; + } + + /** {@inheritDoc} */ + public void addLayoutComponent(@Nullable final String name, @Nullable final Component comp) { + // Superfluous + } + + /** {@inheritDoc} */ + public void removeLayoutComponent(@Nullable final Component comp) { + // Superfluous + } + + /** {@inheritDoc} */ + @NotNull + public Dimension preferredLayoutSize(@NotNull final Container parent) { + synchronized (parent.getTreeLock()) { + final Dimension preferredLayoutSize = new Dimension(); + final int nmembers = parent.getComponentCount(); + for (int i = 0; i < nmembers; i++) { + final Component comp = parent.getComponent(i); + if (comp.isVisible()) { + final Dimension dim = comp.getPreferredSize(); + preferredLayoutSize.width = Math.max(preferredLayoutSize.width, dim.width); + if (i > 0) { + preferredLayoutSize.height += vgap; + } + preferredLayoutSize.height += dim.height; + } + } + final Insets insets = parent.getInsets(); + preferredLayoutSize.width += insets.left + insets.right + (hgap << 1); + preferredLayoutSize.height += insets.top + insets.bottom + (vgap << 1); + return preferredLayoutSize; + } + } + + /** {@inheritDoc} */ + @NotNull public Dimension minimumLayoutSize(@NotNull final Container parent) { + synchronized (parent.getTreeLock()) { + final Dimension minimumLayoutSize = new Dimension(); + final int nmembers = parent.getComponentCount(); + for (int i = 0; i < nmembers; i++) { + final Component comp = parent.getComponent(i); + if (comp.isVisible()) { + final Dimension dim = comp.getMinimumSize(); + minimumLayoutSize.width = Math.max(minimumLayoutSize.width, dim.width); + if (i > 0) { + minimumLayoutSize.height += vgap; + } + minimumLayoutSize.height += dim.height; + } + } + final Insets insets = parent.getInsets(); + minimumLayoutSize.width += insets.left + insets.right + (hgap << 1); + minimumLayoutSize.height += insets.top + insets.bottom + (vgap << 1); + return minimumLayoutSize; + } + } + + /** {@inheritDoc} */ + public void layoutContainer(@NotNull final Container parent) { + synchronized (parent.getTreeLock()) { + final Insets insets = parent.getInsets(); + final int nmembers = parent.getComponentCount(); + final int maxheight = parent.getHeight() - (insets.left + insets.right + (vgap << 1)); + int maxwidth = 0; + int y = 0; + int x = insets.left + hgap; + for (int i = 0; i < nmembers; i++) { + final Component comp = parent.getComponent(i); + if (comp.isVisible()) { + final Dimension dim = comp.getPreferredSize(); + comp.setSize(dim); + if (y + vgap + comp.getHeight() > maxheight) { + y = 0; + x += maxwidth + hgap; + maxwidth = 0; + } + maxwidth = comp.getWidth() > maxwidth ? comp.getWidth() : maxwidth; + y += vgap; + comp.setLocation(x, y); + y += comp.getHeight(); + } + } + } + } + +} // class ColumnLayout Property changes on: libs/swing-extlib/trunk/src/net/sf/japi/swing/ColumnLayout.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Modified: libs/swing-prefs/trunk/libs-swing-prefs.iml =================================================================== --- libs/swing-prefs/trunk/libs-swing-prefs.iml 2006-11-26 23:11:32 UTC (rev 226) +++ libs/swing-prefs/trunk/libs-swing-prefs.iml 2006-11-26 23:16:13 UTC (rev 227) @@ -9,6 +9,7 @@ <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="module" module-name="libs-swing-action" /> + <orderEntry type="module" module-name="libs-swing-extlib" /> <orderEntryProperties /> </component> <component name="copyright"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 23:11:34
|
Revision: 226 http://svn.sourceforge.net/japi/?rev=226&view=rev Author: christianhujer Date: 2006-11-26 15:11:32 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Improved module dependencies. Modified Paths: -------------- libs/swing-font/trunk/libs-swing-font.iml libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml libs/swing-prefs/trunk/libs-swing-prefs.iml libs/swing-proxyprefs/trunk/libs-swing-proxyprefs.iml libs/swing-tod/trunk/libs-swing-tod.iml libs/taglets/trunk/libs-taglets.iml Modified: libs/swing-font/trunk/libs-swing-font.iml =================================================================== --- libs/swing-font/trunk/libs-swing-font.iml 2006-11-26 22:45:14 UTC (rev 225) +++ libs/swing-font/trunk/libs-swing-font.iml 2006-11-26 23:11:32 UTC (rev 226) @@ -8,6 +8,7 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module" module-name="libs-swing-action" /> <orderEntryProperties /> </component> <component name="copyright"> Modified: libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml =================================================================== --- libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml 2006-11-26 22:45:14 UTC (rev 225) +++ libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml 2006-11-26 23:11:32 UTC (rev 226) @@ -8,6 +8,8 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module" module-name="libs-swing-action" /> + <orderEntry type="module" module-name="libs-swing-prefs" /> <orderEntryProperties /> </component> <component name="copyright"> Modified: libs/swing-prefs/trunk/libs-swing-prefs.iml =================================================================== --- libs/swing-prefs/trunk/libs-swing-prefs.iml 2006-11-26 22:45:14 UTC (rev 225) +++ libs/swing-prefs/trunk/libs-swing-prefs.iml 2006-11-26 23:11:32 UTC (rev 226) @@ -8,6 +8,7 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module" module-name="libs-swing-action" /> <orderEntryProperties /> </component> <component name="copyright"> Modified: libs/swing-proxyprefs/trunk/libs-swing-proxyprefs.iml =================================================================== --- libs/swing-proxyprefs/trunk/libs-swing-proxyprefs.iml 2006-11-26 22:45:14 UTC (rev 225) +++ libs/swing-proxyprefs/trunk/libs-swing-proxyprefs.iml 2006-11-26 23:11:32 UTC (rev 226) @@ -8,6 +8,8 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module" module-name="libs-swing-action" /> + <orderEntry type="module" module-name="libs-swing-prefs" /> <orderEntryProperties /> </component> <component name="copyright"> Modified: libs/swing-tod/trunk/libs-swing-tod.iml =================================================================== --- libs/swing-tod/trunk/libs-swing-tod.iml 2006-11-26 22:45:14 UTC (rev 225) +++ libs/swing-tod/trunk/libs-swing-tod.iml 2006-11-26 23:11:32 UTC (rev 226) @@ -8,6 +8,7 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module" module-name="libs-swing-action" /> <orderEntryProperties /> </component> <component name="copyright"> Modified: libs/taglets/trunk/libs-taglets.iml =================================================================== --- libs/taglets/trunk/libs-taglets.iml 2006-11-26 22:45:14 UTC (rev 225) +++ libs/taglets/trunk/libs-taglets.iml 2006-11-26 23:11:32 UTC (rev 226) @@ -8,6 +8,7 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="library" name="tools" level="application" /> <orderEntryProperties /> </component> <component name="copyright"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 22:45:15
|
Revision: 225 http://svn.sourceforge.net/japi/?rev=225&view=rev Author: christianhujer Date: 2006-11-26 14:45:14 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Improvements on option type description and --help output. Modified Paths: -------------- libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java libs/argparser/trunk/src/net/sf/japi/io/args/OptionType.java libs/argparser/trunk/src/net/sf/japi/io/args/messages.properties libs/argparser/trunk/src/net/sf/japi/io/args/messages_de.properties Modified: libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java 2006-11-26 22:44:34 UTC (rev 224) +++ libs/argparser/trunk/src/net/sf/japi/io/args/BasicCommand.java 2006-11-26 22:45:14 UTC (rev 225) @@ -75,7 +75,7 @@ parameterTypes.add(parameterType); } } - final String formatString = "%-" + maxShort + "s%s%-" + maxLong + "s: (%-" + maxOptionTypeWidth + "s) %s%n"; + final String formatString = "%-" + maxShort + "s%s%-" + maxLong + "s: %s%s%n"; final Formatter format = new Formatter(System.err); for (final Method optionMethod : optionMethods) { final Option option = optionMethod.getAnnotation(Option.class); @@ -98,7 +98,7 @@ } catch (final MissingResourceException ignore) { description = ""; } - format.format(formatString, StringJoiner.join(", ", shortNames), delim, StringJoiner.join(", ", longNames), optionType.toString(), description); + format.format(formatString, StringJoiner.join(", ", shortNames), delim, StringJoiner.join(", ", longNames), description, optionType.getDescription()); } format.flush(); } Modified: libs/argparser/trunk/src/net/sf/japi/io/args/OptionType.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/OptionType.java 2006-11-26 22:44:34 UTC (rev 224) +++ libs/argparser/trunk/src/net/sf/japi/io/args/OptionType.java 2006-11-26 22:45:14 UTC (rev 225) @@ -30,13 +30,24 @@ */ public enum OptionType { - /** Required options must always be specified prior to command execution. */ + /** + * Required options must always be specified prior to command execution. + * Please use required options sparingly - if possible none at all. + * Instead provide your program with reasonable defaults. + */ REQUIRED, - /** Optional options may be omitted. */ + /** + * Optional options may be omitted. + * This is the default and usually doesn't need to be changed. + */ OPTIONAL, - /** Terminal options terminate argument parsing, no matter what happens. */ + /** + * Terminal options terminate argument parsing, no matter what happens. + * This is only for special options like --help. + * Normally there should be no need for you to declare your own terminal options. + */ TERMINAL; /** @@ -76,4 +87,18 @@ return getName(); } + /** + * Returns the command line description of this option type. + * @return The command line description of this option type. + */ + public String getDescription() { + String description; + try { + description = ResourceBundle.getBundle("net.sf.japi.io.args.messages").getString(getClass().getName() + "." + name() + ".description"); + } catch (final MissingResourceException e) { + description = name(); + } + return description.length() == 0 ? description : " (" + description + ")"; + } + } // OptionType Modified: libs/argparser/trunk/src/net/sf/japi/io/args/messages.properties =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/messages.properties 2006-11-26 22:44:34 UTC (rev 224) +++ libs/argparser/trunk/src/net/sf/japi/io/args/messages.properties 2006-11-26 22:45:14 UTC (rev 225) @@ -1,6 +1,9 @@ net.sf.japi.io.args.OptionType.REQUIRED=required +net.sf.japi.io.args.OptionType.REQUIRED.description=required net.sf.japi.io.args.OptionType.OPTIONAL=optional +net.sf.japi.io.args.OptionType.OPTIONAL.description= net.sf.japi.io.args.OptionType.TERMINAL=terminal +net.sf.japi.io.args.OptionType.TERMINAL.description=terminal help=Display this help and exit. setExiting=Quit Java VM with error code. setNotExiting=Don't quit Java VM (default). Modified: libs/argparser/trunk/src/net/sf/japi/io/args/messages_de.properties =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/messages_de.properties 2006-11-26 22:44:34 UTC (rev 224) +++ libs/argparser/trunk/src/net/sf/japi/io/args/messages_de.properties 2006-11-26 22:45:14 UTC (rev 225) @@ -1,6 +1,9 @@ net.sf.japi.io.args.OptionType.REQUIRED=erforderlich +net.sf.japi.io.args.OptionType.REQUIRED.description=erforderlich net.sf.japi.io.args.OptionType.OPTIONAL=optional +net.sf.japi.io.args.OptionType.OPTIONAL.description= net.sf.japi.io.args.OptionType.TERMINAL=abbrechend +net.sf.japi.io.args.OptionType.TERMINAL.description=abbrechend help=Diese Hilfe anzeigen und beenden. setExiting=Java VM mit Fehlercode beenden setNotExiting=Java VM nicht beenden (Voreinstellung). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 22:44:36
|
Revision: 224 http://svn.sourceforge.net/japi/?rev=224&view=rev Author: christianhujer Date: 2006-11-26 14:44:34 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added libs-swing-action module dependency. Modified Paths: -------------- libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml Modified: libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml =================================================================== --- libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml 2006-11-26 21:43:37 UTC (rev 223) +++ libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml 2006-11-26 22:44:34 UTC (rev 224) @@ -8,6 +8,7 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module" module-name="libs-swing-action" /> <orderEntryProperties /> </component> <component name="copyright"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 21:43:43
|
Revision: 223 http://svn.sourceforge.net/japi/?rev=223&view=rev Author: christianhujer Date: 2006-11-26 13:43:37 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Removed guide and tools from historic module source folders. Modified Paths: -------------- historic/trunk/historic.iml Modified: historic/trunk/historic.iml =================================================================== --- historic/trunk/historic.iml 2006-11-26 21:42:29 UTC (rev 222) +++ historic/trunk/historic.iml 2006-11-26 21:43:37 UTC (rev 223) @@ -4,18 +4,7 @@ <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$MODULE_DIR$"> - <sourceFolder url="file://$MODULE_DIR$/progs/jeduca/src" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/src/app" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/io/src" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/swing/action/basic/src" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/swing/action/fromScratch/src" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/swing/prefs/keys/src" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/swing/tod/src" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/tools/fonts/src" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/tools/jwget" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/tools/keystrokes/src" isTestSource="false" /> - <sourceFolder url="file://$MODULE_DIR$/tools/prefs/src" isTestSource="false" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 21:42:30
|
Revision: 222 http://svn.sourceforge.net/japi/?rev=222&view=rev Author: christianhujer Date: 2006-11-26 13:42:29 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added dependency to libs-lang. Modified Paths: -------------- libs/swing-action/trunk/libs-swing-action.iml Modified: libs/swing-action/trunk/libs-swing-action.iml =================================================================== --- libs/swing-action/trunk/libs-swing-action.iml 2006-11-26 21:41:14 UTC (rev 221) +++ libs/swing-action/trunk/libs-swing-action.iml 2006-11-26 21:42:29 UTC (rev 222) @@ -8,6 +8,7 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module" module-name="libs-lang" /> <orderEntryProperties /> </component> <component name="copyright"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 21:41:15
|
Revision: 221 http://svn.sourceforge.net/japi/?rev=221&view=rev Author: christianhujer Date: 2006-11-26 13:41:14 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Fixed bug in service class. Modified Paths: -------------- historic/trunk/src/app/net/sf/japi/util/Service.java Modified: historic/trunk/src/app/net/sf/japi/util/Service.java =================================================================== --- historic/trunk/src/app/net/sf/japi/util/Service.java 2006-11-26 21:40:38 UTC (rev 220) +++ historic/trunk/src/app/net/sf/japi/util/Service.java 2006-11-26 21:41:14 UTC (rev 221) @@ -102,7 +102,7 @@ } catch (final ClassNotFoundException e) { throw new MustangUnavailableException(); } catch (final InvocationTargetException e) { - e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + throw new MustangUnavailableException(); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 21:40:42
|
Revision: 220 http://svn.sourceforge.net/japi/?rev=220&view=rev Author: christianhujer Date: 2006-11-26 13:40:38 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Created libs-lang. Added Paths: ----------- libs/lang/ libs/lang/branches/ libs/lang/tags/ libs/lang/trunk/ libs/lang/trunk/libs-lang.iml libs/lang/trunk/src/ libs/lang/trunk/src/net/ libs/lang/trunk/src/net/sf/ libs/lang/trunk/src/net/sf/japi/ libs/lang/trunk/src/net/sf/japi/lang/ libs/lang/trunk/src/net/sf/japi/lang/SuperClassIterator.java Added: libs/lang/trunk/libs-lang.iml =================================================================== --- libs/lang/trunk/libs-lang.iml (rev 0) +++ libs/lang/trunk/libs-lang.iml 2006-11-26 21:40:38 UTC (rev 220) @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + </component> +</module> + Property changes on: libs/lang/trunk/libs-lang.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Copied: libs/lang/trunk/src/net/sf/japi/lang/SuperClassIterator.java (from rev 219, historic/trunk/src/app/net/sf/japi/lang/SuperClassIterator.java) =================================================================== --- libs/lang/trunk/src/net/sf/japi/lang/SuperClassIterator.java (rev 0) +++ libs/lang/trunk/src/net/sf/japi/lang/SuperClassIterator.java 2006-11-26 21:40:38 UTC (rev 220) @@ -0,0 +1,70 @@ +/* JAPI - (Yet another (hopefully) useful) Java API + * + * Copyright (C) 2004-2006 Christian Hujer + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + */ + +package net.sf.japi.lang; + +import java.util.Iterator; +import java.util.NoSuchElementException; +import org.jetbrains.annotations.Nullable; + +/** An Iterator for iterating through the superclasses (subclasses to superclasses) of a class. + * Note: The supplied class is included in iteration. If you want to omit it, you'll have to invoke getSuperclass() once, e.g. use <code>new SuperClassIterator(clazz.getSuperClass())</code> instead of <code>new SuperClassIterator(clazz)</code>. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public class SuperClassIterator implements Iterator<Class<?>>, Iterable<Class<?>> { + + /** The current class. */ + @Nullable private Class<?> nextClass; + + /** Create a SuperClassIterator. + * @param clazz Class to create Iterator for + */ + public SuperClassIterator(@Nullable final Class<?> clazz) { + nextClass = clazz; + } + + /** {@inheritDoc} */ + public boolean hasNext() { + return nextClass != null; + } + + /** {@inheritDoc} */ + public Class<?> next() { + if (nextClass == null) { + throw new NoSuchElementException(); + } + try { + return nextClass; + } finally { + nextClass = nextClass.getSuperclass(); + } + } + + /** {@inheritDoc} */ + public void remove() { + throw new UnsupportedOperationException(); + } + + /** {@inheritDoc} */ + public Iterator<Class<?>> iterator() { + return this; + } + +} // class ClassIterator This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 19:33:53
|
Revision: 219 http://svn.sourceforge.net/japi/?rev=219&view=rev Author: christianhujer Date: 2006-11-26 11:33:51 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Logging improvements: Fixed documentation of SimpleLogger, renamed AbstractLogger to StandardLogger, added VERBOSE as new logging level. Modified Paths: -------------- libs/logging/trunk/src/net/sf/japi/log/SimpleLogger.java libs/logging/trunk/src/net/sf/japi/log/def/Level.java Added Paths: ----------- libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java Removed Paths: ------------- libs/logging/trunk/src/net/sf/japi/log/AbstractLogger.java Deleted: libs/logging/trunk/src/net/sf/japi/log/AbstractLogger.java =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/AbstractLogger.java 2006-11-26 18:51:59 UTC (rev 218) +++ libs/logging/trunk/src/net/sf/japi/log/AbstractLogger.java 2006-11-26 19:33:51 UTC (rev 219) @@ -1,93 +0,0 @@ -/* - * JAPI - (Yet another (hopefully) useful) Java API - * - * Copyright (C) 2006 Christian Hujer - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - */ - -package net.sf.japi.log; - -import net.sf.japi.log.def.Level; - -import java.util.ResourceBundle; - -/** - * Logger is a logger which logs to {@link System#err}. - * @author <a href="mailto:ch...@ri...">Christian Hujer</a> - */ -public final class AbstractLogger<Level extends Enum<Level>> implements Logger<Level> { - - /** The minimum enabled level. */ - private Level enabledLevel; // TODO: init with reasonable value - - /** The ResourceBundle to get messages from. */ - private final ResourceBundle bundle; - - /** - * Create a Logger. - * @param name Name of the logger, used for retrieving the resource bundle - */ - public AbstractLogger(final String name) { - bundle = ResourceBundle.getBundle(name); - } - - public void log(final Level level, final String key) { - if (level.ordinal() >= enabledLevel.ordinal()) { - logImpl(level, null, bundle.getString(key)); - } - } - - public void log(final Level level, final String key, final Object... params) { - if (level.ordinal() >= enabledLevel.ordinal()) { - // TODO: alternatively use MessageFormat - logImpl(level, null, String.format(bundle.getString(key), params)); - } - } - - public void log(final Level level, final Throwable t, final String key) { - if (level.ordinal() >= enabledLevel.ordinal()) { - logImpl(level, t, bundle.getString(key)); - } - } - - public void log(final Level level, final Throwable t, final String key, final Object... params) { - if (level.ordinal() >= enabledLevel.ordinal()) { - // TODO: alternatively use MessageFormat - logImpl(level, t, String.format(bundle.getString(key), params)); - } - } - - public void setLevel(final Level level) { - enabledLevel = level; - } - - public boolean isEnabled(final Level level) { - return level.ordinal() >= enabledLevel.ordinal(); - } - - /** - * Format and print a log message. - * @param level Log Level - * @param t Throwable to log (maybe null) - * @param message Message to log - */ - private void logImpl(final Level level, final Throwable t, final String message) { - final LogEntry<Level> logEntry = new LogEntry<Level>(level, message, t); - System.err.format("%s:%d: %s: %s %s", logEntry.getFilename(), logEntry.getLineNumber(), level, t, message); - } - -} // class Logger Modified: libs/logging/trunk/src/net/sf/japi/log/SimpleLogger.java =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/SimpleLogger.java 2006-11-26 18:51:59 UTC (rev 218) +++ libs/logging/trunk/src/net/sf/japi/log/SimpleLogger.java 2006-11-26 19:33:51 UTC (rev 219) @@ -23,29 +23,30 @@ import net.sf.japi.log.def.Level; /** - * Provides simple static access to logging. + * Provides simple static access to logging using the configured default logger. + * If there is no configured logger, a default configuration will be used. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public final class SimpleLogger { private static final Logger<Level> defaultLogger = LoggerFactory.INSTANCE.getLogger(SimpleLogger.class); - /** @see Logger#log(Level, String) */ + /** @see Logger#log(Enum, String) */ public static void log(final Level level, final String message) { defaultLogger.log(level, message); } - /** @see Logger#log(Level, String, Object...) */ + /** @see Logger#log(Enum, String, Object...) */ public static void log(final Level level, final String message, final Object... params) { defaultLogger.log(level, message, params); } - /** @see Logger#log(Level, Throwable, String) */ + /** @see Logger#log(Enum, Throwable, String) */ public static void log(final Level level, final Throwable t, final String message) { defaultLogger.log(level, t, message); } - /** @see Logger#log(Level, Throwable, String, Object...) */ + /** @see Logger#log(Enum, Throwable, String, Object...) */ public static void log(final Level level, final Throwable t, final String message, final Object... params) { defaultLogger.log(level, t, message, params); } Copied: libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java (from rev 218, libs/logging/trunk/src/net/sf/japi/log/AbstractLogger.java) =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java (rev 0) +++ libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java 2006-11-26 19:33:51 UTC (rev 219) @@ -0,0 +1,91 @@ +/* + * JAPI - (Yet another (hopefully) useful) Java API + * + * Copyright (C) 2006 Christian Hujer + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + */ + +package net.sf.japi.log; + +import java.util.ResourceBundle; + +/** + * Logger is a logger which logs to {@link System#err}. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public final class StandardLogger<Level extends Enum<Level>> implements Logger<Level> { + + /** The minimum enabled level. */ + private Level enabledLevel; // TODO: init with reasonable value + + /** The ResourceBundle to get messages from. */ + private final ResourceBundle bundle; + + /** + * Create a Logger. + * @param name Name of the logger, used for retrieving the resource bundle + */ + public StandardLogger(final String name) { + bundle = ResourceBundle.getBundle(name); + } + + public void log(final Level level, final String key) { + if (level.ordinal() >= enabledLevel.ordinal()) { + logImpl(level, null, bundle.getString(key)); + } + } + + public void log(final Level level, final String key, final Object... params) { + if (level.ordinal() >= enabledLevel.ordinal()) { + // TODO: alternatively use MessageFormat + logImpl(level, null, String.format(bundle.getString(key), params)); + } + } + + public void log(final Level level, final Throwable t, final String key) { + if (level.ordinal() >= enabledLevel.ordinal()) { + logImpl(level, t, bundle.getString(key)); + } + } + + public void log(final Level level, final Throwable t, final String key, final Object... params) { + if (level.ordinal() >= enabledLevel.ordinal()) { + // TODO: alternatively use MessageFormat + logImpl(level, t, String.format(bundle.getString(key), params)); + } + } + + public void setLevel(final Level level) { + enabledLevel = level; + } + + public boolean isEnabled(final Level level) { + return level.ordinal() >= enabledLevel.ordinal(); + } + + /** + * Format and print a log message. + * @param level Log Level + * @param t Throwable to log (maybe null) + * @param message Message to log + */ + private void logImpl(final Level level, final Throwable t, final String message) { + final LogEntry<Level> logEntry = new LogEntry<Level>(level, message, t); + System.err.format("%s:%d: %s: %s %s", logEntry.getFilename(), logEntry.getLineNumber(), level, t, message); + } + +} // class Logger Property changes on: libs/logging/trunk/src/net/sf/japi/log/StandardLogger.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Modified: libs/logging/trunk/src/net/sf/japi/log/def/Level.java =================================================================== --- libs/logging/trunk/src/net/sf/japi/log/def/Level.java 2006-11-26 18:51:59 UTC (rev 218) +++ libs/logging/trunk/src/net/sf/japi/log/def/Level.java 2006-11-26 19:33:51 UTC (rev 219) @@ -24,22 +24,70 @@ /** * Enumeration of log levels. * <p /> - * The default JAPI Logging knows six logging levels: + * The default JAPI Logging knows seven logging levels: * <ol> - * <li>trace (the least serious)</li> + * <li>trace (the finest / least serious)</li> * <li>debug</li> + * <li>verbose</li> * <li>info</li> * <li>warn</li> * <li>error</li> * <li>fatal (the most serious)</li> * </ol> - * It's regarded a feature that JAPI Logging is simple and only knows exactly these six levels. + * It's regarded a feature that JAPI Logging is simple and well-defined and only knows exactly these seven levels. + * However JAPI Logging is modular enough to allow you to use your own definition of log levels instead of these default levels. * @author <a href="mailto:ch...@ri...">Christian Hujer</a> */ public enum Level { // The ordinal of the enums is used for determining the log level. // Therefore the order of these enum constants MUST NOT be changed. - TRACE, DEBUG, INFO, WARN, ERROR, FATAL + /** + * Level for tracing. + * This is the finest and least severe level. + * It should be used for diagnostic messages that are usually only interesting for the program's developers. + * Usually, TRACE logging is only used during certain periods of development and later removed from the code. + */ + TRACE, + + /** + * Level for debugging. + * This level should be used for debugging and diagnostic messages that are also interesting if a user runs a program and thinks she encountered a bug. + */ + DEBUG, + + /** + * Level for verbose. + * Example: a program loops over files and wouldn't normally inform the user when it opens them unless the user wants the program to be verbose. + */ + VERBOSE, + + /** + * Level for info messages. + * Example: print program's version number at startup or statistical information after a run. + */ + INFO, + + /** + * Level for warning messages. + * Warning messages denote exceptional situations that do not keep the program from continueing normal flow. + * Example: A config file was expected to be there but not found when the program can continue with a default configuration. + */ + WARN, + + /** + * Level for error messages. + * Error messages denote exceptional situations that stop a program's current action to be performed properly but are not expected to change a program's state that it couldn't continue with other operations normally. + * Example: The user wanted to open a file but it couldn't be opened due to an IOException. The program cannot continue loading the desired file, but the user can still use the program e.g. try to open another file. + */ + ERROR, + + /** + * Level for fatal error messages. + * Fatal messages denote exceptional situations that indicate that the program's state is disrupted so severe that it cannot continue normally. + * Usually, a program exits after encountering a fatal error situation. + */ + FATAL + } // enum Level This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 18:52:04
|
Revision: 218 http://svn.sourceforge.net/japi/?rev=218&view=rev Author: christianhujer Date: 2006-11-26 10:51:59 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Copied logging classes from historic to logging package. Added Paths: ----------- libs/logging/trunk/src/net/ libs/logging/trunk/src/net/sf/ libs/logging/trunk/src/net/sf/japi/ libs/logging/trunk/src/net/sf/japi/log/ Copied: libs/logging/trunk/src/net/sf/japi/log (from rev 217, historic/trunk/src/app/net/sf/japi/log) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 17:31:05
|
Revision: 217 http://svn.sourceforge.net/japi/?rev=217&view=rev Author: christianhujer Date: 2006-11-26 09:31:02 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added README file. Added Paths: ----------- common/trunk/README Added: common/trunk/README =================================================================== --- common/trunk/README (rev 0) +++ common/trunk/README 2006-11-26 17:31:02 UTC (rev 217) @@ -0,0 +1,116 @@ +JAPI COMMON README +================== + +This file contains some important information about Japi Common. You should +read it first. + + +TABLE OF CONTENTS +----------------- +* project description +* project website +* system requirements +* file structure +* build / installation (see file INSTALL) +* maintainers / credits (see file CREDITS) +* project news (see file NEWS) +* mailing lists +* license information (see file LICENSE) + + +PROJECT DESCRIPTION +------------------- +Japi Common is a set of libraries and build modules useful for Java projects. +It is part of the Japi project. + + +PROJECT WEBSITE +--------------- +Project homepage: http://japi.sourceforge.net/ +Project website: http://sourceforge.net/projects/japi/ +Project statistics: http://cia.navi.cx/projects/japi +Subproject homepage: http://japi.sourceforge.net/common/ + + +SYSTEM REQUIREMENTS +------------------- +Java 5.0 + Previous versions of Java will not work. Gridarta uses Generics, autoboxing, + static imports, foreach loops, assertions, covariant return types and varargs + quite a lot. + +Ant 1.6.5 + Previous versions of Ant might work but are not tested. + + +FILE STRUCTURE +-------------- +build.xml + The build file to build the project with Ant. + +COPYING + Japi Common license conditions. Note: applies to Japi Common only, not + third party libraries. + +CREDITS + List of project contributors. See also MAINTAINERS. + +INSTALL + Description of how to build and install Japi Common. + +lib/ + Directory containing third party libraries used to build Japi Common. + Please note that these thrid party libraries have their own license + conditions. The licenses of the third party libraries are included in the + lib/ directory. + +LICENSE + File with license information. + +MAINTAINERS + List of current project maintainers. See also CREDITS. + +NEWS + Project News. + +project.properties + File with automatically changed settings for Ant. + +README + This file. + +src/ + Source files. + + +BUILD / INSTALLATION +-------------------- +See the file INSTALL. + + +MAINTAINERS / CREDITS +--------------------- +See the file CREDITS. + + +PROJECT NEWS +------------ +See the file NEWS. + + +MAILING LISTS +------------- +Japi mailing lists are the usual sourceforge hosted sourceforge project +mailing lists. The current mailing lists are: +* jap...@li... + News for JAPI users (low traffic) +* jap...@li... +* jap...@li... +* jap...@li... +To find out how to subscribe or read the archives, go to: + http://sourceforge.net/mail/?group_id=xxxxxx + + +LICSENSE INFORMATION +-------------------- +See the file LICENSE Property changes on: common/trunk/README ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 17:29:27
|
Revision: 216 http://svn.sourceforge.net/japi/?rev=216&view=rev Author: christianhujer Date: 2006-11-26 09:29:25 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added missing src directory. Added Paths: ----------- libs/swing-misc/trunk/src/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 17:11:45
|
Revision: 215 http://svn.sourceforge.net/japi/?rev=215&view=rev Author: christianhujer Date: 2006-11-26 09:11:44 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added IntelliJ IDEA module files. Added Paths: ----------- common/trunk/common.iml historic/trunk/historic.iml libs/argparser/trunk/argparser-examples.iml libs/argparser/trunk/libs-argparser.iml libs/finance/trunk/libs-finance.iml libs/logging/trunk/libs-logging.iml libs/swing-action/trunk/libs-swing-action.iml libs/swing-bookmarks/trunk/libs-swing-bookmarks.iml libs/swing-extlib/trunk/libs-swing-extlib.iml libs/swing-font/trunk/libs-swing-font.iml libs/swing-keyprefs/trunk/libs-swing-keyprefs.iml libs/swing-misc/trunk/libs-swing-misc.iml libs/swing-prefs/trunk/libs-swing-prefs.iml libs/swing-proxyprefs/trunk/libs-swing-proxyprefs.iml libs/swing-recent/trunk/libs-swing-recent.iml libs/swing-tod/trunk/libs-swing-tod.iml libs/taglets/trunk/libs-taglets.iml libs/taglets/trunk/taglets.iml libs/util/trunk/libs-util.iml site/trunk/site.iml Added: common/trunk/common.iml =================================================================== --- common/trunk/common.iml (rev 0) +++ common/trunk/common.iml 2006-11-26 17:11:44 UTC (rev 215) @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + <LanguageOptions name="$TEMPLATE$"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="4" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="CSS"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="HTML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JAVA"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JSP"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JavaScript"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="Properties"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="XML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + </component> +</module> + Property changes on: common/trunk/common.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Added: historic/trunk/historic.iml =================================================================== --- historic/trunk/historic.iml (rev 0) +++ historic/trunk/historic.iml 2006-11-26 17:11:44 UTC (rev 215) @@ -0,0 +1,198 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/progs/jeduca/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/app" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/io/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/swing/action/basic/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/swing/action/fromScratch/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/swing/prefs/keys/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/doc/guide/swing/tod/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/tools/fonts/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/tools/jwget" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/tools/keystrokes/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/tools/prefs/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + <LanguageOptions name="$TEMPLATE$"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="4" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="CSS"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="HTML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JAVA"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JSP"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JavaScript"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="Properties"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="XML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + </component> +</module> + Property changes on: historic/trunk/historic.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Added: libs/argparser/trunk/argparser-examples.iml =================================================================== --- libs/argparser/trunk/argparser-examples.iml (rev 0) +++ libs/argparser/trunk/argparser-examples.iml 2006-11-26 17:11:44 UTC (rev 215) @@ -0,0 +1,190 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="DependecySynchronizer" /> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$/src/doc/examples"> + <sourceFolder url="file://$MODULE_DIR$/src/doc/examples" isTestSource="false" packagePrefix="examples" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module" module-name="argparser" /> + <orderEntry type="library" name="annotations" level="project" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + <LanguageOptions name="$TEMPLATE$"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="4" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="CSS"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="HTML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JAVA"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JSP"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JavaScript"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="Properties"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="XML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + </component> +</module> + Property changes on: libs/argparser/trunk/argparser-examples.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Added: libs/argparser/trunk/libs-argparser.iml =================================================================== --- libs/argparser/trunk/libs-argparser.iml (rev 0) +++ libs/argparser/trunk/libs-argparser.iml 2006-11-26 17:11:44 UTC (rev 215) @@ -0,0 +1,188 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/doc" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + <LanguageOptions name="$TEMPLATE$"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="4" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="CSS"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="HTML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JAVA"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JSP"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JavaScript"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="Properties"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="XML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + </component> +</module> + Property changes on: libs/argparser/trunk/libs-argparser.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Added: libs/finance/trunk/libs-finance.iml =================================================================== --- libs/finance/trunk/libs-finance.iml (rev 0) +++ libs/finance/trunk/libs-finance.iml 2006-11-26 17:11:44 UTC (rev 215) @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + <LanguageOptions name="$TEMPLATE$"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="4" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="CSS"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="HTML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JAVA"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JSP"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JavaScript"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="Properties"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="XML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + </component> +</module> + Property changes on: libs/finance/trunk/libs-finance.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Added: libs/logging/trunk/libs-logging.iml =================================================================== --- libs/logging/trunk/libs-logging.iml (rev 0) +++ libs/logging/trunk/libs-logging.iml 2006-11-26 17:11:44 UTC (rev 215) @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + <LanguageOptions name="$TEMPLATE$"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="4" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="CSS"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="HTML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JAVA"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JSP"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JavaScript"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="Properties"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="XML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + </component> +</module> + Property changes on: libs/logging/trunk/libs-logging.iml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Added: libs/swing-action/trunk/libs-swing-action.iml =================================================================== --- libs/swing-action/trunk/libs-swing-action.iml (rev 0) +++ libs/swing-action/trunk/libs-swing-action.iml 2006-11-26 17:11:44 UTC (rev 215) @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module version="4" relativePaths="true" type="JAVA_MODULE"> + <component name="ModuleRootManager" /> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntryProperties /> + </component> + <component name="copyright"> + <Base> + <setting name="state" value="2" /> + </Base> + <LanguageOptions name="$TEMPLATE$"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="4" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="CSS"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="HTML"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;today.year, Your Corporation. All Rights Reserved." /> + <option name="keyword" value="Copyright" /> + <option name="fileTypeOverride" value="2" /> + <option name="relativeBefore" value="true" /> + <option name="addBlankAfter" value="true" /> + <option name="fileLocation" value="1" /> + <option name="useAlternate" value="false" /> + </LanguageOptions> + <LanguageOptions name="JAVA"> + <option name="templateOptions"> + <value> + <option name="block" value="true" /> + <option name="separateBefore" value="false" /> + <option name="separateAfter" value="false" /> + <option name="prefixLines" value="true" /> + <option name="lenBefore" value="80" /> + <option name="lenAfter" value="80" /> + <option name="box" value="false" /> + <option name="filler" value=" " /> + </value> + </option> + <option name="notice" value="Copyright (c) &#36;... [truncated message content] |
From: <chr...@us...> - 2006-11-26 17:03:05
|
Revision: 214 http://svn.sourceforge.net/japi/?rev=214&view=rev Author: christianhujer Date: 2006-11-26 09:03:03 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Added (empty) source directories. Added Paths: ----------- common/trunk/src/ libs/finance/trunk/src/ libs/logging/trunk/src/ libs/swing-extlib/trunk/src/ libs/swing-recent/trunk/src/ libs/util/trunk/src/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 16:20:24
|
Revision: 213 http://svn.sourceforge.net/japi/?rev=213&view=rev Author: christianhujer Date: 2006-11-26 08:20:19 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Made swing-action compilable (added missing IconManager class). Modified Paths: -------------- libs/swing-action/trunk/src/net/sf/japi/swing/ActionFactory.java Added Paths: ----------- libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java Modified: libs/swing-action/trunk/src/net/sf/japi/swing/ActionFactory.java =================================================================== --- libs/swing-action/trunk/src/net/sf/japi/swing/ActionFactory.java 2006-11-26 15:54:27 UTC (rev 212) +++ libs/swing-action/trunk/src/net/sf/japi/swing/ActionFactory.java 2006-11-26 16:20:19 UTC (rev 213) @@ -24,6 +24,7 @@ import java.awt.event.ActionEvent; import java.lang.reflect.Field; import java.text.MessageFormat; +import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Map; @@ -31,7 +32,6 @@ import java.util.ResourceBundle; import static java.util.ResourceBundle.getBundle; import java.util.WeakHashMap; -import java.util.ArrayList; import java.util.prefs.Preferences; import static java.util.prefs.Preferences.userNodeForPackage; import javax.swing.AbstractAction; @@ -50,16 +50,16 @@ import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; +import javax.swing.JPopupMenu; import javax.swing.JToolBar; -import javax.swing.JPopupMenu; import static javax.swing.KeyStroke.getKeyStroke; -import org.jetbrains.annotations.NonNls; -import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; import static net.sf.japi.swing.IconManager.getDefaultIconManager; import static net.sf.japi.swing.ReflectionAction.REFLECTION_MESSAGE_PROVIDER; import static net.sf.japi.swing.ReflectionAction.REFLECTION_TARGET; import static net.sf.japi.swing.ToggleAction.REFLECTION_PROPERTY_NAME; +import org.jetbrains.annotations.NonNls; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; /** Class for creating and initializing {@link Action}s that are localized, user configurable and may invoke their final methods using Reflection; * also handles extremely much useful stuff for i18n/l10n. Added: libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java =================================================================== --- libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java (rev 0) +++ libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java 2006-11-26 16:20:19 UTC (rev 213) @@ -0,0 +1,137 @@ +package net.sf.japi.swing; + +import java.net.URL; +import java.security.AccessController; +import java.security.PrivilegedAction; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.WeakHashMap; +import javax.swing.Icon; +import javax.swing.ImageIcon; +import org.jetbrains.annotations.Nullable; + +/** Class to handle icons. + * Default size is 16. + * Instances must have an associated ClassLoader, otherwise several methods will not work properly but throw a NullPointerException instead. + * So if you do not provide a ClassLoader, be sure the class you provide has one, or if you use the no-arg constructor resp. the default instance, be + * sure the IconManager class itself was loaded with some ClassLoader other than <code>null</code>. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + * @todo this class should be refactored into a more generic version and accessible through ActionFactory? + * @todo it should be possible to initialize the paths through properties + */ +public final class IconManager { + + /** The default IconManager. */ + private static final IconManager DEFAULT_ICON_MANAGER = createDefaultIconManager(); + + /** Create the default IconManager. + * @return default IconManager + */ + private static IconManager createDefaultIconManager() { + final IconManager defaultIconManager = new IconManager(); + defaultIconManager.iconPaths.add("icons/"); + defaultIconManager.iconPaths.add("toolbarButtonGraphics/"); + return defaultIconManager; + } + + /** ClassLoader to get icons from, must not be null. */ + private final ClassLoader classLoader; + + /** The available sizes provided by this IconManager. */ + private final int[] availableSizes = { 16, 24 }; + + /** The icon cache. + * Key: short name for icon, which is likely to be used as a relative file name. + * Value: Icon + */ + private final Map<String,Icon> smallCache = new WeakHashMap<String,Icon>(); + + /** The paths to search icons in. */ + private final List<String> iconPaths = new ArrayList<String>(); + + /** Get the default IconManager. + * The ClassLoader in use is the classloader IconManager was loaded with, whatever classloader that was. + * @return default IconManaager + */ + public static IconManager getDefaultIconManager() { + return DEFAULT_ICON_MANAGER; + } + + /** Create a IconManager. + * Uses the IconManager's class loader. + * Only use this if you want to be independent of the global icon size settings. + * The recommended way to get a default IconManager instance is {#getDefaultIconManager()}. + */ + public IconManager() { + this(getContextClassLoader()); + //this(IconManager.class.getClassLoader()); + } + + private static ClassLoader getContextClassLoader() { + return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() { + public ClassLoader run() { + try { + return Thread.currentThread().getContextClassLoader(); + } catch (final SecurityException e) { + return getClass().getClassLoader(); + } + } + }); + } + + /** Create an IconManager. + * @param clazz Class to get ClassLoader for IconManager + */ + public IconManager(final Class<?> clazz) { + classLoader = clazz.getClassLoader(); + } + + /** Create an IconManager. + * @param cl ClassLoader to create IconManager for + */ + public IconManager(final ClassLoader cl) { + classLoader = cl; + } + + /** Return the available sizes for icons. + * @return available icon sizes + */ + public int[] getAvailableSizes() { + return availableSizes.clone(); + } + + /** Load an icon. + * @param s icon name, like "general/About" or "navigation/Forward" + * @return Icon for <var>s</var> + */ + @Nullable + public Icon getIcon(final String s) { + Icon icon = smallCache.get(s); + if (icon == null) { + URL url = null; + // Search the configured class loader + for (final Iterator<String> it = iconPaths.iterator(); url == null && it.hasNext();) { + final String path = it.next(); + final String iconPath = path + (path.endsWith("/") ? "" : "/") + s + ".gif"; + url = classLoader.getResource(iconPath); + } + if (url == null) { + // if searching the configured class loader failed, search the system class loader + for (final Iterator<String> it = iconPaths.iterator(); url == null && it.hasNext();) { + final String path = it.next(); + final String iconPath = path + (path.endsWith("/") ? "" : "/") + s + ".gif"; + url = ClassLoader.getSystemResource(iconPath); + } + } + if (url == null) { + return null; + } + icon = new ImageIcon(url); + smallCache.put(s, icon); + } + return icon; + } + +} // class IconManager Property changes on: libs/swing-action/trunk/src/net/sf/japi/swing/IconManager.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 15:54:30
|
Revision: 212 http://svn.sourceforge.net/japi/?rev=212&view=rev Author: christianhujer Date: 2006-11-26 07:54:27 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Removed unused IntelliJ project file. Removed Paths: ------------- libs/argparser/trunk/argparser.ipr Deleted: libs/argparser/trunk/argparser.ipr =================================================================== --- libs/argparser/trunk/argparser.ipr 2006-11-26 15:40:25 UTC (rev 211) +++ libs/argparser/trunk/argparser.ipr 2006-11-26 15:54:27 UTC (rev 212) @@ -1,699 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4" relativePaths="false"> - <component name="AntConfiguration"> - <defaultAnt bundledAnt="true" /> - </component> - <component name="BuildJarProjectSettings"> - <option name="BUILD_JARS_ON_MAKE" value="false" /> - </component> - <component name="CodeStyleProjectProfileManger"> - <option name="PROJECT_PROFILE" /> - <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" /> - </component> - <component name="CodeStyleSettingsManager"> - <option name="PER_PROJECT_SETTINGS" /> - <option name="USE_PER_PROJECT_SETTINGS" value="false" /> - </component> - <component name="CompilerConfiguration"> - <option name="DEFAULT_COMPILER" value="Javac" /> - <option name="DEPLOY_AFTER_MAKE" value="0" /> - <resourceExtensions> - <entry name=".+\.(properties|xml|html|dtd|tld)" /> - <entry name=".+\.(gif|png|jpeg|jpg)" /> - </resourceExtensions> - <wildcardResourcePatterns> - <entry name="?*.properties" /> - <entry name="?*.xml" /> - <entry name="?*.gif" /> - <entry name="?*.png" /> - <entry name="?*.jpeg" /> - <entry name="?*.jpg" /> - <entry name="?*.html" /> - <entry name="?*.dtd" /> - <entry name="?*.tld" /> - <entry name="?*.properties" /> - <entry name="?*.xml" /> - <entry name="?*.html" /> - <entry name="?*.dtd" /> - <entry name="?*.tld" /> - <entry name="?*.gif" /> - <entry name="?*.png" /> - <entry name="?*.jpeg" /> - <entry name="?*.jpg" /> - </wildcardResourcePatterns> - </component> - <component name="DataSourceManagerImpl" /> - <component name="DependenciesAnalyzeManager"> - <option name="myForwardDirection" value="false" /> - </component> - <component name="DependencyValidationManager" /> - <component name="EclipseCompilerSettings"> - <option name="DEBUGGING_INFO" value="true" /> - <option name="GENERATE_NO_WARNINGS" value="true" /> - <option name="DEPRECATION" value="false" /> - <option name="ADDITIONAL_OPTIONS_STRING" value="" /> - <option name="MAXIMUM_HEAP_SIZE" value="128" /> - </component> - <component name="EclipseEmbeddedCompilerSettings"> - <option name="DEBUGGING_INFO" value="true" /> - <option name="GENERATE_NO_WARNINGS" value="true" /> - <option name="DEPRECATION" value="false" /> - <option name="ADDITIONAL_OPTIONS_STRING" value="" /> - <option name="MAXIMUM_HEAP_SIZE" value="128" /> - </component> - <component name="EntryPointsManager"> - <entry_points /> - </component> - <component name="ExportToHTMLSettings"> - <option name="PRINT_LINE_NUMBERS" value="false" /> - <option name="OPEN_IN_BROWSER" value="false" /> - <option name="OUTPUT_DIRECTORY" /> - </component> - <component name="GUI Designer component loader factory" /> - <component name="IdProvider" IDEtalkID="ED349DBC49AC650043B9D99F1B6300AE" /> - <component name="InspectionProjectProfileManager"> - <option name="PROJECT_PROFILE" value="Project Default" /> - <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" /> - <scopes /> - <profiles> - <profile version="1.0" is_locked="false"> - <option name="myName" value="Project Default" /> - <option name="myLocal" value="false" /> - <used_levels> - <error> - <option name="myName" value="ERROR" /> - <option name="myVal" value="400" /> - </error> - <warning> - <option name="myName" value="WARNING" /> - <option name="myVal" value="300" /> - </warning> - <information> - <option name="myName" value="INFO" /> - <option name="myVal" value="200" /> - </information> - <server> - <option name="myName" value="SERVER PROBLEM" /> - <option name="myVal" value="100" /> - </server> - </used_levels> - <inspection_tool class="InstanceofChain" level="WARNING" enabled="true" /> - <inspection_tool class="ClassReferencesSubclass" level="WARNING" enabled="true" /> - <inspection_tool class="DeclareCollectionAsInterface" level="WARNING" enabled="true"> - <option name="ignoreLocalVariables" value="false" /> - <option name="ignorePrivateMethodsAndFields" value="false" /> - </inspection_tool> - <inspection_tool class="FeatureEnvy" level="WARNING" enabled="true" /> - <inspection_tool class="InstanceofThis" level="WARNING" enabled="true" /> - <inspection_tool class="MagicNumber" level="WARNING" enabled="true"> - <option name="m_ignoreInHashCode" value="true" /> - </inspection_tool> - <inspection_tool class="OverlyStrongTypeCast" level="WARNING" enabled="true" /> - <inspection_tool class="MethodOnlyUsedFromInnerClass" level="WARNING" enabled="true"> - <option name="ignoreMethodsAccessedFromAnonymousClass" value="false" /> - </inspection_tool> - <inspection_tool class="StaticMethodOnlyUsedInOneClass" level="WARNING" enabled="true" /> - <inspection_tool class="ReplaceAssignmentWithOperatorAssignment" level="WARNING" enabled="true"> - <option name="ignoreLazyOperators" value="true" /> - <option name="ignoreObscureOperators" value="false" /> - </inspection_tool> - <inspection_tool class="AssignmentToForLoopParameter" level="WARNING" enabled="true"> - <option name="m_checkForeachParameters" value="false" /> - </inspection_tool> - <inspection_tool class="AssignmentToCatchBlockParameter" level="WARNING" enabled="true" /> - <inspection_tool class="AssignmentToMethodParameter" level="WARNING" enabled="true"> - <option name="ignoreTransformationOfOriginalParameter" value="false" /> - </inspection_tool> - <inspection_tool class="NestedAssignment" level="WARNING" enabled="true" /> - <inspection_tool class="IncrementDecrementUsedAsExpression" level="WARNING" enabled="true" /> - <inspection_tool class="AnonymousClassMethodCount" level="WARNING" enabled="true"> - <option name="m_limit" value="1" /> - </inspection_tool> - <inspection_tool class="ClassInheritanceDepth" level="WARNING" enabled="true"> - <option name="m_limit" value="2" /> - </inspection_tool> - <inspection_tool class="ConstructorCount" level="WARNING" enabled="true"> - <option name="m_limit" value="5" /> - </inspection_tool> - <inspection_tool class="FieldCount" level="WARNING" enabled="true"> - <option name="m_countConstantFields" value="false" /> - <option name="m_considerStaticFinalFieldsConstant" value="false" /> - <option name="m_limit" value="10" /> - </inspection_tool> - <inspection_tool class="MethodCount" level="WARNING" enabled="true"> - <option name="m_limit" value="20" /> - </inspection_tool> - <inspection_tool class="ClassNestingDepth" level="WARNING" enabled="true"> - <option name="m_limit" value="1" /> - </inspection_tool> - <inspection_tool class="AnonymousClassComplexity" level="WARNING" enabled="true"> - <option name="m_limit" value="3" /> - </inspection_tool> - <inspection_tool class="ClassComplexity" level="WARNING" enabled="true"> - <option name="m_limit" value="80" /> - </inspection_tool> - <inspection_tool class="ClassCoupling" level="WARNING" enabled="true"> - <option name="m_includeJavaClasses" value="false" /> - <option name="m_includeLibraryClasses" value="false" /> - <option name="m_limit" value="15" /> - </inspection_tool> - <inspection_tool class="ThrowablePrintStackTrace" level="WARNING" enabled="true" /> - <inspection_tool class="ThreadDumpStack" level="WARNING" enabled="true" /> - <inspection_tool class="ObsoleteCollection" level="WARNING" enabled="true" /> - <inspection_tool class="SystemOutErr" level="WARNING" enabled="true" /> - <inspection_tool class="UseOfAnotherObjectsPrivateField" level="WARNING" enabled="true" /> - <inspection_tool class="AssignmentToCollectionFieldFromParameter" level="WARNING" enabled="true"> - <option name="ignorePrivateMethods" value="true" /> - </inspection_tool> - <inspection_tool class="AssignmentToDateFieldFromParameter" level="WARNING" enabled="true"> - <option name="ignorePrivateMethods" value="true" /> - </inspection_tool> - <inspection_tool class="PackageVisibleField" level="WARNING" enabled="true" /> - <inspection_tool class="PackageVisibleInnerClass" level="WARNING" enabled="true" /> - <inspection_tool class="ProtectedField" level="WARNING" enabled="true" /> - <inspection_tool class="ProtectedInnerClass" level="WARNING" enabled="true" /> - <inspection_tool class="PublicField" level="WARNING" enabled="true" /> - <inspection_tool class="PublicInnerClass" level="WARNING" enabled="true" /> - <inspection_tool class="ReturnOfCollectionField" level="WARNING" enabled="true"> - <option name="ignorePrivateMethods" value="true" /> - </inspection_tool> - <inspection_tool class="ReturnOfDateField" level="WARNING" enabled="true" /> - <inspection_tool class="OnDemandImport" level="WARNING" enabled="true" /> - <inspection_tool class="SamePackageImport" level="WARNING" enabled="true" /> - <inspection_tool class="JavaLangImport" level="WARNING" enabled="true" /> - <inspection_tool class="RedundantImport" level="WARNING" enabled="true" /> - <inspection_tool class="UnusedImport" level="WARNING" enabled="true" /> - <inspection_tool class="AbstractMethodCallInConstructor" level="WARNING" enabled="true" /> - <inspection_tool class="InstanceVariableUninitializedUse" level="WARNING" enabled="true"> - <option name="m_ignorePrimitives" value="false" /> - </inspection_tool> - <inspection_tool class="NonFinalStaticVariableUsedInClassInitialization" level="WARNING" enabled="true" /> - <inspection_tool class="OverridableMethodCallInConstructor" level="WARNING" enabled="true" /> - <inspection_tool class="OverriddenMethodCallInConstructor" level="WARNING" enabled="true" /> - <inspection_tool class="StaticVariableInitialization" level="WARNING" enabled="true"> - <option name="m_ignorePrimitives" value="false" /> - </inspection_tool> - <inspection_tool class="StaticVariableUninitializedUse" level="WARNING" enabled="true"> - <option name="m_ignorePrimitives" value="false" /> - </inspection_tool> - <inspection_tool class="ThisEscapedInConstructor" level="WARNING" enabled="true" /> - <inspection_tool class="NonThreadSafeLazyInitialization" level="WARNING" enabled="true" /> - <inspection_tool class="AssertAsName" level="WARNING" enabled="true" /> - <inspection_tool class="EnumAsName" level="WARNING" enabled="true" /> - <inspection_tool class="ClassWithoutConstructor" level="WARNING" enabled="true" /> - <inspection_tool class="FieldHasSetterButNoGetter" level="WARNING" enabled="true" /> - <inspection_tool class="JUnitAbstractTestClassNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z][A-Za-z\d]*TestCase" /> - <option name="m_minLength" value="12" /> - <option name="m_maxLength" value="64" /> - </inspection_tool> - <inspection_tool class="TestCaseWithNoTestMethods" level="WARNING" enabled="true" /> - <inspection_tool class="JUnitTestClassNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z][A-Za-z\d]*Test" /> - <option name="m_minLength" value="8" /> - <option name="m_maxLength" value="64" /> - </inspection_tool> - <inspection_tool class="TestMethodWithoutAssertion" level="WARNING" enabled="true" /> - <inspection_tool class="TestCaseInProductCode" level="WARNING" enabled="true" /> - <inspection_tool class="TestCaseWithConstructor" level="WARNING" enabled="true" /> - <inspection_tool class="BeforeOrAfterIsPublicVoidNoArg" level="WARNING" enabled="true" /> - <inspection_tool class="BeforeClassOrAfterClassIsPublicStaticVoidNoArg" level="WARNING" enabled="true" /> - <inspection_tool class="AssertsWithoutMessages" level="WARNING" enabled="true" /> - <inspection_tool class="MisorderedAssertEqualsParameters" level="WARNING" enabled="true" /> - <inspection_tool class="SetupCallsSuperSetup" level="WARNING" enabled="true" /> - <inspection_tool class="MisspelledSetUp" level="WARNING" enabled="true" /> - <inspection_tool class="SetupIsPublicVoidNoArg" level="WARNING" enabled="true" /> - <inspection_tool class="SimplifiableJUnitAssertion" level="WARNING" enabled="true" /> - <inspection_tool class="StaticSuite" level="WARNING" enabled="true" /> - <inspection_tool class="TeardownCallsSuperTeardown" level="WARNING" enabled="true" /> - <inspection_tool class="MisspelledTearDown" level="WARNING" enabled="true" /> - <inspection_tool class="TeardownIsPublicVoidNoArg" level="WARNING" enabled="true" /> - <inspection_tool class="TestMethodIsPublicVoidNoArg" level="WARNING" enabled="true" /> - <inspection_tool class="TestMethodInProductCode" level="WARNING" enabled="true" /> - <inspection_tool class="UnconstructableTestCase" level="WARNING" enabled="true" /> - <inspection_tool class="ClassWithMultipleLoggers" level="WARNING" enabled="true"> - <option name="loggerClassName" value="java.util.logging.Logger" /> - </inspection_tool> - <inspection_tool class="NonStaticFinalLogger" level="WARNING" enabled="true"> - <option name="loggerClassName" value="java.util.logging.Logger" /> - </inspection_tool> - <inspection_tool class="SystemGC" level="WARNING" enabled="true" /> - <inspection_tool class="StaticCollection" level="WARNING" enabled="true"> - <option name="m_ignoreWeakCollections" value="false" /> - </inspection_tool> - <inspection_tool class="StringBufferField" level="WARNING" enabled="true" /> - <inspection_tool class="ZeroLengthArrayInitialization" level="WARNING" enabled="true" /> - <inspection_tool class="ThreeNegationsPerMethod" level="WARNING" enabled="true"> - <option name="m_ignoreInEquals" value="true" /> - </inspection_tool> - <inspection_tool class="MethodWithMultipleLoops" level="WARNING" enabled="true" /> - <inspection_tool class="MultipleReturnPointsPerMethod" level="WARNING" enabled="true"> - <option name="m_limit" value="1" /> - </inspection_tool> - <inspection_tool class="ThrownExceptionsPerMethod" level="WARNING" enabled="true"> - <option name="m_limit" value="3" /> - </inspection_tool> - <inspection_tool class="ParametersPerMethod" level="WARNING" enabled="true"> - <option name="m_limit" value="5" /> - </inspection_tool> - <inspection_tool class="CyclomaticComplexity" level="WARNING" enabled="true"> - <option name="m_limit" value="10" /> - </inspection_tool> - <inspection_tool class="MethodCoupling" level="WARNING" enabled="true"> - <option name="m_includeJavaClasses" value="false" /> - <option name="m_includeLibraryClasses" value="false" /> - <option name="m_limit" value="10" /> - </inspection_tool> - <inspection_tool class="NonCommentSourceStatements" level="WARNING" enabled="true"> - <option name="m_limit" value="30" /> - </inspection_tool> - <inspection_tool class="NestingDepth" level="WARNING" enabled="true"> - <option name="m_limit" value="5" /> - </inspection_tool> - <inspection_tool class="AnnotationNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z][A-Za-z\d]*" /> - <option name="m_minLength" value="8" /> - <option name="m_maxLength" value="64" /> - </inspection_tool> - <inspection_tool class="BooleanMethodNameMustStartWithQuestion" level="WARNING" enabled="true"> - <option name="nameCheckString" value="is,can,has,should,could,will,shall,check,contains,equals,add,put,remove,startsWith,endsWith" /> - </inspection_tool> - <inspection_tool class="ClassNameSameAsAncestorName" level="WARNING" enabled="true" /> - <inspection_tool class="ClassNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z][A-Za-z\d]*" /> - <option name="m_minLength" value="8" /> - <option name="m_maxLength" value="64" /> - </inspection_tool> - <inspection_tool class="ConfusingMainMethod" level="WARNING" enabled="true" /> - <inspection_tool class="ConstantNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z_\d]*" /> - <option name="m_minLength" value="5" /> - <option name="m_maxLength" value="32" /> - </inspection_tool> - <inspection_tool class="EnumeratedClassNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z][A-Za-z\d]*" /> - <option name="m_minLength" value="4" /> - <option name="m_maxLength" value="64" /> - </inspection_tool> - <inspection_tool class="EnumeratedConstantNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z][_A-Za-z\d]*" /> - <option name="m_minLength" value="5" /> - <option name="m_maxLength" value="32" /> - </inspection_tool> - <inspection_tool class="ExceptionNameDoesntEndWithException" level="WARNING" enabled="true" /> - <inspection_tool class="InstanceMethodNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[a-z][A-Za-z\d]*" /> - <option name="m_minLength" value="4" /> - <option name="m_maxLength" value="32" /> - </inspection_tool> - <inspection_tool class="InstanceVariableNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[a-z][A-Za-z\d]*" /> - <option name="m_minLength" value="5" /> - <option name="m_maxLength" value="32" /> - </inspection_tool> - <inspection_tool class="InterfaceNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z][A-Za-z\d]*" /> - <option name="m_minLength" value="4" /> - <option name="m_maxLength" value="64" /> - </inspection_tool> - <inspection_tool class="LocalVariableNamingConvention" level="WARNING" enabled="true"> - <option name="m_ignoreForLoopParameters" value="false" /> - <option name="m_ignoreCatchParameters" value="false" /> - <option name="m_regex" value="[a-z][A-Za-z\d]*" /> - <option name="m_minLength" value="1" /> - <option name="m_maxLength" value="20" /> - </inspection_tool> - <inspection_tool class="MethodNameSameAsClassName" level="WARNING" enabled="true" /> - <inspection_tool class="MethodNameSameAsParentName" level="WARNING" enabled="true" /> - <inspection_tool class="MethodNamesDifferOnlyByCase" level="WARNING" enabled="true" /> - <inspection_tool class="ParameterNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[a-z][A-Za-z\d]*" /> - <option name="m_minLength" value="1" /> - <option name="m_maxLength" value="20" /> - </inspection_tool> - <inspection_tool class="NonBooleanMethodNameMayNotStartWithQuestion" level="WARNING" enabled="true"> - <option name="nameCheckString" value="is,can,has,should,could,will,shall,check,contains,equals,startsWith,endsWith" /> - </inspection_tool> - <inspection_tool class="UpperCaseFieldNameNotConstant" level="WARNING" enabled="true" /> - <inspection_tool class="NonExceptionNameEndsWithException" level="WARNING" enabled="true" /> - <inspection_tool class="OverloadedMethodsWithSameNumberOfParameters" level="WARNING" enabled="true" /> - <inspection_tool class="OverloadedVarargsMethod" level="WARNING" enabled="true" /> - <inspection_tool class="ParameterNameDiffersFromOverriddenParameter" level="WARNING" enabled="true"> - <option name="m_ignoreSingleCharacterNames" value="false" /> - <option name="m_ignoreOverridesOfLibraryMethods" value="false" /> - </inspection_tool> - <inspection_tool class="QuestionableName" level="WARNING" enabled="true"> - <option name="nameCheckString" value="foo,bar,baz" /> - </inspection_tool> - <inspection_tool class="StandardVariableNames" level="WARNING" enabled="true" /> - <inspection_tool class="StaticMethodNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[a-z][A-Za-z\d]*" /> - <option name="m_minLength" value="4" /> - <option name="m_maxLength" value="32" /> - </inspection_tool> - <inspection_tool class="StaticVariableNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="s_[a-z][A-Za-z\d]*" /> - <option name="m_minLength" value="5" /> - <option name="m_maxLength" value="32" /> - </inspection_tool> - <inspection_tool class="TypeParameterNamingConvention" level="WARNING" enabled="true"> - <option name="m_regex" value="[A-Z\d]" /> - <option name="m_minLength" value="1" /> - <option name="m_maxLength" value="1" /> - </inspection_tool> - <inspection_tool class="DollarSignInName" level="WARNING" enabled="true" /> - <inspection_tool class="RuntimeExec" level="WARNING" enabled="true" /> - <inspection_tool class="SystemExit" level="WARNING" enabled="true" /> - <inspection_tool class="SystemGetenv" level="WARNING" enabled="true" /> - <inspection_tool class="HardcodedFileSeparators" level="WARNING" enabled="true" /> - <inspection_tool class="NativeMethods" level="WARNING" enabled="true" /> - <inspection_tool class="UseOfAWTPeerClass" level="WARNING" enabled="true" /> - <inspection_tool class="UseOfJDBCDriverClass" level="WARNING" enabled="true" /> - <inspection_tool class="UseOfProcessBuilder" level="WARNING" enabled="true" /> - <inspection_tool class="UseOfSunClasses" level="WARNING" enabled="true" /> - <inspection_tool class="ChannelResource" level="WARNING" enabled="true" /> - <inspection_tool class="HibernateResource" level="WARNING" enabled="true" /> - <inspection_tool class="IOResource" level="WARNING" enabled="true" /> - <inspection_tool class="JDBCResource" level="WARNING" enabled="true" /> - <inspection_tool class="JNDIResource" level="WARNING" enabled="true" /> - <inspection_tool class="SocketResource" level="WARNING" enabled="true" /> - <inspection_tool class="DriverManagerGetConnection" level="WARNING" enabled="true" /> - <inspection_tool class="SystemProperties" level="WARNING" enabled="true" /> - <inspection_tool class="JDBCPrepareStatementWithNonConstantString" level="WARNING" enabled="true" /> - <inspection_tool class="RuntimeExecWithNonConstantString" level="WARNING" enabled="true" /> - <inspection_tool class="JDBCExecuteWithNonConstantString" level="WARNING" enabled="true" /> - <inspection_tool class="LoadLibraryWithNonConstantString" level="WARNING" enabled="true" /> - <inspection_tool class="SystemSetSecurityManager" level="WARNING" enabled="true" /> - <inspection_tool class="ClassLoaderInstantiation" level="WARNING" enabled="true" /> - <inspection_tool class="CloneableClassInSecureContext" level="WARNING" enabled="true" /> - <inspection_tool class="CustomClassloader" level="WARNING" enabled="true" /> - <inspection_tool class="CustomSecurityManager" level="WARNING" enabled="true" /> - <inspection_tool class="NonFinalClone" level="WARNING" enabled="true" /> - <inspection_tool class="PublicStaticArrayField" level="WARNING" enabled="true" /> - <inspection_tool class="PublicStaticCollectionField" level="WARNING" enabled="true" /> - <inspection_tool class="UnsecureRandomNumberGeneration" level="WARNING" enabled="true" /> - <inspection_tool class="ExternalizableWithSerializationMethods" level="WARNING" enabled="true" /> - <inspection_tool class="ReadObjectInitialization" level="WARNING" enabled="true" /> - <inspection_tool class="NonSerializableWithSerializationMethods" level="WARNING" enabled="true" /> - <inspection_tool class="NonSerializableWithSerialVersionUIDField" level="WARNING" enabled="true" /> - <inspection_tool class="NonSerializableFieldInSerializableClass" level="WARNING" enabled="true" /> - <inspection_tool class="NonSerializableObjectBoundToHttpSession" level="WARNING" enabled="true" /> - <inspection_tool class="NonSerializableObjectPassedToObjectStream" level="WARNING" enabled="true" /> - <inspection_tool class="ReadObjectAndWriteObjectPrivate" level="WARNING" enabled="true" /> - <inspection_tool class="ReadResolveAndWriteReplaceProtected" level="WARNING" enabled="true" /> - <inspection_tool class="SerializableWithUnconstructableAncestor" level="WARNING" enabled="true" /> - <inspection_tool class="SerializableHasSerializationMethods" level="WARNING" enabled="true"> - <option name="m_ignoreSerializableDueToInheritance" value="true" /> - </inspection_tool> - <inspection_tool class="SerializableHasSerialVersionUIDField" level="WARNING" enabled="true"> - <option name="m_ignoreSerializableDueToInheritance" value="true" /> - </inspection_tool> - <inspection_tool class="SerializableInnerClassHasSerialVersionUIDField" level="WARNING" enabled="true"> - <option name="m_ignoreSerializableDueToInheritance" value="true" /> - </inspection_tool> - <inspection_tool class="SerializableInnerClassWithNonSerializableOuterClass" level="WARNING" enabled="true"> - <option name="m_ignoreSerializableDueToInheritance" value="true" /> - </inspection_tool> - <inspection_tool class="SerialPersistentFieldsWithWrongSignature" level="WARNING" enabled="true" /> - <inspection_tool class="SerialVersionUIDNotStaticFinal" level="WARNING" enabled="true" /> - <inspection_tool class="TransientFieldInNonSerializableClass" level="WARNING" enabled="true" /> - <inspection_tool class="ClassEscapesItsScope" level="WARNING" enabled="true" /> - <inspection_tool class="FieldHidesSuperclassField" level="WARNING" enabled="true"> - <option name="m_ignoreInvisibleFields" value="true" /> - </inspection_tool> - <inspection_tool class="InnerClassVariableHidesOuterClassVariable" level="WARNING" enabled="true"> - <option name="m_ignoreInvisibleFields" value="true" /> - </inspection_tool> - <inspection_tool class="LocalVariableHidingMemberVariable" level="WARNING" enabled="true"> - <option name="m_ignoreInvisibleFields" value="true" /> - <option name="m_ignoreStaticMethods" value="true" /> - </inspection_tool> - <inspection_tool class="MethodOverloadsParentMethod" level="WARNING" enabled="true" /> - <inspection_tool class="MethodOverridesPackageLocalMethod" level="WARNING" enabled="true" /> - <inspection_tool class="MethodOverridesPrivateMethod" level="WARNING" enabled="true" /> - <inspection_tool class="MethodOverridesStaticMethod" level="WARNING" enabled="true" /> - <inspection_tool class="ParameterHidingMemberVariable" level="WARNING" enabled="true"> - <option name="m_ignoreInvisibleFields" value="true" /> - <option name="m_ignoreStaticMethodParametersHidingInstanceFields" value="true" /> - <option name="m_ignoreForConstructors" value="true" /> - <option name="m_ignoreForPropertySetters" value="true" /> - <option name="m_ignoreForAbstractMethods" value="true" /> - </inspection_tool> - <inspection_tool class="TypeParameterHidesVisibleType" level="WARNING" enabled="true" /> - <inspection_tool class="JavaDoc" level="WARNING" enabled="true"> - <option name="TOP_LEVEL_CLASS_OPTIONS"> - <value> - <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" /> - <option name="REQUIRED_TAGS" value="" /> - </value> - </option> - <option name="INNER_CLASS_OPTIONS"> - <value> - <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" /> - <option name="REQUIRED_TAGS" value="" /> - </value> - </option> - <option name="METHOD_OPTIONS"> - <value> - <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" /> - <option name="REQUIRED_TAGS" value="@return@param@throws or @exception" /> - </value> - </option> - <option name="FIELD_OPTIONS"> - <value> - <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" /> - <option name="REQUIRED_TAGS" value="" /> - </value> - </option> - <option name="IGNORE_DEPRECATED" value="false" /> - <option name="IGNORE_JAVADOC_PERIOD" value="true" /> - <option name="myAdditionalJavadocTags" value="note,warning,todo,invariant,retval" /> - </inspection_tool> - </profile> - </profiles> - </component> - <component name="JavacSettings"> - <option name="DEBUGGING_INFO" value="true" /> - <option name="GENERATE_NO_WARNINGS" value="false" /> - <option name="DEPRECATION" value="true" /> - <option name="ADDITIONAL_OPTIONS_STRING" value="" /> - <option name="MAXIMUM_HEAP_SIZE" value="128" /> - </component> - <component name="JavadocGenerationManager"> - <option name="OUTPUT_DIRECTORY" /> - <option name="OPTION_SCOPE" value="protected" /> - <option name="OPTION_HIERARCHY" value="true" /> - <option name="OPTION_NAVIGATOR" value="true" /> - <option name="OPTION_INDEX" value="true" /> - <option name="OPTION_SEPARATE_INDEX" value="true" /> - <option name="OPTION_DOCUMENT_TAG_USE" value="false" /> - <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" /> - <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" /> - <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" /> - <option name="OPTION_DEPRECATED_LIST" value="true" /> - <option name="OTHER_OPTIONS" value="" /> - <option name="HEAP_SIZE" /> - <option name="LOCALE" /> - <option name="OPEN_IN_BROWSER" value="true" /> - </component> - <component name="JikesSettings"> - <option name="JIKES_PATH" value="" /> - <option name="DEBUGGING_INFO" value="true" /> - <option name="DEPRECATION" value="true" /> - <option name="GENERATE_NO_WARNINGS" value="false" /> - <option name="IS_EMACS_ERRORS_MODE" value="true" /> - <option name="ADDITIONAL_OPTIONS_STRING" value="" /> - </component> - <component name="LogConsolePreferences"> - <option name="FILTER_ERRORS" value="false" /> - <option name="FILTER_WARNINGS" value="false" /> - <option name="FILTER_INFO" value="true" /> - <option name="CUSTOM_FILTER" /> - </component> - <component name="Monitor.Log4jWindowPlugin" /> - <component name="Palette2"> - <group name="Swing"> - <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> - </item> - <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> - </item> - <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> - </item> - <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> - <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> - </item> - <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> - <initial-values> - <property name="text" value="Button" /> - </initial-values> - </item> - <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> - <initial-values> - <property name="text" value="RadioButton" /> - </initial-values> - </item> - <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> - <initial-values> - <property name="text" value="CheckBox" /> - </initial-values> - </item> - <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> - <initial-values> - <property name="text" value="Label" /> - </initial-values> - </item> - <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> - <preferred-size width="150" height="-1" /> - </default-constraints> - </item> - <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> - <preferred-size width="150" height="-1" /> - </default-constraints> - </item> - <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> - <preferred-size width="150" height="-1" /> - </default-constraints> - </item> - <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> - </item> - <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> - <preferred-size width="200" height="200" /> - </default-constraints> - </item> - <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> - <preferred-size width="200" height="200" /> - </default-constraints> - </item> - <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> - </item> - <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> - </item> - <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> - </item> - <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> - </item> - <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> - <preferred-size width="-1" height="20" /> - </default-constraints> - </item> - <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> - </item> - <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> - </item> - </group> - </component> - <component name="ProjectModuleManager"> - <modules> - <module fileurl="file://$PROJECT_DIR$/argparser.iml" filepath="$PROJECT_DIR$/argparser.iml" /> - <module fileurl="file://$PROJECT_DIR$/argparser-examples.iml" filepath="$PROJECT_DIR$/argparser-examples.iml" /> - </modules> - </component> - <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true" project-jdk-name="1.5" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/ideaclasses" /> - </component> - <component name="ProjectRunConfigurationManager" /> - <component name="RmicSettings"> - <option name="IS_EANABLED" value="false" /> - <option name="DEBUGGING_INFO" value="true" /> - <option name="GENERATE_NO_WARNINGS" value="false" /> - <option name="GENERATE_IIOP_STUBS" value="false" /> - <option name="ADDITIONAL_OPTIONS_STRING" value="" /> - </component> - <component name="StarteamVcsAdapter" /> - <component name="VssVcs" /> - <component name="XSLT-Support.FileAssociationsManager" /> - <component name="com.intellij.jsf.UserDefinedFacesConfigs"> - <option name="USER_DEFINED_CONFIGS"> - <value> - <list size="0" /> - </value> - </option> - </component> - <component name="com.sixrr.metrics.MetricsReloaded"> - <option name="selectedProfile" value="Default" /> - <option name="autoscroll" value="false" /> - <option name="calculateMetrics" value="true" /> - <option name="includeTestClasses" value="false" /> - <option name="flattenInnerClasses" value="true" /> - <option name="cycleTableSpecificationString" value="" /> - <option name="shortCycleTableSpecificationString" value="" /> - </component> - <component name="copyright"> - <Base> - <setting name="state" value="2" /> - </Base> - </component> - <component name="libraryTable"> - <library name="annotations"> - <CLASSES> - <root url="jar://$PROJECT_DIR$/lib/annotations.jar!/" /> - </CLASSES> - <JAVADOC /> - <SOURCES /> - </library> - <library name="junit"> - <CLASSES> - <root url="jar://$PROJECT_DIR$/lib/junit.jar!/" /> - </CLASSES> - <JAVADOC /> - <SOURCES /> - </library> - </component> - <component name="uidesigner-configuration"> - <option name="INSTRUMENT_CLASSES" value="true" /> - <option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" /> - <option name="DEFAULT_LAYOUT_MANAGER" value="GridLayoutManager" /> - </component> - <UsedPathMacros /> -</project> - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 15:40:26
|
Revision: 211 http://svn.sourceforge.net/japi/?rev=211&view=rev Author: christianhujer Date: 2006-11-26 07:40:25 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Started with converter registry, added string converter. Modified Paths: -------------- libs/argparser/trunk/src/net/sf/japi/io/args/ArgParser.java Added Paths: ----------- libs/argparser/trunk/src/net/sf/japi/io/args/converter/ConverterRegistry.java libs/argparser/trunk/src/net/sf/japi/io/args/converter/StringConverter.java Modified: libs/argparser/trunk/src/net/sf/japi/io/args/ArgParser.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/ArgParser.java 2006-11-26 15:38:11 UTC (rev 210) +++ libs/argparser/trunk/src/net/sf/japi/io/args/ArgParser.java 2006-11-26 15:40:25 UTC (rev 211) @@ -24,6 +24,7 @@ import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.*; +import java.io.Closeable; /** * Parser for command line arguments. @@ -52,6 +53,9 @@ /** The currently used option. */ private String currentOption; + /** The list of opened streams. */ + private final List<Closeable> openedStreams = new ArrayList<Closeable>(); + /** * Create a new ArgParser. * This ArgParser uses {@link System#in}, {@link System#out} and {@link System#err}. Added: libs/argparser/trunk/src/net/sf/japi/io/args/converter/ConverterRegistry.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/ConverterRegistry.java (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/ConverterRegistry.java 2006-11-26 15:40:25 UTC (rev 211) @@ -0,0 +1,83 @@ +package net.sf.japi.io.args.converter; + +import java.util.Map; +import java.util.HashMap; +import java.util.Enumeration; +import java.net.URL; +import java.io.IOException; + +/** + * Registry for Converters. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public class ConverterRegistry { + + /** Singleton instance. */ + private static final ConverterRegistry instance = createSingletonInstance(); + + /** Map for converters. */ + private final Map<Class<?>, Converter<?>> converters = new HashMap<Class<?>, Converter<?>>(); + + /** + * Creates a ConverterRegistry. + * Usually you want a shared global ConverterRegistry and use {@link #getInstance()} instead of creating your own ConverterRegistry instance. + * @see #getInstance() + */ + public ConverterRegistry() { + } + + /** + * Creates the global shared instance of ConverterRegistry. + * @return The global shared instance of ConverterRegistry. + */ + private static ConverterRegistry createSingletonInstance() { + final ConverterRegistry instance = new ConverterRegistry(); + try { + for (final Enumeration<URL> urls = ConverterRegistry.class.getClassLoader().getResources("META-INF/services/net.sf.japi.io.args.ConverterRegistry"); urls.hasMoreElements() ; ) { + final URL url = urls.nextElement(); + // TODO + } + } catch (final IOException e) { + // TODO + e.printStackTrace(); + } + return instance; + } + + /** + * Returns the global shared instance of ConverterRegistry. + * @return The global shared instance of ConverterRegistry. + */ + public static ConverterRegistry getInstance() { + return instance; + } + + /** + * Get the Converter for a specific class. + * @param clazz Class to get Converter for. + * @return <code>null</code> if no suited converter was found. + */ + public <T> Converter<T> getConverter(final Class<T> clazz) { + return (Converter<T>) converters.get(clazz); + } + + /** + * Register a Converter for a specific class. + * @param clazz Class Class to register converter for + * @param converter Converter to register + */ + public <T> void register(final Class<T> clazz, final Converter<T> converter) { + converters.put(clazz, converter); + for (Class<?> superClass = clazz; (superClass = superClass.getSuperclass()) != null;) { + if (!converters.containsKey(superClass)) { + converters.put(superClass, converter); + } + } + for (final Class<?> interf : clazz.getInterfaces()) { + if (!converters.containsKey(interf)) { + converters.put(interf, converter); + } + } + } + +} // class ConverterRegistry Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/converter/ConverterRegistry.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/argparser/trunk/src/net/sf/japi/io/args/converter/StringConverter.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/StringConverter.java (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/StringConverter.java 2006-11-26 15:40:25 UTC (rev 211) @@ -0,0 +1,14 @@ +package net.sf.japi.io.args.converter; + +/** + * Dummy Converter which "converts" a String into a String by simply returning it. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public class StringConverter implements Converter<String> { + + /** {@inheritDoc} */ + public String convert(final String arg) throws Exception { + return arg; + } + +} // class StringConverter Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/converter/StringConverter.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-26 15:38:15
|
Revision: 210 http://svn.sourceforge.net/japi/?rev=210&view=rev Author: christianhujer Date: 2006-11-26 07:38:11 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Started with new site module. Added Paths: ----------- site/trunk/src/ site/trunk/src/doc/ site/trunk/src/doc/start.xhtml Copied: site/trunk/src/doc/start.xhtml (from rev 181, historic/trunk/src/doc/start.xhtml) =================================================================== --- site/trunk/src/doc/start.xhtml (rev 0) +++ site/trunk/src/doc/start.xhtml 2006-11-26 15:38:11 UTC (rev 210) @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Id: start.xhtml,v 1.12 2006/03/29 22:20:33 christianhujer Exp $ --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> + <head> + <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> + <meta name="Date" content="$Date$" /> + <meta name="keywords" content="JAPI, Java, Swing, Java API, API, i18n, l10n, internationalization, localization, prefs, preferences" /> + <meta name="description" content="JAPI is a Java API intended to make Swing programming more efficient, especially in the fields of UI creation and actions, internationalization, localization and perferences dialogs." /> + <link rel="alternate" type="application/rss+xml" title="Project news releases" href="http://sourceforge.net/export/rss2_projnews.php?group_id=149894" /> + <link rel="alternate" type="application/rss+xml" title="Project news releases (including full text of news items)" href="http://sourceforge.net/export/rss2_projnews.php?group_id=149894&rss_fulltext=1" /> + <link rel="alternate" type="application/rss+xml" title="Project file releases" href="http://sourceforge.net/export/rss2_projfiles.php?group_id=149894" /> + <link rel="alternate" type="application/rss+xml" title="Project documentation (DocManager) updates" href="http://sourceforge.net/export/rss2_projdocs.php?group_id=149894" /> + <link rel="alternate" type="application/rss+xml" title="Project summary (including basic statistics)" href="http://sourceforge.net/export/rss2_projdocs.php?group_id=149894" /> + <title>JAPI - (Yet another (hopefully) useful) Java API</title> + </head> + <body> + <p> + (Yet another (hopefully) useful) Java API. Latest release version: <strong>0.9.0</strong> + </p> + <h2>What is JAPI?</h2> + <p> + JAPI is a set of Java API extension libraries intended to make life easier for Java application developers. + Currently it is targetted on normal Desktop Java (J2SE). + JAPI helps you writing <em>internationalized</em> and <em>localized Swing</em> applications with <em>very little effort</em> and very efficient event handling code. + Additionally it contains some useful classes about I/O and XML. + Note: JAPI requires <em>J2SE 5.0</em> or later. + </p> + <h2>News</h2> + <p> + JAPI gets additions for financial calculations. + New project member z0ra is adding some classes including unit tests to perform financial calculations with JAPI. + </p> + <h2>Download JAPI</h2> + <p> + To <em>download JAPI</em>, go to the <a href="http://sourceforge.net/project/showfiles.php?group_id=149894">Files section of the JAPI Project Page</a>, choose the desired package, release and file type and download it from a mirror of your choice. + </p> + <h2>Documentation</h2> + <ul> + <li><a href="guide/">Guide to JAPI</a> - Find out how JAPI helps developing Swing applications.</li> + <li>Latest <a href="api/">API documentation</a></li> + <li>Overview of <a href="changes">Changes to previous versions</a></li> + <li><a href="releasePlan">Release Plan</a></li> + <li><a href="wontFixes">Known flaws that won't be fixed</a></li> + <li><a href="subversion">Accessing JAPI's Subversion Repository</a></li> + <li><a href="changelog">Changelog</a></li> + <li><a href="tasks">Open Tasks</a> (for JAPI developers)</li> + </ul> + <h2>Contact the developers</h2> + <ul> + <li> + You may visit the <a href="http://sourceforge.net/projects/japi">JAPI Project Page at SourceForge</a> or send mail to <a href="mailto:ch...@ri...">ch...@ri...</a>. + </li> + <li> + You may as well join <a href="irc://irc.freenode.net:6667/%23japi">IRC Channel <code>#japi</code> at <code>irc.freenode.net</code></a> and look for Cher(istheus), z0ra or Zergus. + Currently <a href="http://gridarta.sourceforge.net/">Gridarta</a>, the map editor of the MMORPGs <a href="http://crossfire.real-time.com/">Crossfire</a> and <a href="http://www.daimonin.net/">Daimonin</a> is JAPI's main application. + </li> + </ul> + <h2>Links</h2> + <ul> + <li><a href="http://sourceforge.net/projects/japi/">JAPI SourceForge Project Page</a> (Forum, Bug Tracker, Feature Request Tracker, Web access to the CVS repository and more)</li> + <li><a href="http://freshmeat.net/projects/japi/">JAPI FreshMeat Project Page</a></li> + <li><a href="http://ohloh.net/projects/3320">JAPI Ohloh Project Page</a></li> + </ul> + </body> +</html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2006-11-25 14:20:53
|
Revision: 209 http://svn.sourceforge.net/japi/?rev=209&view=rev Author: christianhujer Date: 2006-11-25 06:20:52 -0800 (Sat, 25 Nov 2006) Log Message: ----------- Added Converter package. Added Paths: ----------- libs/argparser/trunk/src/net/sf/japi/io/args/converter/ libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java libs/argparser/trunk/src/net/sf/japi/io/args/converter/Converter.java libs/argparser/trunk/src/net/sf/japi/io/args/converter/InputStreamConverter.java libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html Added: libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java 2006-11-25 14:20:52 UTC (rev 209) @@ -0,0 +1,14 @@ +package net.sf.japi.io.args.converter; + +/** + * Converter which converts a String into a Boolean. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public class BooleanConverter implements Converter<Boolean> { + + /** {@inheritDoc} */ + public Boolean convert(final String arg) throws Exception { + return Boolean.valueOf(arg); + } + +} // class BooleanConverter Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/converter/BooleanConverter.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/argparser/trunk/src/net/sf/japi/io/args/converter/Converter.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/Converter.java (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/Converter.java 2006-11-25 14:20:52 UTC (rev 209) @@ -0,0 +1,17 @@ +package net.sf.japi.io.args.converter; + +/** + * The Converter interface is used for converters that convert Strings into other types. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public interface Converter<T> { + + /** + * Convert the given argument to the desired return type. + * @param arg Argument to convert + * @return Argument converted to T. + * @throws Exception In case of conversion failure. + */ + T convert(final String arg) throws Exception; + +} // interface Convert Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/converter/Converter.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/argparser/trunk/src/net/sf/japi/io/args/converter/InputStreamConverter.java =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/InputStreamConverter.java (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/InputStreamConverter.java 2006-11-25 14:20:52 UTC (rev 209) @@ -0,0 +1,24 @@ +package net.sf.japi.io.args.converter; + +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; + +/** + * Converter that converts a String into an InputStream. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +public class InputStreamConverter implements Converter<InputStream> { + + /** {@inheritDoc} */ + public InputStream convert(final String arg) throws FileNotFoundException { + try { + return new URL(arg).openStream(); + } catch (final IOException ignore) { + return new FileInputStream(arg); + } + } + +} // class InputStreamConverter Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/converter/InputStreamConverter.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + LF Added: libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html 2006-11-25 14:20:52 UTC (rev 209) @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- JAPI - (Yet another (hopefully) useful) Java API + - + - Copyright (C) 2004-2006 Christian Hujer + - + - This program is free software; you can redistribute it and/or + - modify it under the terms of the GNU General Public License as + - published by the Free Software Foundation; either version 2 of the + - License, or (at your option) any later version. + - + - This program is distributed in the hope that it will be useful, but + - WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + - General Public License for more details. + - + - You should have received a copy of the GNU General Public License + - along with this program; if not, write to the Free Software + - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + - 02111-1307, USA. + --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> + <head> + <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> + <meta name="Date" content="$Date: 2006-04-03 23:00:14 +0200 (Mon, 03 Apr 2006) $" /> + <title>net.sf.japi.io.args.converter</title> + </head> + <body> + <p> + The Converter package contains classes for automatic argument conversion. + For instance, a Command might simply want to read bytes from an InputStream. + The Converter package makes will convert the String into an InputStream then. + </p> + </body> +</html> Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html ___________________________________________________________________ Name: svn:mime-type + text/html Name: svn:eol-style + LF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |