src/solaris/doc/sun/man/man1/ja/serialver.1

Print this page


   1 ." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
   2 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   3 ."
   4 ." This code is free software; you can redistribute it and/or modify it
   5 ." under the terms of the GNU General Public License version 2 only, as
   6 ." published by the Free Software Foundation.
   7 ."
   8 ." This code is distributed in the hope that it will be useful, but WITHOUT
   9 ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10 ." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  11 ." version 2 for more details (a copy is included in the LICENSE file that
  12 ." accompanied this code).
  13 ."
  14 ." You should have received a copy of the GNU General Public License version
  15 ." 2 along with this work; if not, write to the Free Software Foundation,
  16 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  17 ."
  18 ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  19 ." or visit www.oracle.com if you need additional information or have any
  20 ." questions.
  21 ."
  22 .TH serialver 1 "07 May 2011"
  23 
  24 .LP
  25 .SH "名前"
  26 serialver \- シリアルバージョンコマンド
  27 .LP
  28 .LP
  29 \f3serialver\fP コマンドは \f2serialVersionUID\fP を返します。
  30 .LP
  31 .SH "形式"
  32 .LP

























  33 .nf
  34 \f3
  35 .fl
  36 \fP\f3serialver\fP [ options ] [ classnames ]
  37 .fl
  38 .fi
  39 
  40 .LP
  41 .RS 3
  42 .TP 3
  43 options 
  44 このドキュメントで説明されているコマンド行オプションです。 
  45 .TP 3
  46 classnames 
  47 1 つ以上のクラス名です。 



  48 .RE
  49 
  50 .LP
  51 .SH "説明"
  52 .LP
  53 .LP
  54 \f3serialver\fP は、1 つ以上のクラスの \f2serialVersionUID\fP を、展開しているクラスへコピーするのに適した形式で返します。引数を指定しないで呼び出すと、使用方法が表示されます。
  55 .LP
  56 .SH "オプション"
  57 .LP
  58 .RS 3
  59 .TP 3
  60 \-classpath <: で区切られたディレクトリと zip や jar ファイル> 
  61 アプリケーションのクラスおよびリソースの検索パスを設定します。 
  62 .RE
  63 
  64 .LP
  65 .RS 3
  66 .TP 3
  67 \-show 
  68 簡単なユーザーインタフェースを表示します。完全指定のクラス名を入力して、Enter キーか「Show」ボタンを押し、シリアルバージョン UID を表示します。 
  69 .TP 3
  70 \-Joption 
  71 Java 仮想マシンに \f2option\fP を渡します。\f2option\fP には、java(1)のリファレンスページに記載されているオプションを 1 つ指定します。たとえば、\f3\-J\-Xms48m\fP と指定すると、スタートアップメモリーは 48M バイトに設定されます。 
  72 .RE
  73 
  74 .LP
  75 .SH "注"
  76 .LP
  77 .LP
  78 \f3serialver\fP コマンドは、指定されたクラスをその仮想マシン内に読み込んで初期化しますが、デフォルトではセキュリティーマネージャーの設定は行いません。信頼できないクラスとともに \f3serialver\fP を実行する場合には、次のオプションを使ってセキュリティーマネージャーを設定できます。
  79 .LP
  80 .LP
  81 \f2\-J\-Djava.security.manager\fP
  82 .LP
  83 .LP
  84 また、必要であれば、次のオプションを使ってセキュリティーポリシーを指定できます。
  85 .LP
  86 .LP
  87 \f2\-J\-Djava.security.policy=<policy file>\fP
  88 .LP
  89 .SH "関連項目"
  90 .LP
  91 .LP
  92 .na
  93 \f2java.io.ObjectStreamClass\fP @
  94 .fi
  95 http://java.sun.com/javase/6/docs/api/java/io/ObjectStreamClass.html
  96 .LP
  97  







































   1 '\" t
   2 .\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
   3 .\" Title: serialver
   4 .\" Language: English
   5 .\" Date: 2013年11月21日
   6 .\" SectDesc: Remote Method Invocation (RMI)ツール
   7 .\" Software: JDK 8
   8 .\" Arch: 汎用
   9 .\"
  10 .\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  11 .\"
  12 .\" This code is free software; you can redistribute it and/or modify it
  13 .\" under the terms of the GNU General Public License version 2 only, as
  14 .\" published by the Free Software Foundation.
  15 .\"
  16 .\" This code is distributed in the hope that it will be useful, but WITHOUT
  17 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  18 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  19 .\" version 2 for more details (a copy is included in the LICENSE file that
  20 .\" accompanied this code).
  21 .\"
  22 .\" You should have received a copy of the GNU General Public License version
  23 .\" 2 along with this work; if not, write to the Free Software Foundation,
  24 .\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  25 .\"
  26 .\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  27 .\" or visit www.oracle.com if you need additional information or have any
  28 .\" questions.
  29 .\"
  30 .pl 99999
  31 .TH "serialver" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
  32 .\" -----------------------------------------------------------------
  33 .\" * Define some portability stuff
  34 .\" -----------------------------------------------------------------
  35 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  36 .\" http://bugs.debian.org/507673
  37 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  38 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  39 .ie \n(.g .ds Aq \(aq
  40 .el       .ds Aq '
  41 .\" -----------------------------------------------------------------
  42 .\" * set default formatting
  43 .\" -----------------------------------------------------------------
  44 .\" disable hyphenation
  45 .nh
  46 .\" disable justification (adjust text to left margin only)
  47 .ad l
  48 .\" -----------------------------------------------------------------
  49 .\" * MAIN CONTENT STARTS HERE *
  50 .\" -----------------------------------------------------------------
  51 .SH "NAME"
  52 serialver \- 指定したクラスのシリアル・バージョンUIDを戻します。
  53 .SH "概要"
  54 .sp
  55 .if n \{\
  56 .RS 4
  57 .\}
  58 .nf
  59 \fIserialver\fR [ \fIoptions\fR ] [ \fIclassnames\fR ]



  60 .fi
  61 .if n \{\
  62 .RE
  63 .\}
  64 .PP
  65 \fIoptions\fR
  66 .RS 4
  67 コマンドライン・オプション。オプションを参照してください。
  68 .RE
  69 .PP
  70 \fIclassnames\fR
  71 .RS 4
  72 \fIserialVersionUID\fRを戻すクラスです。
  73 .RE


  74 .SH "説明"
  75 .PP
  76 \fIserialver\fRコマンドは、1つ以上のクラスの\fIserialVersionUID\fRを、展開しているクラスへコピーするのに適した形式で返します。引数なしで呼び出された場合、\fIserialver\fRコマンドは使用率行を出力します。


  77 .SH "オプション"
  78 .PP
  79 \-classpath \fIpath\-files\fR
  80 .RS 4
  81 アプリケーションのクラスおよびリソースの検索パスを設定します。クラスとリソースをコロン(:)で区切ります。
  82 .RE
  83 .PP




  84 \-show
  85 .RS 4
  86 簡単なユーザー・インタフェースを表示します。完全指定のクラス名を入力して、Enterキーか「表示」ボタンを押し、\fIserialVersionUID\fRを表示します。
  87 .RE
  88 .PP
  89 \-J\fIoption\fR
  90 .RS 4
  91 Java仮想マシンに\fIoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
  92 .RE
  93 .SH "注意"
  94 .PP
  95 \fIserialver\fRコマンドは、指定されたクラスをその仮想マシン内に読み込んで初期化しますが、デフォルトではセキュリティ・マネージャの設定は行いません。信頼できないクラスとともに\fIserialver\fRコマンドを実行する場合には、次のオプションを使用してセキュリティ・マネージャを設定できます。
  96 .sp
  97 .if n \{\
  98 .RS 4
  99 .\}
 100 .nf
 101 \-J\-Djava\&.security\&.manager









 102 .fi
 103 .if n \{\
 104 .RE
 105 .\}
 106 .PP
 107 必要であれば、次のオプションを使用してセキュリティ・ポリシーを指定できます。
 108 .sp
 109 .if n \{\
 110 .RS 4
 111 .\}
 112 .nf
 113 \-J\-Djava\&.security\&.policy=<policy file>
 114 .fi
 115 .if n \{\
 116 .RE
 117 .\}
 118 .SH "関連項目"
 119 .sp
 120 .RS 4
 121 .ie n \{\
 122 \h'-04'\(bu\h'+03'\c
 123 .\}
 124 .el \{\
 125 .sp -1
 126 .IP \(bu 2.3
 127 .\}
 128 policytool(1)
 129 .RE
 130 .sp
 131 .RS 4
 132 .ie n \{\
 133 \h'-04'\(bu\h'+03'\c
 134 .\}
 135 .el \{\
 136 .sp -1
 137 .IP \(bu 2.3
 138 .\}
 139 http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.htmlにある
 140 \fIjava\&.io\&.ObjectStream\fRクラス記述
 141 .RE
 142 .br
 143 'pl 8.5i
 144 'bp