[Japi-cvs] SF.net SVN: japi: [313] libs/argparser/trunk/src/net/sf/japi/io/args
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2007-01-18 20:36:51
|
Revision: 313 http://svn.sourceforge.net/japi/?rev=313&view=rev Author: christianhujer Date: 2007-01-18 12:36:41 -0800 (Thu, 18 Jan 2007) Log Message: ----------- Changed package.html to package-info.java Added Paths: ----------- libs/argparser/trunk/src/net/sf/japi/io/args/converter/package-info.java libs/argparser/trunk/src/net/sf/japi/io/args/package-info.java Removed Paths: ------------- libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html libs/argparser/trunk/src/net/sf/japi/io/args/package.html Copied: libs/argparser/trunk/src/net/sf/japi/io/args/converter/package-info.java (from rev 306, libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html) =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/package-info.java (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/package-info.java 2007-01-18 20:36:41 UTC (rev 313) @@ -0,0 +1,25 @@ +/* + * JAPI libs-argparser is a library for parsing command line arguments. + * Copyright (C) 2007 Christian Hujer. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +/** + * 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. + */ +package net.sf.japi.io.args.conveter; Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/converter/package-info.java ___________________________________________________________________ Name: svn:mime-type + text/html Name: svn:eol-style + LF Deleted: libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html 2007-01-18 18:44:02 UTC (rev 312) +++ libs/argparser/trunk/src/net/sf/japi/io/args/converter/package.html 2007-01-18 20:36:41 UTC (rev 313) @@ -1,35 +0,0 @@ -<?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> Copied: libs/argparser/trunk/src/net/sf/japi/io/args/package-info.java (from rev 306, libs/argparser/trunk/src/net/sf/japi/io/args/package.html) =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/package-info.java (rev 0) +++ libs/argparser/trunk/src/net/sf/japi/io/args/package-info.java 2007-01-18 20:36:41 UTC (rev 313) @@ -0,0 +1,46 @@ +/* + * JAPI libs-argparser is a library for parsing command line arguments. + * Copyright (C) 2007 Christian Hujer. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +/** + * ArgParser is a library for parsing command line arguments. + * <p/> + * It supports short options (e.g. <samp>-h</samp>) and long options (e.g. <samp>--help</samp>). + * <p/> + * If an option takes a parameter, the argument value may follow the option as separate argument. + * If the option is a long option, the value may alternatively be included in the argument string using the <code>'='</code>-character. + * For instance, if an option has short name <samp>i</samp> and long name <samp>in</samp> and the option takes a String argument, the following variants are possible: + * <samp>-i foo</samp>, <samp>--in foo</samp> and <samp>--in=foo</samp>. + * <p/> + * Short options may be given in the same String. + * For instance, if there are the short options <samp>v</samp>, <samp>i</samp> and <samp>s</samp>, all of them may be given together in a single String. + * That means the following variants are possible: + * <samp>-vis</samp>, <samp>-v -i -s</samp> and any combination of separated and concatenated versions like <samp>-v -is</samp>. + * If short options take argument values and they are concatenated, the argument values are separate strings following the concatenated option in exactly the order of the concatenated options. + * In <samp>-io foo bar</samp>, given that both, <samp>i</samp> and <samp>o</samp> take an argument value, <samp>foo</samp> is value for <samp>i</samp>, while <samp>bar</samp> is value for <samp>o</samp>. + * <p/> + * The special option <code>--</code> will stop argument parsing. + * All strings that follow the <code>--</code>-option are treated as command arguments, not options, even if they start with <code>-</code>. + * <p/> + * The ArgParser library is built upon the JavaBeans concept. + * A command is a JavaBean, the command's options are bean properties. + * Currently, the corresponding setter method needs to be marked as {@link Option}. + * In future it will be the underlying field. + * @author <a href="mailto:ch...@ri...">Christian Hujer</a> + */ +package net.sf.japi.io.args; Property changes on: libs/argparser/trunk/src/net/sf/japi/io/args/package-info.java ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + LF Deleted: libs/argparser/trunk/src/net/sf/japi/io/args/package.html =================================================================== --- libs/argparser/trunk/src/net/sf/japi/io/args/package.html 2007-01-18 18:44:02 UTC (rev 312) +++ libs/argparser/trunk/src/net/sf/japi/io/args/package.html 2007-01-18 20:36:41 UTC (rev 313) @@ -1,60 +0,0 @@ -<?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</title> - </head> - <body> - <p> - ArgParser is a library for parsing command line arguments. - </p> - <p> - It supports short options (e.g. <samp>-h</samp>) and long options (e.g. <samp>--help</samp>). - </p> - <p> - If an option takes a parameter, the argument value may follow the option as separate argument. - If the option is a long option, the value may alternatively be included in the argument string using the <code>'='</code>-character. - For instance, if an option has short name <samp>i</samp> and long name <samp>in</samp> and the option takes a String argument, the following variants are possible: - <samp>-i foo</samp>, <samp>--in foo</samp> and <samp>--in=foo</samp>. - </p> - <p> - Short options may be given in the same String. - For instance, if there are the short options <samp>v</samp>, <samp>i</samp> and <samp>s</samp>, all of them may be given together in a single String. - That means the following variants are possible: - <samp>-vis</samp>, <samp>-v -i -s</samp> and any combination of separated and concatenated versions like <samp>-v -is</samp>. - If short options take argument values and they are concatenated, the argument values are separate strings following the concatenated option in exactly the order of the concatenated options. - In <samp>-io foo bar</samp>, given that both, <samp>i</samp> and <samp>o</samp> take an argument value, <samp>foo</samp> is value for <samp>i</samp>, while <samp>bar</samp> is value for <samp>o</samp>. - </p> - <p> - The special option <code>--</code> will stop argument parsing. - All strings that follow the <code>--</code>-option are treated as command arguments, not options, even if they start with <code>-</code>. - </p> - <p> - The ArgParser library is built upon the JavaBeans concept. - A command is a JavaBean, the command's options are bean properties. - Currently, the corresponding setter method needs to be marked as {@link Option}. - In future it will be the underlying field. - </p> - </body> -</html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |