OSDN Git Service

For PR libgcj/5303:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jan 2002 20:40:08 +0000 (20:40 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jan 2002 20:40:08 +0000 (20:40 +0000)
* Make-lang.in (java.install-man): Handle jv-convert man page.
(java.generated-manpages): Added jv-convert.1.
(java.uninstall): Remove jv-convert.1.
(java.maintainer-clean): Likewise.
($(srcdir)/java/jv-convert.1): New target.
* gcj.texi (Top): Link to jv-convert node.
(Individual utilities): Likewise.
(Invoking jv-convert): New node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48844 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/gcj.texi

index ed8078c..5eca139 100644 (file)
@@ -1,3 +1,15 @@
+2002-01-14  Tom Tromey  <tromey@redhat.com>
+
+       For PR libgcj/5303:
+       * Make-lang.in (java.install-man): Handle jv-convert man page.
+       (java.generated-manpages): Added jv-convert.1.
+       (java.uninstall): Remove jv-convert.1.
+       (java.maintainer-clean): Likewise.
+       ($(srcdir)/java/jv-convert.1): New target.
+       * gcj.texi (Top): Link to jv-convert node.
+       (Individual utilities): Likewise.
+       (Invoking jv-convert): New node.
+
 2001-01-10  Jeff Sturm  <jsturm@one-point.com>
             Martin Kahlert  <martin.kahlert@infineon.com>
 
index 267c8ee..3a00870 100644 (file)
@@ -34,6 +34,8 @@
 * jcf-dump: (gcj)Invoking jcf-dump.
                             Print information about Java class files
 * gij: (gcj)Invoking gij.   GNU interpreter for Java bytecode
+* jv-convert: (gcj)Invoking jv-convert.
+                            Convert file from one encoding to another
 @end direntry
 @end format
 
@@ -120,6 +122,7 @@ files and object files, and it can read both Java source code and
 * Invoking jv-scan::    Print information about source files
 * Invoking jcf-dump::   Print information about class files
 * Invoking gij::       Interpreting Java bytecodes
+* Invoking jv-convert:: Converting from one encoding to another
 * Resources::          Where to look for more information
 @end menu
 
@@ -769,6 +772,65 @@ Print version number, then exit.
 
 @c man end
 
+@node Invoking jv-convert
+@chapter Invoking jv-convert
+
+@c man title jv-convert Convert file from one encoding to another
+
+@c man begin synopsis jv-convert
+@command{jv-convert} [@option{OPTION}] @dots{} [@var{INPUTFILE} [@var{OUTPUTFILE}]]
+@ignore
+
+  [@option{--encoding} @var{name}]
+  [@option{--from} @var{name}]
+  [@option{--to} @var{name}]
+  [@option{-i} @var{file}] [@option{-o} @var{file}]
+  [@option{--reverse}] [@option{--help}] [@option{--version}]
+@end ignore
+@c man end
+
+@c man begin DESCRIPTION jv-convert
+
+@command{jv-convert} is a utility included with @code{libgcj} which
+converts a file from one encoding to another.  It is similar to the Unix
+@command{iconv} utility.
+
+The encodings supported by @command{jv-convert} are platform-dependent.
+Currently there is no way to get a list of all supported encodings.
+
+@c man end
+
+@c man begin OPTIONS jv-convert
+
+@table @gcctabopt
+@item --encoding @var{name}
+@itemx --from @var{name}
+Use @var{name} as the input encoding.  The default is the current
+locale's encoding.
+
+@item --to @var{name}
+Use @var{name} as the output encoding.  The default is the
+@code{JavaSrc} encoding; this is ASCII with @samp{\u} escapes for
+non-ASCII characters.
+
+@item -i @var{file}
+Read from @var{file}.  The default is to read from standard input.
+
+@item -o @var{file}
+Write to @var{file}.  The default is to write to standard output.
+
+@item --reverse
+Swap the input and output encodings.
+
+@item --help
+Print a help message, then exit.
+
+@item --version
+Print version information, then exit.
+@end table
+
+@c man end
+
 @node Resources
 @chapter Resources