diff --git a/Gemfile b/Gemfile index 43766f40..4a425d14 100644 --- a/Gemfile +++ b/Gemfile @@ -33,6 +33,13 @@ gem 'mysql2', '~> 0.4.0' gem 'modernizr-rails' gem 'rubyzip', '>= 1.3.0' + +# Copied from OpenPOP +# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks +#gem 'turbolinks', '~> 5.2.0' +gem 'yajl-ruby', require: 'yajl' + + # For JSON support gem 'rabl' gem 'oj', '~> 2.16' diff --git a/Gemfile.lock b/Gemfile.lock index 6d7ffafa..05effe2c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,18 +6,18 @@ GIT GIT remote: git://github.com/seuros/capistrano-puma.git - revision: 6112323390cff15539d947882d72d937622cfdf4 + revision: 285b45f51d0662e760cc5e75f15614589a2be170 specs: - capistrano3-puma (4.0.0) + capistrano3-puma (5.0.4) capistrano (~> 3.7) capistrano-bundler - puma (~> 4.0) + puma (>= 4.0, < 6.0) GIT remote: git://github.com/voormedia/rails-erd.git - revision: 0fbb1cdf2c84b06afd12974baace8d512bb798da + revision: e41243f6d33303bfc9bdc1cff159bb1986cbee22 specs: - rails-erd (1.6.0) + rails-erd (1.6.1) activerecord (>= 4.2) activesupport (>= 4.2) choice (~> 0.2.0) @@ -45,9 +45,9 @@ GEM erubis (~> 2.7.0) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.3) - active_record-acts_as (3.1.0) - activerecord (>= 4.2, < 5.2.2.rc1) - activesupport (>= 4.2, < 5.2.2.rc1) + active_record-acts_as (4.0.3) + activerecord (>= 4.2) + activesupport (>= 4.2) active_record_union (1.3.0) activerecord (>= 4.0) activeadmin (1.4.3) @@ -79,17 +79,18 @@ GEM tzinfo (~> 1.1) acts-as-taggable-on (5.0.0) activerecord (>= 4.2.8) - acts_as_list (0.9.19) - activerecord (>= 3.0) - addressable (2.6.0) - public_suffix (>= 2.0.2, < 4.0) - airbrussh (1.3.2) + acts_as_list (1.0.4) + activerecord (>= 4.2) + addressable (2.7.0) + public_suffix (>= 2.0.2, < 5.0) + airbrussh (1.4.0) sshkit (>= 1.6.1, != 1.7.0) - annotate (2.7.5) + annotate (3.1.1) activerecord (>= 3.2, < 7.0) - rake (>= 10.4, < 13.0) - arbre (1.2.1) - activesupport (>= 3.0.0) + rake (>= 10.4, < 14.0) + arbre (1.4.0) + activesupport (>= 3.0.0, < 6.2) + ruby2_keywords (>= 0.0.2, < 1.0) arel (6.0.4) autoprefixer-rails (9.6.0) execjs @@ -106,28 +107,28 @@ GEM bootstrap3-datetimepicker-rails (4.17.47) momentjs-rails (>= 2.8.1) builder (3.2.4) - byebug (11.0.1) - cancancan (3.0.1) - capistrano (3.11.0) + byebug (11.1.3) + cancancan (3.2.2) + capistrano (3.16.0) airbrussh (>= 1.0.0) i18n rake (>= 10.0.0) sshkit (>= 1.9.0) - capistrano-bundler (1.6.0) + capistrano-bundler (2.0.1) capistrano (~> 3.1) - capistrano-rails (1.4.0) + capistrano-rails (1.6.1) capistrano (~> 3.1) - capistrano-bundler (~> 1.1) + capistrano-bundler (>= 1.1, < 3) capistrano-rvm (0.1.2) capistrano (~> 3.0) sshkit (~> 1.2) - capybara (3.15.1) + capybara (3.35.3) addressable mini_mime (>= 0.1.3) nokogiri (~> 1.8) rack (>= 1.6.0) rack-test (>= 0.6.3) - regexp_parser (~> 1.2) + regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) carrierwave (1.3.2) activemodel (>= 4.0.0) @@ -152,10 +153,10 @@ GEM celluloid-supervision (0.20.6) timers (>= 4.1.1) choice (0.2.0) - cocoon (1.2.14) + cocoon (1.2.15) codemirror-rails (5.16.0) railties (>= 3.0, < 6.0) - coderay (1.1.2) + coderay (1.1.3) coffee-rails (4.0.1) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.0) @@ -163,57 +164,63 @@ GEM coffee-script-source execjs coffee-script-source (1.12.2) - concurrent-ruby (1.1.6) + concurrent-ruby (1.1.8) crass (1.0.6) css3-progress-bar-rails (0.5.1) rails (>= 3.1) - csv_shaper (1.3.0) + csv_shaper (1.3.2) activesupport (>= 3.0.0) - daemons (1.3.1) - declarative (0.0.10) - devise (4.7.1) + daemons (1.4.0) + declarative (0.0.20) + devise (4.8.0) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0) responders warden (~> 1.2.3) - diff-lcs (1.3) - domain_name (0.5.20180417) + diff-lcs (1.4.4) + domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) ed25519 (1.2.4) equatable (0.6.1) erubis (2.7.0) eventmachine (1.2.7) exception_handler (0.3.45) - execjs (2.7.0) - factory_bot (5.0.2) + execjs (2.8.1) + factory_bot (5.2.0) activesupport (>= 4.2.0) - factory_bot_rails (5.0.2) - factory_bot (~> 5.0.2) + factory_bot_rails (5.2.0) + factory_bot (~> 5.2.0) railties (>= 4.2.0) - faker (1.9.4) - i18n (>= 0.7) - pastel (~> 0.7.2) - thor (~> 0.20.0) - tty-pager (~> 0.12.0) - tty-screen (~> 0.6.5) - tty-tree (~> 0.3.0) - faraday (0.15.4) + faker (2.2.1) + i18n (>= 0.8) + faraday (1.4.2) + faraday-em_http (~> 1.0) + faraday-em_synchrony (~> 1.0) + faraday-excon (~> 1.1) + faraday-net_http (~> 1.0) + faraday-net_http_persistent (~> 1.1) multipart-post (>= 1.2, < 3) - ffi (1.11.1) - font-awesome-rails (4.7.0.5) - railties (>= 3.2, < 6.1) + ruby2_keywords (>= 0.0.4) + faraday-em_http (1.0.0) + faraday-em_synchrony (1.0.0) + faraday-excon (1.1.0) + faraday-net_http (1.0.1) + faraday-net_http_persistent (1.1.0) + ffi (1.15.1) + font-awesome-rails (4.7.0.7) + railties (>= 3.2, < 7) formtastic (3.1.5) actionpack (>= 3.2.13) formtastic-bootstrap (3.1.1) formtastic (>= 3.0) - formtastic_i18n (0.6.0) - friendly_id (5.2.5) + formtastic_i18n (0.7.0) + friendly_id (5.4.2) activerecord (>= 4.0.0) globalid (0.4.2) activesupport (>= 4.2.0) gravtastic (3.2.6) - haml (5.1.1) + haml (5.2.1) temple (>= 0.8.0) tilt haml-rails (1.0.0) @@ -225,12 +232,13 @@ GEM has_scope (0.7.2) actionpack (>= 4.1) activesupport (>= 4.1) - hashie (3.6.0) + hashie (4.1.0) html2haml (2.2.0) erubis (~> 2.7.0) haml (>= 4.0, < 6) nokogiri (>= 1.6.0) ruby_parser (~> 3.5) + http-accept (1.7.0) http-cookie (1.0.3) domain_name (~> 0.5) i18n (0.9.5) @@ -247,16 +255,15 @@ GEM has_scope (~> 0.6) railties (>= 4.2, < 5.3) responders - jquery-rails (4.3.5) + jquery-rails (4.4.0) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) jquery-ui-rails (6.0.1) railties (>= 3.2.16) - js-routes (1.4.7) + js-routes (2.0.4) railties (>= 4) - sprockets-rails - jwt (2.2.1) + jwt (2.2.3) kaminari (1.2.1) activesupport (>= 4.1.0) kaminari-actionview (= 1.2.1) @@ -270,72 +277,70 @@ GEM kaminari-core (= 1.2.1) kaminari-core (1.2.1) log_file (0.0.3) - loofah (2.6.0) + loofah (2.9.1) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) mini_mime (>= 0.1.1) - method_source (0.9.2) - mime-types (3.2.2) + method_source (1.0.0) + mime-types (3.3.1) mime-types-data (~> 3.2015) mime-types-data (3.2019.0331) mini_magick (4.11.0) mini_mime (1.0.2) mini_portile2 (2.4.0) - minitest (5.14.1) + minitest (5.14.4) modernizr-rails (2.7.1) momentjs-rails (2.20.1) railties (>= 3.1) - multi_json (1.13.1) + multi_json (1.15.0) multi_xml (0.6.0) multipart-post (2.1.1) mysql2 (0.4.10) - net-scp (2.0.0) - net-ssh (>= 2.6.5, < 6.0.0) - net-ssh (5.2.0) + net-scp (3.0.0) + net-ssh (>= 2.6.5, < 7.0.0) + net-ssh (6.1.0) netrc (0.11.0) - nio4r (2.5.2) - nokogiri (1.10.9) + nio4r (2.5.7) + nokogiri (1.10.10) mini_portile2 (~> 2.4.0) - oauth (0.5.4) - oauth2 (1.4.1) - faraday (>= 0.8, < 0.16.0) + oauth (0.5.6) + oauth2 (1.4.7) + faraday (>= 0.8, < 2.0) jwt (>= 1.0, < 3.0) multi_json (~> 1.3) multi_xml (~> 0.5) rack (>= 1.2, < 3) oj (2.18.5) oj_mimic_json (1.0.1) - omniauth (1.9.0) - hashie (>= 3.4.6, < 3.7.0) + omniauth (1.9.1) + hashie (>= 3.4.6) rack (>= 1.6.2, < 3) - omniauth-cas (1.1.1) + omniauth-cas (2.0.0) addressable (~> 2.3) nokogiri (~> 1.5) omniauth (~> 1.2) - omniauth-facebook (5.0.0) + omniauth-facebook (8.0.0) omniauth-oauth2 (~> 1.2) - omniauth-google-oauth2 (0.7.0) + omniauth-google-oauth2 (0.8.2) jwt (>= 2.0) - omniauth (>= 1.1.1) - omniauth-oauth2 (>= 1.5) - omniauth-oauth2 (1.6.0) oauth2 (~> 1.1) - omniauth (~> 1.9) + omniauth (~> 1.1) + omniauth-oauth2 (>= 1.6) + omniauth-oauth2 (1.7.1) + oauth2 (~> 1.4) + omniauth (>= 1.9, < 3) orm_adapter (0.5.0) - pastel (0.7.3) - equatable (~> 0.6) - tty-color (~> 0.5) polyamorous (1.1.0) activerecord (>= 3.0) - power_assert (1.1.4) - pry (0.12.2) - coderay (~> 1.1.0) - method_source (~> 0.9.0) - public_suffix (3.1.1) - puma (4.3.5) + power_assert (2.0.0) + pry (0.14.1) + coderay (~> 1.1) + method_source (~> 1.0) + public_suffix (4.0.6) + puma (4.3.8) nio4r (~> 2.0) - rabl (0.14.1) + rabl (0.14.5) activesupport (>= 2.3.14) rack (1.6.13) rack-test (0.6.3) @@ -351,7 +356,7 @@ GEM bundler (>= 1.3.0, < 2.0) railties (= 4.2.11.3) sprockets-rails - rails-deprecated_sanitizer (1.0.3) + rails-deprecated_sanitizer (1.0.4) activesupport (>= 4.2.0.alpha) rails-dom-testing (1.0.9) activesupport (>= 4.2.0, < 5.0) @@ -367,19 +372,19 @@ GEM activesupport (= 4.2.11.3) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rake (12.3.3) + rake (13.0.3) ransack (1.8.10) actionpack (>= 3.0, < 5.2) activerecord (>= 3.0, < 5.2) activesupport (>= 3.0, < 5.2) i18n - rb-fsevent (0.10.3) - rb-inotify (0.10.0) + rb-fsevent (0.11.0) + rb-inotify (0.10.1) ffi (~> 1.0) - rdoc (6.1.1) - redcarpet (3.4.0) - regexp_parser (1.5.1) - remotipart (1.4.3) + rdoc (6.3.1) + redcarpet (3.5.1) + regexp_parser (2.1.1) + remotipart (1.4.4) representable (2.4.1) declarative (~> 0.0.5) uber (~> 0.0.15) @@ -387,49 +392,57 @@ GEM responders (2.4.1) actionpack (>= 4.2.0, < 6.0) railties (>= 4.2.0, < 6.0) - rest-client (2.0.2) + rest-client (2.1.0) + http-accept (>= 1.7.0, < 2.0) http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) netrc (~> 0.8) - rspec-core (3.8.2) - rspec-support (~> 3.8.0) - rspec-expectations (3.8.4) + rexml (3.2.5) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.8.0) - rspec-mocks (3.8.1) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.8.0) - rspec-rails (3.8.2) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.8.0) - rspec-expectations (~> 3.8.0) - rspec-mocks (~> 3.8.0) - rspec-support (~> 3.8.0) - rspec-support (3.8.2) - ruby-graphviz (1.2.4) - ruby_parser (3.13.1) - sexp_processor (~> 4.9) - rubyzip (1.3.0) + rspec-support (~> 3.10.0) + rspec-rails (4.1.2) + actionpack (>= 4.2) + activesupport (>= 4.2) + railties (>= 4.2) + rspec-core (~> 3.10) + rspec-expectations (~> 3.10) + rspec-mocks (~> 3.10) + rspec-support (~> 3.10) + rspec-support (3.10.2) + ruby-graphviz (1.2.5) + rexml + ruby2_keywords (0.0.4) + ruby_parser (3.16.0) + sexp_processor (~> 4.15, >= 4.15.1) + rubyzip (2.3.0) sass (3.7.4) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - sass-rails (5.0.7) - railties (>= 4.0.0, < 6) - sass (~> 3.1) - sprockets (>= 2.8, < 4.0) - sprockets-rails (>= 2.0, < 4.0) - tilt (>= 1.1, < 3) - sdoc (1.0.0) + sass-rails (6.0.0) + sassc-rails (~> 2.1, >= 2.1.1) + sassc (2.4.0) + ffi (~> 1.9) + sassc-rails (2.1.2) + railties (>= 4.0.0) + sassc (>= 2.0) + sprockets (> 3.0) + sprockets-rails + tilt + sdoc (2.2.0) rdoc (>= 5.0) - sexp_processor (4.12.1) + sexp_processor (4.15.3) sprockets (3.7.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) - sprockets-rails (3.2.1) + sprockets-rails (3.2.2) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) @@ -438,7 +451,7 @@ GEM activerecord (>= 3.0) activesupport (>= 3.0) polyamorous (~> 1.1.0) - sshkit (1.19.1) + sshkit (1.21.2) net-scp (>= 1.1.2) net-ssh (>= 2.8.0) ssrf_filter (1.0.7) @@ -449,30 +462,22 @@ GEM strings-ansi (0.1.0) sucker_punch (1.6.0) celluloid (~> 0.17.2) - temple (0.8.1) + temple (0.8.2) test-unit (3.0.9) power_assert - thin (1.7.2) + thin (1.8.1) daemons (~> 1.0, >= 1.0.9) eventmachine (~> 1.0, >= 1.0.4) rack (>= 1, < 3) - thor (0.20.3) + thor (1.1.0) thread_safe (0.3.6) - tilt (2.0.9) - timers (4.3.0) + tilt (2.0.10) + timers (4.3.3) truncate_html (0.9.3) - tty-color (0.5.0) - tty-pager (0.12.1) - strings (~> 0.1.4) - tty-screen (~> 0.6) - tty-which (~> 0.4) - tty-screen (0.6.5) - tty-tree (0.3.0) - tty-which (0.4.1) - tzinfo (1.2.7) + tzinfo (1.2.9) thread_safe (~> 0.1) uber (0.0.15) - uglifier (4.1.20) + uglifier (4.2.0) execjs (>= 0.3.0, < 3) unf (0.1.4) unf_ext @@ -485,6 +490,7 @@ GEM rack (>= 1.0) xpath (3.2.0) nokogiri (~> 1.8) + yajl-ruby (1.4.1) PLATFORMS ruby @@ -577,6 +583,7 @@ DEPENDENCIES uglifier (>= 1.3.0) user_agent_parser (~> 2.7.0) wannabe_bool + yajl-ruby BUNDLED WITH 1.17.3 diff --git a/Java-Visualizer/RubyJsonFilter.rb b/Java-Visualizer/RubyJsonFilter.rb new file mode 100644 index 00000000..14e9b02b --- /dev/null +++ b/Java-Visualizer/RubyJsonFilter.rb @@ -0,0 +1,386 @@ +require 'yajl' +require 'ostruct' +require 'json' +# class to extend String class by adding function to determine if the string is numeric or not +class String + def numeric? + Float(self) != nil rescue false + end +end + +# class to create new traces by removing all unnessesary data from generated traces +class FilteredTraces + def initialize(params = {}) + @traces_json_string = '' + @traces_json_array = [] + @traces = [] + @new_traces = [] + @code = params[1] + @code << '' + @code << 'return statement' + remove_useless_traces_data(params) + end + + def remove_useless_traces_data(params) + convert_list_of_json_traces_to_objects(params[0]) + create_new_traces + @traces_json_string = '[' + @traces_json_string[0...-1] + ']' + puts @traces_json_string + end + + def convert_json_trace_to_object(trace) + JSON.parse(trace[1...-1].insert(0, '{'), object_class: OpenStruct) + end + + def convert_list_of_json_traces_to_objects(list_of_traces) + list_of_traces.each do |trace| + @traces << convert_json_trace_to_object(trace) + end + end + + def create_new_traces + @traces.each do |trace| + trace_stack = trace.stack_to_render[0] + unless(trace_stack.func_name.include? '') + trace_stack_ordered_variable_names = trace_stack.ordered_varnames + trace_stack_encoded_locals = trace_stack.encoded_locals + trace_heap = trace.heap + trace_code = @code[trace.line] + filtered_trace = filter_trace([ + trace_stack_ordered_variable_names, + trace_stack_encoded_locals, + trace_heap, + trace_code, + trace.line + ]) + @new_traces << filtered_trace + trace_string = Yajl::Encoder.encode(filtered_trace) + @traces_json_array << trace_string + @traces_json_string += trace_string + ',' + end + end + end + + def filter_trace(params) + trace = {} + trace['stack'] = {} + trace['stack']['ordered_variable_names'] = params[0] + trace['stack']['encoded_locals'] = {} + params[1].each_pair do |key, value| + trace['stack']['encoded_locals'][key] = value + end + trace['heap'] = {} + params[2].each_pair do |key, value| + trace['heap'][key] = value if value.is_a?(Array) && value.length > 2 + end + trace['code'] = params[3] + trace['lineNumber'] = params[4] + trace + end + + def return_json_array + @traces_json_string + end +end + +def generate_backend_trace(junit_test_file, + files_path, + peruser_files_path, + student_file_name) + raw_code = junit_test_file + raw_code.gsub! "\n", "\\n" + "\n" + raw_code.gsub! "\t", "\\t" + lines = raw_code.split("\n") + jUnit_test = '' + lines.each { |line| jUnit_test += line} + jUnit_test.gsub!('\"', "\\" + '\"') + student_file = File.open(File.join(File.dirname(File.expand_path(__FILE__)), + peruser_files_path, + student_file_name), 'w+') + full_string = '{' + "\n" + '"' + 'usercode' + '"' + ':' + '"' + jUnit_test + + '"' + ',' + "\n" + '"' + 'options' + '"' + ':' + '{' + '}' \ + ',' + "\n" + '"' + 'args' + '"' + ':' + '[' + ']' + ',' \ + "\n" + '"' + 'stdin' + '"' + ':' + '"' + '"' + "\n" + '}' + student_file.puts(full_string) + student_file.close + #output = `java -cp .:cp:cp/javax.json-1.0.4.jar:java/tools.jar traceprinter.InMemory < cp/traceprinter/output.txt` # the shell command + output = `./java/bin/java -cp .:cp:cp/javax.json-1.0.jar:java/lib/tools.jar traceprinter.InMemory < cp/traceprinter/output.txt` # the shell command + output +end + +def seperate_and_filter_trace(junit_test_file, + files_path, + peruser_files_path, + student_file_name) + code_and_trace = generate_backend_trace(junit_test_file, + files_path, + peruser_files_path, + student_file_name) + splitter = '"' + 'trace' + '"' + ':' + user_code, whole_trace = code_and_trace.split(splitter) + + whole_trace = whole_trace[1..whole_trace.length] + + entire_json_file = code_analyzer(user_code, whole_trace) + + entire_json_file +end + +# no comment +class Event + attr_accessor :trace, :line_number + + def initialize + @trace = '' + @line_number = 0 + end + + def set_line(line_number) + @line_number = line_number + end + + def set_event(trace) + @trace = trace + end +end + +# no comment +class EventManager + attr_accessor :list_of_events, :filtered_events + + def initialize + @list_of_events = [] + @filtered_events = [] + end + + def get_line_number(index) + if @list_of_events.length.zero? + puts 'list is empty' + else + temp_event = @list_of_events[index] + temp_event.line_number + end + end + + def set_event(index, event) + @filtered_events[index] = event + end + + def get_event(index) + @filtered_events[index] + end + + def add_event(event) + @list_of_events << event + end + + def trace_list + my_list = [] + (0...@list_of_events.length).each do |x| + temp = @list_of_events[x] + my_list << temp.trace + end + my_list + end + + def print_events + if @filtered_events.length.zero? + puts 'List of events is empty' + else + (0..@filtered_events.length).each do |x| + temp_event = @filtered_events[x] + puts temp_event.trace + end + end + end + + def modify_lines (code) + line_number = 0 + event_number = 0 + initial_line_number = @list_of_events[0].line_number + @list_of_events.each do |modify| + + temp_string = modify.trace + temp_line = modify.line_number + line_number = temp_line % initial_line_number + if code[line_number] == 'newline' || code[line_number] == '\\t' + line_number += 1 + else + original_line = temp_line.to_s + new_line = line_number.to_s + temp_string.gsub! original_line, new_line + modified_event = Event.new + modified_event.set_event(temp_string) + modified_event.set_line(line_number) + @list_of_events[event_number] = modified_event + event_number += 1 + end + end + end +end + +# no comment +class TraceAnalyzer + def initialize + @event_manager = EventManager.new + end + + def handle_everything(user_code, in_trace) + exe_Point_Finder(in_trace) + @event_manager.modify_lines(user_code) + raw_events = @event_manager.trace_list + filtered_out_events = FilteredTraces.new([raw_events, user_code]) + filtered_out_events.return_json_array + end + + def empty?(any_structure) + any_structure.length.zero? + end + + def extract_line_num(string) + line = string.tr '"', ' ' + line.tr! '{', ' ' + line.tr! ':', ' ' + line.tr! ',', ' ' + line.tr! '[', ' ' + line.tr! '(', ' ' + line.tr! ']', ' ' + line.tr! '}', ' ' + line.tr! ')', ' ' + new_line = [] + line.split.each do |s| + new_line << s.to_i if s.numeric? + end + new_line[0] + end + + def verify_exe_point(on, off, in_point) + add_exe_point = false + exe_trace = Event.new + if on == true && off == false + exe_trace.set_event(in_point) + exe_trace.set_line(extract_line_num(in_point)) + @event_manager.add_event(exe_trace) + add_exe_point = true + elsif on == false && off == false + add_exe_point = false + else + add_exe_point = false + end + add_exe_point + end + + def exe_Point_Finder(trace) + symbol_stack = [] + other_list = [] + top_symbol = '' + exe = '' + exe_point = ' ' + on = false + off = false + trace.split('').each do |i| + current_symbol = i + exe_point += current_symbol + if i == '{' or i == '[' or i == '(' + symbol_stack << i + elsif i == '}' or i == ')' or i == ']' + if empty?(symbol_stack) == false + top_symbol = symbol_stack.pop + if i == '}' and top_symbol != '{' + next + end + end + elsif i == ',' + other_list << exe_point + if symbol_stack.length.zero? + other_list.each do |thing| + exe += thing + end + if exe.include? 'startTraceNow' + on = true + exe = '' + exe_point = '' + other_list = [] + elsif exe.include? 'endTraceNow' + off = true + return + else + flag = verify_exe_point(on, off, exe) + on = false if flag == false + exe = '' + exe_point = '' + other_list = [] + end + else + exe_point = '' + end + + else + next + end + end + end +end + +def empty?(structure) + structure.length.zero? +end + +def code_splitter(code) + student_code = [] + code = code.split('startTraceNow();') + new_code = code[1].split('endTraceNow();') + executed_code = new_code[0] + executed_code_list = executed_code.split('\\n') + flag = false + counter = 0 + until flag + if executed_code_list[counter] == '' || executed_code_list[counter] == ' ' + flag = false + counter += 1 + elsif executed_code_list[counter] != '' + flag = true + end + end + x = counter + while x < executed_code_list.length + temp = executed_code_list[x] + temp = temp.strip + student_code << executed_code_list[x] unless temp.empty? + + x += 1 + end + student_code +end + +def code_analyzer(code, first_trace) + code_to_viz = code_splitter(code) + trace_analyzer = TraceAnalyzer.new + trace_analyzer.handle_everything(code_to_viz, first_trace) +end + +def main_method (file_path, student_full_code) + my_test = seperate_and_filter_trace(student_full_code, file_path, + 'cp/traceprinter/', 'output.txt') + Dir.chdir('/home') + my_test +end + +def create_student_full_code + puts Dir.pwd + @student_code = '' + File.open('code.txt', 'rb') do |code_file| + code = code_file.read() + code = code.split("\n") + code.each { |line| @student_code += line + "\n" unless line.empty? } + end + File.open('part1.txt', 'rb') do |part1file| + @part1 = part1file.read + end + File.open('part2.txt', 'rb') do |part2file| + @part2 = part2file.read + end + full_student_code = @part1 + @student_code + "\n" + @part2 + + main_method('', full_student_code) +end diff --git a/Java-Visualizer/cp/Makefile b/Java-Visualizer/cp/Makefile new file mode 100755 index 00000000..0f087089 --- /dev/null +++ b/Java-Visualizer/cp/Makefile @@ -0,0 +1,2 @@ +default: + find . -name "*.java" -print | xargs ../java/bin/javac -cp .:javax.json-1.0.4.jar:../java/lib/tools.jar diff --git a/Java-Visualizer/cp/javax.json-1.0.4.jar b/Java-Visualizer/cp/javax.json-1.0.4.jar new file mode 100644 index 00000000..09967d81 Binary files /dev/null and b/Java-Visualizer/cp/javax.json-1.0.4.jar differ diff --git a/Java-Visualizer/cp/javax.json-1.0.jar b/Java-Visualizer/cp/javax.json-1.0.jar new file mode 100755 index 00000000..14d5c721 Binary files /dev/null and b/Java-Visualizer/cp/javax.json-1.0.jar differ diff --git a/Java-Visualizer/cp/stdlibpack/BinaryIn.class b/Java-Visualizer/cp/stdlibpack/BinaryIn.class new file mode 100644 index 00000000..0ca20432 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/BinaryIn.class differ diff --git a/Java-Visualizer/cp/stdlibpack/BinaryIn.java b/Java-Visualizer/cp/stdlibpack/BinaryIn.java new file mode 100644 index 00000000..9b534168 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/BinaryIn.java @@ -0,0 +1,340 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac BinaryIn.java + * Execution: java BinaryIn input output + * + * This library is for reading binary data from an input stream. + * + * % java BinaryIn http://introcs.cs.princeton.edu/cover.jpg output.jpg + * + *************************************************************************/ + +import java.io.BufferedInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.net.Socket; +import java.net.URL; +import java.net.URLConnection; + + +/** + * Binary input. This class provides methods for reading + * in bits from a binary input stream, either + * one bit at a time (as a boolean), + * 8 bits at a time (as a byte or char), + * 16 bits at a time (as a short), + * 32 bits at a time (as an int or float), or + * 64 bits at a time (as a double or long). + *

+ * The binary input stream can be from standard input, a filename, + * a URL name, a Socket, or an InputStream. + *

+ * All primitive types are assumed to be represented using their + * standard Java representations, in big-endian (most significant + * byte first) order. + *

+ * The client should not intermix calls to BinaryIn with calls + * to In; otherwise unexpected behavior will result. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class BinaryIn { + private static final int EOF = -1; // end of file + + private BufferedInputStream in; // the input stream + private int buffer; // one character buffer + private int N; // number of bits left in buffer + + /** + * Create a binary input stream from standard input. + */ + public BinaryIn() { + in = new BufferedInputStream(System.in); + fillBuffer(); + } + + /** + * Create a binary input stream from an InputStream. + */ + public BinaryIn(InputStream is) { + in = new BufferedInputStream(is); + fillBuffer(); + } + + /** + * Create a binary input stream from a socket. + */ + public BinaryIn(Socket socket) { + try { + InputStream is = socket.getInputStream(); + in = new BufferedInputStream(is); + fillBuffer(); + } + catch (IOException ioe) { + System.err.println("Could not open " + socket); + } + } + + /** + * Create a binary input stream from a URL. + */ + public BinaryIn(URL url) { + try { + URLConnection site = url.openConnection(); + InputStream is = site.getInputStream(); + in = new BufferedInputStream(is); + fillBuffer(); + } + catch (IOException ioe) { + System.err.println("Could not open " + url); + } + } + + /** + * Create a binary input stream from a filename or URL name. + */ + public BinaryIn(String s) { + + try { + // first try to read file from local file system + File file = new File(s); + if (file.exists()) { + FileInputStream fis = new FileInputStream(file); + in = new BufferedInputStream(fis); + fillBuffer(); + return; + } + + // next try for files included in jar + URL url = getClass().getResource(s); + + // or URL from web + if (url == null) { url = new URL(s); } + + URLConnection site = url.openConnection(); + InputStream is = site.getInputStream(); + in = new BufferedInputStream(is); + fillBuffer(); + } + catch (IOException ioe) { + System.err.println("Could not open " + s); + } + } + + private void fillBuffer() { + try { buffer = in.read(); N = 8; } + catch (IOException e) { System.err.println("EOF"); buffer = EOF; N = -1; } + } + + /** + * Does the binary input stream exist? + */ + public boolean exists() { + return in != null; + } + + /** + * Returns true if the binary input stream is empty. + * @return true if and only if the binary input stream is empty + */ + public boolean isEmpty() { + return buffer == EOF; + } + + /** + * Read the next bit of data from the binary input stream and return as a boolean. + * @return the next bit of data from the binary input stream as a boolean + * @throws RuntimeException if the input stream is empty + */ + public boolean readBoolean() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + N--; + boolean bit = ((buffer >> N) & 1) == 1; + if (N == 0) fillBuffer(); + return bit; + } + + /** + * Read the next 8 bits from the binary input stream and return as an 8-bit char. + * @return the next 8 bits of data from the binary input stream as a char + * @throws RuntimeException if there are fewer than 8 bits available + */ + public char readChar() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + + // special case when aligned byte + if (N == 8) { + int x = buffer; + fillBuffer(); + return (char) (x & 0xff); + } + + // combine last N bits of current buffer with first 8-N bits of new buffer + int x = buffer; + x <<= (8-N); + int oldN = N; + fillBuffer(); + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + N = oldN; + x |= (buffer >>> N); + return (char) (x & 0xff); + // the above code doesn't quite work for the last character if N = 8 + // because buffer will be -1 + } + + + /** + * Read the next r bits from the binary input stream and return as an r-bit character. + * @param r number of bits to read. + * @return the next r bits of data from the binary input streamt as a char + * @throws RuntimeException if there are fewer than r bits available + */ + public char readChar(int r) { + if (r < 1 || r > 16) throw new RuntimeException("Illegal value of r = " + r); + + // optimize r = 8 case + if (r == 8) return readChar(); + + char x = 0; + for (int i = 0; i < r; i++) { + x <<= 1; + boolean bit = readBoolean(); + if (bit) x |= 1; + } + return x; + } + + + /** + * Read the remaining bytes of data from the binary input stream and return as a string. + * @return the remaining bytes of data from the binary input stream as a String + * @throws RuntimeException if the input stream is empty or if the number of bits + * available is not a multiple of 8 (byte-aligned) + */ + public String readString() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + + StringBuilder sb = new StringBuilder(); + while (!isEmpty()) { + char c = readChar(); + sb.append(c); + } + return sb.toString(); + } + + + /** + * Read the next 16 bits from the binary input stream and return as a 16-bit short. + * @return the next 16 bits of data from the binary standard input as a short + * @throws RuntimeException if there are fewer than 16 bits available + */ + public short readShort() { + short x = 0; + for (int i = 0; i < 2; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next 32 bits from the binary input stream and return as a 32-bit int. + * @return the next 32 bits of data from the binary input stream as a int + * @throws RuntimeException if there are fewer than 32 bits available + */ + public int readInt() { + int x = 0; + for (int i = 0; i < 4; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next r bits from the binary input stream return as an r-bit int. + * @param r number of bits to read. + * @return the next r bits of data from the binary input stream as a int + * @throws RuntimeException if there are fewer than r bits available on standard input + */ + public int readInt(int r) { + if (r < 1 || r > 32) throw new RuntimeException("Illegal value of r = " + r); + + // optimize r = 32 case + if (r == 32) return readInt(); + + int x = 0; + for (int i = 0; i < r; i++) { + x <<= 1; + boolean bit = readBoolean(); + if (bit) x |= 1; + } + return x; + } + + /** + * Read the next 64 bits from the binary input stream and return as a 64-bit long. + * @return the next 64 bits of data from the binary input stream as a long + * @throws RuntimeException if there are fewer than 64 bits available + */ + public long readLong() { + long x = 0; + for (int i = 0; i < 8; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next 64 bits from the binary input stream and return as a 64-bit double. + * @return the next 64 bits of data from the binary input stream as a double + * @throws RuntimeException if there are fewer than 64 bits available + */ + public double readDouble() { + return Double.longBitsToDouble(readLong()); + } + + /** + * Read the next 32 bits from standard input and return as a 32-bit float. + * @return the next 32 bits of data from standard input as a float + * @throws RuntimeException if there are fewer than 32 bits available on standard input + */ + public float readFloat() { + return Float.intBitsToFloat(readInt()); + } + + + /** + * Read the next 8 bits from the binary input stream and return as an 8-bit byte. + * @return the next 8 bits of data from the binary input stream as a byte + * @throws RuntimeException if there are fewer than 8 bits available + */ + public byte readByte() { + char c = readChar(); + byte x = (byte) (c & 0xff); + return x; + } + + /** + * Test client. Reads in the name of a file or url (first command-line + * argument) and writes it to a file (second command-line argument). + */ + public static void main(String[] args) { + BinaryIn in = new BinaryIn(args[0]); + BinaryOut out = new BinaryOut(args[1]); + + // read one 8-bit char at a time + while (!in.isEmpty()) { + char c = in.readChar(); + out.write(c); + } + out.flush(); + } +} diff --git a/Java-Visualizer/cp/stdlibpack/BinaryOut.class b/Java-Visualizer/cp/stdlibpack/BinaryOut.class new file mode 100644 index 00000000..e0894abf Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/BinaryOut.class differ diff --git a/Java-Visualizer/cp/stdlibpack/BinaryOut.java b/Java-Visualizer/cp/stdlibpack/BinaryOut.java new file mode 100644 index 00000000..c389c103 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/BinaryOut.java @@ -0,0 +1,305 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac BinaryOut.java + * Execution: java BinaryOut + * + * Write binary data to an output stream, either one 1-bit boolean, + * one 8-bit char, one 32-bit int, one 64-bit double, one 32-bit float, + * or one 64-bit long at a time. The output stream can be standard + * output, a file, an OutputStream or a Socket. + * + * The bytes written are not aligned. + * + * [wayne 7.17.2013] fixed bugs in write(char x, int r) and + * write(int x, int r) to add return statement for (r == 8) + * and (r == 32) cases, respectively. + * + *************************************************************************/ + +import java.io.BufferedOutputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.net.Socket; + +/** + * Binary output. This class provides methods for converting + * primtive type variables (boolean, byte, char, + * int, long, float, and double) + * to sequences of bits and writing them to an output stream. + * The output stream can be standard output, a file, an OutputStream or a Socket. + * Uses big-endian (most-significant byte first). + *

+ * The client must flush() the output stream when finished writing bits. + *

+ * The client should not intermixing calls to BinaryOut with calls + * to Out; otherwise unexpected behavior will result. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class BinaryOut { + + private BufferedOutputStream out; // the output stream + private int buffer; // 8-bit buffer of bits to write out + private int N; // number of bits remaining in buffer + + + /** + * Create a binary output stream from an OutputStream. + */ + public BinaryOut(OutputStream os) { + out = new BufferedOutputStream(os); + } + + /** + * Create a binary output stream from standard output. + */ + public BinaryOut() { + out = new BufferedOutputStream(System.out); + } + + /** + * Create a binary output stream from a filename. + */ + public BinaryOut(String s) { + try { + OutputStream os = new FileOutputStream(s); + out = new BufferedOutputStream(os); + } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Create a binary output stream from a Socket. + */ + public BinaryOut(Socket socket) { + try { + OutputStream os = socket.getOutputStream(); + out = new BufferedOutputStream(os); + } + catch (IOException e) { e.printStackTrace(); } + } + + + /** + * Write the specified bit to the binary output stream. + */ + private void writeBit(boolean bit) { + // add bit to buffer + buffer <<= 1; + if (bit) buffer |= 1; + + // if buffer is full (8 bits), write out as a single byte + N++; + if (N == 8) clearBuffer(); + } + + /** + * Write the 8-bit byte to the binary output stream. + */ + private void writeByte(int x) { + assert x >= 0 && x < 256; + + // optimized if byte-aligned + if (N == 0) { + try { out.write(x); } + catch (IOException e) { e.printStackTrace(); } + return; + } + + // otherwise write one bit at a time + for (int i = 0; i < 8; i++) { + boolean bit = ((x >>> (8 - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + // write out any remaining bits in buffer to the binary output stream, padding with 0s + private void clearBuffer() { + if (N == 0) return; + if (N > 0) buffer <<= (8 - N); + try { out.write(buffer); } + catch (IOException e) { e.printStackTrace(); } + N = 0; + buffer = 0; + } + + /** + * Flush the binary output stream, padding 0s if number of bits written so far + * is not a multiple of 8. + */ + public void flush() { + clearBuffer(); + try { out.flush(); } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Close and flush the binary output stream. Once it is closed, you can no longer write bits. + */ + public void close() { + flush(); + try { out.close(); } + catch (IOException e) { e.printStackTrace(); } + } + + + /** + * Write the specified bit to the binary output stream. + * @param x the boolean to write. + */ + public void write(boolean x) { + writeBit(x); + } + + /** + * Write the 8-bit byte to the binary output stream. + * @param x the byte to write. + */ + public void write(byte x) { + writeByte(x & 0xff); + } + + /** + * Write the 32-bit int to the binary output stream. + * @param x the int to write. + */ + public void write(int x) { + writeByte((x >>> 24) & 0xff); + writeByte((x >>> 16) & 0xff); + writeByte((x >>> 8) & 0xff); + writeByte((x >>> 0) & 0xff); + } + + /** + * Write the r-bit int to the binary output stream. + * @param x the int to write. + * @param r the number of relevant bits in the char. + * @throws RuntimeException if r is not between 1 and 32. + * @throws RuntimeException if x is not between 0 and 2r - 1. + */ + public void write(int x, int r) { + if (r == 32) { write(x); return; } + if (r < 1 || r > 32) throw new RuntimeException("Illegal value for r = " + r); + if (x < 0 || x >= (1 << r)) throw new RuntimeException("Illegal " + r + "-bit char = " + x); + for (int i = 0; i < r; i++) { + boolean bit = ((x >>> (r - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + + /** + * Write the 64-bit double to the binary output stream. + * @param x the double to write. + */ + public void write(double x) { + write(Double.doubleToRawLongBits(x)); + } + + /** + * Write the 64-bit long to the binary output stream. + * @param x the long to write. + */ + public void write(long x) { + writeByte((int) ((x >>> 56) & 0xff)); + writeByte((int) ((x >>> 48) & 0xff)); + writeByte((int) ((x >>> 40) & 0xff)); + writeByte((int) ((x >>> 32) & 0xff)); + writeByte((int) ((x >>> 24) & 0xff)); + writeByte((int) ((x >>> 16) & 0xff)); + writeByte((int) ((x >>> 8) & 0xff)); + writeByte((int) ((x >>> 0) & 0xff)); + } + + /** + * Write the 32-bit float to the binary output stream. + * @param x the float to write. + */ + public void write(float x) { + write(Float.floatToRawIntBits(x)); + } + + /** + * Write the 16-bit int to the binary output stream. + * @param x the short to write. + */ + public void write(short x) { + writeByte((x >>> 8) & 0xff); + writeByte((x >>> 0) & 0xff); + } + + /** + * Write the 8-bit char to the binary output stream. + * @param x the char to write. + * @throws RuntimeException if x is not betwen 0 and 255. + */ + public void write(char x) { + if (x < 0 || x >= 256) throw new RuntimeException("Illegal 8-bit char = " + x); + writeByte(x); + } + + /** + * Write the r-bit char to the binary output stream. + * @param x the char to write. + * @param r the number of relevant bits in the char. + * @throws RuntimeException if r is not between 1 and 16. + * @throws RuntimeException if x is not between 0 and 2r - 1. + */ + public void write(char x, int r) { + if (r == 8) { write(x); return; } + if (r < 1 || r > 16) throw new RuntimeException("Illegal value for r = " + r); + if (x < 0 || x >= (1 << r)) throw new RuntimeException("Illegal " + r + "-bit char = " + x); + for (int i = 0; i < r; i++) { + boolean bit = ((x >>> (r - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + /** + * Write the string of 8-bit characters to the binary output stream. + * @param s the String to write. + * @throws RuntimeException if any character in the string is not + * between 0 and 255. + */ + public void write(String s) { + for (int i = 0; i < s.length(); i++) + write(s.charAt(i)); + } + + + /** + * Write the String of r-bit characters to the binary output stream. + * @param s the String to write. + * @param r the number of relevants bits in each character. + * @throws RuntimeException if r is not between 1 and 16. + * @throws RuntimeException if any character in the string is not + * between 0 and 2r - 1. + */ + public void write(String s, int r) { + for (int i = 0; i < s.length(); i++) + write(s.charAt(i), r); + } + + + /** + * Test client. Read bits from standard input and write to the file + * specified on command line. + */ + public static void main(String[] args) { + + // create binary output stream to write to file + String filename = args[0]; + BinaryOut out = new BinaryOut(filename); + BinaryIn in = new BinaryIn(); + + // read from standard input and write to file + while (!in.isEmpty()) { + char c = in.readChar(); + out.write(c); + } + out.flush(); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/BinaryStdIn.class b/Java-Visualizer/cp/stdlibpack/BinaryStdIn.class new file mode 100644 index 00000000..ffc8e228 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/BinaryStdIn.class differ diff --git a/Java-Visualizer/cp/stdlibpack/BinaryStdIn.java b/Java-Visualizer/cp/stdlibpack/BinaryStdIn.java new file mode 100644 index 00000000..3fe665cc --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/BinaryStdIn.java @@ -0,0 +1,268 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac BinaryStdIn.java + * Execution: java BinaryStdIn < input > output + * + * Supports reading binary data from standard input. + * + * % java BinaryStdIn < input.jpg > output.jpg + * % diff input.jpg output.jpg + * + *************************************************************************/ + +import java.io.BufferedInputStream; +import java.io.IOException; + +/** + * Binary standard input. This class provides methods for reading + * in bits from standard input, either one bit at a time (as a boolean), + * 8 bits at a time (as a byte or char), + * 16 bits at a time (as a short), 32 bits at a time + * (as an int or float), or 64 bits at a time (as a + * double or long). + *

+ * All primitive types are assumed to be represented using their + * standard Java representations, in big-endian (most significant + * byte first) order. + *

+ * The client should not intermix calls to BinaryStdIn with calls + * to StdIn or System.in; + * otherwise unexpected behavior will result. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class BinaryStdIn { + private static BufferedInputStream in = new BufferedInputStream(System.in); + private static final int EOF = -1; // end of file + + private static int buffer; // one character buffer + private static int N; // number of bits left in buffer + + // static initializer + static { fillBuffer(); } + + // don't instantiate + private BinaryStdIn() { } + + private static void fillBuffer() { + try { buffer = in.read(); N = 8; } + catch (IOException e) { System.out.println("EOF"); buffer = EOF; N = -1; } + } + + /** + * Close this input stream and release any associated system resources. + */ + public static void close() { + try { + in.close(); + } + catch (IOException e) { + e.printStackTrace(); + throw new RuntimeException("Could not close BinaryStdIn"); + } + } + + /** + * Returns true if standard input is empty. + * @return true if and only if standard input is empty + */ + public static boolean isEmpty() { + return buffer == EOF; + } + + /** + * Read the next bit of data from standard input and return as a boolean. + * @return the next bit of data from standard input as a boolean + * @throws RuntimeException if standard input is empty + */ + public static boolean readBoolean() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + N--; + boolean bit = ((buffer >> N) & 1) == 1; + if (N == 0) fillBuffer(); + return bit; + } + + /** + * Read the next 8 bits from standard input and return as an 8-bit char. + * Note that char is a 16-bit type; + * to read the next 16 bits as a char, use readChar(16) + * @return the next 8 bits of data from standard input as a char + * @throws RuntimeException if there are fewer than 8 bits available on standard input + */ + public static char readChar() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + + // special case when aligned byte + if (N == 8) { + int x = buffer; + fillBuffer(); + return (char) (x & 0xff); + } + + // combine last N bits of current buffer with first 8-N bits of new buffer + int x = buffer; + x <<= (8-N); + int oldN = N; + fillBuffer(); + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + N = oldN; + x |= (buffer >>> N); + return (char) (x & 0xff); + // the above code doesn't quite work for the last character if N = 8 + // because buffer will be -1 + } + + /** + * Read the next r bits from standard input and return as an r-bit character. + * @param r number of bits to read. + * @return the next r bits of data from standard input as a char + * @throws RuntimeException if there are fewer than r bits available on standard input + * @throws RuntimeException unless 1 ≤ r ≤ 16 + */ + public static char readChar(int r) { + if (r < 1 || r > 16) throw new RuntimeException("Illegal value of r = " + r); + + // optimize r = 8 case + if (r == 8) return readChar(); + + char x = 0; + for (int i = 0; i < r; i++) { + x <<= 1; + boolean bit = readBoolean(); + if (bit) x |= 1; + } + return x; + } + + /** + * Read the remaining bytes of data from standard input and return as a string. + * @return the remaining bytes of data from standard input as a String + * @throws RuntimeException if standard input is empty or if the number of bits + * available on standard input is not a multiple of 8 (byte-aligned) + */ + public static String readString() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + + StringBuilder sb = new StringBuilder(); + while (!isEmpty()) { + char c = readChar(); + sb.append(c); + } + return sb.toString(); + } + + + /** + * Read the next 16 bits from standard input and return as a 16-bit short. + * @return the next 16 bits of data from standard input as a short + * @throws RuntimeException if there are fewer than 16 bits available on standard input + */ + public static short readShort() { + short x = 0; + for (int i = 0; i < 2; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next 32 bits from standard input and return as a 32-bit int. + * @return the next 32 bits of data from standard input as a int + * @throws RuntimeException if there are fewer than 32 bits available on standard input + */ + public static int readInt() { + int x = 0; + for (int i = 0; i < 4; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next r bits from standard input and return as an r-bit int. + * @param r number of bits to read. + * @return the next r bits of data from standard input as a int + * @throws RuntimeException if there are fewer than r bits available on standard input + * @throws RuntimeException unless 1 ≤ r ≤ 32 + */ + public static int readInt(int r) { + if (r < 1 || r > 32) throw new RuntimeException("Illegal value of r = " + r); + + // optimize r = 32 case + if (r == 32) return readInt(); + + int x = 0; + for (int i = 0; i < r; i++) { + x <<= 1; + boolean bit = readBoolean(); + if (bit) x |= 1; + } + return x; + } + + /** + * Read the next 64 bits from standard input and return as a 64-bit long. + * @return the next 64 bits of data from standard input as a long + * @throws RuntimeException if there are fewer than 64 bits available on standard input + */ + public static long readLong() { + long x = 0; + for (int i = 0; i < 8; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + + /** + * Read the next 64 bits from standard input and return as a 64-bit double. + * @return the next 64 bits of data from standard input as a double + * @throws RuntimeException if there are fewer than 64 bits available on standard input + */ + public static double readDouble() { + return Double.longBitsToDouble(readLong()); + } + + /** + * Read the next 32 bits from standard input and return as a 32-bit float. + * @return the next 32 bits of data from standard input as a float + * @throws RuntimeException if there are fewer than 32 bits available on standard input + */ + public static float readFloat() { + return Float.intBitsToFloat(readInt()); + } + + + /** + * Read the next 8 bits from standard input and return as an 8-bit byte. + * @return the next 8 bits of data from standard input as a byte + * @throws RuntimeException if there are fewer than 8 bits available on standard input + */ + public static byte readByte() { + char c = readChar(); + byte x = (byte) (c & 0xff); + return x; + } + + /** + * Test client. Reads in a binary input file from standard input and writes + * it to standard output. + */ + public static void main(String[] args) { + + // read one 8-bit char at a time + while (!BinaryStdIn.isEmpty()) { + char c = BinaryStdIn.readChar(); + BinaryStdOut.write(c); + } + BinaryStdOut.flush(); + } +} diff --git a/Java-Visualizer/cp/stdlibpack/BinaryStdOut.class b/Java-Visualizer/cp/stdlibpack/BinaryStdOut.class new file mode 100644 index 00000000..533fca56 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/BinaryStdOut.class differ diff --git a/Java-Visualizer/cp/stdlibpack/BinaryStdOut.java b/Java-Visualizer/cp/stdlibpack/BinaryStdOut.java new file mode 100644 index 00000000..b7f6daa4 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/BinaryStdOut.java @@ -0,0 +1,257 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac BinaryStdOut.java + * Execution: java BinaryStdOut + * + * Write binary data to standard output, either one 1-bit boolean, + * one 8-bit char, one 32-bit int, one 64-bit double, one 32-bit float, + * or one 64-bit long at a time. + * + * The bytes written are not aligned. + * + *************************************************************************/ + +import java.io.BufferedOutputStream; +import java.io.IOException; + +/** + * Binary standard output. This class provides methods for converting + * primtive type variables (boolean, byte, char, + * int, long, float, and double) + * to sequences of bits and writing them to standard output. + * Uses big-endian (most-significant byte first). + *

+ * The client must flush() the output stream when finished writing bits. + *

+ * The client should not intermixing calls to BinaryStdOut with calls + * to StdOut or System.out; otherwise unexpected behavior + * will result. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class BinaryStdOut { + private static BufferedOutputStream out = new BufferedOutputStream(System.out); + + private static int buffer; // 8-bit buffer of bits to write out + private static int N; // number of bits remaining in buffer + + // don't instantiate + private BinaryStdOut() { } + + /** + * Write the specified bit to standard output. + */ + private static void writeBit(boolean bit) { + // add bit to buffer + buffer <<= 1; + if (bit) buffer |= 1; + + // if buffer is full (8 bits), write out as a single byte + N++; + if (N == 8) clearBuffer(); + } + + /** + * Write the 8-bit byte to standard output. + */ + private static void writeByte(int x) { + assert x >= 0 && x < 256; + + // optimized if byte-aligned + if (N == 0) { + try { out.write(x); } + catch (IOException e) { e.printStackTrace(); } + return; + } + + // otherwise write one bit at a time + for (int i = 0; i < 8; i++) { + boolean bit = ((x >>> (8 - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + // write out any remaining bits in buffer to standard output, padding with 0s + private static void clearBuffer() { + if (N == 0) return; + if (N > 0) buffer <<= (8 - N); + try { out.write(buffer); } + catch (IOException e) { e.printStackTrace(); } + N = 0; + buffer = 0; + } + + /** + * Flush standard output, padding 0s if number of bits written so far + * is not a multiple of 8. + */ + public static void flush() { + clearBuffer(); + try { out.flush(); } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Flush and close standard output. Once standard output is closed, you can no + * longer write bits to it. + */ + public static void close() { + flush(); + try { out.close(); } + catch (IOException e) { e.printStackTrace(); } + } + + + /** + * Write the specified bit to standard output. + * @param x the boolean to write. + */ + public static void write(boolean x) { + writeBit(x); + } + + /** + * Write the 8-bit byte to standard output. + * @param x the byte to write. + */ + public static void write(byte x) { + writeByte(x & 0xff); + } + + /** + * Write the 32-bit int to standard output. + * @param x the int to write. + */ + public static void write(int x) { + writeByte((x >>> 24) & 0xff); + writeByte((x >>> 16) & 0xff); + writeByte((x >>> 8) & 0xff); + writeByte((x >>> 0) & 0xff); + } + + /** + * Write the r-bit int to standard output. + * @param x the int to write. + * @param r the number of relevant bits in the char. + * @throws RuntimeException if r is not between 1 and 32. + * @throws RuntimeException if x is not between 0 and 2r - 1. + */ + public static void write(int x, int r) { + if (r == 32) { write(x); return; } + if (r < 1 || r > 32) throw new RuntimeException("Illegal value for r = " + r); + if (x < 0 || x >= (1 << r)) throw new RuntimeException("Illegal " + r + "-bit char = " + x); + for (int i = 0; i < r; i++) { + boolean bit = ((x >>> (r - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + + + + + /** + * Write the 64-bit double to standard output. + * @param x the double to write. + */ + public static void write(double x) { + write(Double.doubleToRawLongBits(x)); + } + + /** + * Write the 64-bit long to standard output. + * @param x the long to write. + */ + public static void write(long x) { + writeByte((int) ((x >>> 56) & 0xff)); + writeByte((int) ((x >>> 48) & 0xff)); + writeByte((int) ((x >>> 40) & 0xff)); + writeByte((int) ((x >>> 32) & 0xff)); + writeByte((int) ((x >>> 24) & 0xff)); + writeByte((int) ((x >>> 16) & 0xff)); + writeByte((int) ((x >>> 8) & 0xff)); + writeByte((int) ((x >>> 0) & 0xff)); + } + + /** + * Write the 32-bit float to standard output. + * @param x the float to write. + */ + public static void write(float x) { + write(Float.floatToRawIntBits(x)); + } + + /** + * Write the 16-bit int to standard output. + * @param x the short to write. + */ + public static void write(short x) { + writeByte((x >>> 8) & 0xff); + writeByte((x >>> 0) & 0xff); + } + + /** + * Write the 8-bit char to standard output. + * @param x the char to write. + * @throws RuntimeException if x is not betwen 0 and 255. + */ + public static void write(char x) { + if (x < 0 || x >= 256) throw new RuntimeException("Illegal 8-bit char = " + x); + writeByte(x); + } + + /** + * Write the r-bit char to standard output. + * @param x the char to write. + * @param r the number of relevant bits in the char. + * @throws RuntimeException if r is not between 1 and 16. + * @throws RuntimeException if x is not between 0 and 2r - 1. + */ + public static void write(char x, int r) { + if (r == 8) { write(x); return; } + if (r < 1 || r > 16) throw new RuntimeException("Illegal value for r = " + r); + if (x < 0 || x >= (1 << r)) throw new RuntimeException("Illegal " + r + "-bit char = " + x); + for (int i = 0; i < r; i++) { + boolean bit = ((x >>> (r - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + /** + * Write the string of 8-bit characters to standard output. + * @param s the String to write. + * @throws RuntimeException if any character in the string is not + * between 0 and 255. + */ + public static void write(String s) { + for (int i = 0; i < s.length(); i++) + write(s.charAt(i)); + } + + /** + * Write the String of r-bit characters to standard output. + * @param s the String to write. + * @param r the number of relevants bits in each character. + * @throws RuntimeException if r is not between 1 and 16. + * @throws RuntimeException if any character in the string is not + * between 0 and 2r - 1. + */ + public static void write(String s, int r) { + for (int i = 0; i < s.length(); i++) + write(s.charAt(i), r); + } + + /** + * Test client. + */ + public static void main(String[] args) { + int T = Integer.parseInt(args[0]); + // write to standard output + for (int i = 0; i < T; i++) { + BinaryStdOut.write(i); + } + BinaryStdOut.flush(); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/Charge.class b/Java-Visualizer/cp/stdlibpack/Charge.class new file mode 100644 index 00000000..ca8fd1a7 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Charge.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Charge.java b/Java-Visualizer/cp/stdlibpack/Charge.java new file mode 100644 index 00000000..3e8b988b --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/Charge.java @@ -0,0 +1,35 @@ +package stdlibpack; + +public class Charge { + private double rx, ry; // position + private double q; // charge + + public Charge(double x0, double y0, double q0) { + rx = x0; + ry = y0; + q = q0; + } + + public double potentialAt(double x, double y) { + double k = 8.99e09; + double dx = x - rx; + double dy = y - ry; + return k * q / Math.sqrt(dx*dx + dy*dy); + } + + public String toString() { + return q + " at " + "(" + rx + ", " + ry + ")"; + } + + public static void main(String[] args) { + double x = Double.parseDouble(args[0]); + double y = Double.parseDouble(args[1]); + Charge c1 = new Charge(.51, .63, 21.3); + Charge c2 = new Charge(.13, .94, 81.9); + System.out.println(c1); + System.out.println(c2); + double v1 = c1.potentialAt(x, y); + double v2 = c2.potentialAt(x, y); + StdOut.println(v1+v2); + } +} diff --git a/Java-Visualizer/cp/stdlibpack/Draw.class b/Java-Visualizer/cp/stdlibpack/Draw.class new file mode 100644 index 00000000..2e1272b6 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Draw.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Draw.java b/Java-Visualizer/cp/stdlibpack/Draw.java new file mode 100644 index 00000000..ad2b959e --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/Draw.java @@ -0,0 +1,1142 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac Draw.java + * Execution: java Draw + * + * Drawing library. This class provides a basic capability for creating + * drawings with your programs. It uses a simple graphics model that + * allows you to create drawings consisting of points, lines, and curves + * in a window on your computer and to save the drawings to a file. + * This is the object-oriented version of standard draw; it supports + * multiple indepedent drawing windows. + * + * Todo + * ---- + * - Add support for gradient fill, etc. + * + * Remarks + * ------- + * - don't use AffineTransform for rescaling since it inverts + * images and strings + * - careful using setFont in inner loop within an animation - + * it can cause flicker + * + *************************************************************************/ + +import java.awt.*; +import java.awt.event.*; +import java.awt.geom.*; +import java.awt.image.*; +import java.io.*; +import java.net.*; +import java.util.LinkedList; +import java.util.TreeSet; +import javax.imageio.ImageIO; +import javax.swing.*; + +/** + * Draw. This class provides a basic capability for + * creating drawings with your programs. It uses a simple graphics model that + * allows you to create drawings consisting of points, lines, and curves + * in a window on your computer and to save the drawings to a file. + * This is the object-oriented version of standard draw; it supports + * multiple indepedent drawing windows. + *

+ * For additional documentation, see Section 3.1 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ + +import java.util.ArrayList; + +public final class Draw implements ActionListener, MouseListener, MouseMotionListener, KeyListener { + + // pre-defined colors + public static final Color BLACK = Color.BLACK; + public static final Color BLUE = Color.BLUE; + public static final Color CYAN = Color.CYAN; + public static final Color DARK_GRAY = Color.DARK_GRAY; + public static final Color GRAY = Color.GRAY; + public static final Color GREEN = Color.GREEN; + public static final Color LIGHT_GRAY = Color.LIGHT_GRAY; + public static final Color MAGENTA = Color.MAGENTA; + public static final Color ORANGE = Color.ORANGE; + public static final Color PINK = Color.PINK; + public static final Color RED = Color.RED; + public static final Color WHITE = Color.WHITE; + public static final Color YELLOW = Color.YELLOW; + + /** + * Shade of blue used in Introduction to Programming in Java. + * The RGB values are (9, 90, 166). + */ + public static final Color BOOK_BLUE = new Color(9, 90, 166); + + /** + * Shade of red used in Algorithms 4th edition. + * The RGB values are (173, 32, 24). + */ + public static final Color BOOK_RED = new Color(173, 32, 24); + + // default colors + private static final Color DEFAULT_PEN_COLOR = BLACK; + private static final Color DEFAULT_CLEAR_COLOR = WHITE; + + // boundary of drawing canvas, 5% border + private static final double BORDER = 0.05; + private static final double DEFAULT_XMIN = 0.0; + private static final double DEFAULT_XMAX = 1.0; + private static final double DEFAULT_YMIN = 0.0; + private static final double DEFAULT_YMAX = 1.0; + + // default canvas size is SIZE-by-SIZE + private static final int DEFAULT_SIZE = 512; + + // default pen radius + private static final double DEFAULT_PEN_RADIUS = 0.002; + + // default font + private static final Font DEFAULT_FONT = new Font("SansSerif", Font.PLAIN, 16); + + // current pen color + private Color penColor; + + // canvas size + private int width = DEFAULT_SIZE; + private int height = DEFAULT_SIZE; + + // current pen radius + private double penRadius; + + // show we draw immediately or wait until next show? + private boolean defer = false; + + private double xmin, ymin, xmax, ymax; + + // name of window + private String name = "Draw"; + + // for synchronization + private Object mouseLock = new Object(); + private Object keyLock = new Object(); + + // current font + private Font font; + + // double buffered graphics + private BufferedImage offscreenImage, onscreenImage; + private Graphics2D offscreen, onscreen; + + // the frame for drawing to the screen + private JFrame frame = new JFrame(); + + // mouse state + private boolean mousePressed = false; + private double mouseX = 0; + private double mouseY = 0; + + // keyboard state + private LinkedList keysTyped = new LinkedList(); + private TreeSet keysDown = new TreeSet(); + + // event-based listeners + private ArrayList listeners = new ArrayList(); + + + /** + * Create an empty drawing object with the given name. + * + * @param name the title of the drawing window. + */ + public Draw(String name) { + this.name = name; + init(); + } + + /** + * Create an empty drawing object. + */ + public Draw() { + init(); + } + + private void init() { + if (frame != null) frame.setVisible(false); + frame = new JFrame(); + offscreenImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + onscreenImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + offscreen = offscreenImage.createGraphics(); + onscreen = onscreenImage.createGraphics(); + setXscale(); + setYscale(); + offscreen.setColor(DEFAULT_CLEAR_COLOR); + offscreen.fillRect(0, 0, width, height); + setPenColor(); + setPenRadius(); + setFont(); + clear(); + + // add antialiasing + RenderingHints hints = new RenderingHints(RenderingHints.KEY_ANTIALIASING, + RenderingHints.VALUE_ANTIALIAS_ON); + hints.put(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); + offscreen.addRenderingHints(hints); + + // frame stuff + ImageIcon icon = new ImageIcon(onscreenImage); + JLabel draw = new JLabel(icon); + + draw.addMouseListener(this); + draw.addMouseMotionListener(this); + + frame.setContentPane(draw); + frame.addKeyListener(this); // JLabel cannot get keyboard focus + frame.setResizable(false); + // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // closes all windows + frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); // closes only current window + frame.setTitle(name); + frame.setJMenuBar(createMenuBar()); + frame.pack(); + frame.requestFocusInWindow(); + frame.setVisible(true); + } + + + /** + * Set the upper-left hand corner of the drawing window to be (x, y), where (0, 0) is upper left. + * + * @param x the number of pixels from the left + * @param y the number of pixels from the top + * @throws a RunTimeException if the width or height is 0 or negative + */ + public void setLocationOnScreen(int x, int y) { + frame.setLocation(x, y); + } + + + + /** + * Set the window size to w-by-h pixels. + * + * @param w the width as a number of pixels + * @param h the height as a number of pixels + * @throws a RunTimeException if the width or height is 0 or negative + */ + public void setCanvasSize(int w, int h) { + if (w < 1 || h < 1) throw new RuntimeException("width and height must be positive"); + width = w; + height = h; + init(); + } + + + // create the menu bar (changed to private) + private JMenuBar createMenuBar() { + JMenuBar menuBar = new JMenuBar(); + JMenu menu = new JMenu("File"); + menuBar.add(menu); + JMenuItem menuItem1 = new JMenuItem(" Save... "); + menuItem1.addActionListener(this); + menuItem1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, + Toolkit.getDefaultToolkit().getMenuShortcutKeyMask())); + menu.add(menuItem1); + return menuBar; + } + + + /************************************************************************* + * User and screen coordinate systems + *************************************************************************/ + + /** + * Set the x-scale to be the default (between 0.0 and 1.0). + */ + public void setXscale() { setXscale(DEFAULT_XMIN, DEFAULT_XMAX); } + + /** + * Set the y-scale to be the default (between 0.0 and 1.0). + */ + public void setYscale() { setYscale(DEFAULT_YMIN, DEFAULT_YMAX); } + + /** + * Set the x-scale (a 10% border is added to the values) + * @param min the minimum value of the x-scale + * @param max the maximum value of the x-scale + */ + public void setXscale(double min, double max) { + double size = max - min; + xmin = min - BORDER * size; + xmax = max + BORDER * size; + } + + /** + * Set the y-scale (a 10% border is added to the values). + * @param min the minimum value of the y-scale + * @param max the maximum value of the y-scale + */ + public void setYscale(double min, double max) { + double size = max - min; + ymin = min - BORDER * size; + ymax = max + BORDER * size; + } + + // helper functions that scale from user coordinates to screen coordinates and back + private double scaleX(double x) { return width * (x - xmin) / (xmax - xmin); } + private double scaleY(double y) { return height * (ymax - y) / (ymax - ymin); } + private double factorX(double w) { return w * width / Math.abs(xmax - xmin); } + private double factorY(double h) { return h * height / Math.abs(ymax - ymin); } + private double userX(double x) { return xmin + x * (xmax - xmin) / width; } + private double userY(double y) { return ymax - y * (ymax - ymin) / height; } + + + /** + * Clear the screen to the default color (white). + */ + public void clear() { clear(DEFAULT_CLEAR_COLOR); } + /** + * Clear the screen to the given color. + * @param color the Color to make the background + */ + public void clear(Color color) { + offscreen.setColor(color); + offscreen.fillRect(0, 0, width, height); + offscreen.setColor(penColor); + draw(); + } + + /** + * Get the current pen radius. + */ + public double getPenRadius() { return penRadius; } + + /** + * Set the pen size to the default (.002). + */ + public void setPenRadius() { setPenRadius(DEFAULT_PEN_RADIUS); } + + /** + * Set the radius of the pen to the given size. + * @param r the radius of the pen + * @throws RuntimeException if r is negative + */ + public void setPenRadius(double r) { + if (r < 0) throw new RuntimeException("pen radius must be positive"); + penRadius = r * DEFAULT_SIZE; + BasicStroke stroke = new BasicStroke((float) penRadius, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND); + // BasicStroke stroke = new BasicStroke((float) penRadius); + offscreen.setStroke(stroke); + } + + /** + * Get the current pen color. + */ + public Color getPenColor() { return penColor; } + + /** + * Set the pen color to the default color (black). + */ + public void setPenColor() { setPenColor(DEFAULT_PEN_COLOR); } + + /** + * Set the pen color to the given color. + * @param color the Color to make the pen + */ + public void setPenColor(Color color) { + penColor = color; + offscreen.setColor(penColor); + } + + /** + * Set the pen color to the given RGB color. + * @param red the amount of red (between 0 and 255) + * @param green the amount of green (between 0 and 255) + * @param blue the amount of blue (between 0 and 255) + * @throws IllegalArgumentException if the amount of red, green, or blue are outside prescribed range + */ + public void setPenColor(int red, int green, int blue) { + if (red < 0 || red >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + if (green < 0 || green >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + if (blue < 0 || blue >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + setPenColor(new Color(red, green, blue)); + } + + + public void xorOn() { offscreen.setXORMode(DEFAULT_CLEAR_COLOR); } + public void xorOff() { offscreen.setPaintMode(); } + + /** + * Get the current font. + */ + public Font getFont() { return font; } + + /** + * Set the font to the default font (sans serif, 16 point). + */ + public void setFont() { setFont(DEFAULT_FONT); } + + /** + * Set the font to the given value. + * @param f the font to make text + */ + public void setFont(Font f) { font = f; } + + + /************************************************************************* + * Drawing geometric shapes. + *************************************************************************/ + + /** + * Draw a line from (x0, y0) to (x1, y1). + * @param x0 the x-coordinate of the starting point + * @param y0 the y-coordinate of the starting point + * @param x1 the x-coordinate of the destination point + * @param y1 the y-coordinate of the destination point + */ + public void line(double x0, double y0, double x1, double y1) { + offscreen.draw(new Line2D.Double(scaleX(x0), scaleY(y0), scaleX(x1), scaleY(y1))); + draw(); + } + + /** + * Draw one pixel at (x, y). + * @param x the x-coordinate of the pixel + * @param y the y-coordinate of the pixel + */ + private void pixel(double x, double y) { + offscreen.fillRect((int) Math.round(scaleX(x)), (int) Math.round(scaleY(y)), 1, 1); + } + + /** + * Draw a point at (x, y). + * @param x the x-coordinate of the point + * @param y the y-coordinate of the point + */ + public void point(double x, double y) { + double xs = scaleX(x); + double ys = scaleY(y); + double r = penRadius; + // double ws = factorX(2*r); + // double hs = factorY(2*r); + // if (ws <= 1 && hs <= 1) pixel(x, y); + if (r <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - r/2, ys - r/2, r, r)); + draw(); + } + + /** + * Draw a circle of radius r, centered on (x, y). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @throws RuntimeException if the radius of the circle is negative + */ + public void circle(double x, double y, double r) { + if (r < 0) throw new RuntimeException("circle radius can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw filled circle of radius r, centered on (x, y). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @throws RuntimeException if the radius of the circle is negative + */ + public void filledCircle(double x, double y, double r) { + if (r < 0) throw new RuntimeException("circle radius can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw an ellipse with given semimajor and semiminor axes, centered on (x, y). + * @param x the x-coordinate of the center of the ellipse + * @param y the y-coordinate of the center of the ellipse + * @param semiMajorAxis is the semimajor axis of the ellipse + * @param semiMinorAxis is the semiminor axis of the ellipse + * @throws RuntimeException if either of the axes are negative + */ + public void ellipse(double x, double y, double semiMajorAxis, double semiMinorAxis) { + if (semiMajorAxis < 0) throw new RuntimeException("ellipse semimajor axis can't be negative"); + if (semiMinorAxis < 0) throw new RuntimeException("ellipse semiminor axis can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*semiMajorAxis); + double hs = factorY(2*semiMinorAxis); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw an ellipse with given semimajor and semiminor axes, centered on (x, y). + * @param x the x-coordinate of the center of the ellipse + * @param y the y-coordinate of the center of the ellipse + * @param semiMajorAxis is the semimajor axis of the ellipse + * @param semiMinorAxis is the semiminor axis of the ellipse + * @throws RuntimeException if either of the axes are negative + */ + public void filledEllipse(double x, double y, double semiMajorAxis, double semiMinorAxis) { + if (semiMajorAxis < 0) throw new RuntimeException("ellipse semimajor axis can't be negative"); + if (semiMinorAxis < 0) throw new RuntimeException("ellipse semiminor axis can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*semiMajorAxis); + double hs = factorY(2*semiMinorAxis); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw an arc of radius r, centered on (x, y), from angle1 to angle2 (in degrees). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @param angle1 the starting angle. 0 would mean an arc beginning at 3 o'clock. + * @param angle2 the angle at the end of the arc. For example, if + * you want a 90 degree arc, then angle2 should be angle1 + 90. + * @throws RuntimeException if the radius of the circle is negative + */ + public void arc(double x, double y, double r, double angle1, double angle2) { + if (r < 0) throw new RuntimeException("arc radius can't be negative"); + while (angle2 < angle1) angle2 += 360; + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Arc2D.Double(xs - ws/2, ys - hs/2, ws, hs, angle1, angle2 - angle1, Arc2D.OPEN)); + draw(); + } + + /** + * Draw a square of side length 2r, centered on (x, y). + * @param x the x-coordinate of the center of the square + * @param y the y-coordinate of the center of the square + * @param r radius is half the length of any side of the square + * @throws RuntimeException if r is negative + */ + public void square(double x, double y, double r) { + if (r < 0) throw new RuntimeException("square side length can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a filled square of side length 2r, centered on (x, y). + * @param x the x-coordinate of the center of the square + * @param y the y-coordinate of the center of the square + * @param r radius is half the length of any side of the square + * @throws RuntimeException if r is negative + */ + public void filledSquare(double x, double y, double r) { + if (r < 0) throw new RuntimeException("square side length can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw a rectangle of given half width and half height, centered on (x, y). + * @param x the x-coordinate of the center of the rectangle + * @param y the y-coordinate of the center of the rectangle + * @param halfWidth is half the width of the rectangle + * @param halfHeight is half the height of the rectangle + * @throws RuntimeException if halfWidth or halfHeight is negative + */ + public void rectangle(double x, double y, double halfWidth, double halfHeight) { + if (halfWidth < 0) throw new RuntimeException("half width can't be negative"); + if (halfHeight < 0) throw new RuntimeException("half height can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*halfWidth); + double hs = factorY(2*halfHeight); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a filled rectangle of given half width and half height, centered on (x, y). + * @param x the x-coordinate of the center of the rectangle + * @param y the y-coordinate of the center of the rectangle + * @param halfWidth is half the width of the rectangle + * @param halfHeight is half the height of the rectangle + * @throws RuntimeException if halfWidth or halfHeight is negative + */ + public void filledRectangle(double x, double y, double halfWidth, double halfHeight) { + if (halfWidth < 0) throw new RuntimeException("half width can't be negative"); + if (halfHeight < 0) throw new RuntimeException("half height can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*halfWidth); + double hs = factorY(2*halfHeight); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a polygon with the given (x[i], y[i]) coordinates. + * @param x an array of all the x-coordindates of the polygon + * @param y an array of all the y-coordindates of the polygon + */ + public void polygon(double[] x, double[] y) { + int N = x.length; + GeneralPath path = new GeneralPath(); + path.moveTo((float) scaleX(x[0]), (float) scaleY(y[0])); + for (int i = 0; i < N; i++) + path.lineTo((float) scaleX(x[i]), (float) scaleY(y[i])); + path.closePath(); + offscreen.draw(path); + draw(); + } + + /** + * Draw a filled polygon with the given (x[i], y[i]) coordinates. + * @param x an array of all the x-coordindates of the polygon + * @param y an array of all the y-coordindates of the polygon + */ + public void filledPolygon(double[] x, double[] y) { + int N = x.length; + GeneralPath path = new GeneralPath(); + path.moveTo((float) scaleX(x[0]), (float) scaleY(y[0])); + for (int i = 0; i < N; i++) + path.lineTo((float) scaleX(x[i]), (float) scaleY(y[i])); + path.closePath(); + offscreen.fill(path); + draw(); + } + + + + /************************************************************************* + * Drawing images. + *************************************************************************/ + + // get an image from the given filename + private Image getImage(String filename) { + + // to read from file + ImageIcon icon = new ImageIcon(filename); + + // try to read from URL + if ((icon == null) || (icon.getImageLoadStatus() != MediaTracker.COMPLETE)) { + try { + URL url = new URL(filename); + icon = new ImageIcon(url); + } catch (Exception e) { /* not a url */ } + } + + // in case file is inside a .jar + if ((icon == null) || (icon.getImageLoadStatus() != MediaTracker.COMPLETE)) { + URL url = Draw.class.getResource(filename); + if (url == null) throw new RuntimeException("image " + filename + " not found"); + icon = new ImageIcon(url); + } + + return icon.getImage(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y). + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @throws RuntimeException if the image is corrupt + */ + public void picture(double x, double y, String s) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = image.getWidth(null); + int hs = image.getHeight(null); + if (ws < 0 || hs < 0) throw new RuntimeException("image " + s + " is corrupt"); + + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), (int) Math.round(ys - hs/2.0), null); + draw(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), + * rotated given number of degrees + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param degrees is the number of degrees to rotate counterclockwise + * @throws RuntimeException if the image is corrupt + */ + public void picture(double x, double y, String s, double degrees) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = image.getWidth(null); + int hs = image.getHeight(null); + if (ws < 0 || hs < 0) throw new RuntimeException("image " + s + " is corrupt"); + + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), (int) Math.round(ys - hs/2.0), null); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + + draw(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), rescaled to w-by-h. + * @param x the center x coordinate of the image + * @param y the center y coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param w the width of the image + * @param h the height of the image + * @throws RuntimeException if the image is corrupt + */ + public void picture(double x, double y, String s, double w, double h) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(w); + double hs = factorY(h); + if (ws < 0 || hs < 0) throw new RuntimeException("image " + s + " is corrupt"); + if (ws <= 1 && hs <= 1) pixel(x, y); + else { + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), + (int) Math.round(ys - hs/2.0), + (int) Math.round(ws), + (int) Math.round(hs), null); + } + draw(); + } + + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), rotated + * given number of degrees, rescaled to w-by-h. + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param w the width of the image + * @param h the height of the image + * @param degrees is the number of degrees to rotate counterclockwise + * @throws RuntimeException if the image is corrupt + */ + public void picture(double x, double y, String s, double w, double h, double degrees) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(w); + double hs = factorY(h); + if (ws < 0 || hs < 0) throw new RuntimeException("image " + s + " is corrupt"); + if (ws <= 1 && hs <= 1) pixel(x, y); + + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), + (int) Math.round(ys - hs/2.0), + (int) Math.round(ws), + (int) Math.round(hs), null); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + + draw(); + } + + + /************************************************************************* + * Drawing text. + *************************************************************************/ + + /** + * Write the given text string in the current font, centered on (x, y). + * @param x the center x-coordinate of the text + * @param y the center y-coordinate of the text + * @param s the text + */ + public void text(double x, double y, String s) { + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = metrics.stringWidth(s); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs - ws/2.0), (float) (ys + hs)); + draw(); + } + + /** + * Write the given text string in the current font, centered on (x, y) and + * rotated by the specified number of degrees + * @param x the center x-coordinate of the text + * @param y the center y-coordinate of the text + * @param s the text + * @param degrees is the number of degrees to rotate counterclockwise + */ + public void text(double x, double y, String s, double degrees) { + double xs = scaleX(x); + double ys = scaleY(y); + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + text(x, y, s); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + } + + /** + * Write the given text string in the current font, left-aligned at (x, y). + * @param x the x-coordinate of the text + * @param y the y-coordinate of the text + * @param s the text + */ + public void textLeft(double x, double y, String s) { + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + // int ws = metrics.stringWidth(s); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs), (float) (ys + hs)); + show(); + } + + + /** + * Display on screen, pause for t milliseconds, and turn on + * animation mode: subsequent calls to + * drawing methods such as line(), circle(), and square() + * will not be displayed on screen until the next call to show(). + * This is useful for producing animations (clear the screen, draw a bunch of shapes, + * display on screen for a fixed amount of time, and repeat). It also speeds up + * drawing a huge number of shapes (call show(0) to defer drawing + * on screen, draw the shapes, and call show(0) to display them all + * on screen at once). + * @param t number of milliseconds + */ + public void show(int t) { + defer = false; + draw(); + try { Thread.sleep(t); } + catch (InterruptedException e) { System.out.println("Error sleeping"); } + defer = true; + } + + + /** + * Display on-screen and turn off animation mode: + * subsequent calls to + * drawing methods such as line(), circle(), and square() + * will be displayed on screen when called. This is the default. + */ + public void show() { + defer = false; + draw(); + } + + // draw onscreen if defer is false + private void draw() { + if (defer) return; + onscreen.drawImage(offscreenImage, 0, 0, null); + frame.repaint(); + } + + + /************************************************************************* + * Save drawing to a file. + *************************************************************************/ + + /** + * Save to file - suffix must be png, jpg, or gif. + * @param filename the name of the file with one of the required suffixes + */ + public void save(String filename) { + File file = new File(filename); + String suffix = filename.substring(filename.lastIndexOf('.') + 1); + + // png files + if (suffix.toLowerCase().equals("png")) { + try { ImageIO.write(offscreenImage, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + + // need to change from ARGB to RGB for jpeg + // reference: http://archives.java.sun.com/cgi-bin/wa?A2=ind0404&L=java2d-interest&D=0&P=2727 + else if (suffix.toLowerCase().equals("jpg")) { + WritableRaster raster = offscreenImage.getRaster(); + WritableRaster newRaster; + newRaster = raster.createWritableChild(0, 0, width, height, 0, 0, new int[] {0, 1, 2}); + DirectColorModel cm = (DirectColorModel) offscreenImage.getColorModel(); + DirectColorModel newCM = new DirectColorModel(cm.getPixelSize(), + cm.getRedMask(), + cm.getGreenMask(), + cm.getBlueMask()); + BufferedImage rgbBuffer = new BufferedImage(newCM, newRaster, false, null); + try { ImageIO.write(rgbBuffer, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + + else { + System.out.println("Invalid image file type: " + suffix); + } + } + + + /** + * This method cannot be called directly. + */ + public void actionPerformed(ActionEvent e) { + FileDialog chooser = new FileDialog(frame, "Use a .png or .jpg extension", FileDialog.SAVE); + chooser.setVisible(true); + String filename = chooser.getFile(); + if (filename != null) { + save(chooser.getDirectory() + File.separator + chooser.getFile()); + } + } + + + + /************************************************************************* + * Event-based interactions. + *************************************************************************/ + + public void addListener(DrawListener listener) { + // ensure there is a window for listenting to events + show(); + listeners.add(listener); + frame.addKeyListener(this); + frame.addMouseListener(this); + frame.addMouseMotionListener(this); + frame.setFocusable(true); + } + + + + + /************************************************************************* + * Mouse interactions. + *************************************************************************/ + + /** + * Is the mouse being pressed? + * @return true or false + */ + public boolean mousePressed() { + synchronized (mouseLock) { + return mousePressed; + } + } + + /** + * What is the x-coordinate of the mouse? + * @return the value of the x-coordinate of the mouse + */ + public double mouseX() { + synchronized (mouseLock) { + return mouseX; + } + } + + /** + * What is the y-coordinate of the mouse? + * @return the value of the y-coordinate of the mouse + */ + public double mouseY() { + synchronized (mouseLock) { + return mouseY; + } + } + + + + /** + * This method cannot be called directly. + */ + public void mouseClicked(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mouseEntered(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mouseExited(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mousePressed(MouseEvent e) { + synchronized (mouseLock) { + mouseX = userX(e.getX()); + mouseY = userY(e.getY()); + mousePressed = true; + } + if (e.getButton() == MouseEvent.BUTTON1) { + for (DrawListener listener : listeners) + listener.mousePressed(userX(e.getX()), userY(e.getY())); + } + + } + + /** + * This method cannot be called directly. + */ + public void mouseReleased(MouseEvent e) { + synchronized (mouseLock) { + mousePressed = false; + } + if (e.getButton() == MouseEvent.BUTTON1) { + for (DrawListener listener : listeners) + listener.mouseReleased(userX(e.getX()), userY(e.getY())); + } + } + + /** + * This method cannot be called directly. + */ + public void mouseDragged(MouseEvent e) { + synchronized (mouseLock) { + mouseX = userX(e.getX()); + mouseY = userY(e.getY()); + } + // doesn't seem to work if a button is specified + for (DrawListener listener : listeners) + listener.mouseDragged(userX(e.getX()), userY(e.getY())); + } + + /** + * This method cannot be called directly. + */ + public void mouseMoved(MouseEvent e) { + synchronized (mouseLock) { + mouseX = userX(e.getX()); + mouseY = userY(e.getY()); + } + } + + + /************************************************************************* + * Keyboard interactions. + *************************************************************************/ + + /** + * Has the user typed a key? + * @return true if the user has typed a key, false otherwise + */ + public boolean hasNextKeyTyped() { + synchronized (keyLock) { + return !keysTyped.isEmpty(); + } + } + + /** + * What is the next key that was typed by the user? + * @return the next key typed + */ + public char nextKeyTyped() { + synchronized (keyLock) { + return keysTyped.removeLast(); + } + } + + /** + * Is the keycode currently being pressed? This method takes as an argument + * the keycode (corresponding to a physical key). It can handle action keys + * (such as F1 and arrow keys) and modifier keys (such as shift and control). + * See KeyEvent.java + * for a description of key codes. + * @return true if keycode is currently being pressed, false otherwise + */ + public boolean isKeyPressed(int keycode) { + synchronized (keyLock) { + return keysDown.contains(keycode); + } + } + + + /** + * This method cannot be called directly. + */ + public void keyTyped(KeyEvent e) { + synchronized (keyLock) { + keysTyped.addFirst(e.getKeyChar()); + } + + // notify all listeners + for (DrawListener listener : listeners) + listener.keyTyped(e.getKeyChar()); + } + + /** + * This method cannot be called directly. + */ + public void keyPressed(KeyEvent e) { + synchronized (keyLock) { + keysDown.add(e.getKeyCode()); + } + } + + /** + * This method cannot be called directly. + */ + public void keyReleased(KeyEvent e) { + synchronized (keyLock) { + keysDown.remove(e.getKeyCode()); + } + } + + + + + /** + * Test client. + */ + public static void main(String[] args) { + + // create one drawing window + Draw draw1 = new Draw("Test client 1"); + draw1.square(.2, .8, .1); + draw1.filledSquare(.8, .8, .2); + draw1.circle(.8, .2, .2); + draw1.setPenColor(Draw.MAGENTA); + draw1.setPenRadius(.02); + draw1.arc(.8, .2, .1, 200, 45); + + + // create another one + Draw draw2 = new Draw("Test client 2"); + draw2.setCanvasSize(900, 200); + // draw a blue diamond + draw2.setPenRadius(); + draw2.setPenColor(Draw.BLUE); + double[] x = { .1, .2, .3, .2 }; + double[] y = { .2, .3, .2, .1 }; + draw2.filledPolygon(x, y); + + // text + draw2.setPenColor(Draw.BLACK); + draw2.text(0.2, 0.5, "bdfdfdfdlack text"); + draw2.setPenColor(Draw.WHITE); + draw2.text(0.8, 0.8, "white text"); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/DrawListener.class b/Java-Visualizer/cp/stdlibpack/DrawListener.class new file mode 100644 index 00000000..a16617e3 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/DrawListener.class differ diff --git a/Java-Visualizer/cp/stdlibpack/DrawListener.java b/Java-Visualizer/cp/stdlibpack/DrawListener.java new file mode 100644 index 00000000..2800bf8e --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/DrawListener.java @@ -0,0 +1,7 @@ +package stdlibpack; +public interface DrawListener { + public void mousePressed (double x, double y); + public void mouseDragged (double x, double y); + public void mouseReleased(double x, double y); + public void keyTyped(char c); +} diff --git a/Java-Visualizer/cp/stdlibpack/In.class b/Java-Visualizer/cp/stdlibpack/In.class new file mode 100644 index 00000000..68fdb51c Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/In.class differ diff --git a/Java-Visualizer/cp/stdlibpack/In.java b/Java-Visualizer/cp/stdlibpack/In.java new file mode 100644 index 00000000..b2d00380 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/In.java @@ -0,0 +1,525 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac In.java + * Execution: java In (basic test --- see source for required files) + * + * Reads in data of various types from standard input, files, and URLs. + * + *************************************************************************/ + +import java.io.BufferedInputStream; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; +import java.net.HttpURLConnection; +import java.net.URLConnection; +import java.util.Scanner; +import java.util.regex.Pattern; + +/** + * Input. This class provides methods for reading strings + * and numbers from standard input, file input, URLs, and sockets. + *

+ * The Locale used is: language = English, country = US. This is consistent + * with the formatting conventions with Java floating-point literals, + * command-line arguments (via {@link Double#parseDouble(String)}) + * and standard output. + *

+ * For additional documentation, see + * Section 3.1 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + *

+ * Like {@link Scanner}, reading a token also consumes preceding Java + * whitespace, reading a full line consumes + * the following end-of-line delimeter, while reading a character consumes + * nothing extra. + *

+ * Whitespace is defined in {@link Character#isWhitespace(char)}. Newlines + * consist of \n, \r, \r\n, and Unicode hex code points 0x2028, 0x2029, 0x0085; + * see + * Scanner.java (NB: Java 6u23 and earlier uses only \r, \r, \r\n). + * + * @author David Pritchard + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class In { + + private Scanner scanner; + + /*** begin: section (1 of 2) of code duplicated from In to StdIn */ + + // assume Unicode UTF-8 encoding + private static final String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with System.out. + private static final java.util.Locale usLocale = + new java.util.Locale("en", "US"); + + // the default token separator; we maintain the invariant that this value + // is held by the scanner's delimiter between calls + private static final Pattern WHITESPACE_PATTERN + = Pattern.compile("\\p{javaWhitespace}+"); + + // makes whitespace characters significant + private static final Pattern EMPTY_PATTERN + = Pattern.compile(""); + + // used to read the entire input. source: + // http://weblogs.java.net/blog/pat/archive/2004/10/stupid_scanner_1.html + private static final Pattern EVERYTHING_PATTERN + = Pattern.compile("\\A"); + + /*** end: section (1 of 2) of code duplicated from In to StdIn */ + + /** + * Create an input stream from standard input. + */ + public In() { + scanner = new Scanner(new BufferedInputStream(System.in), charsetName); + scanner.useLocale(usLocale); + } + + /** + * Create an input stream from a socket. + */ + public In(java.net.Socket socket) { + try { + InputStream is = socket.getInputStream(); + scanner = new Scanner(new BufferedInputStream(is), charsetName); + scanner.useLocale(usLocale); + } + catch (IOException ioe) { + System.err.println("Could not open " + socket); + } + } + + /** + * Create an input stream from a URL. + */ + public In(URL url) { + try { + URLConnection site = url.openConnection(); + InputStream is = site.getInputStream(); + scanner = new Scanner(new BufferedInputStream(is), charsetName); + scanner.useLocale(usLocale); + } + catch (IOException ioe) { + System.err.println("Could not open " + url); + } + } + + /** + * Create an input stream from a file. + */ + public In(File file) { + try { + scanner = new Scanner(file, charsetName); + scanner.useLocale(usLocale); + } + catch (IOException ioe) { + System.err.println("Could not open " + file); + } + } + + + /** + * Create an input stream from a filename or web page name. + */ + public In(String s) { + try { + // first try to read file from local file system + File file = new File(s); + if (file.exists()) { + scanner = new Scanner(file, charsetName); + scanner.useLocale(usLocale); + return; + } + + // next try for files included in jar + URL url = getClass().getResource(s); + + // or URL from web + if (url == null) { url = new URL(s); } + + URLConnection site = url.openConnection(); + + // in order to set User-Agent, replace above line with these two + // HttpURLConnection site = (HttpURLConnection) url.openConnection(); + // site.addRequestProperty("User-Agent", "Mozilla/4.76"); + + InputStream is = site.getInputStream(); + scanner = new Scanner(new BufferedInputStream(is), charsetName); + scanner.useLocale(usLocale); + } + catch (IOException ioe) { + System.err.println("Could not open " + s); + } + } + + /** + * Create an input stream from a given Scanner source; use with + * new Scanner(String) to read from a string. + *

+ * Note that this does not create a defensive copy, so the + * scanner will be mutated as you read on. + */ + public In(Scanner scanner) { + this.scanner = scanner; + } + + /** + * Does the input stream exist? + */ + public boolean exists() { + return scanner != null; + } + + /*** begin: section (2 of 2) of code duplicated from In to StdIn, + * with all methods changed from "public" to "public static" ***/ + + /** + * Is the input empty (except possibly for whitespace)? Use this + * to know whether the next call to {@link #readString()}, + * {@link #readDouble()}, etc will succeed. + */ + public boolean isEmpty() { + return !scanner.hasNext(); + } + + /** + * Does the input have a next line? Use this to know whether the + * next call to {@link #readLine()} will succeed.

Functionally + * equivalent to {@link #hasNextChar()}. + */ + public boolean hasNextLine() { + return scanner.hasNextLine(); + } + + /** + * Is the input empty (including whitespace)? Use this to know + * whether the next call to {@link #readChar()} will succeed.

Functionally + * equivalent to {@link #hasNextLine()}. + */ + public boolean hasNextChar() { + scanner.useDelimiter(EMPTY_PATTERN); + boolean result = scanner.hasNext(); + scanner.useDelimiter(WHITESPACE_PATTERN); + return result; + } + + + /** + * Read and return the next line. + */ + public String readLine() { + String line; + try { line = scanner.nextLine(); } + catch (Exception e) { line = null; } + return line; + } + + /** + * Read and return the next character. + */ + public char readChar() { + scanner.useDelimiter(EMPTY_PATTERN); + String ch = scanner.next(); + assert (ch.length() == 1) : "Internal (Std)In.readChar() error!" + + " Please contact the authors."; + scanner.useDelimiter(WHITESPACE_PATTERN); + return ch.charAt(0); + } + + + /** + * Read and return the remainder of the input as a string. + */ + public String readAll() { + if (!scanner.hasNextLine()) + return ""; + + String result = scanner.useDelimiter(EVERYTHING_PATTERN).next(); + // not that important to reset delimeter, since now scanner is empty + scanner.useDelimiter(WHITESPACE_PATTERN); // but let's do it anyway + return result; + } + + + /** + * Read and return the next string. + */ + public String readString() { + return scanner.next(); + } + + /** + * Read and return the next int. + */ + public int readInt() { + return scanner.nextInt(); + } + + /** + * Read and return the next double. + */ + public double readDouble() { + return scanner.nextDouble(); + } + + /** + * Read and return the next float. + */ + public float readFloat() { + return scanner.nextFloat(); + } + + /** + * Read and return the next long. + */ + public long readLong() { + return scanner.nextLong(); + } + + /** + * Read and return the next short. + */ + public short readShort() { + return scanner.nextShort(); + } + + /** + * Read and return the next byte. + */ + public byte readByte() { + return scanner.nextByte(); + } + + /** + * Read and return the next boolean, allowing case-insensitive + * "true" or "1" for true, and "false" or "0" for false. + */ + public boolean readBoolean() { + String s = readString(); + if (s.equalsIgnoreCase("true")) return true; + if (s.equalsIgnoreCase("false")) return false; + if (s.equals("1")) return true; + if (s.equals("0")) return false; + throw new java.util.InputMismatchException(); + } + + /** + * Read all strings until the end of input is reached, and return them. + */ + public String[] readAllStrings() { + // we could use readAll.trim().split(), but that's not consistent + // since trim() uses characters 0x00..0x20 as whitespace + String[] tokens = WHITESPACE_PATTERN.split(readAll()); + if (tokens.length == 0 || tokens[0].length() > 0) + return tokens; + String[] decapitokens = new String[tokens.length-1]; + for (int i = 0; i < tokens.length-1; i++) + decapitokens[i] = tokens[i+1]; + return decapitokens; + } + + /** + * Read all ints until the end of input is reached, and return them. + */ + public int[] readAllInts() { + String[] fields = readAllStrings(); + int[] vals = new int[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Integer.parseInt(fields[i]); + return vals; + } + + /** + * Read all doubles until the end of input is reached, and return them. + */ + public double[] readAllDoubles() { + String[] fields = readAllStrings(); + double[] vals = new double[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Double.parseDouble(fields[i]); + return vals; + } + + /*** end: section (2 of 2) of code duplicated from In to StdIn */ + + /** + * Close the input stream. + */ + public void close() { + scanner.close(); + } + + /** + * Reads all ints from a file + * @deprecated Clearer to use + * new In(filename).{@link #readAllInts()} + */ + public static int[] readInts(String filename) { + return new In(filename).readAllInts(); + } + + /** + * Reads all doubles from a file + * @deprecated Clearer to use + * new In(filename).{@link #readAllDoubles()} + */ + public static double[] readDoubles(String filename) { + return new In(filename).readAllDoubles(); + } + + /** + * Reads all strings from a file + * @deprecated Clearer to use + * new In(filename).{@link #readAllStrings()} + */ + public static String[] readStrings(String filename) { + return new In(filename).readAllStrings(); + } + + /** + * Reads all ints from stdin + * @deprecated Clearer to use {@link StdIn#readAllInts()} + */ + public static int[] readInts() { + return new In().readAllInts(); + } + + /** + * Reads all doubles from stdin + * @deprecated Clearer to use {@link StdIn#readAllDoubles()} + */ + public static double[] readDoubles() { + return new In().readAllDoubles(); + } + + /** + * Reads all strings from stdin + * @deprecated Clearer to use {@link StdIn#readAllStrings()} + */ + public static String[] readStrings() { + return new In().readAllStrings(); + } + + /** + * Test client. + */ + public static void main(String[] args) { + In in; + String urlName = "http://introcs.cs.princeton.edu/stdlib/InTest.txt"; + + // read from a URL + System.out.println("readAll() from URL " + urlName); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In(urlName); + System.out.println(in.readAll()); + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + // read one line at a time from URL + System.out.println("readLine() from URL " + urlName); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In(urlName); + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + // read one string at a time from URL + System.out.println("readString() from URL " + urlName); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In(urlName); + while (!in.isEmpty()) { + String s = in.readString(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + + // read one line at a time from file in current directory + System.out.println("readLine() from current directory"); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In("./InTest.txt"); + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + + // read one line at a time from file using relative path + System.out.println("readLine() from relative path"); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In("../stdlib/InTest.txt"); + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + // read one char at a time + System.out.println("readChar() from file"); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In("InTest.txt"); + while (!in.isEmpty()) { + char c = in.readChar(); + System.out.print(c); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + System.out.println(); + + // read one line at a time from absolute OS X / Linux path + System.out.println("readLine() from absolute OS X / Linux path"); + System.out.println("---------------------------------------------------------------------------"); + in = new In("/n/fs/introcs/www/java/stdlib/InTest.txt"); + try { + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + + // read one line at a time from absolute Windows path + System.out.println("readLine() from absolute Windows path"); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In("G:\\www\\introcs\\stdlib\\InTest.txt"); + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + System.out.println(); + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/Out.class b/Java-Visualizer/cp/stdlibpack/Out.class new file mode 100644 index 00000000..d5dc9b12 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Out.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Out.java b/Java-Visualizer/cp/stdlibpack/Out.java new file mode 100644 index 00000000..eba2baac --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/Out.java @@ -0,0 +1,260 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac Out.java + * Execution: java Out + * + * Writes data of various types to: stdout, file, or socket. + * + *************************************************************************/ + + +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.io.OutputStreamWriter; +import java.io.PrintWriter; +import java.net.Socket; +import java.util.Locale; + +/** + * This class provides methods for writing strings and numbers to + * various output streams, including standard output, file, and sockets. + *

+ * For additional documentation, see + * Section 3.1 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public class Out { + + // force Unicode UTF-8 encoding; otherwise it's system dependent + private static String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with In + private static final Locale US_LOCALE = new Locale("en", "US"); + + private PrintWriter out; + + /** + * Create an Out object using an OutputStream. + */ + public Out(OutputStream os) { + try { + OutputStreamWriter osw = new OutputStreamWriter(os, charsetName); + out = new PrintWriter(osw, true); + } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Create an Out object using standard output. + */ + public Out() { this(System.out); } + + /** + * Create an Out object using a Socket. + */ + public Out(Socket socket) { + try { + OutputStream os = socket.getOutputStream(); + OutputStreamWriter osw = new OutputStreamWriter(os, charsetName); + out = new PrintWriter(osw, true); + } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Create an Out object using a file specified by the given name. + */ + public Out(String s) { + try { + OutputStream os = new FileOutputStream(s); + OutputStreamWriter osw = new OutputStreamWriter(os, charsetName); + out = new PrintWriter(osw, true); + } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Close the output stream. + */ + public void close() { out.close(); } + + + + /** + * Terminate the line. + */ + public void println() { + out.println(); + } + + /** + * Print an object and then terminate the line. + */ + public void println(Object x) { + out.println(x); + } + + /** + * Print a boolean and then terminate the line. + */ + public void println(boolean x) { + out.println(x); + } + + /** + * Print a char and then terminate the line. + */ + public void println(char x) { + out.println(x); + } + + /** + * Print an double and then terminate the line. + */ + public void println(double x) { + out.println(x); + } + + /** + * Print a float and then terminate the line. + */ + public void println(float x) { + out.println(x); + } + + /** + * Print an int and then terminate the line. + */ + public void println(int x) { + out.println(x); + } + + /** + * Print a long and then terminate the line. + */ + public void println(long x) { + out.println(x); + } + + /** + * Print a byte and then terminate the line. + */ + public void println(byte x) { + out.println(x); + } + + + + /** + * Flush the output stream. + */ + public void print() { + out.flush(); + } + + /** + * Print an object and then flush the output stream. + */ + public void print(Object x) { + out.print(x); + out.flush(); + } + + /** + * Print an boolean and then flush the output stream. + */ + public void print(boolean x) { + out.print(x); + out.flush(); + } + + /** + * Print an char and then flush the output stream. + */ + public void print(char x) { + out.print(x); + out.flush(); + } + + /** + * Print an double and then flush the output stream. + */ + public void print(double x) { + out.print(x); + out.flush(); + } + + /** + * Print a float and then flush the output stream. + */ + public void print(float x) { + out.print(x); + out.flush(); + } + + /** + * Print an int and then flush the output stream. + */ + public void print(int x) { + out.print(x); + out.flush(); + } + + /** + * Print a long and then flush the output stream. + */ + public void print(long x) { + out.print(x); + out.flush(); + } + + /** + * Print a byte and then flush the output stream. + */ + public void print(byte x) { + out.print(x); + out.flush(); + } + + /** + * Print a formatted string using the specified format string and arguments, + * and then flush the output stream. + */ + public void printf(String format, Object... args) { + out.printf(US_LOCALE, format, args); + out.flush(); + } + + /** + * Print a formatted string using the specified locale, format string and arguments, + * and then flush the output stream. + */ + public void printf(Locale locale, String format, Object... args) { + out.printf(locale, format, args); + out.flush(); + } + + + /** + * A test client. + */ + public static void main(String[] args) { + Out out; + + // write to stdout + out = new Out(); + out.println("Test 1"); + out.close(); + + // write to a file + out = new Out("test.txt"); + out.println("Test 2"); + out.close(); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/Picture.class b/Java-Visualizer/cp/stdlibpack/Picture.class new file mode 100644 index 00000000..0468efca Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Picture.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Picture.java b/Java-Visualizer/cp/stdlibpack/Picture.java new file mode 100644 index 00000000..33eaa88c --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/Picture.java @@ -0,0 +1,289 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac Picture.java + * Execution: java Picture imagename + * + * Data type for manipulating individual pixels of an image. The original + * image can be read from a file in jpg, gif, or png format, or the + * user can create a blank image of a given size. Includes methods for + * displaying the image in a window on the screen or saving to a file. + * + * % java Picture mandrill.jpg + * + * Remarks + * ------- + * - pixel (x, y) is column x and row y, where (0, 0) is upper left + * + * - see also GrayPicture.java for a grayscale version + * + *************************************************************************/ + +import java.awt.Color; +import java.awt.FileDialog; +import java.awt.Toolkit; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.KeyEvent; +import java.awt.image.BufferedImage; +import java.io.File; +import java.io.IOException; +import java.net.URL; +import javax.imageio.ImageIO; +import javax.swing.ImageIcon; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.JMenu; +import javax.swing.JMenuBar; +import javax.swing.JMenuItem; +import javax.swing.KeyStroke; + + +/** + * This class provides methods for manipulating individual pixels of + * an image. The original image can be read from a file in JPEG, GIF, + * or PNG format, or the user can create a blank image of a given size. + * This class includes methods for displaying the image in a window on + * the screen or saving to a file. + *

+ * By default, pixel (x, y) is column x, row y, where (0, 0) is upper left. + * The method setOriginLowerLeft() change the origin to the lower left. + *

+ * For additional documentation, see + * Section 3.1 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class Picture implements ActionListener { + private BufferedImage image; // the rasterized image + private JFrame frame; // on-screen view + private String filename; // name of file + private boolean isOriginUpperLeft = true; // location of origin + private final int width, height; // width and height + + /** + * Create a blank w-by-h picture, where each pixel is black. + */ + public Picture(int w, int h) { + width = w; + height = h; + image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB); + // set to TYPE_INT_ARGB to support transparency + filename = w + "-by-" + h; + } + + /** + * Copy constructor. + */ + public Picture(Picture pic) { + width = pic.width(); + height = pic.height(); + image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); + filename = pic.filename; + for (int i = 0; i < width(); i++) + for (int j = 0; j < height(); j++) + image.setRGB(i, j, pic.get(i, j).getRGB()); + } + + /** + * Create a picture by reading in a .png, .gif, or .jpg from + * the given filename or URL name. + */ + public Picture(String filename) { + this.filename = filename; + try { + // try to read from file in working directory + File file = new File(filename); + if (file.isFile()) { + image = ImageIO.read(file); + } + + // now try to read from file in same directory as this .class file + else { + URL url = getClass().getResource(filename); + if (url == null) { url = new URL(filename); } + image = ImageIO.read(url); + } + width = image.getWidth(null); + height = image.getHeight(null); + } + catch (IOException e) { + // e.printStackTrace(); + throw new RuntimeException("Could not open file: " + filename); + } + } + + /** + * Create a picture by reading in a .png, .gif, or .jpg from a File. + */ + public Picture(File file) { + try { image = ImageIO.read(file); } + catch (IOException e) { + e.printStackTrace(); + throw new RuntimeException("Could not open file: " + file); + } + if (image == null) { + throw new RuntimeException("Invalid image file: " + file); + } + width = image.getWidth(null); + height = image.getHeight(null); + filename = file.getName(); + } + + /** + * Return a JLabel containing this Picture, for embedding in a JPanel, + * JFrame or other GUI widget. + */ + public JLabel getJLabel() { + if (image == null) { return null; } // no image available + ImageIcon icon = new ImageIcon(image); + return new JLabel(icon); + } + + /** + * Set the origin to be the upper left pixel. + */ + public void setOriginUpperLeft() { + isOriginUpperLeft = true; + } + + /** + * Set the origin to be the lower left pixel. + */ + public void setOriginLowerLeft() { + isOriginUpperLeft = false; + } + + /** + * Display the picture in a window on the screen. + */ + public void show() { + + // create the GUI for viewing the image if needed + if (frame == null) { + frame = new JFrame(); + + JMenuBar menuBar = new JMenuBar(); + JMenu menu = new JMenu("File"); + menuBar.add(menu); + JMenuItem menuItem1 = new JMenuItem(" Save... "); + menuItem1.addActionListener(this); + menuItem1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, + Toolkit.getDefaultToolkit().getMenuShortcutKeyMask())); + menu.add(menuItem1); + frame.setJMenuBar(menuBar); + + + + frame.setContentPane(getJLabel()); + // f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); + frame.setTitle(filename); + frame.setResizable(false); + frame.pack(); + frame.setVisible(true); + } + + // draw + frame.repaint(); + } + + /** + * Return the height of the picture in pixels. + */ + public int height() { + return height; + } + + /** + * Return the width of the picture in pixels. + */ + public int width() { + return width; + } + + /** + * Return the color of pixel (i, j). + */ + public Color get(int i, int j) { + if (isOriginUpperLeft) return new Color(image.getRGB(i, j)); + else return new Color(image.getRGB(i, height - j - 1)); + } + + /** + * Set the color of pixel (i, j) to c. + */ + public void set(int i, int j, Color c) { + if (c == null) { throw new RuntimeException("can't set Color to null"); } + if (isOriginUpperLeft) image.setRGB(i, j, c.getRGB()); + else image.setRGB(i, height - j - 1, c.getRGB()); + } + + /** + * Is this Picture equal to obj? + */ + public boolean equals(Object obj) { + if (obj == this) return true; + if (obj == null) return false; + if (obj.getClass() != this.getClass()) return false; + Picture that = (Picture) obj; + if (this.width() != that.width()) return false; + if (this.height() != that.height()) return false; + for (int x = 0; x < width(); x++) + for (int y = 0; y < height(); y++) + if (!this.get(x, y).equals(that.get(x, y))) return false; + return true; + } + + + /** + * Save the picture to a file in a standard image format. + * The filetype must be .png or .jpg. + */ + public void save(String name) { + save(new File(name)); + } + + /** + * Save the picture to a file in a standard image format. + */ + public void save(File file) { + this.filename = file.getName(); + if (frame != null) { frame.setTitle(filename); } + String suffix = filename.substring(filename.lastIndexOf('.') + 1); + suffix = suffix.toLowerCase(); + if (suffix.equals("jpg") || suffix.equals("png")) { + try { ImageIO.write(image, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + else { + System.out.println("Error: filename must end in .jpg or .png"); + } + } + + /** + * Opens a save dialog box when the user selects "Save As" from the menu. + */ + public void actionPerformed(ActionEvent e) { + FileDialog chooser = new FileDialog(frame, + "Use a .png or .jpg extension", FileDialog.SAVE); + chooser.setVisible(true); + if (chooser.getFile() != null) { + save(chooser.getDirectory() + File.separator + chooser.getFile()); + } + } + + + /** + * Test client. Reads a picture specified by the command-line argument, + * and shows it in a window on the screen. + */ + public static void main(String[] args) { + Picture pic = new Picture(args[0]); + System.out.printf("%d-by-%d\n", pic.width(), pic.height()); + pic.show(); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/Point.class b/Java-Visualizer/cp/stdlibpack/Point.class new file mode 100644 index 00000000..dbd581bd Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Point.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Point.java b/Java-Visualizer/cp/stdlibpack/Point.java new file mode 100644 index 00000000..4ffbc07b --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/Point.java @@ -0,0 +1,51 @@ +package stdlibpack; /************************************************************************* + * Compilation: javac Point.java + * Execution: java Point + * + * Immutable data type for 2D points. + * + *************************************************************************/ + +public class Point { + private double x; // Cartesian + private double y; // coordinates + + // create and initialize a point with given (x, y) + public Point(double x, double y) { + this.x = x; + this.y = y; + } + + // return Euclidean distance between invoking point p and q + public double distanceTo(Point that) { + double dx = this.x - that.x; + double dy = this.y - that.y; + return Math.sqrt(dx*dx + dy*dy); + } + + // draw point using standard draw + public void draw() { + StdDraw.point(x, y); + } + + // draw the line from the invoking point p to q using standard draw + public void drawTo(Point that) { + StdDraw.line(this.x, this.y, that.x, that.y); + } + + // return string representation of this point + public String toString() { + return "(" + x + ", " + y + ")"; + } + + + + // test client + public static void main(String[] args) { + Point p = new Point(0.6, 0.2); + System.out.println("p = " + p); + Point q = new Point(0.5, 0.5); + System.out.println("q = " + q); + System.out.println("dist(p, q) = " + p.distanceTo(q)); + } +} \ No newline at end of file diff --git a/Java-Visualizer/cp/stdlibpack/Queue$1.class b/Java-Visualizer/cp/stdlibpack/Queue$1.class new file mode 100644 index 00000000..c7dc44b6 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Queue$1.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Queue$ListIterator.class b/Java-Visualizer/cp/stdlibpack/Queue$ListIterator.class new file mode 100644 index 00000000..776c6746 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Queue$ListIterator.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Queue$Node.class b/Java-Visualizer/cp/stdlibpack/Queue$Node.class new file mode 100644 index 00000000..0c5ddaee Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Queue$Node.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Queue.class b/Java-Visualizer/cp/stdlibpack/Queue.class new file mode 100644 index 00000000..f0b68aba Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Queue.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Queue.java b/Java-Visualizer/cp/stdlibpack/Queue.java new file mode 100644 index 00000000..efa0fcb5 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/Queue.java @@ -0,0 +1,162 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac Queue.java + * Execution: java Queue < input.txt + * Data files: http://algs4.cs.princeton.edu/13stacks/tobe.txt + * + * A generic queue, implemented using a linked list. + * + * % java Queue < tobe.txt + * to be or not to be (2 left on queue) + * + *************************************************************************/ + +import java.util.Iterator; +import java.util.NoSuchElementException; + +/** + * The Queue class represents a first-in-first-out (FIFO) + * queue of generic items. + * It supports the usual enqueue and dequeue + * operations, along with methods for peeking at the first item, + * testing if the queue is empty, and iterating through + * the items in FIFO order. + *

+ * This implementation uses a singly-linked list with a static nested class for + * linked-list nodes. See {@link LinkedQueue} for the version from the + * textbook that uses a non-static nested class. + * The enqueue, dequeue, peek, size, and is-empty + * operations all take constant time in the worst case. + *

+ * For additional documentation, see Section 1.3 of + * Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public class Queue implements Iterable { + private int N; // number of elements on queue + private Node first; // beginning of queue + private Node last; // end of queue + + // helper linked list class + private static class Node { + private Item item; + private Node next; + } + + /** + * Initializes an empty queue. + */ + public Queue() { + first = null; + last = null; + N = 0; + } + + /** + * Is this queue empty? + * @return true if this queue is empty; false otherwise + */ + public boolean isEmpty() { + return first == null; + } + + /** + * Returns the number of items in this queue. + * @return the number of items in this queue + */ + public int size() { + return N; + } + + /** + * Returns the item least recently added to this queue. + * @return the item least recently added to this queue + * @throws java.util.NoSuchElementException if this queue is empty + */ + public Item peek() { + if (isEmpty()) throw new NoSuchElementException("Queue underflow"); + return first.item; + } + + /** + * Adds the item to this queue. + * @param item the item to add + */ + public void enqueue(Item item) { + Node oldlast = last; + last = new Node(); + last.item = item; + last.next = null; + if (isEmpty()) first = last; + else oldlast.next = last; + N++; + } + + /** + * Removes and returns the item on this queue that was least recently added. + * @return the item on this queue that was least recently added + * @throws java.util.NoSuchElementException if this queue is empty + */ + public Item dequeue() { + if (isEmpty()) throw new NoSuchElementException("Queue underflow"); + Item item = first.item; + first = first.next; + N--; + if (isEmpty()) last = null; // to avoid loitering + return item; + } + + /** + * Returns a string representation of this queue. + * @return the sequence of items in FIFO order, separated by spaces + */ + public String toString() { + StringBuilder s = new StringBuilder(); + for (Item item : this) + s.append(item + " "); + return s.toString(); + } + + /** + * Returns an iterator that iterates over the items in this queue in FIFO order. + * @return an iterator that iterates over the items in this queue in FIFO order + */ + public Iterator iterator() { + return new ListIterator(first); + } + + // an iterator, doesn't implement remove() since it's optional + private class ListIterator implements Iterator { + private Node current; + + public ListIterator(Node first) { + current = first; + } + + public boolean hasNext() { return current != null; } + public void remove() { throw new UnsupportedOperationException(); } + + public Item next() { + if (!hasNext()) throw new NoSuchElementException(); + Item item = current.item; + current = current.next; + return item; + } + } + + + /** + * Unit tests the Queue data type. + */ + public static void main(String[] args) { + Queue q = new Queue(); + while (!StdIn.isEmpty()) { + String item = StdIn.readString(); + if (!item.equals("-")) q.enqueue(item); + else if (!q.isEmpty()) StdOut.print(q.dequeue() + " "); + } + StdOut.println("(" + q.size() + " left on queue)"); + } +} diff --git a/Java-Visualizer/cp/stdlibpack/ST.class b/Java-Visualizer/cp/stdlibpack/ST.class new file mode 100644 index 00000000..7b0afe24 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/ST.class differ diff --git a/Java-Visualizer/cp/stdlibpack/ST.java b/Java-Visualizer/cp/stdlibpack/ST.java new file mode 100644 index 00000000..ec307704 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/ST.java @@ -0,0 +1,245 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac ST.java + * Execution: java ST + * + * Sorted symbol table implementation using a java.util.TreeMap. + * Does not allow duplicates. + * + * % java ST + * + *************************************************************************/ + +import java.util.Iterator; +import java.util.NoSuchElementException; +import java.util.SortedMap; +import java.util.TreeMap; + +/** + * The ST class represents an ordered symbol table of generic + * key-value pairs. + * It supports the usual put, get, contains, + * delete, size, and is-empty methods. + * It also provides ordered methods for finding the minimum, + * maximum, floor, and ceiling. + * It also provides a keys method for iterating over all of the keys. + * A symbol table implements the associative array abstraction: + * when associating a value with a key that is already in the symbol table, + * the convention is to replace the old value with the new value. + * Unlike {@link java.util.Map}, this class uses the convention that + * values cannot be null—setting the + * value associated with a key to null is equivalent to deleting the key + * from the symbol table. + *

+ * This implementation uses a balanced binary search tree. It requires that + * the key type implements the Comparable interface and calls the + * compareTo() and method to compare two keys. It does not call either + * equals() or hashCode(). + * The put, contains, remove, minimum, + * maximum, ceiling, and floor operations each take + * logarithmic time in the worst case. + * The size, and is-empty operations take constant time. + * Construction takes constant time. + *

+ * For additional documentation, see Section 4.4 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + */ +public class ST, Value> implements Iterable { + + private TreeMap st; + + /** + * Initializes an empty symbol table. + */ + public ST() { + st = new TreeMap(); + } + + + /** + * Returns the value associated with the given key. + * @param key the key + * @return the value associated with the given key if the key is in the symbol table + * and null if the key is not in the symbol table + * @throws NullPointerException if key is null + */ + public Value get(Key key) { + if (key == null) throw new NullPointerException("called get() with null key"); + return st.get(key); + } + + /** + * Inserts the key-value pair into the symbol table, overwriting the old value + * with the new value if the key is already in the symbol table. + * If the value is null, this effectively deletes the key from the symbol table. + * @param key the key + * @param val the value + * @throws NullPointerException if key is null + */ + public void put(Key key, Value val) { + if (key == null) throw new NullPointerException("called put() with null key"); + if (val == null) st.remove(key); + else st.put(key, val); + } + + /** + * Removes the key and associated value from the symbol table + * (if the key is in the symbol table). + * @param key the key + * @throws NullPointerException if key is null + */ + public void delete(Key key) { + if (key == null) throw new NullPointerException("called delete() with null key"); + st.remove(key); + } + + /** + * Does this symbol table contain the given key? + * @param key the key + * @return true if this symbol table contains key and + * false otherwise + * @throws NullPointerException if key is null + */ + public boolean contains(Key key) { + if (key == null) throw new NullPointerException("called contains() with null key"); + return st.containsKey(key); + } + + /** + * Returns the number of key-value pairs in this symbol table. + * @return the number of key-value pairs in this symbol table + */ + public int size() { + return st.size(); + } + + /** + * Is this symbol table empty? + * @return true if this symbol table is empty and false otherwise + */ + public boolean isEmpty() { + return size() == 0; + } + + /** + * Returns all keys in the symbol table as an Iterable. + * To iterate over all of the keys in the symbol table named st, + * use the foreach notation: for (Key key : st.keys()). + * @return all keys in the sybol table as an Iterable + */ + public Iterable keys() { + return st.keySet(); + } + + /** + * Returns all of the keys in the symbol table as an iterator. + * To iterate over all of the keys in a symbol table named st, use the + * foreach notation: for (Key key : st). + * @return an iterator to all of the keys in the symbol table + */ + public Iterator iterator() { + return st.keySet().iterator(); + } + + /** + * Returns the smallest key in the symbol table. + * @return the smallest key in the symbol table + * @throws NoSuchElementException if the symbol table is empty + */ + public Key min() { + if (isEmpty()) throw new NoSuchElementException("called min() with empty symbol table"); + return st.firstKey(); + } + + /** + * Returns the largest key in the symbol table. + * @return the largest key in the symbol table + * @throws NoSuchElementException if the symbol table is empty + */ + public Key max() { + if (isEmpty()) throw new NoSuchElementException("called max() with empty symbol table"); + return st.lastKey(); + } + + /** + * Returns the smallest key in the symbol table greater than or equal to key. + * @return the smallest key in the symbol table greater than or equal to key + * @param key the key + * @throws NoSuchElementException if the symbol table is empty + * @throws NullPointerException if key is null + */ + public Key ceil(Key key) { + if (key == null) throw new NullPointerException("called ceil() with null key"); + SortedMap tail = st.tailMap(key); + if (tail.isEmpty()) throw new NoSuchElementException(); + return tail.firstKey(); + } + + /** + * Returns the largest key in the symbol table less than or equal to key. + * @return the largest key in the symbol table less than or equal to key + * @param key the key + * @throws NoSuchElementException if the symbol table is empty + * @throws NullPointerException if key is null + */ + public Key floor(Key key) { + if (key == null) throw new NullPointerException("called floor() with null key"); + // headMap does not include key if present (!) + if (st.containsKey(key)) return key; + SortedMap head = st.headMap(key); + if (head.isEmpty()) throw new NoSuchElementException(); + return head.lastKey(); + } + + /** + * Unit tests the ST data type. + */ + public static void main(String[] args) { + ST st = new ST(); + + // insert some key-value pairs + st.put("www.cs.princeton.edu", "128.112.136.11"); + st.put("www.cs.princeton.edu", "128.112.136.35"); // overwrite old value + st.put("www.princeton.edu", "128.112.130.211"); + st.put("www.math.princeton.edu", "128.112.18.11"); + st.put("www.yale.edu", "130.132.51.8"); + st.put("www.amazon.com", "207.171.163.90"); + st.put("www.simpsons.com", "209.123.16.34"); + st.put("www.stanford.edu", "171.67.16.120"); + st.put("www.google.com", "64.233.161.99"); + st.put("www.ibm.com", "129.42.16.99"); + st.put("www.apple.com", "17.254.0.91"); + st.put("www.slashdot.com", "66.35.250.150"); + st.put("www.whitehouse.gov", "204.153.49.136"); + st.put("www.espn.com", "199.181.132.250"); + st.put("www.snopes.com", "66.165.133.65"); + st.put("www.movies.com", "199.181.132.250"); + st.put("www.cnn.com", "64.236.16.20"); + st.put("www.iitb.ac.in", "202.68.145.210"); + + + StdOut.println(st.get("www.cs.princeton.edu")); + StdOut.println(st.get("www.harvardsucks.com")); + StdOut.println(st.get("www.simpsons.com")); + StdOut.println(); + + StdOut.println("ceil(www.simpsonr.com) = " + st.ceil("www.simpsonr.com")); + StdOut.println("ceil(www.simpsons.com) = " + st.ceil("www.simpsons.com")); + StdOut.println("ceil(www.simpsont.com) = " + st.ceil("www.simpsont.com")); + StdOut.println("floor(www.simpsonr.com) = " + st.floor("www.simpsonr.com")); + StdOut.println("floor(www.simpsons.com) = " + st.floor("www.simpsons.com")); + StdOut.println("floor(www.simpsont.com) = " + st.floor("www.simpsont.com")); + + StdOut.println(); + + StdOut.println("min key: " + st.min()); + StdOut.println("max key: " + st.max()); + StdOut.println("size: " + st.size()); + StdOut.println(); + + // print out all key-value pairs in lexicographic order + for (String s : st.keys()) + StdOut.println(s + " " + st.get(s)); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/Stack$1.class b/Java-Visualizer/cp/stdlibpack/Stack$1.class new file mode 100644 index 00000000..b4b41aca Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Stack$1.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Stack$ListIterator.class b/Java-Visualizer/cp/stdlibpack/Stack$ListIterator.class new file mode 100644 index 00000000..161454c9 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Stack$ListIterator.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Stack$Node.class b/Java-Visualizer/cp/stdlibpack/Stack$Node.class new file mode 100644 index 00000000..21dfb97e Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Stack$Node.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Stack.class b/Java-Visualizer/cp/stdlibpack/Stack.class new file mode 100644 index 00000000..1280759c Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Stack.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Stack.java b/Java-Visualizer/cp/stdlibpack/Stack.java new file mode 100644 index 00000000..bae3c6a9 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/Stack.java @@ -0,0 +1,165 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac Stack.java + * Execution: java Stack < input.txt + * + * A generic stack, implemented using a singly-linked list. + * Each stack element is of type Item. + * + * This version uses a static nested class Node (to save 8 bytes per + * Node), whereas the version in the textbook uses a non-static nested + * class (for simplicity). + * + * % more tobe.txt + * to be or not to - be - - that - - - is + * + * % java Stack < tobe.txt + * to be not that or be (2 left on stack) + * + *************************************************************************/ + +import java.util.Iterator; +import java.util.NoSuchElementException; + + +/** + * The Stack class represents a last-in-first-out (LIFO) stack of generic items. + * It supports the usual push and pop operations, along with methods + * for peeking at the top item, testing if the stack is empty, and iterating through + * the items in LIFO order. + *

+ * This implementation uses a singly-linked list with a static nested class for + * linked-list nodes. See {@link LinkedStack} for the version from the + * textbook that uses a non-static nested class. + * The push, pop, peek, size, and is-empty + * operations all take constant time in the worst case. + *

+ * For additional documentation, see Section 1.3 of + * Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public class Stack implements Iterable { + private int N; // size of the stack + private Node first; // top of stack + + // helper linked list class + private static class Node { + private Item item; + private Node next; + } + + /** + * Initializes an empty stack. + */ + public Stack() { + first = null; + N = 0; + } + + /** + * Is this stack empty? + * @return true if this stack is empty; false otherwise + */ + public boolean isEmpty() { + return first == null; + } + + /** + * Returns the number of items in the stack. + * @return the number of items in the stack + */ + public int size() { + return N; + } + + /** + * Adds the item to this stack. + * @param item the item to add + */ + public void push(Item item) { + Node oldfirst = first; + first = new Node(); + first.item = item; + first.next = oldfirst; + N++; + } + + /** + * Removes and returns the item most recently added to this stack. + * @return the item most recently added + * @throws java.util.NoSuchElementException if this stack is empty + */ + public Item pop() { + if (isEmpty()) throw new NoSuchElementException("Stack underflow"); + Item item = first.item; // save item to return + first = first.next; // delete first node + N--; + return item; // return the saved item + } + + + /** + * Returns (but does not remove) the item most recently added to this stack. + * @return the item most recently added to this stack + * @throws java.util.NoSuchElementException if this stack is empty + */ + public Item peek() { + if (isEmpty()) throw new NoSuchElementException("Stack underflow"); + return first.item; + } + + /** + * Returns a string representation of this stack. + * @return the sequence of items in the stack in LIFO order, separated by spaces + */ + public String toString() { + StringBuilder s = new StringBuilder(); + for (Item item : this) + s.append(item + " "); + return s.toString(); + } + + + /** + * Returns an iterator to this stack that iterates through the items in LIFO order. + * @return an iterator to this stack that iterates through the items in LIFO order. + */ + public Iterator iterator() { + return new ListIterator(first); + } + + // an iterator, doesn't implement remove() since it's optional + private class ListIterator implements Iterator { + private Node current; + + public ListIterator(Node first) { + current = first; + } + public boolean hasNext() { return current != null; } + public void remove() { throw new UnsupportedOperationException(); } + + public Item next() { + if (!hasNext()) throw new NoSuchElementException(); + Item item = current.item; + current = current.next; + return item; + } + } + + + /** + * Unit tests the Stack data type. + */ + public static void main(String[] args) { + Stack s = new Stack(); + while (!StdIn.isEmpty()) { + String item = StdIn.readString(); + if (!item.equals("-")) s.push(item); + else if (!s.isEmpty()) StdOut.print(s.pop() + " "); + } + StdOut.println("(" + s.size() + " left on stack)"); + } +} + diff --git a/Java-Visualizer/cp/stdlibpack/StdArrayIO.class b/Java-Visualizer/cp/stdlibpack/StdArrayIO.class new file mode 100644 index 00000000..d83764f5 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/StdArrayIO.class differ diff --git a/Java-Visualizer/cp/stdlibpack/StdArrayIO.java b/Java-Visualizer/cp/stdlibpack/StdArrayIO.java new file mode 100644 index 00000000..42bf25cd --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/StdArrayIO.java @@ -0,0 +1,253 @@ +package stdlibpack; + +/************************************************************************* + * Compilation: javac StdArrayIO.java + * Execution: java StdArrayIO < input.txt + * + * A library for reading in 1D and 2D arrays of integers, doubles, + * and booleans from standard input and printing them out to + * standard output. + * + * % more tinyDouble1D.txt + * 4 + * .000 .246 .222 -.032 + * + * % more tinyDouble2D.txt + * 4 3 + * .000 .270 .000 + * .246 .224 -.036 + * .222 .176 .0893 + * -.032 .739 .270 + * + * % more tinyBoolean2D.txt + * 4 3 + * 1 1 0 + * 0 0 0 + * 0 1 1 + * 1 1 1 + * + * % cat tinyDouble1D.txt tinyDouble2D.txt tinyBoolean2D.txt | java StdArrayIO + * 4 + * 0.00000 0.24600 0.22200 -0.03200 + * + * 4 3 + * 0.00000 0.27000 0.00000 + * 0.24600 0.22400 -0.03600 + * 0.22200 0.17600 0.08930 + * 0.03200 0.73900 0.27000 + * + * 4 3 + * 1 1 0 + * 0 0 0 + * 0 1 1 + * 1 1 1 + * + *************************************************************************/ + + +/** + * Standard array IO. This class provides methods for reading + * in 1D and 2D arrays from standard input and printing out to + * standard output. + *

+ * For additional documentation, see + * Section 2.2 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public class StdArrayIO { + + /** + * Read in and return an array of doubles from standard input. + */ + public static double[] readDouble1D() { + int N = StdIn.readInt(); + double[] a = new double[N]; + for (int i = 0; i < N; i++) { + a[i] = StdIn.readDouble(); + } + return a; + } + + /** + * Print an array of doubles to standard output. + */ + public static void print(double[] a) { + int N = a.length; + StdOut.println(N); + for (int i = 0; i < N; i++) { + StdOut.printf("%9.5f ", a[i]); + } + StdOut.println(); + } + + + /** + * Read in and return an M-by-N array of doubles from standard input. + */ + public static double[][] readDouble2D() { + int M = StdIn.readInt(); + int N = StdIn.readInt(); + double[][] a = new double[M][N]; + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + a[i][j] = StdIn.readDouble(); + } + } + return a; + } + + /** + * Print the M-by-N array of doubles to standard output. + */ + public static void print(double[][] a) { + int M = a.length; + int N = a[0].length; + StdOut.println(M + " " + N); + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + StdOut.printf("%9.5f ", a[i][j]); + } + StdOut.println(); + } + } + + + /** + * Read in and return an array of ints from standard input. + */ + public static int[] readInt1D() { + int N = StdIn.readInt(); + int[] a = new int[N]; + for (int i = 0; i < N; i++) { + a[i] = StdIn.readInt(); + } + return a; + } + + /** + * Print an array of ints to standard output. + */ + public static void print(int[] a) { + int N = a.length; + StdOut.println(N); + for (int i = 0; i < N; i++) { + StdOut.printf("%9d ", a[i]); + } + StdOut.println(); + } + + + /** + * Read in and return an M-by-N array of ints from standard input. + */ + public static int[][] readInt2D() { + int M = StdIn.readInt(); + int N = StdIn.readInt(); + int[][] a = new int[M][N]; + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + a[i][j] = StdIn.readInt(); + } + } + return a; + } + + /** + * Print the M-by-N array of ints to standard output. + */ + public static void print(int[][] a) { + int M = a.length; + int N = a[0].length; + StdOut.println(M + " " + N); + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + StdOut.printf("%9d ", a[i][j]); + } + StdOut.println(); + } + } + + + /** + * Read in and return an array of booleans from standard input. + */ + public static boolean[] readBoolean1D() { + int N = StdIn.readInt(); + boolean[] a = new boolean[N]; + for (int i = 0; i < N; i++) { + a[i] = StdIn.readBoolean(); + } + return a; + } + + /** + * Print an array of booleans to standard output. + */ + public static void print(boolean[] a) { + int N = a.length; + StdOut.println(N); + for (int i = 0; i < N; i++) { + if (a[i]) StdOut.print("1 "); + else StdOut.print("0 "); + } + StdOut.println(); + } + + /** + * Read in and return an M-by-N array of booleans from standard input. + */ + public static boolean[][] readBoolean2D() { + int M = StdIn.readInt(); + int N = StdIn.readInt(); + boolean[][] a = new boolean[M][N]; + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + a[i][j] = StdIn.readBoolean(); + } + } + return a; + } + + /** + * Print the M-by-N array of booleans to standard output. + */ + public static void print(boolean[][] a) { + int M = a.length; + int N = a[0].length; + StdOut.println(M + " " + N); + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + if (a[i][j]) StdOut.print("1 "); + else StdOut.print("0 "); + } + StdOut.println(); + } + } + + + /** + * Test client. + */ + public static void main(String[] args) { + + // read and print an array of doubles + double[] a = StdArrayIO.readDouble1D(); + StdArrayIO.print(a); + StdOut.println(); + + // read and print a matrix of doubles + double[][] b = StdArrayIO.readDouble2D(); + StdArrayIO.print(b); + StdOut.println(); + + // read and print a matrix of doubles + boolean[][] d = StdArrayIO.readBoolean2D(); + StdArrayIO.print(d); + StdOut.println(); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/StdAudio.class b/Java-Visualizer/cp/stdlibpack/StdAudio.class new file mode 100644 index 00000000..3905af4b Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/StdAudio.class differ diff --git a/Java-Visualizer/cp/stdlibpack/StdAudio.java b/Java-Visualizer/cp/stdlibpack/StdAudio.java new file mode 100644 index 00000000..0b85265b --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/StdAudio.java @@ -0,0 +1,282 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac StdAudio.java + * Execution: java StdAudio + * + * Simple library for reading, writing, and manipulating .wav files. + + * + * Limitations + * ----------- + * - Does not seem to work properly when reading .wav files from a .jar file. + * - Assumes the audio is monaural, with sampling rate of 44,100. + * + *************************************************************************/ + +import java.applet.*; +import java.io.*; +import java.net.*; +import javax.sound.sampled.*; + +/** + * Standard audio. This class provides a basic capability for + * creating, reading, and saving audio. + *

+ * The audio format uses a sampling rate of 44,100 (CD quality audio), 16-bit, monaural. + * + *

+ * For additional documentation, see Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdAudio { + + /** + * The sample rate - 44,100 Hz for CD quality audio. + */ + public static final int SAMPLE_RATE = 44100; + + private static final int BYTES_PER_SAMPLE = 2; // 16-bit audio + private static final int BITS_PER_SAMPLE = 16; // 16-bit audio + private static final double MAX_16_BIT = Short.MAX_VALUE; // 32,767 + private static final int SAMPLE_BUFFER_SIZE = 4096; + + + private static SourceDataLine line; // to play the sound + private static byte[] buffer; // our internal buffer + private static int bufferSize = 0; // number of samples currently in internal buffer + + // do not instantiate + private StdAudio() { } + + + // static initializer + static { init(); } + + // open up an audio stream + private static void init() { + try { + // 44,100 samples per second, 16-bit audio, mono, signed PCM, little Endian + AudioFormat format = new AudioFormat((float) SAMPLE_RATE, BITS_PER_SAMPLE, 1, true, false); + DataLine.Info info = new DataLine.Info(SourceDataLine.class, format); + + line = (SourceDataLine) AudioSystem.getLine(info); + line.open(format, SAMPLE_BUFFER_SIZE * BYTES_PER_SAMPLE); + + // the internal buffer is a fraction of the actual buffer size, this choice is arbitrary + // it gets divided because we can't expect the buffered data to line up exactly with when + // the sound card decides to push out its samples. + buffer = new byte[SAMPLE_BUFFER_SIZE * BYTES_PER_SAMPLE/3]; + } catch (Exception e) { + System.out.println(e.getMessage()); + System.exit(1); + } + + // no sound gets made before this call + line.start(); + } + + + /** + * Close standard audio. + */ + public static void close() { + line.drain(); + line.stop(); + } + + /** + * Write one sample (between -1.0 and +1.0) to standard audio. If the sample + * is outside the range, it will be clipped. + */ + public static void play(double in) { + + // clip if outside [-1, +1] + if (in < -1.0) in = -1.0; + if (in > +1.0) in = +1.0; + + // convert to bytes + short s = (short) (MAX_16_BIT * in); + buffer[bufferSize++] = (byte) s; + buffer[bufferSize++] = (byte) (s >> 8); // little Endian + + // send to sound card if buffer is full + if (bufferSize >= buffer.length) { + line.write(buffer, 0, buffer.length); + bufferSize = 0; + } + } + + /** + * Write an array of samples (between -1.0 and +1.0) to standard audio. If a sample + * is outside the range, it will be clipped. + */ + public static void play(double[] input) { + for (int i = 0; i < input.length; i++) { + play(input[i]); + } + } + + /** + * Read audio samples from a file (in .wav or .au format) and return them as a double array + * with values between -1.0 and +1.0. + */ + public static double[] read(String filename) { + byte[] data = readByte(filename); + int N = data.length; + double[] d = new double[N/2]; + for (int i = 0; i < N/2; i++) { + d[i] = ((short) (((data[2*i+1] & 0xFF) << 8) + (data[2*i] & 0xFF))) / ((double) MAX_16_BIT); + } + return d; + } + + + + + /** + * Play a sound file (in .wav, .mid, or .au format) in a background thread. + */ + public static void play(String filename) { + URL url = null; + try { + File file = new File(filename); + if (file.canRead()) url = file.toURI().toURL(); + } + catch (MalformedURLException e) { e.printStackTrace(); } + // URL url = StdAudio.class.getResource(filename); + if (url == null) throw new RuntimeException("audio " + filename + " not found"); + AudioClip clip = Applet.newAudioClip(url); + clip.play(); + } + + /** + * Loop a sound file (in .wav, .mid, or .au format) in a background thread. + */ + public static void loop(String filename) { + URL url = null; + try { + File file = new File(filename); + if (file.canRead()) url = file.toURI().toURL(); + } + catch (MalformedURLException e) { e.printStackTrace(); } + // URL url = StdAudio.class.getResource(filename); + if (url == null) throw new RuntimeException("audio " + filename + " not found"); + AudioClip clip = Applet.newAudioClip(url); + clip.loop(); + } + + + // return data as a byte array + private static byte[] readByte(String filename) { + byte[] data = null; + AudioInputStream ais = null; + try { + + // try to read from file + File file = new File(filename); + if (file.exists()) { + ais = AudioSystem.getAudioInputStream(file); + data = new byte[ais.available()]; + ais.read(data); + } + + // try to read from URL + else { + URL url = StdAudio.class.getResource(filename); + ais = AudioSystem.getAudioInputStream(url); + data = new byte[ais.available()]; + ais.read(data); + } + } + catch (Exception e) { + System.out.println(e.getMessage()); + throw new RuntimeException("Could not read " + filename); + } + + return data; + } + + + + /** + * Save the double array as a sound file (using .wav or .au format). + */ + public static void save(String filename, double[] input) { + + // assumes 44,100 samples per second + // use 16-bit audio, mono, signed PCM, little Endian + AudioFormat format = new AudioFormat(SAMPLE_RATE, 16, 1, true, false); + byte[] data = new byte[2 * input.length]; + for (int i = 0; i < input.length; i++) { + int temp = (short) (input[i] * MAX_16_BIT); + data[2*i + 0] = (byte) temp; + data[2*i + 1] = (byte) (temp >> 8); + } + + // now save the file + try { + ByteArrayInputStream bais = new ByteArrayInputStream(data); + AudioInputStream ais = new AudioInputStream(bais, format, input.length); + if (filename.endsWith(".wav") || filename.endsWith(".WAV")) { + AudioSystem.write(ais, AudioFileFormat.Type.WAVE, new File(filename)); + } + else if (filename.endsWith(".au") || filename.endsWith(".AU")) { + AudioSystem.write(ais, AudioFileFormat.Type.AU, new File(filename)); + } + else { + throw new RuntimeException("File format not supported: " + filename); + } + } + catch (Exception e) { + System.out.println(e); + System.exit(1); + } + } + + + + + /*********************************************************************** + * sample test client + ***********************************************************************/ + + // create a note (sine wave) of the given frequency (Hz), for the given + // duration (seconds) scaled to the given volume (amplitude) + private static double[] note(double hz, double duration, double amplitude) { + int N = (int) (StdAudio.SAMPLE_RATE * duration); + double[] a = new double[N+1]; + for (int i = 0; i <= N; i++) + a[i] = amplitude * Math.sin(2 * Math.PI * i * hz / StdAudio.SAMPLE_RATE); + return a; + } + + /** + * Test client - play an A major scale to standard audio. + */ + public static void main(String[] args) { + + // 440 Hz for 1 sec + double freq = 440.0; + for (int i = 0; i <= StdAudio.SAMPLE_RATE; i++) { + StdAudio.play(0.5 * Math.sin(2*Math.PI * freq * i / StdAudio.SAMPLE_RATE)); + } + + // scale increments + int[] steps = { 0, 2, 4, 5, 7, 9, 11, 12 }; + for (int i = 0; i < steps.length; i++) { + double hz = 440.0 * Math.pow(2, steps[i] / 12.0); + StdAudio.play(note(hz, 1.0, 0.5)); + } + + + // need to call this in non-interactive stuff so the program doesn't terminate + // until all the sound leaves the speaker. + StdAudio.close(); + + // need to terminate a Java program with sound + System.exit(0); + } +} diff --git a/Java-Visualizer/cp/stdlibpack/StdDraw.class b/Java-Visualizer/cp/stdlibpack/StdDraw.class new file mode 100644 index 00000000..1779607a Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/StdDraw.class differ diff --git a/Java-Visualizer/cp/stdlibpack/StdDraw.java b/Java-Visualizer/cp/stdlibpack/StdDraw.java new file mode 100644 index 00000000..582ee78d --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/StdDraw.java @@ -0,0 +1,1119 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac StdDraw.java + * Execution: java StdDraw + * + * Standard drawing library. This class provides a basic capability for + * creating drawings with your programs. It uses a simple graphics model that + * allows you to create drawings consisting of points, lines, and curves + * in a window on your computer and to save the drawings to a file. + * + * Todo + * ---- + * - Add support for gradient fill, etc. + * + * Remarks + * ------- + * - don't use AffineTransform for rescaling since it inverts + * images and strings + * - careful using setFont in inner loop within an animation - + * it can cause flicker + * + *************************************************************************/ + +import java.awt.*; +import java.awt.event.*; +import java.awt.geom.*; +import java.awt.image.*; +import java.io.*; +import java.net.*; +import java.util.LinkedList; +import java.util.TreeSet; +import javax.imageio.ImageIO; +import javax.swing.*; + +/** + * Standard draw. This class provides a basic capability for + * creating drawings with your programs. It uses a simple graphics model that + * allows you to create drawings consisting of points, lines, and curves + * in a window on your computer and to save the drawings to a file. + *

+ * For additional documentation, see Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdDraw implements ActionListener, MouseListener, MouseMotionListener, KeyListener { + + // pre-defined colors + public static final Color BLACK = Color.BLACK; + public static final Color BLUE = Color.BLUE; + public static final Color CYAN = Color.CYAN; + public static final Color DARK_GRAY = Color.DARK_GRAY; + public static final Color GRAY = Color.GRAY; + public static final Color GREEN = Color.GREEN; + public static final Color LIGHT_GRAY = Color.LIGHT_GRAY; + public static final Color MAGENTA = Color.MAGENTA; + public static final Color ORANGE = Color.ORANGE; + public static final Color PINK = Color.PINK; + public static final Color RED = Color.RED; + public static final Color WHITE = Color.WHITE; + public static final Color YELLOW = Color.YELLOW; + + /** + * Shade of blue used in Introduction to Programming in Java. + * It is Pantone 300U. The RGB values are approximately (9, 90, 166). + */ + public static final Color BOOK_BLUE = new Color( 9, 90, 166); + public static final Color BOOK_LIGHT_BLUE = new Color(103, 198, 243); + + /** + * Shade of red used in Algorithms 4th edition. + * It is Pantone 1805U. The RGB values are approximately (150, 35, 31). + */ + public static final Color BOOK_RED = new Color(150, 35, 31); + + // default colors + private static final Color DEFAULT_PEN_COLOR = BLACK; + private static final Color DEFAULT_CLEAR_COLOR = WHITE; + + // current pen color + private static Color penColor; + + // default canvas size is DEFAULT_SIZE-by-DEFAULT_SIZE + private static final int DEFAULT_SIZE = 512; + private static int width = DEFAULT_SIZE; + private static int height = DEFAULT_SIZE; + + // default pen radius + private static final double DEFAULT_PEN_RADIUS = 0.002; + + // current pen radius + private static double penRadius; + + // show we draw immediately or wait until next show? + private static boolean defer = false; + + // boundary of drawing canvas, 5% border + private static final double BORDER = 0.05; + private static final double DEFAULT_XMIN = 0.0; + private static final double DEFAULT_XMAX = 1.0; + private static final double DEFAULT_YMIN = 0.0; + private static final double DEFAULT_YMAX = 1.0; + private static double xmin, ymin, xmax, ymax; + + // for synchronization + private static Object mouseLock = new Object(); + private static Object keyLock = new Object(); + + // default font + private static final Font DEFAULT_FONT = new Font("SansSerif", Font.PLAIN, 16); + + // current font + private static Font font; + + // double buffered graphics + private static BufferedImage offscreenImage, onscreenImage; + private static Graphics2D offscreen, onscreen; + + // singleton for callbacks: avoids generation of extra .class files + private static StdDraw std = new StdDraw(); + + // the frame for drawing to the screen + private static JFrame frame; + + // mouse state + private static boolean mousePressed = false; + private static double mouseX = 0; + private static double mouseY = 0; + + // queue of typed key characters + private static LinkedList keysTyped = new LinkedList(); + + // set of key codes currently pressed down + private static TreeSet keysDown = new TreeSet(); + + + // singleton pattern: client can't instantiate + private StdDraw() { } + + + // static initializer + static { init(); } + + /** + * Set the window size to the default size 512-by-512 pixels. + */ + public static void setCanvasSize() { + setCanvasSize(DEFAULT_SIZE, DEFAULT_SIZE); + } + + /** + * Set the window size to w-by-h pixels. + * + * @param w the width as a number of pixels + * @param h the height as a number of pixels + * @throws a IllegalArgumentException if the width or height is 0 or negative + */ + public static void setCanvasSize(int w, int h) { + if (w < 1 || h < 1) throw new IllegalArgumentException("width and height must be positive"); + width = w; + height = h; + init(); + } + + // init + private static void init() { + if (frame != null) frame.setVisible(false); + frame = new JFrame(); + offscreenImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + onscreenImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + offscreen = offscreenImage.createGraphics(); + onscreen = onscreenImage.createGraphics(); + setXscale(); + setYscale(); + offscreen.setColor(DEFAULT_CLEAR_COLOR); + offscreen.fillRect(0, 0, width, height); + setPenColor(); + setPenRadius(); + setFont(); + clear(); + + // add antialiasing + RenderingHints hints = new RenderingHints(RenderingHints.KEY_ANTIALIASING, + RenderingHints.VALUE_ANTIALIAS_ON); + hints.put(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); + offscreen.addRenderingHints(hints); + + // frame stuff + ImageIcon icon = new ImageIcon(onscreenImage); + JLabel draw = new JLabel(icon); + + draw.addMouseListener(std); + draw.addMouseMotionListener(std); + + frame.setContentPane(draw); + frame.addKeyListener(std); // JLabel cannot get keyboard focus + frame.setResizable(false); + frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // closes all windows + // frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); // closes only current window + frame.setTitle("Standard Draw"); + frame.setJMenuBar(createMenuBar()); + frame.pack(); + frame.requestFocusInWindow(); + frame.setVisible(true); + } + + // create the menu bar (changed to private) + private static JMenuBar createMenuBar() { + JMenuBar menuBar = new JMenuBar(); + JMenu menu = new JMenu("File"); + menuBar.add(menu); + JMenuItem menuItem1 = new JMenuItem(" Save... "); + menuItem1.addActionListener(std); + menuItem1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, + Toolkit.getDefaultToolkit().getMenuShortcutKeyMask())); + menu.add(menuItem1); + return menuBar; + } + + + /************************************************************************* + * User and screen coordinate systems + *************************************************************************/ + + /** + * Set the x-scale to be the default (between 0.0 and 1.0). + */ + public static void setXscale() { setXscale(DEFAULT_XMIN, DEFAULT_XMAX); } + + /** + * Set the y-scale to be the default (between 0.0 and 1.0). + */ + public static void setYscale() { setYscale(DEFAULT_YMIN, DEFAULT_YMAX); } + + /** + * Set the x-scale (a 10% border is added to the values) + * @param min the minimum value of the x-scale + * @param max the maximum value of the x-scale + */ + public static void setXscale(double min, double max) { + double size = max - min; + synchronized (mouseLock) { + xmin = min - BORDER * size; + xmax = max + BORDER * size; + } + } + + /** + * Set the y-scale (a 10% border is added to the values). + * @param min the minimum value of the y-scale + * @param max the maximum value of the y-scale + */ + public static void setYscale(double min, double max) { + double size = max - min; + synchronized (mouseLock) { + ymin = min - BORDER * size; + ymax = max + BORDER * size; + } + } + + /** + * Set the x-scale and y-scale (a 10% border is added to the values) + * @param min the minimum value of the x- and y-scales + * @param max the maximum value of the x- and y-scales + */ + public static void setScale(double min, double max) { + double size = max - min; + synchronized (mouseLock) { + xmin = min - BORDER * size; + xmax = max + BORDER * size; + ymin = min - BORDER * size; + ymax = max + BORDER * size; + } + } + + // helper functions that scale from user coordinates to screen coordinates and back + private static double scaleX(double x) { return width * (x - xmin) / (xmax - xmin); } + private static double scaleY(double y) { return height * (ymax - y) / (ymax - ymin); } + private static double factorX(double w) { return w * width / Math.abs(xmax - xmin); } + private static double factorY(double h) { return h * height / Math.abs(ymax - ymin); } + private static double userX(double x) { return xmin + x * (xmax - xmin) / width; } + private static double userY(double y) { return ymax - y * (ymax - ymin) / height; } + + + /** + * Clear the screen to the default color (white). + */ + public static void clear() { clear(DEFAULT_CLEAR_COLOR); } + /** + * Clear the screen to the given color. + * @param color the Color to make the background + */ + public static void clear(Color color) { + offscreen.setColor(color); + offscreen.fillRect(0, 0, width, height); + offscreen.setColor(penColor); + draw(); + } + + /** + * Get the current pen radius. + */ + public static double getPenRadius() { return penRadius; } + + /** + * Set the pen size to the default (.002). + */ + public static void setPenRadius() { setPenRadius(DEFAULT_PEN_RADIUS); } + /** + * Set the radius of the pen to the given size. + * @param r the radius of the pen + * @throws IllegalArgumentException if r is negative + */ + public static void setPenRadius(double r) { + if (r < 0) throw new IllegalArgumentException("pen radius must be nonnegative"); + penRadius = r; + float scaledPenRadius = (float) (r * DEFAULT_SIZE); + BasicStroke stroke = new BasicStroke(scaledPenRadius, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND); + // BasicStroke stroke = new BasicStroke(scaledPenRadius); + offscreen.setStroke(stroke); + } + + /** + * Get the current pen color. + */ + public static Color getPenColor() { return penColor; } + + /** + * Set the pen color to the default color (black). + */ + public static void setPenColor() { setPenColor(DEFAULT_PEN_COLOR); } + + /** + * Set the pen color to the given color. The available pen colors are + * BLACK, BLUE, CYAN, DARK_GRAY, GRAY, GREEN, LIGHT_GRAY, MAGENTA, + * ORANGE, PINK, RED, WHITE, and YELLOW. + * @param color the Color to make the pen + */ + public static void setPenColor(Color color) { + penColor = color; + offscreen.setColor(penColor); + } + + /** + * Set the pen color to the given RGB color. + * @param red the amount of red (between 0 and 255) + * @param green the amount of green (between 0 and 255) + * @param blue the amount of blue (between 0 and 255) + * @throws IllegalArgumentException if the amount of red, green, or blue are outside prescribed range + */ + public static void setPenColor(int red, int green, int blue) { + if (red < 0 || red >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + if (green < 0 || green >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + if (blue < 0 || blue >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + setPenColor(new Color(red, green, blue)); + } + + /** + * Get the current font. + */ + public static Font getFont() { return font; } + + /** + * Set the font to the default font (sans serif, 16 point). + */ + public static void setFont() { setFont(DEFAULT_FONT); } + + /** + * Set the font to the given value. + * @param f the font to make text + */ + public static void setFont(Font f) { font = f; } + + + /************************************************************************* + * Drawing geometric shapes. + *************************************************************************/ + + /** + * Draw a line from (x0, y0) to (x1, y1). + * @param x0 the x-coordinate of the starting point + * @param y0 the y-coordinate of the starting point + * @param x1 the x-coordinate of the destination point + * @param y1 the y-coordinate of the destination point + */ + public static void line(double x0, double y0, double x1, double y1) { + offscreen.draw(new Line2D.Double(scaleX(x0), scaleY(y0), scaleX(x1), scaleY(y1))); + draw(); + } + + /** + * Draw one pixel at (x, y). + * @param x the x-coordinate of the pixel + * @param y the y-coordinate of the pixel + */ + private static void pixel(double x, double y) { + offscreen.fillRect((int) Math.round(scaleX(x)), (int) Math.round(scaleY(y)), 1, 1); + } + + /** + * Draw a point at (x, y). + * @param x the x-coordinate of the point + * @param y the y-coordinate of the point + */ + public static void point(double x, double y) { + double xs = scaleX(x); + double ys = scaleY(y); + double r = penRadius; + float scaledPenRadius = (float) (r * DEFAULT_SIZE); + + // double ws = factorX(2*r); + // double hs = factorY(2*r); + // if (ws <= 1 && hs <= 1) pixel(x, y); + if (scaledPenRadius <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - scaledPenRadius/2, ys - scaledPenRadius/2, + scaledPenRadius, scaledPenRadius)); + draw(); + } + + /** + * Draw a circle of radius r, centered on (x, y). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @throws IllegalArgumentException if the radius of the circle is negative + */ + public static void circle(double x, double y, double r) { + if (r < 0) throw new IllegalArgumentException("circle radius must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw filled circle of radius r, centered on (x, y). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @throws IllegalArgumentException if the radius of the circle is negative + */ + public static void filledCircle(double x, double y, double r) { + if (r < 0) throw new IllegalArgumentException("circle radius must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw an ellipse with given semimajor and semiminor axes, centered on (x, y). + * @param x the x-coordinate of the center of the ellipse + * @param y the y-coordinate of the center of the ellipse + * @param semiMajorAxis is the semimajor axis of the ellipse + * @param semiMinorAxis is the semiminor axis of the ellipse + * @throws IllegalArgumentException if either of the axes are negative + */ + public static void ellipse(double x, double y, double semiMajorAxis, double semiMinorAxis) { + if (semiMajorAxis < 0) throw new IllegalArgumentException("ellipse semimajor axis must be nonnegative"); + if (semiMinorAxis < 0) throw new IllegalArgumentException("ellipse semiminor axis must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*semiMajorAxis); + double hs = factorY(2*semiMinorAxis); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw an ellipse with given semimajor and semiminor axes, centered on (x, y). + * @param x the x-coordinate of the center of the ellipse + * @param y the y-coordinate of the center of the ellipse + * @param semiMajorAxis is the semimajor axis of the ellipse + * @param semiMinorAxis is the semiminor axis of the ellipse + * @throws IllegalArgumentException if either of the axes are negative + */ + public static void filledEllipse(double x, double y, double semiMajorAxis, double semiMinorAxis) { + if (semiMajorAxis < 0) throw new IllegalArgumentException("ellipse semimajor axis must be nonnegative"); + if (semiMinorAxis < 0) throw new IllegalArgumentException("ellipse semiminor axis must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*semiMajorAxis); + double hs = factorY(2*semiMinorAxis); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw an arc of radius r, centered on (x, y), from angle1 to angle2 (in degrees). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @param angle1 the starting angle. 0 would mean an arc beginning at 3 o'clock. + * @param angle2 the angle at the end of the arc. For example, if + * you want a 90 degree arc, then angle2 should be angle1 + 90. + * @throws IllegalArgumentException if the radius of the circle is negative + */ + public static void arc(double x, double y, double r, double angle1, double angle2) { + if (r < 0) throw new IllegalArgumentException("arc radius must be nonnegative"); + while (angle2 < angle1) angle2 += 360; + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Arc2D.Double(xs - ws/2, ys - hs/2, ws, hs, angle1, angle2 - angle1, Arc2D.OPEN)); + draw(); + } + + /** + * Draw a square of side length 2r, centered on (x, y). + * @param x the x-coordinate of the center of the square + * @param y the y-coordinate of the center of the square + * @param r radius is half the length of any side of the square + * @throws IllegalArgumentException if r is negative + */ + public static void square(double x, double y, double r) { + if (r < 0) throw new IllegalArgumentException("square side length must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a filled square of side length 2r, centered on (x, y). + * @param x the x-coordinate of the center of the square + * @param y the y-coordinate of the center of the square + * @param r radius is half the length of any side of the square + * @throws IllegalArgumentException if r is negative + */ + public static void filledSquare(double x, double y, double r) { + if (r < 0) throw new IllegalArgumentException("square side length must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw a rectangle of given half width and half height, centered on (x, y). + * @param x the x-coordinate of the center of the rectangle + * @param y the y-coordinate of the center of the rectangle + * @param halfWidth is half the width of the rectangle + * @param halfHeight is half the height of the rectangle + * @throws IllegalArgumentException if halfWidth or halfHeight is negative + */ + public static void rectangle(double x, double y, double halfWidth, double halfHeight) { + if (halfWidth < 0) throw new IllegalArgumentException("half width must be nonnegative"); + if (halfHeight < 0) throw new IllegalArgumentException("half height must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*halfWidth); + double hs = factorY(2*halfHeight); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a filled rectangle of given half width and half height, centered on (x, y). + * @param x the x-coordinate of the center of the rectangle + * @param y the y-coordinate of the center of the rectangle + * @param halfWidth is half the width of the rectangle + * @param halfHeight is half the height of the rectangle + * @throws IllegalArgumentException if halfWidth or halfHeight is negative + */ + public static void filledRectangle(double x, double y, double halfWidth, double halfHeight) { + if (halfWidth < 0) throw new IllegalArgumentException("half width must be nonnegative"); + if (halfHeight < 0) throw new IllegalArgumentException("half height must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*halfWidth); + double hs = factorY(2*halfHeight); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw a polygon with the given (x[i], y[i]) coordinates. + * @param x an array of all the x-coordindates of the polygon + * @param y an array of all the y-coordindates of the polygon + */ + public static void polygon(double[] x, double[] y) { + int N = x.length; + GeneralPath path = new GeneralPath(); + path.moveTo((float) scaleX(x[0]), (float) scaleY(y[0])); + for (int i = 0; i < N; i++) + path.lineTo((float) scaleX(x[i]), (float) scaleY(y[i])); + path.closePath(); + offscreen.draw(path); + draw(); + } + + /** + * Draw a filled polygon with the given (x[i], y[i]) coordinates. + * @param x an array of all the x-coordindates of the polygon + * @param y an array of all the y-coordindates of the polygon + */ + public static void filledPolygon(double[] x, double[] y) { + int N = x.length; + GeneralPath path = new GeneralPath(); + path.moveTo((float) scaleX(x[0]), (float) scaleY(y[0])); + for (int i = 0; i < N; i++) + path.lineTo((float) scaleX(x[i]), (float) scaleY(y[i])); + path.closePath(); + offscreen.fill(path); + draw(); + } + + + + /************************************************************************* + * Drawing images. + *************************************************************************/ + + // get an image from the given filename + private static Image getImage(String filename) { + + // to read from file + ImageIcon icon = new ImageIcon(filename); + + // try to read from URL + if ((icon == null) || (icon.getImageLoadStatus() != MediaTracker.COMPLETE)) { + try { + URL url = new URL(filename); + icon = new ImageIcon(url); + } catch (Exception e) { /* not a url */ } + } + + // in case file is inside a .jar + if ((icon == null) || (icon.getImageLoadStatus() != MediaTracker.COMPLETE)) { + URL url = StdDraw.class.getResource(filename); + if (url == null) throw new IllegalArgumentException("image " + filename + " not found"); + icon = new ImageIcon(url); + } + + return icon.getImage(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y). + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @throws IllegalArgumentException if the image is corrupt + */ + public static void picture(double x, double y, String s) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = image.getWidth(null); + int hs = image.getHeight(null); + if (ws < 0 || hs < 0) throw new IllegalArgumentException("image " + s + " is corrupt"); + + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), (int) Math.round(ys - hs/2.0), null); + draw(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), + * rotated given number of degrees + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param degrees is the number of degrees to rotate counterclockwise + * @throws IllegalArgumentException if the image is corrupt + */ + public static void picture(double x, double y, String s, double degrees) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = image.getWidth(null); + int hs = image.getHeight(null); + if (ws < 0 || hs < 0) throw new IllegalArgumentException("image " + s + " is corrupt"); + + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), (int) Math.round(ys - hs/2.0), null); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + + draw(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), rescaled to w-by-h. + * @param x the center x coordinate of the image + * @param y the center y coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param w the width of the image + * @param h the height of the image + * @throws IllegalArgumentException if the width height are negative + * @throws IllegalArgumentException if the image is corrupt + */ + public static void picture(double x, double y, String s, double w, double h) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + if (w < 0) throw new IllegalArgumentException("width is negative: " + w); + if (h < 0) throw new IllegalArgumentException("height is negative: " + h); + double ws = factorX(w); + double hs = factorY(h); + if (ws < 0 || hs < 0) throw new IllegalArgumentException("image " + s + " is corrupt"); + if (ws <= 1 && hs <= 1) pixel(x, y); + else { + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), + (int) Math.round(ys - hs/2.0), + (int) Math.round(ws), + (int) Math.round(hs), null); + } + draw(); + } + + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), rotated + * given number of degrees, rescaled to w-by-h. + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param w the width of the image + * @param h the height of the image + * @param degrees is the number of degrees to rotate counterclockwise + * @throws IllegalArgumentException if the image is corrupt + */ + public static void picture(double x, double y, String s, double w, double h, double degrees) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(w); + double hs = factorY(h); + if (ws < 0 || hs < 0) throw new IllegalArgumentException("image " + s + " is corrupt"); + if (ws <= 1 && hs <= 1) pixel(x, y); + + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), + (int) Math.round(ys - hs/2.0), + (int) Math.round(ws), + (int) Math.round(hs), null); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + + draw(); + } + + + /************************************************************************* + * Drawing text. + *************************************************************************/ + + /** + * Write the given text string in the current font, centered on (x, y). + * @param x the center x-coordinate of the text + * @param y the center y-coordinate of the text + * @param s the text + */ + public static void text(double x, double y, String s) { + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = metrics.stringWidth(s); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs - ws/2.0), (float) (ys + hs)); + draw(); + } + + /** + * Write the given text string in the current font, centered on (x, y) and + * rotated by the specified number of degrees + * @param x the center x-coordinate of the text + * @param y the center y-coordinate of the text + * @param s the text + * @param degrees is the number of degrees to rotate counterclockwise + */ + public static void text(double x, double y, String s, double degrees) { + double xs = scaleX(x); + double ys = scaleY(y); + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + text(x, y, s); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + } + + + /** + * Write the given text string in the current font, left-aligned at (x, y). + * @param x the x-coordinate of the text + * @param y the y-coordinate of the text + * @param s the text + */ + public static void textLeft(double x, double y, String s) { + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs), (float) (ys + hs)); + draw(); + } + + /** + * Write the given text string in the current font, right-aligned at (x, y). + * @param x the x-coordinate of the text + * @param y the y-coordinate of the text + * @param s the text + */ + public static void textRight(double x, double y, String s) { + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = metrics.stringWidth(s); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs - ws), (float) (ys + hs)); + draw(); + } + + + + /** + * Display on screen, pause for t milliseconds, and turn on + * animation mode: subsequent calls to + * drawing methods such as line(), circle(), and square() + * will not be displayed on screen until the next call to show(). + * This is useful for producing animations (clear the screen, draw a bunch of shapes, + * display on screen for a fixed amount of time, and repeat). It also speeds up + * drawing a huge number of shapes (call show(0) to defer drawing + * on screen, draw the shapes, and call show(0) to display them all + * on screen at once). + * @param t number of milliseconds + */ + public static void show(int t) { + defer = false; + draw(); + try { Thread.sleep(t); } + catch (InterruptedException e) { System.out.println("Error sleeping"); } + defer = true; + } + + /** + * Display on-screen and turn off animation mode: + * subsequent calls to + * drawing methods such as line(), circle(), and square() + * will be displayed on screen when called. This is the default. + */ + public static void show() { + defer = false; + draw(); + } + + // draw onscreen if defer is false + private static void draw() { + if (defer) return; + onscreen.drawImage(offscreenImage, 0, 0, null); + frame.repaint(); + } + + + /************************************************************************* + * Save drawing to a file. + *************************************************************************/ + + /** + * Save onscreen image to file - suffix must be png, jpg, or gif. + * @param filename the name of the file with one of the required suffixes + */ + public static void save(String filename) { + File file = new File(filename); + String suffix = filename.substring(filename.lastIndexOf('.') + 1); + + // png files + if (suffix.toLowerCase().equals("png")) { + try { ImageIO.write(onscreenImage, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + + // need to change from ARGB to RGB for jpeg + // reference: http://archives.java.sun.com/cgi-bin/wa?A2=ind0404&L=java2d-interest&D=0&P=2727 + else if (suffix.toLowerCase().equals("jpg")) { + WritableRaster raster = onscreenImage.getRaster(); + WritableRaster newRaster; + newRaster = raster.createWritableChild(0, 0, width, height, 0, 0, new int[] {0, 1, 2}); + DirectColorModel cm = (DirectColorModel) onscreenImage.getColorModel(); + DirectColorModel newCM = new DirectColorModel(cm.getPixelSize(), + cm.getRedMask(), + cm.getGreenMask(), + cm.getBlueMask()); + BufferedImage rgbBuffer = new BufferedImage(newCM, newRaster, false, null); + try { ImageIO.write(rgbBuffer, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + + else { + System.out.println("Invalid image file type: " + suffix); + } + } + + + /** + * This method cannot be called directly. + */ + public void actionPerformed(ActionEvent e) { + FileDialog chooser = new FileDialog(StdDraw.frame, "Use a .png or .jpg extension", FileDialog.SAVE); + chooser.setVisible(true); + String filename = chooser.getFile(); + if (filename != null) { + StdDraw.save(chooser.getDirectory() + File.separator + chooser.getFile()); + } + } + + + /************************************************************************* + * Mouse interactions. + *************************************************************************/ + + /** + * Is the mouse being pressed? + * @return true or false + */ + public static boolean mousePressed() { + synchronized (mouseLock) { + return mousePressed; + } + } + + /** + * What is the x-coordinate of the mouse? + * @return the value of the x-coordinate of the mouse + */ + public static double mouseX() { + synchronized (mouseLock) { + return mouseX; + } + } + + /** + * What is the y-coordinate of the mouse? + * @return the value of the y-coordinate of the mouse + */ + public static double mouseY() { + synchronized (mouseLock) { + return mouseY; + } + } + + + /** + * This method cannot be called directly. + */ + public void mouseClicked(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mouseEntered(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mouseExited(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mousePressed(MouseEvent e) { + synchronized (mouseLock) { + mouseX = StdDraw.userX(e.getX()); + mouseY = StdDraw.userY(e.getY()); + mousePressed = true; + } + } + + /** + * This method cannot be called directly. + */ + public void mouseReleased(MouseEvent e) { + synchronized (mouseLock) { + mousePressed = false; + } + } + + /** + * This method cannot be called directly. + */ + public void mouseDragged(MouseEvent e) { + synchronized (mouseLock) { + mouseX = StdDraw.userX(e.getX()); + mouseY = StdDraw.userY(e.getY()); + } + } + + /** + * This method cannot be called directly. + */ + public void mouseMoved(MouseEvent e) { + synchronized (mouseLock) { + mouseX = StdDraw.userX(e.getX()); + mouseY = StdDraw.userY(e.getY()); + } + } + + + /************************************************************************* + * Keyboard interactions. + *************************************************************************/ + + /** + * Has the user typed a key? + * @return true if the user has typed a key, false otherwise + */ + public static boolean hasNextKeyTyped() { + synchronized (keyLock) { + return !keysTyped.isEmpty(); + } + } + + /** + * What is the next key that was typed by the user? This method returns + * a Unicode character corresponding to the key typed (such as 'a' or 'A'). + * It cannot identify action keys (such as F1 + * and arrow keys) or modifier keys (such as control). + * @return the next Unicode key typed + */ + public static char nextKeyTyped() { + synchronized (keyLock) { + return keysTyped.removeLast(); + } + } + + /** + * Is the keycode currently being pressed? This method takes as an argument + * the keycode (corresponding to a physical key). It can handle action keys + * (such as F1 and arrow keys) and modifier keys (such as shift and control). + * See KeyEvent.java + * for a description of key codes. + * @return true if keycode is currently being pressed, false otherwise + */ + public static boolean isKeyPressed(int keycode) { + synchronized (keyLock) { + return keysDown.contains(keycode); + } + } + + + /** + * This method cannot be called directly. + */ + public void keyTyped(KeyEvent e) { + synchronized (keyLock) { + keysTyped.addFirst(e.getKeyChar()); + } + } + + /** + * This method cannot be called directly. + */ + public void keyPressed(KeyEvent e) { + synchronized (keyLock) { + keysDown.add(e.getKeyCode()); + } + } + + /** + * This method cannot be called directly. + */ + public void keyReleased(KeyEvent e) { + synchronized (keyLock) { + keysDown.remove(e.getKeyCode()); + } + } + + + + + /** + * Test client. + */ + public static void main(String[] args) { + StdDraw.square(.2, .8, .1); + StdDraw.filledSquare(.8, .8, .2); + StdDraw.circle(.8, .2, .2); + + StdDraw.setPenColor(StdDraw.BOOK_RED); + StdDraw.setPenRadius(.02); + StdDraw.arc(.8, .2, .1, 200, 45); + + // draw a blue diamond + StdDraw.setPenRadius(); + StdDraw.setPenColor(StdDraw.BOOK_BLUE); + double[] x = { .1, .2, .3, .2 }; + double[] y = { .2, .3, .2, .1 }; + StdDraw.filledPolygon(x, y); + + // text + StdDraw.setPenColor(StdDraw.BLACK); + StdDraw.text(0.2, 0.5, "black text"); + StdDraw.setPenColor(StdDraw.WHITE); + StdDraw.text(0.8, 0.8, "white text"); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/StdIn.class b/Java-Visualizer/cp/stdlibpack/StdIn.class new file mode 100644 index 00000000..44706b62 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/StdIn.class differ diff --git a/Java-Visualizer/cp/stdlibpack/StdIn.java b/Java-Visualizer/cp/stdlibpack/StdIn.java new file mode 100644 index 00000000..fa996bd7 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/StdIn.java @@ -0,0 +1,345 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac StdIn.java + * Execution: java StdIn (interactive test of basic functionality) + * + * Reads in data of various types from standard input. + * + *************************************************************************/ + +import java.util.Scanner; +import java.util.NoSuchElementException; +import java.util.regex.Pattern; + +/** + * Standard input. This class provides methods for reading strings + * and numbers from standard input. See + * Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + *

+ * See the technical information in the documentation of the {@link In} + * class, which applies to this class as well. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdIn { + + // it doesn't make sense to instantiate this class + private StdIn() {} + + private static Scanner scanner; + + /*** begin: section (1 of 2) of code duplicated from In to StdIn */ + + // assume Unicode UTF-8 encoding + private static final String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with System.out. + private static final java.util.Locale usLocale = + new java.util.Locale("en", "US"); + + // the default token separator; we maintain the invariant that this value + // is held by the scanner's delimiter between calls + private static final Pattern WHITESPACE_PATTERN + = Pattern.compile("\\p{javaWhitespace}+"); + + // makes whitespace characters significant + private static final Pattern EMPTY_PATTERN + = Pattern.compile(""); + + // used to read the entire input. source: + // http://weblogs.java.net/blog/pat/archive/2004/10/stupid_scanner_1.html + private static final Pattern EVERYTHING_PATTERN + = Pattern.compile("\\A"); + + /*** end: section (1 of 2) of code duplicated from In to StdIn */ + + public static void setString(String text) { + scanner.close(); // warning, this may close StdIn the first time! + setScanner(new Scanner(text)); + position = 0; + } + + + /*** begin: section (2 of 2) of code duplicated from In to StdIn, + * with all methods changed from "public" to "public static" ***/ + + /** How many characters have been read so far? + */ + public static void savePosition() { + try { + position = scanner.match().end(); + } + catch (IllegalStateException e) { + position = 0; // nothing has been read yet + } + } + + public static int position = 0; + + /** + * Is the input empty (except possibly for whitespace)? Use this + * to know whether the next call to {@link #readString()}, + * {@link #readDouble()}, etc will succeed. + */ + public static boolean isEmpty() { + return !scanner.hasNext(); + } + + /** + * Does the input have a next line? Use this to know whether the + * next call to {@link #readLine()} will succeed.

Functionally + * equivalent to {@link #hasNextChar()}. + */ + public static boolean hasNextLine() { + return scanner.hasNextLine(); + } + + /** + * Is the input empty (including whitespace)? Use this to know + * whether the next call to {@link #readChar()} will succeed.

Functionally + * equivalent to {@link #hasNextLine()}. + */ + public static boolean hasNextChar() { + scanner.useDelimiter(EMPTY_PATTERN); + boolean result = scanner.hasNext(); + scanner.useDelimiter(WHITESPACE_PATTERN); + return result; + } + + + /** + * Read and return the next line. + */ + public static String readLine() { + String line; + try { line = scanner.nextLine(); savePosition(); } + catch (Exception e) { line = null; } + return line; + } + + /** + * Read and return the next character. + */ + public static char readChar() { + scanner.useDelimiter(EMPTY_PATTERN); + String ch = scanner.next(); + assert (ch.length() == 1) : "Internal (Std)In.readChar() error!" + + " Please contact the authors."; + scanner.useDelimiter(WHITESPACE_PATTERN); + char result = ch.charAt(0); + savePosition(); + return result; + } + + + /** + * Read and return the remainder of the input as a string. + */ + public static String readAll() { + if (!scanner.hasNextLine()) + return ""; + + String result = scanner.useDelimiter(EVERYTHING_PATTERN).next(); + // not that important to reset delimeter, since now scanner is empty + scanner.useDelimiter(WHITESPACE_PATTERN); // but let's do it anyway + savePosition(); + return result; + } + + + /** + * Read and return the next string. + */ + public static String readString() { + String result = scanner.next(); + savePosition(); + return result; + } + + /** + * Read and return the next int. + */ + public static int readInt() { + int result = 0; + result = scanner.nextInt(); + savePosition(); + return result; + } + + /** + * Read and return the next double. + */ + public static double readDouble() { + double result = scanner.nextDouble(); + savePosition(); + return result; + } + + /** + * Read and return the next float. + */ + public static float readFloat() { + float result = scanner.nextFloat(); + savePosition(); + return result; + } + + /** + * Read and return the next long. + */ + public static long readLong() { + long result = scanner.nextLong(); + savePosition(); + return result; + } + + /** + * Read and return the next short. + */ + public static short readShort() { + short result = scanner.nextShort(); + savePosition(); + return result; + } + + /** + * Read and return the next byte. + */ + public static byte readByte() { + byte result = scanner.nextByte(); + savePosition(); + return result; + } + + /** + * Read and return the next boolean, allowing case-insensitive + * "true" or "1" for true, and "false" or "0" for false. + */ + public static boolean readBoolean() { + String s = readString(); + savePosition(); + if (s.equalsIgnoreCase("true")) return true; + if (s.equalsIgnoreCase("false")) return false; + if (s.equals("1")) return true; + if (s.equals("0")) return false; + throw new java.util.InputMismatchException(); + } + + /** + * Read all strings until the end of input is reached, and return them. + */ + public static String[] readAllStrings() { + // we could use readAll.trim().split(), but that's not consistent + // since trim() uses characters 0x00..0x20 as whitespace + String[] tokens = WHITESPACE_PATTERN.split(readAll()); + if (tokens.length == 0 || tokens[0].length() > 0) + return tokens; + String[] decapitokens = new String[tokens.length-1]; + for (int i=0; i < tokens.length-1; i++) + decapitokens[i] = tokens[i+1]; + savePosition(); + return decapitokens; + } + + /** + * Read all ints until the end of input is reached, and return them. + */ + public static int[] readAllInts() { + String[] fields = readAllStrings(); + int[] vals = new int[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Integer.parseInt(fields[i]); + savePosition(); + return vals; + } + + /** + * Read all doubles until the end of input is reached, and return them. + */ + public static double[] readAllDoubles() { + String[] fields = readAllStrings(); + double[] vals = new double[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Double.parseDouble(fields[i]); + savePosition(); + return vals; + } + + /*** end: section (2 of 2) of code duplicated from In to StdIn */ + + + /** + * If StdIn changes, use this to reinitialize the scanner. + */ + private static void resync() { + setScanner(new Scanner(new java.io.BufferedInputStream(System.in), + charsetName)); + } + + private static void setScanner(Scanner scanner) { + StdIn.scanner = scanner; + StdIn.scanner.useLocale(usLocale); + savePosition(); + } + + // do this once when StdIn is initialized + static { + resync(); + } + + /** + * Reads all ints from stdin. + * @deprecated For more consistency, use {@link #readAllInts()} + */ + public static int[] readInts() { + return readAllInts(); + } + + /** + * Reads all doubles from stdin. + * @deprecated For more consistency, use {@link #readAllDoubles()} + */ + public static double[] readDoubles() { + return readAllDoubles(); + } + + /** + * Reads all Strings from stdin. + * @deprecated For more consistency, use {@link #readAllStrings()} + */ + public static String[] readStrings() { + return readAllStrings(); + } + + + /** + * Interactive test of basic functionality. + */ + public static void main(String[] args) { + + System.out.println("Type a string: "); + String s = StdIn.readString(); + System.out.println("Your string was: " + s); + System.out.println(); + + System.out.println("Type an int: "); + int a = StdIn.readInt(); + System.out.println("Your int was: " + a); + System.out.println(); + + System.out.println("Type a boolean: "); + boolean b = StdIn.readBoolean(); + System.out.println("Your boolean was: " + b); + System.out.println(); + + System.out.println("Type a double: "); + double c = StdIn.readDouble(); + System.out.println("Your double was: " + c); + System.out.println(); + + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/StdInTest.class b/Java-Visualizer/cp/stdlibpack/StdInTest.class new file mode 100644 index 00000000..90d3a364 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/StdInTest.class differ diff --git a/Java-Visualizer/cp/stdlibpack/StdInTest.java b/Java-Visualizer/cp/stdlibpack/StdInTest.java new file mode 100644 index 00000000..b17c6e97 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/StdInTest.java @@ -0,0 +1,341 @@ +package stdlibpack; +/** + * Test client for StdIn and In. + **/ + +import java.util.Scanner; +import java.util.Arrays; +import java.lang.reflect.Array; +import java.lang.reflect.Method; +import java.io.ByteArrayInputStream; +import java.net.URL; +import java.net.URLClassLoader; + +public class StdInTest { + + // make a printable/readable version of an object + public static Object escape(Object original) { + if (original instanceof Character) { + char u = (char) ((Character)original); + int idx = "\b\t\n\f\r\"\'\\".indexOf(u); + if (idx >= 0) + return "\\"+"btnfr\"\'\\".charAt(idx); + if (u < 32) + return "\\"+Integer.toOctalString(u); + if (u > 126) + return "\\u"+String.format("%04X", (int)u); + return original; + } + else if (original instanceof String) { + StringBuilder result = new StringBuilder(); + for (char c : ((String)original).toCharArray()) + result.append(escape(c)); + return "\"" + result.toString() + "\""; + } + else if (original.getClass().isArray()) { + StringBuilder result = new StringBuilder("["); + int len = Array.getLength(original); + for (int i=0; iStandard output. This class provides methods for writing strings + * and numbers to standard output. + *

+ * For additional documentation, see Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdOut { + + // force Unicode UTF-8 encoding; otherwise it's system dependent + private static final String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with StdIn + private static final Locale US_LOCALE = new Locale("en", "US"); + + // send output here + private static PrintWriter out; + + // this is called before invoking any methods + public static void resync() { + try { + out = new PrintWriter(new OutputStreamWriter(System.out, charsetName), true); + } + catch (UnsupportedEncodingException e) { System.out.println(e); } + } + + static { + resync(); + } + + // don't instantiate + private StdOut() { } + + // close the output stream (not required) + /** + * Close standard output. + */ + public static void close() { + out.close(); + } + + /** + * Terminate the current line by printing the line separator string. + */ + public static void println() { + out.println(); + } + + /** + * Print an object to standard output and then terminate the line. + */ + public static void println(Object x) { + out.println(x); + } + + /** + * Print a boolean to standard output and then terminate the line. + */ + public static void println(boolean x) { + out.println(x); + } + + /** + * Print a char to standard output and then terminate the line. + */ + public static void println(char x) { + out.println(x); + } + + /** + * Print a double to standard output and then terminate the line. + */ + public static void println(double x) { + out.println(x); + } + + /** + * Print a float to standard output and then terminate the line. + */ + public static void println(float x) { + out.println(x); + } + + /** + * Print an int to standard output and then terminate the line. + */ + public static void println(int x) { + out.println(x); + } + + /** + * Print a long to standard output and then terminate the line. + */ + public static void println(long x) { + out.println(x); + } + + /** + * Print a short to standard output and then terminate the line. + */ + public static void println(short x) { + out.println(x); + } + + /** + * Print a byte to standard output and then terminate the line. + */ + public static void println(byte x) { + out.println(x); + } + + /** + * Flush standard output. + */ + public static void print() { + out.flush(); + } + + /** + * Print an Object to standard output and flush standard output. + */ + public static void print(Object x) { + out.print(x); + out.flush(); + } + + /** + * Print a boolean to standard output and flush standard output. + */ + public static void print(boolean x) { + out.print(x); + out.flush(); + } + + /** + * Print a char to standard output and flush standard output. + */ + public static void print(char x) { + out.print(x); + out.flush(); + } + + /** + * Print a double to standard output and flush standard output. + */ + public static void print(double x) { + out.print(x); + out.flush(); + } + + /** + * Print a float to standard output and flush standard output. + */ + public static void print(float x) { + out.print(x); + out.flush(); + } + + /** + * Print an int to standard output and flush standard output. + */ + public static void print(int x) { + out.print(x); + out.flush(); + } + + /** + * Print a long to standard output and flush standard output. + */ + public static void print(long x) { + out.print(x); + out.flush(); + } + + /** + * Print a short to standard output and flush standard output. + */ + public static void print(short x) { + out.print(x); + out.flush(); + } + + /** + * Print a byte to standard output and flush standard output. + */ + public static void print(byte x) { + out.print(x); + out.flush(); + } + + /** + * Print a formatted string to standard output using the specified + * format string and arguments, and flush standard output. + */ + public static void printf(String format, Object... args) { + out.printf(US_LOCALE, format, args); + out.flush(); + } + + /** + * Print a formatted string to standard output using the specified + * locale, format string, and arguments, and flush standard output. + */ + public static void printf(Locale locale, String format, Object... args) { + out.printf(locale, format, args); + out.flush(); + } + + // This method is just here to test the class + public static void main(String[] args) { + + // write to stdout + StdOut.println("Test"); + StdOut.println(17); + StdOut.println(true); + StdOut.printf("%.6f\n", 1.0/7.0); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/StdRandom.class b/Java-Visualizer/cp/stdlibpack/StdRandom.class new file mode 100644 index 00000000..8d156895 Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/StdRandom.class differ diff --git a/Java-Visualizer/cp/stdlibpack/StdRandom.java b/Java-Visualizer/cp/stdlibpack/StdRandom.java new file mode 100644 index 00000000..328a4962 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/StdRandom.java @@ -0,0 +1,348 @@ +package stdlibpack; +/************************************************************************* + * Compilation: javac StdRandom.java + * Execution: java StdRandom + * + * A library of static methods to generate pseudo-random numbers from + * different distributions (bernoulli, uniform, gaussian, discrete, + * and exponential). Also includes a method for shuffling an array. + * + * + * % java StdRandom 5 + * seed = 1316600602069 + * 59 16.81826 true 8.83954 0 + * 32 91.32098 true 9.11026 0 + * 35 10.11874 true 8.95396 3 + * 92 32.88401 true 8.87089 0 + * 72 92.55791 true 9.46241 0 + * + * % java StdRandom 5 + * seed = 1316600616575 + * 96 60.17070 true 8.72821 0 + * 79 32.01607 true 8.58159 0 + * 81 59.49065 true 9.10423 1 + * 96 51.65818 true 9.02102 0 + * 99 17.55771 true 8.99762 0 + * + * % java StdRandom 5 1316600616575 + * seed = 1316600616575 + * 96 60.17070 true 8.72821 0 + * 79 32.01607 true 8.58159 0 + * 81 59.49065 true 9.10423 1 + * 96 51.65818 true 9.02102 0 + * 99 17.55771 true 8.99762 0 + * + * + * Remark + * ------ + * - Relies on randomness of nextDouble() method in java.util.Random + * to generate pseudorandom numbers in [0, 1). + * + * - This library allows you to set and get the pseudorandom number seed. + * + * - See http://www.honeylocust.com/RngPack/ for an industrial + * strength random number generator in Java. + * + *************************************************************************/ + +import java.util.Random; + +/** + * Standard random. This class provides methods for generating + * random number from various distributions. + *

+ * For additional documentation, see Section 2.2 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdRandom { + + private static Random random; // pseudo-random number generator + private static long seed; // pseudo-random number generator seed + + // static initializer + static { + // this is how the seed was set in Java 1.4 + seed = System.currentTimeMillis(); + random = new Random(seed); + } + + // don't instantiate + private StdRandom() { } + + /** + * Set the seed of the psedurandom number generator. + */ + public static void setSeed(long s) { + seed = s; + random = new Random(seed); + } + + /** + * Get the seed of the psedurandom number generator. + */ + public static long getSeed() { + return seed; + } + + /** + * Return real number uniformly in [0, 1). + */ + public static double uniform() { + return random.nextDouble(); + } + + /** + * Return an integer uniformly between 0 (inclusive) and N (exclusive). + */ + public static int uniform(int N) { + return random.nextInt(N); + } + + /////////////////////////////////////////////////////////////////////////// + // STATIC METHODS BELOW RELY ON JAVA.UTIL.RANDOM ONLY INDIRECTLY VIA + // THE STATIC METHODS ABOVE. + /////////////////////////////////////////////////////////////////////////// + + /** + * Return real number uniformly in [0, 1). + */ + public static double random() { + return uniform(); + } + + /** + * Return int uniformly in [a, b). + */ + public static int uniform(int a, int b) { + return a + uniform(b - a); + } + + /** + * Return real number uniformly in [a, b). + */ + public static double uniform(double a, double b) { + return a + uniform() * (b-a); + } + + /** + * Return a boolean, which is true with probability p, and false otherwise. + */ + public static boolean bernoulli(double p) { + return uniform() < p; + } + + /** + * Return a boolean, which is true with probability .5, and false otherwise. + */ + public static boolean bernoulli() { + return bernoulli(0.5); + } + + /** + * Return a real number with a standard Gaussian distribution. + */ + public static double gaussian() { + // use the polar form of the Box-Muller transform + double r, x, y; + do { + x = uniform(-1.0, 1.0); + y = uniform(-1.0, 1.0); + r = x*x + y*y; + } while (r >= 1 || r == 0); + return x * Math.sqrt(-2 * Math.log(r) / r); + + // Remark: y * Math.sqrt(-2 * Math.log(r) / r) + // is an independent random gaussian + } + + /** + * Return a real number from a gaussian distribution with given mean and stddev + */ + public static double gaussian(double mean, double stddev) { + return mean + stddev * gaussian(); + } + + /** + * Return an integer with a geometric distribution with mean 1/p. + */ + public static int geometric(double p) { + // using algorithm given by Knuth + return (int) Math.ceil(Math.log(uniform()) / Math.log(1.0 - p)); + } + + /** + * Return an integer with a Poisson distribution with mean lambda. + */ + public static int poisson(double lambda) { + // using algorithm given by Knuth + // see http://en.wikipedia.org/wiki/Poisson_distribution + int k = 0; + double p = 1.0; + double L = Math.exp(-lambda); + do { + k++; + p *= uniform(); + } while (p >= L); + return k-1; + } + + /** + * Return a real number with a Pareto distribution with parameter alpha. + */ + public static double pareto(double alpha) { + return Math.pow(1 - uniform(), -1.0/alpha) - 1.0; + } + + /** + * Return a real number with a Cauchy distribution. + */ + public static double cauchy() { + return Math.tan(Math.PI * (uniform() - 0.5)); + } + + /** + * Return a number from a discrete distribution: i with probability a[i]. + * Precondition: array entries are nonnegative and their sum (very nearly) equals 1.0. + */ + public static int discrete(double[] a) { + double EPSILON = 1E-14; + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + if (a[i] < 0.0) throw new IllegalArgumentException("array entry " + i + " is negative: " + a[i]); + sum = sum + a[i]; + } + if (sum > 1.0 + EPSILON || sum < 1.0 - EPSILON) + throw new IllegalArgumentException("sum of array entries not equal to one: " + sum); + + // the for loop may not return a value when both r is (nearly) 1.0 and when the + // cumulative sum is less than 1.0 (as a result of floating-point roundoff error) + while (true) { + double r = uniform(); + sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum = sum + a[i]; + if (sum > r) return i; + } + } + } + + /** + * Return a real number from an exponential distribution with rate lambda. + */ + public static double exp(double lambda) { + return -Math.log(1 - uniform()) / lambda; + } + + /** + * Rearrange the elements of an array in random order. + */ + public static void shuffle(Object[] a) { + int N = a.length; + for (int i = 0; i < N; i++) { + int r = i + uniform(N-i); // between i and N-1 + Object temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Rearrange the elements of a double array in random order. + */ + public static void shuffle(double[] a) { + int N = a.length; + for (int i = 0; i < N; i++) { + int r = i + uniform(N-i); // between i and N-1 + double temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Rearrange the elements of an int array in random order. + */ + public static void shuffle(int[] a) { + int N = a.length; + for (int i = 0; i < N; i++) { + int r = i + uniform(N-i); // between i and N-1 + int temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + + /** + * Rearrange the elements of the subarray a[lo..hi] in random order. + */ + public static void shuffle(Object[] a, int lo, int hi) { + if (lo < 0 || lo > hi || hi >= a.length) { + throw new IndexOutOfBoundsException("Illegal subarray range"); + } + for (int i = lo; i <= hi; i++) { + int r = i + uniform(hi-i+1); // between i and hi + Object temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Rearrange the elements of the subarray a[lo..hi] in random order. + */ + public static void shuffle(double[] a, int lo, int hi) { + if (lo < 0 || lo > hi || hi >= a.length) { + throw new IndexOutOfBoundsException("Illegal subarray range"); + } + for (int i = lo; i <= hi; i++) { + int r = i + uniform(hi-i+1); // between i and hi + double temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Rearrange the elements of the subarray a[lo..hi] in random order. + */ + public static void shuffle(int[] a, int lo, int hi) { + if (lo < 0 || lo > hi || hi >= a.length) { + throw new IndexOutOfBoundsException("Illegal subarray range"); + } + for (int i = lo; i <= hi; i++) { + int r = i + uniform(hi-i+1); // between i and hi + int temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Unit test. + */ + public static void main(String[] args) { + int N = Integer.parseInt(args[0]); + if (args.length == 2) StdRandom.setSeed(Long.parseLong(args[1])); + double[] t = { .5, .3, .1, .1 }; + + StdOut.println("seed = " + StdRandom.getSeed()); + for (int i = 0; i < N; i++) { + StdOut.printf("%2d " , uniform(100)); + StdOut.printf("%8.5f ", uniform(10.0, 99.0)); + StdOut.printf("%5b " , bernoulli(.5)); + StdOut.printf("%7.5f ", gaussian(9.0, .2)); + StdOut.printf("%2d " , discrete(t)); + StdOut.println(); + } + + String[] a = "A B C D E F G".split(" "); + for (String s : a) + StdOut.print(s + " "); + StdOut.println(); + } + +} diff --git a/Java-Visualizer/cp/stdlibpack/StdStats.class b/Java-Visualizer/cp/stdlibpack/StdStats.class new file mode 100644 index 00000000..96de1a5e Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/StdStats.class differ diff --git a/Java-Visualizer/cp/stdlibpack/StdStats.java b/Java-Visualizer/cp/stdlibpack/StdStats.java new file mode 100644 index 00000000..ea515956 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/StdStats.java @@ -0,0 +1,337 @@ +package stdlibpack; + +/************************************************************************* + * Compilation: javac StdStats.java + * Execution: java StdStats < input.txt + * + * Library of statistical functions. + * + * The test client reads an array of real numbers from standard + * input, and computes the minimum, mean, maximum, and + * standard deviation. + * + * The functions all throw a NullPointerException if the array + * passed in is null. + + * % more tiny.txt + * 5 + * 3.0 1.0 2.0 5.0 4.0 + * + * % java StdStats < tiny.txt + * min 1.000 + * mean 3.000 + * max 5.000 + * std dev 1.581 + * + *************************************************************************/ + +/** + * Standard statistics. This class provides methods for computing + * statistics such as min, max, mean, sample standard deviation, and + * sample variance. + *

+ * For additional documentation, see + * Section 2.2 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdStats { + + private StdStats() { } + + /** + * Return maximum value in array, -infinity if no such value. + */ + public static double max(double[] a) { + double max = Double.NEGATIVE_INFINITY; + for (int i = 0; i < a.length; i++) { + if (a[i] > max) max = a[i]; + } + return max; + } + + /** + * Return maximum value in subarray a[lo..hi], -infinity if no such value. + */ + public static double max(double[] a, int lo, int hi) { + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + double max = Double.NEGATIVE_INFINITY; + for (int i = lo; i <= hi; i++) { + if (a[i] > max) max = a[i]; + } + return max; + } + + /** + * Return maximum value of array, Integer.MIN_VALUE if no such value + */ + public static int max(int[] a) { + int max = Integer.MIN_VALUE; + for (int i = 0; i < a.length; i++) { + if (a[i] > max) max = a[i]; + } + return max; + } + + /** + * Return minimum value in array, +infinity if no such value. + */ + public static double min(double[] a) { + double min = Double.POSITIVE_INFINITY; + for (int i = 0; i < a.length; i++) { + if (a[i] < min) min = a[i]; + } + return min; + } + + /** + * Return minimum value in subarray a[lo..hi], +infinity if no such value. + */ + public static double min(double[] a, int lo, int hi) { + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + double min = Double.POSITIVE_INFINITY; + for (int i = lo; i <= hi; i++) { + if (a[i] < min) min = a[i]; + } + return min; + } + + /** + * Return minimum value of array, Integer.MAX_VALUE if no such value + */ + public static int min(int[] a) { + int min = Integer.MAX_VALUE; + for (int i = 0; i < a.length; i++) { + if (a[i] < min) min = a[i]; + } + return min; + } + + /** + * Return average value in array, NaN if no such value. + */ + public static double mean(double[] a) { + if (a.length == 0) return Double.NaN; + double sum = sum(a); + return sum / a.length; + } + + /** + * Return average value in subarray a[lo..hi], NaN if no such value. + */ + public static double mean(double[] a, int lo, int hi) { + int length = hi - lo + 1; + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + if (length == 0) return Double.NaN; + double sum = sum(a, lo, hi); + return sum / length; + } + + /** + * Return average value in array, NaN if no such value. + */ + public static double mean(int[] a) { + if (a.length == 0) return Double.NaN; + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum = sum + a[i]; + } + return sum / a.length; + } + + /** + * Return sample variance of array, NaN if no such value. + */ + public static double var(double[] a) { + if (a.length == 0) return Double.NaN; + double avg = mean(a); + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / (a.length - 1); + } + + /** + * Return sample variance of subarray a[lo..hi], NaN if no such value. + */ + public static double var(double[] a, int lo, int hi) { + int length = hi - lo + 1; + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + if (length == 0) return Double.NaN; + double avg = mean(a, lo, hi); + double sum = 0.0; + for (int i = lo; i <= hi; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / (length - 1); + } + + /** + * Return sample variance of array, NaN if no such value. + */ + public static double var(int[] a) { + if (a.length == 0) return Double.NaN; + double avg = mean(a); + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / (a.length - 1); + } + + /** + * Return population variance of array, NaN if no such value. + */ + public static double varp(double[] a) { + if (a.length == 0) return Double.NaN; + double avg = mean(a); + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / a.length; + } + + /** + * Return population variance of subarray a[lo..hi], NaN if no such value. + */ + public static double varp(double[] a, int lo, int hi) { + int length = hi - lo + 1; + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + if (length == 0) return Double.NaN; + double avg = mean(a, lo, hi); + double sum = 0.0; + for (int i = lo; i <= hi; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / length; + } + + + /** + * Return sample standard deviation of array, NaN if no such value. + */ + public static double stddev(double[] a) { + return Math.sqrt(var(a)); + } + + /** + * Return sample standard deviation of subarray a[lo..hi], NaN if no such value. + */ + public static double stddev(double[] a, int lo, int hi) { + return Math.sqrt(var(a, lo, hi)); + } + + /** + * Return sample standard deviation of array, NaN if no such value. + */ + public static double stddev(int[] a) { + return Math.sqrt(var(a)); + } + + /** + * Return population standard deviation of array, NaN if no such value. + */ + public static double stddevp(double[] a) { + return Math.sqrt(varp(a)); + } + + /** + * Return population standard deviation of subarray a[lo..hi], NaN if no such value. + */ + public static double stddevp(double[] a, int lo, int hi) { + return Math.sqrt(varp(a, lo, hi)); + } + + /** + * Return sum of all values in array. + */ + public static double sum(double[] a) { + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum += a[i]; + } + return sum; + } + + /** + * Return sum of all values in subarray a[lo..hi]. + */ + public static double sum(double[] a, int lo, int hi) { + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + double sum = 0.0; + for (int i = lo; i <= hi; i++) { + sum += a[i]; + } + return sum; + } + + /** + * Return sum of all values in array. + */ + public static int sum(int[] a) { + int sum = 0; + for (int i = 0; i < a.length; i++) { + sum += a[i]; + } + return sum; + } + + /** + * Plot points (i, a[i]) to standard draw. + */ + public static void plotPoints(double[] a) { + int N = a.length; + StdDraw.setXscale(0, N-1); + StdDraw.setPenRadius(1.0 / (3.0 * N)); + for (int i = 0; i < N; i++) { + StdDraw.point(i, a[i]); + } + } + + /** + * Plot line segments connecting points (i, a[i]) to standard draw. + */ + public static void plotLines(double[] a) { + int N = a.length; + StdDraw.setXscale(0, N-1); + StdDraw.setPenRadius(); + for (int i = 1; i < N; i++) { + StdDraw.line(i-1, a[i-1], i, a[i]); + } + } + + /** + * Plot bars from (0, a[i]) to (i, a[i]) to standard draw. + */ + public static void plotBars(double[] a) { + int N = a.length; + StdDraw.setXscale(0, N-1); + for (int i = 0; i < N; i++) { + StdDraw.filledRectangle(i, a[i]/2, .25, a[i]/2); + } + } + + + /** + * Test client. + * Convert command-line arguments to array of doubles and call various methods. + */ + public static void main(String[] args) { + double[] a = StdArrayIO.readDouble1D(); + StdOut.printf(" min %7.3f\n", min(a)); + StdOut.printf(" mean %7.3f\n", mean(a)); + StdOut.printf(" max %7.3f\n", max(a)); + StdOut.printf(" std dev %7.3f\n", stddev(a)); + } +} diff --git a/Java-Visualizer/cp/stdlibpack/Stopwatch.class b/Java-Visualizer/cp/stdlibpack/Stopwatch.class new file mode 100644 index 00000000..e8137cee Binary files /dev/null and b/Java-Visualizer/cp/stdlibpack/Stopwatch.class differ diff --git a/Java-Visualizer/cp/stdlibpack/Stopwatch.java b/Java-Visualizer/cp/stdlibpack/Stopwatch.java new file mode 100644 index 00000000..d8589009 --- /dev/null +++ b/Java-Visualizer/cp/stdlibpack/Stopwatch.java @@ -0,0 +1,47 @@ +package stdlibpack; + + +/************************************************************************* + * Compilation: javac Stopwatch.java + * + * + *************************************************************************/ + +/** + * Stopwatch. This class is a data type for measuring + * the running time (wall clock) of a program. + *

+ * For additional documentation, see + * Section 3.2 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + */ + + + +public class Stopwatch { + + private final long start; + + private String startString; + + /** + * Create a stopwatch object. + */ + public Stopwatch() { + start = System.currentTimeMillis(); + + java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("HH:mm:ss.SSS"); + startString = sdf.format(start); + } + + + /** + * Return elapsed time (in seconds) since this object was created. + */ + public double elapsedTime() { + long now = System.currentTimeMillis(); + return (now - start) / 1000.0; + } + +} diff --git a/Java-Visualizer/cp/traceprinter/.gitignore b/Java-Visualizer/cp/traceprinter/.gitignore new file mode 100644 index 00000000..60c15309 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/.gitignore @@ -0,0 +1 @@ +!compile \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/InMemory.class b/Java-Visualizer/cp/traceprinter/InMemory.class new file mode 100644 index 00000000..3ef06f28 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/InMemory.class differ diff --git a/Java-Visualizer/cp/traceprinter/InMemory.java b/Java-Visualizer/cp/traceprinter/InMemory.java new file mode 100644 index 00000000..0d8bf592 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/InMemory.java @@ -0,0 +1,235 @@ +/***************************************************************************** + +traceprinter: a Java package to print traces of Java programs +David Pritchard (daveagp@gmail.com), created May 2013 + +The contents of this directory are released under the GNU Affero +General Public License, versions 3 or later. See LICENSE or visit: +http://www.gnu.org/licenses/agpl.html + +See README for documentation on this package. + +This file was originally based on +com.sun.tools.example.trace.Trace, written by Robert Field. + +******************************************************************************/ + +package traceprinter; + +import com.sun.jdi.*; +import com.sun.jdi.connect.*; + +import java.util.regex.*; +import java.util.*; +import java.io.*; + +import javax.tools.*; + +import traceprinter.ramtools.*; + +import javax.json.*; + +public class InMemory { + + String usercode; + JsonObject optionsObject; + JsonArray argsArray; + String givenStdin; + String mainClass; + VirtualMachine vm; + static String stdin; + Map bytecode; + + public final static long startTime = System.currentTimeMillis(); + + public static void main(String[] args) { + + JDI2JSON.userlog("Debugger VM maxMemory: " + Runtime.getRuntime().maxMemory() / 1024 / 1024 + "M"); + + // just a sanity check, can the debugger VM see this NoopMain? + traceprinter.shoelace.NoopMain.main(null); + // however, the debuggee might or might not be able to. + // use the CLASSPATH environment variable so that it includes + // the parent directory of traceprinter; using -cp does not + // reliably pass on to the debuggee. + + try { + new InMemory( + Json.createReader(new InputStreamReader + (System.in, "UTF-8")) + .readObject()); + } + catch (IOException e) { + System.out.print(JDI2JSON.compileErrorOutput("[could not read user code]", + "Internal IOException in php->java", + 1, 1)); + } + } + + // convenience version of JDI2JSON method + void compileError(String msg, long row, long col) { + try { + PrintStream out = new PrintStream(System.out, true, "UTF-8"); + out.print(JDI2JSON.compileErrorOutput(usercode, msg, row, col)); + } + catch (UnsupportedEncodingException e) { //fallback + System.out.print(JDI2JSON.compileErrorOutput(usercode, msg, row, col)); + } + } + + // figure out the class name, then compile and run main([]) + InMemory(JsonObject frontend_data) { + this.usercode = frontend_data.getJsonString("usercode").getString(); + this.optionsObject = frontend_data.getJsonObject("options"); + this.argsArray = frontend_data.getJsonArray("args"); + this.givenStdin = frontend_data.getJsonString("stdin").getString(); + stdin = this.givenStdin; + + if (frontend_data.containsKey("visualizer_args") && (!frontend_data.isNull("visualizer_args"))) { + JsonObject visualizer_args = frontend_data.getJsonObject("visualizer_args"); + if (visualizer_args.getJsonNumber("MAX_STEPS") != null) + JSONTracingThread.MAX_STEPS = visualizer_args.getJsonNumber("MAX_STEPS").intValue(); + if (visualizer_args.getJsonNumber("MAX_STACK_SIZE") != null) + JSONTracingThread.MAX_STACK_SIZE = visualizer_args.getJsonNumber("MAX_STACK_SIZE").intValue(); + if (visualizer_args.getJsonNumber("MAX_WALLTIME_SECONDS") != null) + JSONTracingThread.MAX_WALLTIME_SECONDS = visualizer_args.getJsonNumber("MAX_WALLTIME_SECONDS").intValue(); + } + + // not 100% accurate, if people have multiple top-level classes + public inner classes + Pattern p = Pattern.compile("public\\s+class\\s+([a-zA-Z0-9_]+)\\b"); + Matcher m = p.matcher(usercode); + if (!m.find()) { + compileError("Error: Make sure your code includes 'public class \u00ABClassName\u00BB'", 1, 1); + return; + } + + mainClass = m.group(1); + + for (String S: JDI2JSON.PU_stdlib) { + if (mainClass.equals(S)) { + compileError("You cannot use a class named "+S+" since it conflicts with a 'stdlib' class name", 1, 1); + return; + } + } + + CompileToBytes c2b = new CompileToBytes(); + + c2b.compilerOutput = new StringWriter(); + c2b.options = Arrays.asList("-g -Xmaxerrs 1".split(" ")); + DiagnosticCollector errorCollector = new DiagnosticCollector<>(); + c2b.diagnosticListener = errorCollector; + + bytecode = c2b.compileFile(mainClass, usercode); + + if (bytecode == null) { + for (Diagnostic err : errorCollector.getDiagnostics()) + if (err.getKind() == Diagnostic.Kind.ERROR) { + compileError("Error: " + err.getMessage(null), Math.max(0, err.getLineNumber()), + Math.max(0, err.getColumnNumber())); + return; + } + compileError("Compiler did not work, but reported no ERROR?!?!", 0, 0); + return; + } + + vm = launchVM("traceprinter.shoelace.NoopMain"); + vm.setDebugTraceMode(0); + + JSONTracingThread tt = new JSONTracingThread(this); + tt.start(); + + vm.resume(); + } + + VirtualMachine launchVM(String className) { + LaunchingConnector connector = theCommandLineLaunchConnector(); + try { + + java.util.Map args + = connector.defaultArguments(); + + /* what are the other options? on my system, + + for (java.util.Map.Entry arg: args.entrySet()) { + System.out.print(arg.getKey()+" "); + System.out.print("["+arg.getValue().value()+"]: "); + System.out.println(arg.getValue().description()); + } + + prints out: + +home [/java/jre]: Home directory of the SDK or runtime environment used to launch the application +options []: Launched VM options +main []: Main class and arguments, or if -jar is an option, the main jar file and arguments +suspend [true]: All threads will be suspended before execution of main +quote ["]: Character used to combine space-delimited text into a single command line argument +vmexec [java]: Name of the Java VM launcher + + For more info, see +http://docs.oracle.com/javase/7/docs/jdk/api/jpda/jdi/com/sun/jdi/connect/Connector.Argument.html + */ + + ((Connector.Argument)(args.get("main"))).setValue(className); + + String options = ""; + + // inherit the classpath. if it were not for this, the CLASSPATH environment + // variable would be inherited, but the -cp command-line option would not. + // note that -cp overrides CLASSPATH. + + options += "-cp " + System.getProperty("java.class.path") + " "; + + // set a memory limit + + options += "-Xmx512M" + " "; + + options += "-Dfile.encoding=UTF-8" + " "; + + options += "-Djava.awt.headless=true" + " "; + + ((Connector.Argument)(args.get("options"))).setValue(options); + + // System.out.println("About to call LaunchingConnector.launch..."); + VirtualMachine result = connector.launch(args); + //System.out.println("...done"); + return result; + } catch (VMStartException exc) { + System.out.println("Hoeyx!"); + System.out.println("Failed in launchTarget: " + exc.getMessage()); + exc.printStackTrace(); + byte[] b = new byte[100000]; + System.out.println(exc.process().exitValue()); + try { + BufferedReader in = new BufferedReader(new InputStreamReader(exc.process().getErrorStream())); + String inputLine; + while ((inputLine = in.readLine()) != null) + System.out.println(inputLine); + in = new BufferedReader(new InputStreamReader(exc.process().getInputStream())); + while ((inputLine = in.readLine()) != null) + System.out.println(inputLine); + + } + catch (java.io.IOException excx) { + System.out.println("Crud"); + } + } catch (java.io.IOException exc) { + System.out.println("Failed in launchTarget: " + exc.getMessage()); + exc.printStackTrace(); + } catch (IllegalConnectorArgumentsException exc) { + System.out.println("Hoeyy!"); + for (String S : exc.argumentNames()) { + System.out.println(S); + } + System.out.println(exc); + } + return null; // when caught + } + + LaunchingConnector theCommandLineLaunchConnector() { + for (Connector connector : + Bootstrap.virtualMachineManager().allConnectors()) + if (connector.name().equals("com.sun.jdi.CommandLineLaunch")) + return (LaunchingConnector)connector; + throw new Error("No launching connector"); + } +} diff --git a/Java-Visualizer/cp/traceprinter/JDI2JSON$1Help.class b/Java-Visualizer/cp/traceprinter/JDI2JSON$1Help.class new file mode 100644 index 00000000..d41cf342 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/JDI2JSON$1Help.class differ diff --git a/Java-Visualizer/cp/traceprinter/JDI2JSON$1stHandler.class b/Java-Visualizer/cp/traceprinter/JDI2JSON$1stHandler.class new file mode 100644 index 00000000..fc0330ab Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/JDI2JSON$1stHandler.class differ diff --git a/Java-Visualizer/cp/traceprinter/JDI2JSON$InputPuller.class b/Java-Visualizer/cp/traceprinter/JDI2JSON$InputPuller.class new file mode 100644 index 00000000..58aee69c Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/JDI2JSON$InputPuller.class differ diff --git a/Java-Visualizer/cp/traceprinter/JDI2JSON.class b/Java-Visualizer/cp/traceprinter/JDI2JSON.class new file mode 100644 index 00000000..6be644e0 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/JDI2JSON.class differ diff --git a/Java-Visualizer/cp/traceprinter/JDI2JSON.java b/Java-Visualizer/cp/traceprinter/JDI2JSON.java new file mode 100644 index 00000000..dc44f312 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/JDI2JSON.java @@ -0,0 +1,825 @@ +/***************************************************************************** + +traceprinter: a Java package to print traces of Java programs +David Pritchard (daveagp@gmail.com), created May 2013 + +The contents of this directory are released under the GNU Affero +General Public License, versions 3 or later. See LICENSE or visit: +http://www.gnu.org/licenses/agpl.html + +See README for documentation on this package. + +******************************************************************************/ + +package traceprinter; + +import java.util.*; +import com.sun.jdi.*; +import com.sun.jdi.request.*; +import com.sun.jdi.event.*; + +import java.io.*; +import javax.json.*; + +public class JDI2JSON { + + private class InputPuller { + InputStreamReader vm_link; + StringWriter contents = new java.io.StringWriter(); + String getContents() { + return contents.toString(); + } + InputPuller(InputStream ir) { + try { + vm_link = new InputStreamReader(ir, "UTF-8"); + } + catch (UnsupportedEncodingException e) { + throw new RuntimeException("Encoding error!"); + } + } + void pull() { + int BUFFER_SIZE = 2048; + char[] cbuf = new char[BUFFER_SIZE]; + int count; + try { + while (vm_link.ready() + && ((count = vm_link.read(cbuf, 0, BUFFER_SIZE)) >= 0)) { + contents.write(cbuf, 0, count); + } + } + catch(IOException e) { + throw new RuntimeException("I/O Error!"); + } + } + } + + private VirtualMachine vm; + private InputPuller stdout, stderr; + private JsonObject last_ep = null; + private TreeMap heap; + private TreeSet heap_done; + + /* private ArrayList frame_stack = new ArrayList();*/ + private long frame_ticker = 0; + + public List staticListable = new ArrayList<>(); + + public ReferenceType stdinRT = null; + + public static StringBuilder userlogged; + + public static boolean showVoid = true; + + boolean showStringsAsValues = true; + boolean showAllFields = false; + + public JDI2JSON(VirtualMachine vm, InputStream vm_stdout, InputStream vm_stderr, JsonObject optionsObject) { + stdout = new InputPuller(vm_stdout); + stderr = new InputPuller(vm_stderr); + //frame_stack.add(frame_ticker++); + if (optionsObject.containsKey("showStringsAsValues")) + showStringsAsValues + = optionsObject.getBoolean("showStringsAsValues"); + if (optionsObject.containsKey("showAllFields")) + showAllFields = optionsObject.getBoolean("showAllFields"); + } + + public static void userlog(String S) { + if (userlogged == null) userlogged = new StringBuilder(); + userlogged.append(S).append("\n"); + } + + // returns null when nothing changed since the last time + // (or when only event type changed and new value is "step_line") + public ArrayList convertExecutionPoint(Event e, Location loc, ThreadReference t) { + stdout.pull(); + stderr.pull(); + + //System.out.println(e); + + ArrayList results = new ArrayList<>(); + + if (loc.method().name().indexOf("access$")>=0) return results; // don't visualize synthetic access$000 methods + + heap_done = new TreeSet(); + heap = new TreeMap<>(); + + JsonValue returnValue = null; + + JsonObjectBuilder result = Json.createObjectBuilder(); + result.add("stdout", stdout.getContents()); + if (e instanceof MethodEntryEvent) { + result.add("event", "call"); + //frame_stack.add(frame_ticker++); + result.add("line", loc.lineNumber()); + } + else if (e instanceof MethodExitEvent) { + returnValue = convertValue(((MethodExitEvent)e).returnValue()); + result.add("event", "return"); + result.add("line", loc.lineNumber()); + } + else if (e instanceof BreakpointEvent || e instanceof StepEvent) { + result.add("event", "step_line"); + result.add("line", loc.lineNumber()); + } + else if (e instanceof ExceptionEvent) { + // we could compare this with null to see if it was caught. + // Location katch = ((ExceptionEvent)e).catchLocation(); + + // but it turns out we don't care, since either the code + // keeps going or just halts appropriately anyway. + + result.add("event", "exception"); + + result.add("exception_msg", exceptionMessage((ExceptionEvent)e)); + } + + JsonArrayBuilder frames = Json.createArrayBuilder(); + StackFrame lastNonUserFrame = null; + try { + boolean firstFrame = true; + for (StackFrame sf : t.frames()) { + if (!showFramesInLocation(sf.location())) { + lastNonUserFrame = sf; + continue; + } + + if (lastNonUserFrame != null) { + frame_ticker++; + frames.add(convertFrameStub(lastNonUserFrame)); + lastNonUserFrame = null; + } + frame_ticker++; + frames.add(convertFrame(sf, firstFrame, returnValue)); + firstFrame = false; + returnValue = null; + } + } + catch (IncompatibleThreadStateException ex) { + //thread was not suspended .. should not normally happen + + throw new RuntimeException("ITSE"); + } + result.add("stack_to_render", frames); + + //if (e instanceof MethodExitEvent) + // frame_stack.remove(frame_stack.size()-1); + + JsonObjectBuilder statics = Json.createObjectBuilder(); + JsonArrayBuilder statics_a = Json.createArrayBuilder(); + for (ReferenceType rt : staticListable) + if (rt.isInitialized() && !in_builtin_package(rt.name())) + for (Field f : rt.visibleFields()) + if (f.isStatic()) { + statics.add(rt.name()+"."+f.name(), + convertValue(rt.getValue(f))); + statics_a.add(rt.name()+"."+f.name()); + } + if (stdinRT != null && stdinRT.isInitialized()) { + int stdinPosition = ((IntegerValue)stdinRT.getValue(stdinRT.fieldByName("position"))).value(); + result.add("stdinPosition", stdinPosition); + /* statics.add("stdin.Position", stdinPosition); + statics_a.add("stdin.Position");*/ + } + + result.add("globals", statics); + result.add("ordered_globals", statics_a); + + result.add("func_name", loc.method().name()); + + JsonObjectBuilder heapDescription = Json.createObjectBuilder(); + convertHeap(heapDescription); + result.add("heap", heapDescription); + + JsonObject this_ep = result.build(); + if (reallyChanged(last_ep, this_ep)) { + results.add(this_ep); + last_ep = this_ep; + } + + + + return results; + } + + public static String[] builtin_packages = {"java", "javax", "sun", "com.sun", "traceprinter"}; + + public static String[] PU_stdlib = {"BinaryIn", "BinaryOut", "BinaryStdIn", "BinaryStdOut", + "Copy", "Draw", "DrawListener", "In", "InTest", + "Out", "Picture", "StdArrayIO", "StdAudio", + "StdDraw", "StdDraw3D", "StdIn", "StdInTest", + "StdOut", "StdRandom", "StdStats", "Stopwatch", "Stack", "Queue", "ST", "Point", "ST"}; + + // input format: [package.]ClassName:lineno or [package.]ClassName + public boolean in_builtin_package(String S) { + S = S.split(":")[0]; + for (String badPrefix: builtin_packages) + if (S.startsWith(badPrefix+".")) + return true; + for (String badClass: PU_stdlib) { + if (S.equals(badClass)) + return true; + if (S.startsWith(badClass+"$")) + return true; + } + return false; + } + + private boolean showFramesInLocation(Location loc) { + return (!in_builtin_package(loc.toString()) + && !loc.method().name().contains("$access")); + // skip synthetic accessor methods + } + + private boolean showGuts(ReferenceType rt) { + return (rt.name().matches("(^|\\.)Point") || + !in_builtin_package(rt.name())); + } + + public boolean reportEventsAtLocation(Location loc) { + if (in_builtin_package(loc.toString())) + return false; + + if (loc.toString().contains("$$Lambda$")) + return false; + + if (loc.lineNumber() <= 0) { + userlog(loc.toString()); + return true; + } + + return true; + } + + private JsonObject createReturnEventFrom(Location loc, JsonObject base_ep, JsonValue returned) { + try { + JsonObjectBuilder result = Json.createObjectBuilder(); + result.add("event", "return"); + result.add("line", loc.lineNumber()); + for (Map.Entry me : base_ep.entrySet()) { + if (me.getKey().equals("event") || me.getKey().equals("line")) + {} + else if (me.getKey().equals("stack_to_render")) { + JsonArray old_stack_to_render = (JsonArray)me.getValue(); + JsonObject old_top_frame = (JsonObject)(old_stack_to_render.get(0)); + JsonObject old_top_frame_vars = (JsonObject)(old_top_frame.get("encoded_locals")); + JsonArray old_top_frame_vars_o = (JsonArray)(old_top_frame.get("ordered_varnames")); + result.add("stack_to_render", + jsonModifiedArray(old_stack_to_render, 0, + jsonModifiedObject + (jsonModifiedObject + (old_top_frame, + "encoded_locals", + jsonModifiedObject(old_top_frame_vars, "__return__", returned)), + "ordered_varnames", + jsonModifiedArray(old_top_frame_vars_o, -1, jsonString("__return__"))))); + } + else result.add(me.getKey(), me.getValue()); + } + return result.build(); + } + catch (IndexOutOfBoundsException exc) { + return base_ep; + } + } + + // issue: the frontend uses persistent frame ids but JDI doesn't provide them + // approach 1, trying to compute them, seems intractable (esp. w/ callbacks) + // approach 2, using an id based on stack depth, does not work w/ frontend + // approach 3, just give each frame at each execution point a unique id, + // is what we do. but we also want to skip animating e.p.'s where nothing changed, + // and if only the frame ids changed, we should treat it as if nothing changed + private boolean reallyChanged(JsonObject old_ep, JsonObject new_ep) { + if (old_ep == null) return true; + return !stripFrameIDs(new_ep).equals(stripFrameIDs(old_ep)); + } + + private JsonObject stripFrameIDs(JsonObject ep) { + JsonArrayBuilder result = Json.createArrayBuilder(); + for (JsonValue frame : (JsonArray)(ep.get("stack_to_render"))) { + result.add(jsonModifiedObject + (jsonModifiedObject( (JsonObject)frame, + "unique_hash", + jsonString("")), + "frame_id", + jsonInt(0))); + } + return jsonModifiedObject(ep, "stack_to_render", result.build()); + } + + private JsonObjectBuilder convertFrame(StackFrame sf, boolean highlight, JsonValue returnValue) { + JsonObjectBuilder result = Json.createObjectBuilder(); + JsonArrayBuilder result_ordered = Json.createArrayBuilder(); + if (sf.thisObject() != null) { + result.add("this", convertValue(sf.thisObject())); + result_ordered.add("this"); + } + + // list args first + /* KNOWN ISSUE: + .arguments() gets the args which have names in LocalVariableTable, + but if there are none, we get an IllegalArgExc, and can use .getArgumentValues() + However, sometimes some args have names but not all. Such as within synthetic + lambda methods like "lambda$inc$0". For an unknown reason, trying .arguments() + causes a JDWP error in such frames. So sadly, those frames are incomplete. */ + + boolean JDWPerror = false; + try { + sf.getArgumentValues(); + } + catch (com.sun.jdi.InternalException e) { + if (e.toString().contains("Unexpected JDWP Error: 35")) // expect JDWP error 35 + JDWPerror = true; + else { + throw e; + } + } + + List frame_vars = null, frame_args = null; + boolean completed_args = false; + try { + // args make sense to show first + frame_args = sf.location().method().arguments(); //throwing statement + completed_args = !JDWPerror && frame_args.size() == sf.getArgumentValues().size(); + for (LocalVariable lv : frame_args) { + //System.out.println(sf.location().method().getClass()); + if (lv.name().equals("args")) { + Value v = sf.getValue(lv); + if (v instanceof ArrayReference && ((ArrayReference)v).length()==0) continue; + } + try { + result.add(lv.name(), + convertValue(sf.getValue(lv))); + result_ordered.add(lv.name()); + } + catch (IllegalArgumentException exc) { + System.out.println("That shouldn't happen!"); + } + } + } + catch (AbsentInformationException e) { + } + // args did not have names, like a functional interface call... + // although hopefully a future Java version will give them names! + if (!completed_args && !JDWPerror) { + try { + List anon_args = sf.getArgumentValues(); + for (int i=0; i orderByHash = null; + int offset = 0; + for (LocalVariable lv : frame_vars) + if (!lv.isArgument()) + if (showAllFields || !lv.name().endsWith("$")) { // skip for-loop synthetics (exists in Java 7, but not 8) + try { + result.add(lv.name(), + convertValue(sf.getValue(lv))); + if (orderByHash == null) { + offset = lv.hashCode(); + orderByHash = new TreeMap<>(); + } + orderByHash.put(lv.hashCode() - offset, lv.name()); + } + catch (IllegalArgumentException exc) { + // variable not yet defined, don't list it + } + } + if (orderByHash != null) // maybe no local vars + for (Map.Entry me : orderByHash.entrySet()) + result_ordered.add(me.getValue()); + } + catch (AbsentInformationException ex) { + //System.out.println("AIE: can't list variables in " + sf.location()); + } + if (returnValue != null && (showVoid || returnValue != convertVoid)) { + result.add("__return__", returnValue); + result_ordered.add("__return__"); + } + return Json.createObjectBuilder() + .add("func_name", sf.location().method().name()+":"+sf.location().lineNumber()) + .add("encoded_locals", result) + .add("ordered_varnames", result_ordered) + .add("parent_frame_id_list", Json.createArrayBuilder()) + .add("is_highlighted", highlight)//frame_stack.size()-1) + .add("is_zombie", false) + .add("is_parent", false) + .add("unique_hash", ""+frame_ticker)//frame_stack.get(level)) + .add("frame_id", frame_ticker);//frame_stack.get(level)); + } + + // used to show a single non-user frame when there is + // non-user code running between two user frames + private JsonObjectBuilder convertFrameStub(StackFrame sf) { + return Json.createObjectBuilder() + .add("func_name", "\u22EE\n"+sf.location().declaringType().name()+"."+sf.location().method().name()) + .add("encoded_locals", Json.createObjectBuilder())//.add("...", "...")) + .add("ordered_varnames", Json.createArrayBuilder())//.add("...")) + .add("parent_frame_id_list", Json.createArrayBuilder()) + .add("is_highlighted", false)//frame_stack.size()-1) + .add("is_zombie", false) + .add("is_parent", false) + .add("unique_hash", ""+frame_ticker)//frame_stack.get(level)) + .add("frame_id", frame_ticker);//frame_stack.get(level)); + } + + void convertHeap(JsonObjectBuilder result) { + heap_done = new java.util.TreeSet<>(); + while (!heap.isEmpty()) { + Map.Entry first = heap.firstEntry(); + ObjectReference obj = first.getValue(); + long id = first.getKey(); + heap.remove(id); + if (heap_done.contains(id)) + continue; + heap_done.add(id); + result.add(""+id, convertObject(obj, true)); + } + } + + List wrapperTypes = + new ArrayList + (Arrays.asList + ("Byte Short Integer Long Float Double Character Boolean".split(" "))); + + private JsonValue convertObject(ObjectReference obj, boolean fullVersion) { + if (showStringsAsValues && obj.referenceType().name().startsWith("java.lang.") + && wrapperTypes.contains(obj.referenceType().name().substring(10))) { + return convertValue(obj.getValue(obj.referenceType().fieldByName("value"))); + } + + JsonArrayBuilder result = Json.createArrayBuilder(); + + // abbreviated versions are for references to objects + if (!fullVersion) { + result.add("REF").add(obj.uniqueID()); + heap.put(obj.uniqueID(), obj); + return result.build(); + } + + // full versions are for describing the objects themselves, + // in the heap + + else if (obj instanceof ArrayReference) { + ArrayReference ao = (ArrayReference)obj; + int L = ao.length(); + result.add("LIST"); + heap_done.add(obj.uniqueID()); + + class Help { + // is it a zero integer? + boolean isz(Value v) { + return v instanceof IntegerValue && ((IntegerValue)v).intValue() == 0; + } + } + Help help = new Help(); + + + for (int i=0; i= 4) { + result.add(convertValue(ao.getValue(i))); + result.add(Json.createArrayBuilder().add("ELIDE").add(j-i-2)); + result.add(convertValue(ao.getValue(j-1))); + } + else for (int k=i; k 0) { + Field first = rt.fieldByName("first"); + ObjectReference thisNode = (ObjectReference)obj.getValue(first); + ReferenceType nodeRT = thisNode.referenceType(); + Field val = nodeRT.fieldByName("item"); + Field next = nodeRT.fieldByName("next"); + for (int i = 0; i < queueLength; i++) { + Value v = thisNode.getValue(val); + result.add(convertValue(v)); + thisNode = (ObjectReference) thisNode.getValue(next); + } + } + return result.build(); + } + + if (obj.referenceType().name().equals("Stack")) { + heap_done.add(obj.uniqueID()); + ReferenceType rt = obj.referenceType(); + Field length = rt.fieldByName("N"); + int queueLength = ((IntegerValue)obj.getValue(length)).value(); + result.add("STACK"); + if (queueLength > 0) { + Field first = rt.fieldByName("first"); + ObjectReference thisNode = (ObjectReference)obj.getValue(first); + ReferenceType nodeRT = thisNode.referenceType(); + Field val = nodeRT.fieldByName("item"); + Field next = nodeRT.fieldByName("next"); + for (int i = 0; i < queueLength; i++) { + Value v = thisNode.getValue(val); + result.add(convertValue(v)); + thisNode = (ObjectReference) thisNode.getValue(next); + } + } + return result.build(); + } + + // st handling code by Will Gwozdz + if (obj.referenceType().name().equals("ST")) { + heap_done.add(obj.uniqueID()); + ReferenceType rt = obj.referenceType(); + result.add("DICT"); + Field first = rt.fieldByName("first"); + ObjectReference firstNode = (ObjectReference)obj.getValue(first); + + class stHandler { + public void loadResultFromSymbolTree(ObjectReference n, JsonArrayBuilder result) { + if (n == null) + return; + ReferenceType nt = n.referenceType(); + Field left = nt.fieldByName("left"); + Field right = nt.fieldByName("right"); + Field key = nt.fieldByName("key"); + Field value = nt.fieldByName("value"); + //System.out.println(n.uniqueID()); + loadResultFromSymbolTree((ObjectReference)n.getValue(left), result); + if (n.getValue(value) != null) { + result.add(Json.createArrayBuilder().add(convertValue(n.getValue(key))) + .add(convertValue(n.getValue(value))).build()); + } + loadResultFromSymbolTree((ObjectReference)n.getValue(right), result); + } + } + + new stHandler().loadResultFromSymbolTree(firstNode, result); //recursively add key, value pairs to the result + return result.build(); + } + + // now deal with Objects. + heap_done.add(obj.uniqueID()); + result.add("INSTANCE"); + if (obj.referenceType().name().startsWith("java.lang.") + && wrapperTypes.contains(obj.referenceType().name().substring(10))) { + result.add(obj.referenceType().name().substring(10)); + result.add(jsonArray("___NO_LABEL!___",//jsonArray("NO-LABEL"), // don't show a label or label cell for wrapper instance field + convertValue(obj.getValue(obj.referenceType().fieldByName("value"))))); + } + else { + String fullName = obj.referenceType().name(); + if (fullName.indexOf("$") > 0) { + // inner, local, anonymous or lambda class + if (fullName.contains("$$Lambda")) { + fullName = "λ" + fullName.substring(fullName.indexOf("$$Lambda")+9); // skip $$lambda$ + try { + String interf = ((ClassType)obj.referenceType()).interfaces().get(0).name(); + if (interf.startsWith("java.util.function.")) + interf = interf.substring(19); + + fullName += " ["+interf+"]"; + } + catch (Exception e) {} + } + // more cases here? + else { + fullName=fullName.substring(1+fullName.indexOf('$')); + if (fullName.matches("[0-9]+")) + fullName = "anonymous class " + fullName; + else if (fullName.substring(0, 1).matches("[0-9]+")) + fullName = "local class " + fullName.substring(1); + } + } + result.add(fullName); + } + if (showGuts(obj.referenceType())) { + // fields: -inherited -hidden +synthetic + // visibleFields: +inherited -hidden +synthetic + // allFields: +inherited +hidden +repeated_synthetic + for (Map.Entry me : + obj.getValues + ( + showAllFields ? + obj.referenceType().allFields() : + obj.referenceType().visibleFields() ) + .entrySet() + ) { + if (!me.getKey().isStatic() + && (showAllFields || !me.getKey().isSynthetic()) + ) + result.add(Json.createArrayBuilder() + .add + (( + showAllFields ? + me.getKey().declaringType().name()+"." : + "" + )+me.getKey().name()) + .add(convertValue(me.getValue()))); + } + } + else if (obj.referenceType().name().equals("Stopwatch")) { + ReferenceType rt = obj.referenceType(); + Field f = rt.fieldByName("startString"); + result.add(Json.createArrayBuilder().add("started at").add( + Json.createArrayBuilder().add("NUMBER-LITERAL").add( + convertValue(obj.getValue(f))))); + } + return result.build(); + } + } + + private JsonArray convertVoid = jsonArray("VOID"); + + private JsonArray jsonArray(Object... args) { + JsonArrayBuilder result = Json.createArrayBuilder(); + for (Object o : args) { + if (o instanceof JsonValue) + result.add((JsonValue)o); + else if (o instanceof String) + result.add((String)o); + else throw new RuntimeException("Add more cases to JDI2JSON.jsonArray(Object...)"); + } + return result.build(); + } + + private JsonValue convertValue(Value v) { + if (v instanceof BooleanValue) { + if (((BooleanValue)v).value()==true) + return JsonValue.TRUE; + else + return JsonValue.FALSE; + } + else if (v instanceof ByteValue) return jsonInt(((ByteValue)v).value()); + else if (v instanceof ShortValue) return jsonInt(((ShortValue)v).value()); + else if (v instanceof IntegerValue) return jsonInt(((IntegerValue)v).value()); + // some longs can't be represented as doubles, they won't survive the json conversion + else if (v instanceof LongValue) return jsonArray("NUMBER-LITERAL", jsonString(""+((LongValue)v).value())); + // floats who hold integer values will end up as integers after json conversion + // also, this lets us pass "Infinity" and other IEEE non-numbers + else if (v instanceof FloatValue) return jsonArray("NUMBER-LITERAL", jsonString(""+((FloatValue)v).value())); + else if (v instanceof DoubleValue) return jsonArray("NUMBER-LITERAL", jsonString(""+((DoubleValue)v).value())); + else if (v instanceof CharValue) return jsonArray("CHAR-LITERAL", jsonString(((CharValue)v).value()+"")); + else if (v instanceof VoidValue) return convertVoid; + else if (!(v instanceof ObjectReference)) return JsonValue.NULL; //not a hack + else if (showStringsAsValues && v instanceof StringReference) + return jsonString(((StringReference)v).value()); + else { + ObjectReference obj = (ObjectReference)v; + heap.put(obj.uniqueID(), obj); + return convertObject(obj, false); + } + } + + static JsonObject compileErrorOutput(String usercode, String errmsg, long row, long col) { + return output(usercode, + Json.createArrayBuilder().add + (Json.createObjectBuilder() + .add("line", ""+row) + .add("event", "uncaught_exception") + .add("offset", ""+col) + .add("exception_msg", errmsg)) + .build() + ); + } + + static String fakify(String realcode) { + String[] x = realcode.split("\n", -1); + for (int i=0; i<"); + if (pos >= 0) + x[i] = x[i].substring(pos+4); + } + StringBuilder sb = new StringBuilder(); + for (String s:x) {sb.append("\n");sb.append(s);} + return sb.substring(1); + } + + static JsonObject output(String usercode, JsonArray trace) { + JsonObjectBuilder result = Json.createObjectBuilder(); + result + .add("code", fakify(usercode)) + .add("stdin", InMemory.stdin) + .add("trace", trace); + if (userlogged != null) result.add("userlog", userlogged.toString()); + return result.build(); + } + + String exceptionMessage(ExceptionEvent event) { + ObjectReference exc = event.exception(); + ReferenceType excType = exc.referenceType(); + try { + // this is the logical approach, but gives "Unexpected JDWP Error: 502" in invokeMethod + // even if we suspend-and-resume the thread t + /*ThreadReference t = event.thread(); + Method mm = excType.methodsByName("getMessage").get(0); + t.suspend(); + Value v = exc.invokeMethod(t, mm, new ArrayList(), 0); + t.resume(); + StringReference sr = (StringReference) v; + String detail = sr.value();*/ + + // so instead we just look for the longest detailMessage + String detail = ""; + for (Field ff: excType.allFields()) + if (ff.name().equals("detailMessage")) { + StringReference sr = (StringReference) exc.getValue(ff); + String thisMsg = sr == null ? null : sr.value(); + if (thisMsg != null && thisMsg.length() > detail.length()) + detail = thisMsg; + } + + if (detail.equals("")) + return excType.name(); // NullPointerException has no detail msg + + return excType.name()+": "+detail; + } + catch (Exception e) { + System.out.println("Failed to convert exception"); + System.out.println(e); + e.printStackTrace(System.out); + for (Field ff : excType.visibleFields()) + System.out.println(ff); + return "fail dynamic message lookup"; + } + } + + + + /* JSON utility methods */ + + static JsonValue jsonInt(long l) { + return Json.createArrayBuilder().add(l).build().getJsonNumber(0); + } + + static JsonValue jsonReal(double d) { + return Json.createArrayBuilder().add(d).build().getJsonNumber(0); + } + + static JsonValue jsonString(String S) { + return Json.createArrayBuilder().add(S).build().getJsonString(0); + } + + static JsonObject jsonModifiedObject(JsonObject obj, String S, JsonValue v) { + JsonObjectBuilder result = Json.createObjectBuilder(); + result.add(S, v); + for (Map.Entry me : obj.entrySet()) { + if (!S.equals(me.getKey())) + result.add(me.getKey(), me.getValue()); + } + return result.build(); + } + + // add at specified position, or end if -1 + static JsonArray jsonModifiedArray(JsonArray arr, int tgt, JsonValue v) { + JsonArrayBuilder result = Json.createArrayBuilder(); + int i = 0; + for (JsonValue w : arr) { + if (i == tgt) result.add(v); + else result.add(w); + i++; + } + if (tgt == -1) + result.add(v); + return result.build(); + } + +} diff --git a/Java-Visualizer/cp/traceprinter/JSONTracingThread$1.class b/Java-Visualizer/cp/traceprinter/JSONTracingThread$1.class new file mode 100644 index 00000000..9d57759f Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/JSONTracingThread$1.class differ diff --git a/Java-Visualizer/cp/traceprinter/JSONTracingThread.class b/Java-Visualizer/cp/traceprinter/JSONTracingThread.class new file mode 100644 index 00000000..adaca292 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/JSONTracingThread.class differ diff --git a/Java-Visualizer/cp/traceprinter/JSONTracingThread.java b/Java-Visualizer/cp/traceprinter/JSONTracingThread.java new file mode 100644 index 00000000..2e7a72e3 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/JSONTracingThread.java @@ -0,0 +1,323 @@ +/***************************************************************************** + +traceprinter: a Java package to print traces of Java programs +David Pritchard (daveagp@gmail.com), created May 2013 + +The contents of this directory are released under the GNU Affero +General Public License, versions 3 or later. See LICENSE or visit: +http://www.gnu.org/licenses/agpl.html + +See README for documentation on this package. + +This file was originally based on +com.sun.tools.example.trace.EventThread, written by Robert Field. + +******************************************************************************/ + +package traceprinter; + +import com.sun.jdi.*; +import com.sun.jdi.request.*; +import com.sun.jdi.event.*; + +import java.util.*; +import java.io.*; +import javax.json.*; + +/* + * Original author: Robert Field, see + * + * This version: David Pritchard (http://dave-pritchard.net) + */ + +public class JSONTracingThread extends Thread { + + private final VirtualMachine vm; // Running VM + private String[] no_breakpoint_requests = {"java.*", "javax.*", "sun.*", "com.sun.*", "Stack", "Queue", "ST", + "jdk.internal.org.objectweb.asm.*" // for creating lambda classes + }; + + private boolean connected = true; // Connected to VM + private boolean vmDied = true; // VMDeath occurred + + private EventRequestManager mgr; + + private JDI2JSON jdi2json; + + static int MAX_STEPS = 256; + + static double MAX_WALLTIME_SECONDS = 50; + + private int steps = 0; + + static int MAX_STACK_SIZE = 16; + + private String usercode; + + private InMemory im; + + private VMCommander vmc; + + private JsonArrayBuilder output = Json.createArrayBuilder(); + + JSONTracingThread(InMemory im) { + super("event-handler"); + this.vm = im.vm; + this.im = im; + this.usercode = im.usercode; + mgr = vm.eventRequestManager(); + jdi2json = new JDI2JSON(vm, + vm.process().getInputStream(), + vm.process().getErrorStream(), + im.optionsObject); + setEventRequests(); + } + + void setEventRequests() { + ExceptionRequest excReq = mgr.createExceptionRequest(null, true, true); + excReq.setSuspendPolicy(EventRequest.SUSPEND_ALL); + for (String clob : no_breakpoint_requests) + excReq.addClassExclusionFilter(clob); + excReq.enable(); + + MethodEntryRequest menr = mgr.createMethodEntryRequest(); + for (String clob : no_breakpoint_requests) + menr.addClassExclusionFilter(clob); + menr.setSuspendPolicy(EventRequest.SUSPEND_EVENT_THREAD); + menr.enable(); + + MethodExitRequest mexr = mgr.createMethodExitRequest(); + for (String clob : no_breakpoint_requests) + mexr.addClassExclusionFilter(clob); + mexr.setSuspendPolicy(EventRequest.SUSPEND_EVENT_THREAD); + mexr.enable(); + + ThreadDeathRequest tdr = mgr.createThreadDeathRequest(); + tdr.setSuspendPolicy(EventRequest.SUSPEND_ALL); + tdr.enable(); + + ClassPrepareRequest cpr = mgr.createClassPrepareRequest(); + for (String clob : no_breakpoint_requests) + cpr.addClassExclusionFilter(clob); + cpr.setSuspendPolicy(EventRequest.SUSPEND_ALL); + cpr.enable(); + } + + @Override + public void run() { + StepRequest request = null; + final EventQueue queue = vm.eventQueue(); + while (connected) { + try { + final EventSet eventSet = queue.remove(); + for (Event ev : new Iterable(){public Iterator iterator(){return eventSet.eventIterator();}}) { + + + //System.out.println("in run: " + steps+" "+ev+" "+(System.currentTimeMillis()-startTime)); + + // System.out.println(currentTimeMillis()); + if (System.currentTimeMillis() > MAX_WALLTIME_SECONDS * 1000 + InMemory.startTime) { + output.add(Json.createObjectBuilder() + .add("exception_msg", "") + .add("event", "instruction_limit_reached")); + + try { + PrintStream out = new PrintStream(System.out, true, "UTF-8"); + String outputString = JDI2JSON.output(usercode, output.build()).toString(); + out.print(outputString); + } catch (UnsupportedEncodingException e) { + System.out.print("UEE"); + } + System.exit(0); + vm.exit(0); // might take a long time + } + + + handleEvent(ev); + if (request != null && request.isEnabled()) { + request.disable(); + } + if (request != null) { + mgr.deleteEventRequest(request); + request = null; + } + if (ev instanceof LocatableEvent && + jdi2json.reportEventsAtLocation(((LocatableEvent)ev).location()) + || + (ev.toString().contains("NoopMain"))) + { + request = mgr. + createStepRequest(((LocatableEvent)ev).thread(), + StepRequest.STEP_MIN, + StepRequest.STEP_INTO); + request.addCountFilter(1); // next step only + request.enable(); + } + } + eventSet.resume(); + } catch (InterruptedException exc) { + exc.printStackTrace(); + // Ignore + } catch (VMDisconnectedException discExc) { + handleDisconnectedException(); + break; + } + } + String outputString = null; + try { + if (vmc == null) { + outputString = JDI2JSON.compileErrorOutput(usercode, "Internal error: there was an error starting the debuggee VM.", 0, 0).toString(); + } + else { + vmc.join(); + if (vmc.success == null) { + outputString = JDI2JSON.compileErrorOutput(usercode, "Success is null?", 0, 0).toString(); + } + else if (vmc.success == false) { + outputString = JDI2JSON.compileErrorOutput(usercode, vmc.errorMessage, 1, 1).toString(); + } + else { + outputString = JDI2JSON.output(usercode, output.build()).toString(); + } + } + } + catch (Exception e) { + e.printStackTrace(System.out); + } + + try { + PrintStream out = new PrintStream(System.out, true, "UTF-8"); + out.print(outputString); + } catch (UnsupportedEncodingException e) { + System.out.print(outputString); + } + } + + ThreadReference theThread = null; + + private Thread handleEvent(Event event) { + //System.out.println(event); + if (event instanceof ClassPrepareEvent) { + classPrepareEvent((ClassPrepareEvent)event); + } else if (event instanceof VMDeathEvent) { + vmDeathEvent((VMDeathEvent)event); + } else if (event instanceof VMDisconnectEvent) { + vmDisconnectEvent((VMDisconnectEvent)event); + } + + if (event instanceof LocatableEvent) { + //System.out.println("in handle subloop: " + steps+" "+event); + if (theThread == null) + theThread = ((LocatableEvent)event).thread(); + else { + if (theThread != ((LocatableEvent)event).thread()) + throw new RuntimeException("Assumes one thread!"); + } + Location loc = ((LocatableEvent)event).location(); + try { + if (loc.sourceName().equals("NoopMain.java") && steps == 0) { + steps++; + vmc = new VMCommander(im, theThread); + vmc.start(); + } + } catch (AbsentInformationException e) {} + + if (steps < MAX_STEPS && jdi2json.reportEventsAtLocation(loc) + || event instanceof ExceptionEvent && ((ExceptionEvent)event).catchLocation()==null) { + try { + for (JsonObject ep : jdi2json.convertExecutionPoint(event, loc, theThread)) { + output.add(ep); + steps++; + int stackSize = ((JsonArray)ep.get("stack_to_render")).size(); + + boolean quit = false; + if (stackSize >= MAX_STACK_SIZE) { + output.add(Json.createObjectBuilder() + .add("exception_msg", "") + .add("event", "instruction_limit_reached")); + quit = true; + } + if (steps == MAX_STEPS) { + output.add(Json.createObjectBuilder() + .add("exception_msg", "") + .add("event", "instruction_limit_reached")); + quit = true; + } + if (quit) + vm.exit(0); + } + if (event instanceof ExceptionEvent && ((ExceptionEvent)event).catchLocation()==null) { + vm.exit(0); + } + } catch (RuntimeException e) { + System.out.println("Error " + e.toString()); + e.printStackTrace(); + } + } + } + return null; + } + + /*** + * A VMDisconnectedException has happened while dealing with + * another event. We need to flush the event queue, dealing only + * with exit events (VMDeath, VMDisconnect) so that we terminate + * correctly. + */ + synchronized void handleDisconnectedException() { + EventQueue queue = vm.eventQueue(); + while (connected) { + try { + EventSet eventSet = queue.remove(); + EventIterator iter = eventSet.eventIterator(); + while (iter.hasNext()) { + Event event = iter.nextEvent(); + if (event instanceof VMDeathEvent) { + vmDeathEvent((VMDeathEvent)event); + } else if (event instanceof VMDisconnectEvent) { + vmDisconnectEvent((VMDisconnectEvent)event); + } + } + eventSet.resume(); // Resume the VM + } catch (InterruptedException exc) { + // ignore + } + } + } + + private void classPrepareEvent(ClassPrepareEvent event) { + //System.out.println("CPE!"); + ReferenceType rt = event.referenceType(); + + if (!rt.name().equals("traceprinter.shoelace.NoopMain")) { + if (rt.name().equals("StdIn")) + jdi2json.stdinRT = rt; + + if (jdi2json.in_builtin_package(rt.name())) + return; + } + + jdi2json.staticListable.add(rt); + + //System.out.println(rt.name()); + try { + for (Location loc : rt.allLineLocations()) { + BreakpointRequest br = mgr.createBreakpointRequest(loc); + br.enable(); + } + } + catch (AbsentInformationException e) { + if (!rt.name().contains("$Lambda$")) + System.out.println("AIE!" + rt.name()); + } + } + + public void vmDeathEvent(VMDeathEvent event) { + vmDied = true; + } + + public void vmDisconnectEvent(VMDisconnectEvent event) { + connected = false; + } + +} diff --git a/Java-Visualizer/cp/traceprinter/LICENSE b/Java-Visualizer/cp/traceprinter/LICENSE new file mode 100644 index 00000000..2def0e88 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/MEMORY-NOTES b/Java-Visualizer/cp/traceprinter/MEMORY-NOTES new file mode 100644 index 00000000..b0e6476d --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/MEMORY-NOTES @@ -0,0 +1,75 @@ +These are notes from when I tried to try to figure out how much +memory is needed to run the java visualizer within a safeexec jail. +I created these notes in summer 2013 but didn't post them until +January 2014. Read them at your discretion. -- Dave Pritchard + +Memory usage, part 1 +==================== +By default, java may use a lot of memory. You can, sort of, try to +control it. Here are the defaults on my machine: + +./java -XX:+PrintFlagsFinal -version | pcregrep "\b(MaxHeapSize|InitialHeapSize|ThreadStackSize)" + +prints the output + + uintx InitialHeapSize := 130770560 {product} + uintx MaxHeapSize := 2092957696 {product} + intx ThreadStackSize = 1024 {pd product} + +which means that the heap uses 124M initially and 2G at maximum. + +You can control MaxHeapSize with "java -Xmx" (this is the most +important for us) and the other two above with -Xms, -Xss. + +How much memory does Java actually use? How much can the user +actually access? There is naturally some overhead between these two +numbers, for the stuff running the VM, and for the default class +files and stuff inside the VM. You can write + + long maxBytes = Runtime.getRuntime().maxMemory(); + System.out.println("Max memory: " + maxBytes / 1024 / 1024 + "M"); + +I am not sure which of the controlling and reporting numbers +correspond to user or user+VM memory. But as an example, for me, if +I run java with -Xmx1024M, then the above reports "Max memory: +910M", while the largest int[] that Java will let me allocate is +about new int[175_000_000] (or about 7*10^8 bytes ~ 667M). + +Memory usage, part 2 +==================== +The way that traceprinter works, we actually have two VMs. One is +the debugger, which is started first, and whose -Xmx setting is +done by the command-line (or whoever calls java +traceprinter.InMemory). The second, debugee, VM has its -Xmx set +according to the options string used by LaunchingConnector.launch() +in InMemory.launchVM. + +The -Xmx used for one VM affects only that machine, and does not +affect the -Xmx for the other machine, as far as I can tell from +testing. + +What is a reasonable setting for the maximum memory of our two +machines? My system default, 2GB, seems a little excessive. All of +the visualizer examples run with -Xmx128M on both VMs, so I am +using this for now. (This gives the user about 80M of usable space, +using the new int[] test.) + +Memory usage, part 3 +==================== +Now let's consider the fact that we want to run all of this under +safeexec. On my machine, it appears that the limits enforced by +safeexec successfully limit the sum of the memories used by both +VMs. So the --mem option for safeexec must be at least 256*1024 K. +However, there seems to be more overhead somewhere along the line, +as, + +safeexec --mem 300000 gives "Could not create the Java Virtual Machine" + +safeexec --mem 400000 gives "# There is insufficient memory for the Java Runtime Environment to continue" + (on safeexec's stdout) + and/or "Command terminated by signal (6: SIGABRT)" + (on safeexec's stderr) + +while + +safeexec --mem 500000 seems to work without any problems. diff --git a/Java-Visualizer/cp/traceprinter/README b/Java-Visualizer/cp/traceprinter/README new file mode 100644 index 00000000..f6fdc685 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/README @@ -0,0 +1,55 @@ +traceprinter: a Java package to print traces of Java programs +David Pritchard (daveagp@gmail.com), created May 2013 + +The contents of this directory are released under the GNU Affero +General Public License, versions 3 or later. See LICENSE or visit: +http://www.gnu.org/licenses/agpl.html + +This project would not be possible without the package +com.sun.tools.example.trace, written by Robert Field. +http://www.docjar.com/docs/api/com/sun/tools/example/trace/package-index.html +The traceprinter package was initially created from that package. + +Try the visualizer this was built for: + http://cscircles.cemc.uwaterloo.ca/java-visualize/ + +=== +NEWS + +A big update on June 11 2013 makes everything compile and execute in memory, +so no writing to the file system is needed, and no considerations for +simultaneous users are necessary. + +=== +WHAT DOES THIS PACKAGE DO AND WHAT DOES IT CONTAIN? + +traceprinter.InMemory: the main class. It takes java file source code + from standard input. Then it outputs a text (JSON) + version of what the program didwhen executed. + +The output format is described here: + https://github.com/pgbovine/OnlinePythonTutor/blob/master/v3/docs/opt-trace-format.md +This allows us to use the javascript frontend from OnlinePythonTutor +to visualize Java instead of Python. + +traceprinter.ramtools: compiles the java files to bytecode in memory. + +Then, InMemory uses the JDI to start a debuggee JVM, load the bytecode into +it, and then execute it. + +traceprinter.VMCommander: drives injection and execution into debuggee. + +traceprinter.shoelace: contains all fixed code run by the debugee JVM. + +traceprinter.JSONTracingThread: event handling loop. + +traceprinter.JDI2JSON: used to convert everything to text output. + +=== +FLOW OF EXECUTION + +InMemory will get things started, and passes the ball briefly to +JSONTracingThread. But once the debuggee takes it first step, the +VMCommander drives the execution of the debuggee VM. Again, the +code it causes to run, will drive the event loop in JSONTracingThread +some more, which in turn uses JDI2JSON to output things nicely. diff --git a/Java-Visualizer/cp/traceprinter/TODO b/Java-Visualizer/cp/traceprinter/TODO new file mode 100644 index 00000000..d211b9ae --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/TODO @@ -0,0 +1,5 @@ +progressive Python labels: "Frames" only if more than one, "Objects" only if any, "Global" in variables only if function calls +custom visualizations of Integer, Stack<>, ... ? +options for visualizing synthetics? +allow to reflow visualizer parts (already partly done?) +caching executions \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/Untitled Folder/JSONTracingThread.class b/Java-Visualizer/cp/traceprinter/Untitled Folder/JSONTracingThread.class new file mode 100644 index 00000000..950270aa Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/Untitled Folder/JSONTracingThread.class differ diff --git a/Java-Visualizer/cp/traceprinter/VMCommander.class b/Java-Visualizer/cp/traceprinter/VMCommander.class new file mode 100644 index 00000000..a14a3229 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/VMCommander.class differ diff --git a/Java-Visualizer/cp/traceprinter/VMCommander.java b/Java-Visualizer/cp/traceprinter/VMCommander.java new file mode 100644 index 00000000..e0368746 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/VMCommander.java @@ -0,0 +1,164 @@ +/***************************************************************************** + +traceprinter: a Java package to print traces of Java programs +David Pritchard (daveagp@gmail.com), created May 2013 + +The contents of this directory are released under the GNU Affero +General Public License, versions 3 or later. See LICENSE or visit: +http://www.gnu.org/licenses/agpl.html + +See README for documentation on this package. + +******************************************************************************/ + +package traceprinter; + +import com.sun.jdi.*; +import java.util.*; + +public class VMCommander extends Thread { + + private InMemory im; + private ThreadReference tr; + private VirtualMachine vm; + private Map classesToLoad; + private String mainClassName; + + private ClassType ClassLoader_; + private ObjectReference ClassLoader_SystemClassLoader; + + Boolean success; + String errorMessage; + + public VMCommander(InMemory im, ThreadReference tr) { + this.im = im; + this.tr = tr; + this.vm = im.vm; + this.classesToLoad = im.bytecode; + this.mainClassName = im.mainClass; + } + + ObjectReference VMCommandee_instance = null; + public void run() { + try { + vm.suspend(); + + // first, make instance of ByteClassLoader + ClassLoader_ = classType("java.lang.ClassLoader"); + ClassLoader_SystemClassLoader = (ObjectReference) + call_s(ClassLoader_, "getSystemClassLoader"); + + ObjectReference ByteClassLoader_instance = instantiate("traceprinter.shoelace.ByteClassLoader"); + + // load the classes from their bytecodes + for (Map.Entry me : classesToLoad.entrySet()) + call_i(ByteClassLoader_instance, "define", vm.mirrorOf(me.getKey()), mirrorOf(vm, me.getValue())); + + // load and instantiate Commandee. very similar to above! + VMCommandee_instance = instantiate("traceprinter.shoelace.VMCommandee"); + + ArrayReference mirrorOfArgs = newArray("java.lang.String", im.argsArray.size()); + for (int i=0; i lv(Value... vs) { + return Arrays.asList(vs); + } + + private ArrayReference mirrorOf(VirtualMachine vm, byte[] bytes) + throws InvalidTypeException, ClassNotLoadedException { + ArrayReference result = newArray("byte", bytes.length); + for (int i=0; i < bytes.length; i++) + result.setValue(i, vm.mirrorOf(bytes[i])); + return result; + } + + +} diff --git a/Java-Visualizer/cp/traceprinter/expected-output.txt b/Java-Visualizer/cp/traceprinter/expected-output.txt new file mode 100644 index 00000000..f9ec4072 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/expected-output.txt @@ -0,0 +1 @@ +{"code":"public class Test { public static void main(String[] args) { int x = 3; x += x; } }","trace":[{"stdout":"","event":"call","line":1,"stack_to_render":[{"func_name":"main:1","encoded_locals":{"args":["REF",392]},"ordered_varnames":["args"],"parent_frame_id_list":[],"is_highlighted":true,"is_zombie":false,"is_parent":false,"unique_hash":"1","frame_id":1}],"globals":{},"ordered_globals":[],"func_name":"main","heap":{"392":["LIST"]}},{"stdout":"","event":"step_line","line":1,"stack_to_render":[{"func_name":"main:1","encoded_locals":{"args":["REF",392]},"ordered_varnames":["args"],"parent_frame_id_list":[],"is_highlighted":true,"is_zombie":false,"is_parent":false,"unique_hash":"2","frame_id":2}],"globals":{},"ordered_globals":[],"func_name":"main","heap":{"392":["LIST"]}},{"stdout":"","event":"step_line","line":1,"stack_to_render":[{"func_name":"main:1","encoded_locals":{"args":["REF",392],"x":3},"ordered_varnames":["args","x"],"parent_frame_id_list":[],"is_highlighted":true,"is_zombie":false,"is_parent":false,"unique_hash":"4","frame_id":4}],"globals":{},"ordered_globals":[],"func_name":"main","heap":{"392":["LIST"]}},{"stdout":"","event":"step_line","line":1,"stack_to_render":[{"func_name":"main:1","encoded_locals":{"args":["REF",392],"x":6},"ordered_varnames":["args","x"],"parent_frame_id_list":[],"is_highlighted":true,"is_zombie":false,"is_parent":false,"unique_hash":"8","frame_id":8}],"globals":{},"ordered_globals":[],"func_name":"main","heap":{"392":["LIST"]}},{"stdout":"","event":"return","line":1,"stack_to_render":[{"func_name":"main:1","encoded_locals":{"args":["REF",392],"x":6,"__return__":["VOID"]},"ordered_varnames":["args","x","__return__"],"parent_frame_id_list":[],"is_highlighted":true,"is_zombie":false,"is_parent":false,"unique_hash":"9","frame_id":9}],"globals":{},"ordered_globals":[],"func_name":"main","heap":{"392":["LIST"]}}],"userlog":"Debugger VM maxMemory: 1774M\n"} \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/output (copy).txt b/Java-Visualizer/cp/traceprinter/output (copy).txt new file mode 100644 index 00000000..b90c5719 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/output (copy).txt @@ -0,0 +1,6 @@ +{ +"usercode":"class Link\n{\n public Link next;\n public Object data;\n public Link(Object data, Link next)\n {\n this.data = data;\n this.next = next;\n }\n public static Link CreateList(Object... elements)\n {\n Link current = null;\n for(int i = elements.length -1; i>=0; i--)\n {\n current = new Link(elements[i],current);\n }\n return current;\n }\n public String toString()\n {\n StringBuilder output = new StringBuilder();\n Link current = next;\n output.append(data);\n while (current!= null)\n {\n output.append(current.data);\n current = current.next;\n }\n return output.toString();\n }\n @Override\n public boolean equals(Object other)\n {\n if(other == null)\n return false;\n if(other.getClass() == this.getClass())\n {\n Link otherLink = (Link) other;\n if(data.equals(otherLink.data))\n {\n if(next == null && otherLink.next == null)\n return true;\n else\n return next.equals(otherLink.next);\n }\n }\n return false;\n }\n}\n\npublic class StudentAnswer {\n public static void endTraceNow(){\n\n //End the trace\n // This function's only purpose is to act as a flag to end the trace\n // for the Java - Visualization\n }\n\n public static void startTraceNow(){\n\n //start the trace\n // This function's only purpose is to act as a flag to start the trace\n // for the Java - Visualization\n }\n public static void main(String[] args) {\n\n changeNext(Link.CreateList(1,2,3));\n\n }\n public static Link changeNext(Link p)\n {\n Link r = p.next.next;\n startTraceNow();\n p = p.next;\n endTraceNow();\n return p;\n }\n}\n", +"options":{}, +"args":[], +"stdin":"" +} \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/output.txt b/Java-Visualizer/cp/traceprinter/output.txt new file mode 100644 index 00000000..627aad10 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/output.txt @@ -0,0 +1,6 @@ +{ +"usercode":"class Link\n{\n public Link next;\n public Object data;\n public Link(Object data, Link next)\n {\n this.data = data;\n this.next = next;\n }\n public static Link CreateList(Object... elements)\n {\n Link current = null;\n current = new Link(elements[0],null);\n Link head = current;\n for(int i = 1; i < elements.length; i++)\n {\n current.next = new Link(elements[i],null);\n current = current.next;\n }\n return head;\n }\n public String toString()\n {\n StringBuilder output = new StringBuilder();\n Link current = next;\n output.append(data);\n while (current!= null)\n {\n output.append(current.data);\n current = current.next;\n }\n return output.toString();\n }\n @Override\n public boolean equals(Object other)\n {\n if(other == null)\n return false;\n if(other.getClass() == this.getClass())\n {\n Link otherLink = (Link) other;\n if(data.equals(otherLink.data))\n {\n if(next == null && otherLink.next == null)\n return true;\n else\n return next.equals(otherLink.next);\n }\n }\n return false;\n }\n}\npublic class StudentAnswer\n{\n public static void endTraceNow(){}\n public static void startTraceNow(){}\n public static void main(String[] args) {\n changeNext();\n }\n public static Link changeNext()\n {\n Link p = Link.CreateList(1,2,3);\nLink r = p.next.next;\n startTraceNow();\n k = k.next;\n\n endTraceNow();\n return p;\n }\n\n}", +"options":{}, +"args":[], +"stdin":"" +} diff --git a/Java-Visualizer/cp/traceprinter/ramtools/CompileToBytes.class b/Java-Visualizer/cp/traceprinter/ramtools/CompileToBytes.class new file mode 100644 index 00000000..27d5c46e Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/ramtools/CompileToBytes.class differ diff --git a/Java-Visualizer/cp/traceprinter/ramtools/CompileToBytes.java b/Java-Visualizer/cp/traceprinter/ramtools/CompileToBytes.java new file mode 100644 index 00000000..06842b54 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/ramtools/CompileToBytes.java @@ -0,0 +1,202 @@ +package traceprinter.ramtools; + +import javax.tools.*; +import java.io.*; +import java.util.*; +import javax.json.*; + +public class CompileToBytes { + + public Writer compilerOutput = null; + // a Writer for additional output from the compiler; use System.err if null + + public DiagnosticListener diagnosticListener = null; + // a diagnostic (warning, etc) listener; if null use the compiler's default method for reporting diagnostics + + public Iterable options = null; + // args[] for javac, null means no options + + public Iterable classesForAnnotation = null; + // names of classes to be processed by annotation processing, null means no class names + + public Map bytecodes; + // output variable: the class names and bytecodes generated by compiling + + private boolean used = false; + + public CompileToBytes() {} + + /*** + Compiles a single source file to bytecode. + Returns null if compilation failed (same as JavaCompiler.getTask.call => false). + Otherwise, returns bytecode for files defined as a result of compiling. + ***/ + + // takes a class name and its source code + public Map compileFile(String className, String sourceCode) { + return compileFiles(new String[][] {{className, sourceCode}}); + } + + public Map compileFiles(String[][] classCodePairs) { + if (used) throw new RuntimeException("You already used this CompileToBytes."); + used = true; + + ArrayList sourceFiles = new ArrayList<>(); + for (String[] pair : classCodePairs) + sourceFiles.add(new RAMJavaFile(pair[0], pair[1])); + + JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); + + RAMClassFileManager fileManager = new + RAMClassFileManager(compiler + .getStandardFileManager(null, null, null)); + + boolean result = compiler.getTask(compilerOutput, fileManager, diagnosticListener, + options, classesForAnnotation, sourceFiles).call(); + + if (!result) return null; + + bytecodes = new TreeMap<>(); + for (Map.Entry me : fileManager.contents.entrySet()) { + bytecodes.put(me.getKey(), me.getValue().getBytes()); + } + + return bytecodes; + } + + + /* main() Method. + + standard input: A Json Object (UTF-8) + - whose keys are class names (optionally package qualified with . or /) + - whose values are java source code + + Note that if there is additional data after the object, it will be silently ignored (javax.json doesn't seem to have a way to detect this) + + compiles these files (against the current classpath) + + output: A Json Object + - status: "Internal Error", "Compile-Time Error", "Success" + - if "Internal Error": errmsg: describing the internal error + - if "Compile-Time Error": error (errmsg, filename, row, col, startpos, pos, endpos) + - if "Success": bytecodes, [warning] + + bytecodes is a map from class names (possibly including . and $) to bytecodes + + */ + + /* sample StdIn: + + {"Hello":"public class Hello{public static void main(String[]args){System.out.println(\"Hello\");}}","Multi":"public class Multi{}class Extra{}","Outer":"public class Outer{public class Inner{}}","pckg.Packed":"package pckg;public class Packed{}","Anon":"public class Anon{{new Anon(){void foo(){}};}}"} + + you can also use pckg/Packed or Packed for pckg.Packed + + for a compiler error: + {"A":"public class A{{int x; x = 5.0;}}"} + + to generate a warning: + {"Warn":"public class Warn {{ Class x = (Class)Integer.class; }}"} + + */ + + + public static void main(String[] args) { + InputStreamReader isr; + try { + isr = new InputStreamReader(System.in, "UTF-8"); + } + catch (UnsupportedEncodingException e) { + System.out.println(Json + .createObjectBuilder() + .add("status", "Internal Error") + .add("errmsg", "Could not set UTF-8 encoding") + .build()); + return; + } + + String[][] pairs; + try { + JsonReader jr = Json.createReader(isr); + JsonObject sourceFiles = jr.readObject(); + pairs = new String[sourceFiles.size()][2]; + int i = 0; + for (Map.Entry pair : sourceFiles.entrySet()) { + pairs[i][0] = pair.getKey(); + if (! (pair.getValue() instanceof JsonString)) { + throw new RuntimeException("For key " + pair.getKey() + + " value is a " + + pair.getKey().getClass()+":\n"+ + pair.getKey().toString()); + } + pairs[i][1] = ((JsonString)pair.getValue()).getString(); + i++; + } + } + catch (Throwable t) { + System.out.println(Json + .createObjectBuilder() + .add("status", "Internal Error") + .add("errmsg", "Could not parse input: " + t) + .build()); + return; + } + + CompileToBytes c2b = new CompileToBytes(); + + c2b.compilerOutput = new StringWriter(); + c2b.options = Arrays.asList("-g -Xmaxerrs 1".split(" ")); + DiagnosticCollector errorCollector = new DiagnosticCollector<>(); + c2b.diagnosticListener = errorCollector; + + Map classMap = c2b.compileFiles(pairs); + + JsonObject jerr = null; + for (Diagnostic err : errorCollector.getDiagnostics()) { + jerr = Json.createObjectBuilder() + .add("filename", err.getSource().toString()) + .add("row", err.getLineNumber()) + .add("col", err.getColumnNumber()) + .add("errmsg", err.getMessage(null)) + .add("startpos", err.getStartPosition()) + .add("pos", err.getPosition()) + .add("endpos", err.getEndPosition()) + .build(); + if (err.getKind() == Diagnostic.Kind.ERROR) { + System.out.println(Json + .createObjectBuilder() + .add("status", "Compile-time Error") + .add("error", jerr) + .build()); + return; + } + } + + if (classMap == null && jerr == null) { + System.out.println(Json + .createObjectBuilder() + .add("status", "Internal Error") + .add("errmsg", "Did not compile, but gave no errors!") + .build()); + return; + } + + JsonObjectBuilder classFiles = Json.createObjectBuilder(); + for (Map.Entry pair : classMap.entrySet()) { + byte[] bytes = pair.getValue(); + char[] hexEncoding = new char[bytes.length*2]; + char[] hexArray = "0123456789ABCDEF".toCharArray(); + for (int i = 0; i < bytes.length; i++) { + int v = bytes[i] & 0xFF; + hexEncoding[i*2] = hexArray[v >>> 4]; + hexEncoding[i*2 + 1] = hexArray[v & 0x0F]; + } + classFiles.add(pair.getKey(), new String(hexEncoding)); + } + + JsonObjectBuilder job = Json.createObjectBuilder(); + job.add("status", "Success") + .add("bytecodes", classFiles.build()); + if (jerr != null) job.add("warning", jerr); + System.out.println(job.build()); + } +} \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFile.class b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFile.class new file mode 100644 index 00000000..f725aa38 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFile.class differ diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFile.java b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFile.java new file mode 100644 index 00000000..4ec71dc4 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFile.java @@ -0,0 +1,56 @@ +package traceprinter.ramtools; +import javax.tools.*; +import java.io.*; +import java.net.URI; + +/*** + This is the same as + JavaClassObject + posted by Miron Sadziak, August 20 2009, + http://www.javablogging.com/dynamic-in-memory-compilation/ +***/ + +public class RAMClassFile extends SimpleJavaFileObject { + + /** + * Byte code created by the compiler will be stored in this + * ByteArrayOutputStream so that we can later get the + * byte array out of it + * and put it in the memory as an instance of our class. + */ + protected final ByteArrayOutputStream bos = new ByteArrayOutputStream(); + + /** + * Registers the compiled class object under URI + * containing the class full name + * + * @param name + * Full name of the compiled class + * @param kind + * Kind of the data. It will be CLASS in our case + */ + public RAMClassFile(String name, Kind kind) { + super(URI.create("string:///" + name.replace('.', '/') + + kind.extension), kind); + } + + /** + * Will be used by our file manager to get the byte code that + * can be put into memory to instantiate our class + * + * @return compiled byte code + */ + public byte[] getBytes() { + return bos.toByteArray(); + } + + /** + * Will provide the compiler with an output stream that leads + * to our byte array. This way the compiler will write everything + * into the byte array that we will instantiate later + */ + @Override + public OutputStream openOutputStream() throws IOException { + return bos; + } +} \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager$1.class b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager$1.class new file mode 100644 index 00000000..4c1d3c6e Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager$1.class differ diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager.class b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager.class new file mode 100644 index 00000000..a73557ad Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager.class differ diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager.java b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager.java new file mode 100644 index 00000000..037a6736 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/ramtools/RAMClassFileManager.java @@ -0,0 +1,71 @@ +package traceprinter.ramtools; +import javax.tools.*; +import java.io.*; +import java.util.*; +import java.security.SecureClassLoader; + +/*** + This is based on + ClassFileManager + posted by Miron Sadziak, August 20 2009, + http://www.javablogging.com/dynamic-in-memory-compilation/ + + The difference is that this allows multiple class files + (for example when you have inner classes), and exposes the + compiled bytes of them. +***/ + +public class RAMClassFileManager + extends ForwardingJavaFileManager { + /** + * Instance of JavaClassObject that will store the + * compiled bytecode of our class + */ + + + // ideally, you would make this private and provide an immutable getter + public Map contents = new TreeMap<>(); + + /** + * Will initialize the manager with the specified + * standard java file manager + * + * @param standardManger + */ + public RAMClassFileManager(StandardJavaFileManager standardManager) { + super(standardManager); + } + + /** + * Will be used by us to get the class loader for our + * compiled class. It creates an anonymous class + * extending the SecureClassLoader which uses the + * byte code created by the compiler and stored in + * the RAMClassFile, and returns the Class for it + */ + @Override + public ClassLoader getClassLoader(Location location) { + return new SecureClassLoader() { + @Override + protected Class findClass(String name) + throws ClassNotFoundException { + byte[] b = contents.get(name).getBytes(); + return super.defineClass(name, b, 0, b.length); + } + }; + } + + /** + * Gives the compiler an instance of the RAMClassFile + * so that the compiler can write the byte code into it. + */ + @Override + public JavaFileObject getJavaFileForOutput + (Location location, String className, JavaFileObject.Kind kind, + FileObject sibling) throws IOException { + RAMClassFile jclassObject = new RAMClassFile(className, kind); + contents.put(className, jclassObject); + return jclassObject; + } + +} \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMJavaFile.class b/Java-Visualizer/cp/traceprinter/ramtools/RAMJavaFile.class new file mode 100644 index 00000000..f1b94a02 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/ramtools/RAMJavaFile.class differ diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMJavaFile.java b/Java-Visualizer/cp/traceprinter/ramtools/RAMJavaFile.java new file mode 100644 index 00000000..98083572 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/ramtools/RAMJavaFile.java @@ -0,0 +1,50 @@ +package traceprinter.ramtools; +import javax.tools.SimpleJavaFileObject; +import java.net.URI; + +/*** + This is the same as + CharSequenceJavaFileObject + posted by Miron Sadziak, August 20 2009, + http://www.javablogging.com/dynamic-in-memory-compilation/ +***/ + +public class RAMJavaFile extends SimpleJavaFileObject { + + /** + * CharSequence representing the source code to be compiled + */ + private CharSequence content; + + private String className; + + /** + * This constructor will store the source code in the + * internal "content" variable and register it as a + * source code, using a URI containing the class full name + * + * @param className + * name of the public class in the source code + * @param content + * source code to compile + */ + public RAMJavaFile(String className, CharSequence content) { + super(URI.create("string:///" + className.replace('.', '/') + + Kind.SOURCE.extension), Kind.SOURCE); + this.content = content; + this.className = className; + } + + public String toString() { + return className+".java"; + } + + /** + * Answers the CharSequence to be compiled. It will give + * the source code stored in variable "content" + */ + @Override + public CharSequence getCharContent(boolean ignoreEncodingErrors) { + return content; + } +} \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMRun.class b/Java-Visualizer/cp/traceprinter/ramtools/RAMRun.class new file mode 100644 index 00000000..c71608a1 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/ramtools/RAMRun.class differ diff --git a/Java-Visualizer/cp/traceprinter/ramtools/RAMRun.java b/Java-Visualizer/cp/traceprinter/ramtools/RAMRun.java new file mode 100644 index 00000000..6e084c01 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/ramtools/RAMRun.java @@ -0,0 +1,124 @@ +package traceprinter.ramtools; +import java.util.Scanner; + +/**** +Usage: + - takes one or more command line arguments, the first of which is a class name; + - takes stdin that is a JSON object with these fields: + "bytecodes" is a map from class names to bytecodes + "stdin" (optional) is standard input for the program being called + - loads those classes and runs args[0]'s public static void main(String[] args) on args[1..] + - the first line of output either starts with 'Error' or with 'Success' + - Success means public static main(String[]) was found (we called Method.invoke), not that the invoke was trouble-free + +Sample usage: let's say we feed CompileToBytes this input: + +{"A":"public class A{public static void main(String[]args){System.out.println(\"hi\");}}"} + +it produces this output: + +{"status":"Success","bytecodes":{"A":"CAFEBABE0000003300220A0006001409001500160800170A0018001907001A07001B0100063C696E69743E010003282956010004436F646501000F4C696E654E756D6265725461626C650100124C6F63616C5661726961626C655461626C65010004746869730100034C413B0100046D61696E010016285B4C6A6176612F6C616E672F537472696E673B2956010004617267730100135B4C6A6176612F6C616E672F537472696E673B01000A536F7572636546696C65010006412E6A6176610C0007000807001C0C001D001E010002686907001F0C00200021010001410100106A6176612F6C616E672F4F626A6563740100106A6176612F6C616E672F53797374656D0100036F75740100154C6A6176612F696F2F5072696E7453747265616D3B0100136A6176612F696F2F5072696E7453747265616D0100077072696E746C6E010015284C6A6176612F6C616E672F537472696E673B2956002100050006000000000002000100070008000100090000002F00010001000000052AB70001B100000002000A00000006000100000001000B0000000C000100000005000C000D00000009000E000F00010009000000330002000100000009B200021203B60004B100000002000A00000006000100000001000B0000000C00010000000900100011000000010012000000020013"}} + +If we pipe this into RAMRun A + +it prints out + +Success: found A.main. Invoking... +hi + +*/ + + +import traceprinter.shoelace.*; +import traceprinter.ramtools.*; +import java.lang.reflect.*; +import java.io.*; +import java.util.Map; +import javax.json.*; + +public class RAMRun { + public static byte[] base16toBytes(String data) { + byte[] result = new byte[data.length()/2]; + + for (int i=0; i me : classes.entrySet()) { + String classname = me.getKey(); + if (! (me.getValue() instanceof JsonString)) { + System.out.println("Error: for key " + me.getKey() + " value is " + me.getValue().getClass() +":\n" + + me.getValue().toString()); + return; + } + String classfile = ((JsonString)me.getValue()).getString(); + + bcl.define(classname, base16toBytes(classfile)); + } + + // doesn't actually work. + //Thread.currentThread().setContextClassLoader(bcl); + //Class definedClass = Class.forName("A"); + + Class mainClass = ByteClassLoader.publicFindClass(args[0]); + + main = mainClass.getMethod("main", String[].class); + } + catch (Throwable t) { + System.out.println("Error: could not find class or main method"); + t.printStackTrace(); + return; + } + if (main.getModifiers() != (Modifier.PUBLIC | Modifier.STATIC)) { + System.out.println("Error: main is not public static"); + return; + } + try { + String[] newargs = new String[args.length-1]; + for (int i=0; i definitions = new TreeMap<>(); + + public ByteClassLoader() { + instance = this; + } + + public void define(String className, byte[] bytecode) { + definitions.put(className, bytecode); + } + + @Override + protected Class findClass(String name) throws ClassNotFoundException { + byte[] bytecode = definitions.get(name); + if (bytecode == null) { + StringBuilder sb = new StringBuilder(); + sb.append("Asked ByteClassLoader for undefined class " + name); + sb.append(" --- Known: "); + for (String S : definitions.keySet()) + sb.append(S+" "); + throw new RuntimeException(sb.toString()); + } + return defineClass(name, bytecode, 0, bytecode.length); + } + + public static Class publicFindClass(final String name) throws ClassNotFoundException { + return instance.findClass(name); + } + +} \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/shoelace/NoopMain.class b/Java-Visualizer/cp/traceprinter/shoelace/NoopMain.class new file mode 100644 index 00000000..23294693 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/shoelace/NoopMain.class differ diff --git a/Java-Visualizer/cp/traceprinter/shoelace/NoopMain.java b/Java-Visualizer/cp/traceprinter/shoelace/NoopMain.java new file mode 100644 index 00000000..1efceafe --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/shoelace/NoopMain.java @@ -0,0 +1,18 @@ +package traceprinter.shoelace; + +import java.lang.reflect.*; + +/*** +This is just a basic class with a main method, +sent as the main class to com.sun.jdi.CommandLineLaunch. +Once main is entered, we use JDI to start doing what we really want. + ***/ + +public class NoopMain { + + public static void main(String[] args) { + // this is just a stub, but it's important + // since we call it to get things going + } + +} \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/shoelace/README b/Java-Visualizer/cp/traceprinter/shoelace/README new file mode 100644 index 00000000..2fa160c9 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/shoelace/README @@ -0,0 +1,18 @@ +traceprinter.shoelace: a mini-bootstrap for a Java visualizer +David Pritchard (daveagp@gmail.com), created May 2013 + +The contents of this directory are released under the GNU Affero +General Public License, versions 3 or later. See LICENSE or visit: +http://www.gnu.org/licenses/agpl.html + +Try the visualizer this was built for: + http://cscircles.cemc.uwaterloo.ca/java-visualize/ + +== About this subpackage == +These are the classes from traceprinter that are loaded by the target +(debugee) VM being stepped through. + +== traceprinter.shoelace == +NoopMain: just an empty main method. We use JDI to open a JVM on this class. +ByteClassLoader: allows loading class files from memory (byte[] bytecode) +VMCommandee: receives commands from VMCommander \ No newline at end of file diff --git a/Java-Visualizer/cp/traceprinter/shoelace/VMCommandee.class b/Java-Visualizer/cp/traceprinter/shoelace/VMCommandee.class new file mode 100644 index 00000000..309ff0f0 Binary files /dev/null and b/Java-Visualizer/cp/traceprinter/shoelace/VMCommandee.class differ diff --git a/Java-Visualizer/cp/traceprinter/shoelace/VMCommandee.java b/Java-Visualizer/cp/traceprinter/shoelace/VMCommandee.java new file mode 100644 index 00000000..473acd06 --- /dev/null +++ b/Java-Visualizer/cp/traceprinter/shoelace/VMCommandee.java @@ -0,0 +1,67 @@ +package traceprinter.shoelace; + +import java.lang.reflect.*; + +/*** +This class receives commands from traceprinter.VMCommander +telling what user code should be run. (Note that VMCommander +is in the debugger JVM, and VMCommandee is in the debugee.) +***/ + +public class VMCommandee { + + // returns null if everything worked + // else, returns an error message + public String runMain(String className, String[] args, String stdin) { + + Class target; + try { + target = ByteClassLoader.publicFindClass(className); + } catch (ClassNotFoundException e) { + return "Internal error: main class "+className+" not found"; + } + + Method main; + try { + main = target.getMethod("main", new Class[]{String[].class}); + } catch (NoSuchMethodException e) { + return "Class "+className+" needs public static void main(String[] args)"; + } + + if (stdin != null) + try { + System.setIn(new java.io.ByteArrayInputStream(stdin.getBytes("UTF-8"))); + } + catch (SecurityException | java.io.UnsupportedEncodingException e) { + return "Internal error: can't setIn"; + } + + int modifiers = main.getModifiers(); + if (modifiers != (Modifier.PUBLIC | Modifier.STATIC)) + return "Class "+className+" needs public static void main(String[] args)"; + try { + // first is null since it is a static method + main.invoke(null, new Object[]{args}); + return null; + } + catch (IllegalAccessException e) { + return "Internal error invoking main"; + } + catch (InvocationTargetException e) { + if (e.getTargetException() instanceof RuntimeException) + throw (RuntimeException)(e.getTargetException()); + + + java.io.StringWriter sw = new java.io.StringWriter(); + java.io.PrintWriter pw = new java.io.PrintWriter(sw); + e.getTargetException().printStackTrace(pw); + + return "Internal error handling error " + e.getTargetException() + sw.toString(); + + //if (e.getTargetException() instanceof Error) + // throw (Error)(e.getTargetException()); + + } + } + +} \ No newline at end of file diff --git a/Java-Visualizer/cp/visualizer-stdlib/BinaryIn.class b/Java-Visualizer/cp/visualizer-stdlib/BinaryIn.class new file mode 100644 index 00000000..55b3f23a Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/BinaryIn.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/BinaryIn.java b/Java-Visualizer/cp/visualizer-stdlib/BinaryIn.java new file mode 100644 index 00000000..12ec1153 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/BinaryIn.java @@ -0,0 +1,339 @@ +/************************************************************************* + * Compilation: javac BinaryIn.java + * Execution: java BinaryIn input output + * + * This library is for reading binary data from an input stream. + * + * % java BinaryIn http://introcs.cs.princeton.edu/cover.jpg output.jpg + * + *************************************************************************/ + +import java.io.BufferedInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.net.Socket; +import java.net.URL; +import java.net.URLConnection; + + +/** + * Binary input. This class provides methods for reading + * in bits from a binary input stream, either + * one bit at a time (as a boolean), + * 8 bits at a time (as a byte or char), + * 16 bits at a time (as a short), + * 32 bits at a time (as an int or float), or + * 64 bits at a time (as a double or long). + *

+ * The binary input stream can be from standard input, a filename, + * a URL name, a Socket, or an InputStream. + *

+ * All primitive types are assumed to be represented using their + * standard Java representations, in big-endian (most significant + * byte first) order. + *

+ * The client should not intermix calls to BinaryIn with calls + * to In; otherwise unexpected behavior will result. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class BinaryIn { + private static final int EOF = -1; // end of file + + private BufferedInputStream in; // the input stream + private int buffer; // one character buffer + private int N; // number of bits left in buffer + + /** + * Create a binary input stream from standard input. + */ + public BinaryIn() { + in = new BufferedInputStream(System.in); + fillBuffer(); + } + + /** + * Create a binary input stream from an InputStream. + */ + public BinaryIn(InputStream is) { + in = new BufferedInputStream(is); + fillBuffer(); + } + + /** + * Create a binary input stream from a socket. + */ + public BinaryIn(Socket socket) { + try { + InputStream is = socket.getInputStream(); + in = new BufferedInputStream(is); + fillBuffer(); + } + catch (IOException ioe) { + System.err.println("Could not open " + socket); + } + } + + /** + * Create a binary input stream from a URL. + */ + public BinaryIn(URL url) { + try { + URLConnection site = url.openConnection(); + InputStream is = site.getInputStream(); + in = new BufferedInputStream(is); + fillBuffer(); + } + catch (IOException ioe) { + System.err.println("Could not open " + url); + } + } + + /** + * Create a binary input stream from a filename or URL name. + */ + public BinaryIn(String s) { + + try { + // first try to read file from local file system + File file = new File(s); + if (file.exists()) { + FileInputStream fis = new FileInputStream(file); + in = new BufferedInputStream(fis); + fillBuffer(); + return; + } + + // next try for files included in jar + URL url = getClass().getResource(s); + + // or URL from web + if (url == null) { url = new URL(s); } + + URLConnection site = url.openConnection(); + InputStream is = site.getInputStream(); + in = new BufferedInputStream(is); + fillBuffer(); + } + catch (IOException ioe) { + System.err.println("Could not open " + s); + } + } + + private void fillBuffer() { + try { buffer = in.read(); N = 8; } + catch (IOException e) { System.err.println("EOF"); buffer = EOF; N = -1; } + } + + /** + * Does the binary input stream exist? + */ + public boolean exists() { + return in != null; + } + + /** + * Returns true if the binary input stream is empty. + * @return true if and only if the binary input stream is empty + */ + public boolean isEmpty() { + return buffer == EOF; + } + + /** + * Read the next bit of data from the binary input stream and return as a boolean. + * @return the next bit of data from the binary input stream as a boolean + * @throws RuntimeException if the input stream is empty + */ + public boolean readBoolean() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + N--; + boolean bit = ((buffer >> N) & 1) == 1; + if (N == 0) fillBuffer(); + return bit; + } + + /** + * Read the next 8 bits from the binary input stream and return as an 8-bit char. + * @return the next 8 bits of data from the binary input stream as a char + * @throws RuntimeException if there are fewer than 8 bits available + */ + public char readChar() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + + // special case when aligned byte + if (N == 8) { + int x = buffer; + fillBuffer(); + return (char) (x & 0xff); + } + + // combine last N bits of current buffer with first 8-N bits of new buffer + int x = buffer; + x <<= (8-N); + int oldN = N; + fillBuffer(); + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + N = oldN; + x |= (buffer >>> N); + return (char) (x & 0xff); + // the above code doesn't quite work for the last character if N = 8 + // because buffer will be -1 + } + + + /** + * Read the next r bits from the binary input stream and return as an r-bit character. + * @param r number of bits to read. + * @return the next r bits of data from the binary input streamt as a char + * @throws RuntimeException if there are fewer than r bits available + */ + public char readChar(int r) { + if (r < 1 || r > 16) throw new RuntimeException("Illegal value of r = " + r); + + // optimize r = 8 case + if (r == 8) return readChar(); + + char x = 0; + for (int i = 0; i < r; i++) { + x <<= 1; + boolean bit = readBoolean(); + if (bit) x |= 1; + } + return x; + } + + + /** + * Read the remaining bytes of data from the binary input stream and return as a string. + * @return the remaining bytes of data from the binary input stream as a String + * @throws RuntimeException if the input stream is empty or if the number of bits + * available is not a multiple of 8 (byte-aligned) + */ + public String readString() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + + StringBuilder sb = new StringBuilder(); + while (!isEmpty()) { + char c = readChar(); + sb.append(c); + } + return sb.toString(); + } + + + /** + * Read the next 16 bits from the binary input stream and return as a 16-bit short. + * @return the next 16 bits of data from the binary standard input as a short + * @throws RuntimeException if there are fewer than 16 bits available + */ + public short readShort() { + short x = 0; + for (int i = 0; i < 2; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next 32 bits from the binary input stream and return as a 32-bit int. + * @return the next 32 bits of data from the binary input stream as a int + * @throws RuntimeException if there are fewer than 32 bits available + */ + public int readInt() { + int x = 0; + for (int i = 0; i < 4; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next r bits from the binary input stream return as an r-bit int. + * @param r number of bits to read. + * @return the next r bits of data from the binary input stream as a int + * @throws RuntimeException if there are fewer than r bits available on standard input + */ + public int readInt(int r) { + if (r < 1 || r > 32) throw new RuntimeException("Illegal value of r = " + r); + + // optimize r = 32 case + if (r == 32) return readInt(); + + int x = 0; + for (int i = 0; i < r; i++) { + x <<= 1; + boolean bit = readBoolean(); + if (bit) x |= 1; + } + return x; + } + + /** + * Read the next 64 bits from the binary input stream and return as a 64-bit long. + * @return the next 64 bits of data from the binary input stream as a long + * @throws RuntimeException if there are fewer than 64 bits available + */ + public long readLong() { + long x = 0; + for (int i = 0; i < 8; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next 64 bits from the binary input stream and return as a 64-bit double. + * @return the next 64 bits of data from the binary input stream as a double + * @throws RuntimeException if there are fewer than 64 bits available + */ + public double readDouble() { + return Double.longBitsToDouble(readLong()); + } + + /** + * Read the next 32 bits from standard input and return as a 32-bit float. + * @return the next 32 bits of data from standard input as a float + * @throws RuntimeException if there are fewer than 32 bits available on standard input + */ + public float readFloat() { + return Float.intBitsToFloat(readInt()); + } + + + /** + * Read the next 8 bits from the binary input stream and return as an 8-bit byte. + * @return the next 8 bits of data from the binary input stream as a byte + * @throws RuntimeException if there are fewer than 8 bits available + */ + public byte readByte() { + char c = readChar(); + byte x = (byte) (c & 0xff); + return x; + } + + /** + * Test client. Reads in the name of a file or url (first command-line + * argument) and writes it to a file (second command-line argument). + */ + public static void main(String[] args) { + BinaryIn in = new BinaryIn(args[0]); + BinaryOut out = new BinaryOut(args[1]); + + // read one 8-bit char at a time + while (!in.isEmpty()) { + char c = in.readChar(); + out.write(c); + } + out.flush(); + } +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/BinaryOut.class b/Java-Visualizer/cp/visualizer-stdlib/BinaryOut.class new file mode 100644 index 00000000..7b71fb86 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/BinaryOut.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/BinaryOut.java b/Java-Visualizer/cp/visualizer-stdlib/BinaryOut.java new file mode 100644 index 00000000..f02f300d --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/BinaryOut.java @@ -0,0 +1,304 @@ +/************************************************************************* + * Compilation: javac BinaryOut.java + * Execution: java BinaryOut + * + * Write binary data to an output stream, either one 1-bit boolean, + * one 8-bit char, one 32-bit int, one 64-bit double, one 32-bit float, + * or one 64-bit long at a time. The output stream can be standard + * output, a file, an OutputStream or a Socket. + * + * The bytes written are not aligned. + * + * [wayne 7.17.2013] fixed bugs in write(char x, int r) and + * write(int x, int r) to add return statement for (r == 8) + * and (r == 32) cases, respectively. + * + *************************************************************************/ + +import java.io.BufferedOutputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.net.Socket; + +/** + * Binary output. This class provides methods for converting + * primtive type variables (boolean, byte, char, + * int, long, float, and double) + * to sequences of bits and writing them to an output stream. + * The output stream can be standard output, a file, an OutputStream or a Socket. + * Uses big-endian (most-significant byte first). + *

+ * The client must flush() the output stream when finished writing bits. + *

+ * The client should not intermixing calls to BinaryOut with calls + * to Out; otherwise unexpected behavior will result. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class BinaryOut { + + private BufferedOutputStream out; // the output stream + private int buffer; // 8-bit buffer of bits to write out + private int N; // number of bits remaining in buffer + + + /** + * Create a binary output stream from an OutputStream. + */ + public BinaryOut(OutputStream os) { + out = new BufferedOutputStream(os); + } + + /** + * Create a binary output stream from standard output. + */ + public BinaryOut() { + out = new BufferedOutputStream(System.out); + } + + /** + * Create a binary output stream from a filename. + */ + public BinaryOut(String s) { + try { + OutputStream os = new FileOutputStream(s); + out = new BufferedOutputStream(os); + } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Create a binary output stream from a Socket. + */ + public BinaryOut(Socket socket) { + try { + OutputStream os = socket.getOutputStream(); + out = new BufferedOutputStream(os); + } + catch (IOException e) { e.printStackTrace(); } + } + + + /** + * Write the specified bit to the binary output stream. + */ + private void writeBit(boolean bit) { + // add bit to buffer + buffer <<= 1; + if (bit) buffer |= 1; + + // if buffer is full (8 bits), write out as a single byte + N++; + if (N == 8) clearBuffer(); + } + + /** + * Write the 8-bit byte to the binary output stream. + */ + private void writeByte(int x) { + assert x >= 0 && x < 256; + + // optimized if byte-aligned + if (N == 0) { + try { out.write(x); } + catch (IOException e) { e.printStackTrace(); } + return; + } + + // otherwise write one bit at a time + for (int i = 0; i < 8; i++) { + boolean bit = ((x >>> (8 - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + // write out any remaining bits in buffer to the binary output stream, padding with 0s + private void clearBuffer() { + if (N == 0) return; + if (N > 0) buffer <<= (8 - N); + try { out.write(buffer); } + catch (IOException e) { e.printStackTrace(); } + N = 0; + buffer = 0; + } + + /** + * Flush the binary output stream, padding 0s if number of bits written so far + * is not a multiple of 8. + */ + public void flush() { + clearBuffer(); + try { out.flush(); } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Close and flush the binary output stream. Once it is closed, you can no longer write bits. + */ + public void close() { + flush(); + try { out.close(); } + catch (IOException e) { e.printStackTrace(); } + } + + + /** + * Write the specified bit to the binary output stream. + * @param x the boolean to write. + */ + public void write(boolean x) { + writeBit(x); + } + + /** + * Write the 8-bit byte to the binary output stream. + * @param x the byte to write. + */ + public void write(byte x) { + writeByte(x & 0xff); + } + + /** + * Write the 32-bit int to the binary output stream. + * @param x the int to write. + */ + public void write(int x) { + writeByte((x >>> 24) & 0xff); + writeByte((x >>> 16) & 0xff); + writeByte((x >>> 8) & 0xff); + writeByte((x >>> 0) & 0xff); + } + + /** + * Write the r-bit int to the binary output stream. + * @param x the int to write. + * @param r the number of relevant bits in the char. + * @throws RuntimeException if r is not between 1 and 32. + * @throws RuntimeException if x is not between 0 and 2r - 1. + */ + public void write(int x, int r) { + if (r == 32) { write(x); return; } + if (r < 1 || r > 32) throw new RuntimeException("Illegal value for r = " + r); + if (x < 0 || x >= (1 << r)) throw new RuntimeException("Illegal " + r + "-bit char = " + x); + for (int i = 0; i < r; i++) { + boolean bit = ((x >>> (r - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + + /** + * Write the 64-bit double to the binary output stream. + * @param x the double to write. + */ + public void write(double x) { + write(Double.doubleToRawLongBits(x)); + } + + /** + * Write the 64-bit long to the binary output stream. + * @param x the long to write. + */ + public void write(long x) { + writeByte((int) ((x >>> 56) & 0xff)); + writeByte((int) ((x >>> 48) & 0xff)); + writeByte((int) ((x >>> 40) & 0xff)); + writeByte((int) ((x >>> 32) & 0xff)); + writeByte((int) ((x >>> 24) & 0xff)); + writeByte((int) ((x >>> 16) & 0xff)); + writeByte((int) ((x >>> 8) & 0xff)); + writeByte((int) ((x >>> 0) & 0xff)); + } + + /** + * Write the 32-bit float to the binary output stream. + * @param x the float to write. + */ + public void write(float x) { + write(Float.floatToRawIntBits(x)); + } + + /** + * Write the 16-bit int to the binary output stream. + * @param x the short to write. + */ + public void write(short x) { + writeByte((x >>> 8) & 0xff); + writeByte((x >>> 0) & 0xff); + } + + /** + * Write the 8-bit char to the binary output stream. + * @param x the char to write. + * @throws RuntimeException if x is not betwen 0 and 255. + */ + public void write(char x) { + if (x < 0 || x >= 256) throw new RuntimeException("Illegal 8-bit char = " + x); + writeByte(x); + } + + /** + * Write the r-bit char to the binary output stream. + * @param x the char to write. + * @param r the number of relevant bits in the char. + * @throws RuntimeException if r is not between 1 and 16. + * @throws RuntimeException if x is not between 0 and 2r - 1. + */ + public void write(char x, int r) { + if (r == 8) { write(x); return; } + if (r < 1 || r > 16) throw new RuntimeException("Illegal value for r = " + r); + if (x < 0 || x >= (1 << r)) throw new RuntimeException("Illegal " + r + "-bit char = " + x); + for (int i = 0; i < r; i++) { + boolean bit = ((x >>> (r - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + /** + * Write the string of 8-bit characters to the binary output stream. + * @param s the String to write. + * @throws RuntimeException if any character in the string is not + * between 0 and 255. + */ + public void write(String s) { + for (int i = 0; i < s.length(); i++) + write(s.charAt(i)); + } + + + /** + * Write the String of r-bit characters to the binary output stream. + * @param s the String to write. + * @param r the number of relevants bits in each character. + * @throws RuntimeException if r is not between 1 and 16. + * @throws RuntimeException if any character in the string is not + * between 0 and 2r - 1. + */ + public void write(String s, int r) { + for (int i = 0; i < s.length(); i++) + write(s.charAt(i), r); + } + + + /** + * Test client. Read bits from standard input and write to the file + * specified on command line. + */ + public static void main(String[] args) { + + // create binary output stream to write to file + String filename = args[0]; + BinaryOut out = new BinaryOut(filename); + BinaryIn in = new BinaryIn(); + + // read from standard input and write to file + while (!in.isEmpty()) { + char c = in.readChar(); + out.write(c); + } + out.flush(); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/BinaryStdIn.class b/Java-Visualizer/cp/visualizer-stdlib/BinaryStdIn.class new file mode 100644 index 00000000..61ba70a5 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/BinaryStdIn.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/BinaryStdIn.java b/Java-Visualizer/cp/visualizer-stdlib/BinaryStdIn.java new file mode 100644 index 00000000..7e79878c --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/BinaryStdIn.java @@ -0,0 +1,267 @@ +/************************************************************************* + * Compilation: javac BinaryStdIn.java + * Execution: java BinaryStdIn < input > output + * + * Supports reading binary data from standard input. + * + * % java BinaryStdIn < input.jpg > output.jpg + * % diff input.jpg output.jpg + * + *************************************************************************/ + +import java.io.BufferedInputStream; +import java.io.IOException; + +/** + * Binary standard input. This class provides methods for reading + * in bits from standard input, either one bit at a time (as a boolean), + * 8 bits at a time (as a byte or char), + * 16 bits at a time (as a short), 32 bits at a time + * (as an int or float), or 64 bits at a time (as a + * double or long). + *

+ * All primitive types are assumed to be represented using their + * standard Java representations, in big-endian (most significant + * byte first) order. + *

+ * The client should not intermix calls to BinaryStdIn with calls + * to StdIn or System.in; + * otherwise unexpected behavior will result. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class BinaryStdIn { + private static BufferedInputStream in = new BufferedInputStream(System.in); + private static final int EOF = -1; // end of file + + private static int buffer; // one character buffer + private static int N; // number of bits left in buffer + + // static initializer + static { fillBuffer(); } + + // don't instantiate + private BinaryStdIn() { } + + private static void fillBuffer() { + try { buffer = in.read(); N = 8; } + catch (IOException e) { System.out.println("EOF"); buffer = EOF; N = -1; } + } + + /** + * Close this input stream and release any associated system resources. + */ + public static void close() { + try { + in.close(); + } + catch (IOException e) { + e.printStackTrace(); + throw new RuntimeException("Could not close BinaryStdIn"); + } + } + + /** + * Returns true if standard input is empty. + * @return true if and only if standard input is empty + */ + public static boolean isEmpty() { + return buffer == EOF; + } + + /** + * Read the next bit of data from standard input and return as a boolean. + * @return the next bit of data from standard input as a boolean + * @throws RuntimeException if standard input is empty + */ + public static boolean readBoolean() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + N--; + boolean bit = ((buffer >> N) & 1) == 1; + if (N == 0) fillBuffer(); + return bit; + } + + /** + * Read the next 8 bits from standard input and return as an 8-bit char. + * Note that char is a 16-bit type; + * to read the next 16 bits as a char, use readChar(16) + * @return the next 8 bits of data from standard input as a char + * @throws RuntimeException if there are fewer than 8 bits available on standard input + */ + public static char readChar() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + + // special case when aligned byte + if (N == 8) { + int x = buffer; + fillBuffer(); + return (char) (x & 0xff); + } + + // combine last N bits of current buffer with first 8-N bits of new buffer + int x = buffer; + x <<= (8-N); + int oldN = N; + fillBuffer(); + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + N = oldN; + x |= (buffer >>> N); + return (char) (x & 0xff); + // the above code doesn't quite work for the last character if N = 8 + // because buffer will be -1 + } + + /** + * Read the next r bits from standard input and return as an r-bit character. + * @param r number of bits to read. + * @return the next r bits of data from standard input as a char + * @throws RuntimeException if there are fewer than r bits available on standard input + * @throws RuntimeException unless 1 ≤ r ≤ 16 + */ + public static char readChar(int r) { + if (r < 1 || r > 16) throw new RuntimeException("Illegal value of r = " + r); + + // optimize r = 8 case + if (r == 8) return readChar(); + + char x = 0; + for (int i = 0; i < r; i++) { + x <<= 1; + boolean bit = readBoolean(); + if (bit) x |= 1; + } + return x; + } + + /** + * Read the remaining bytes of data from standard input and return as a string. + * @return the remaining bytes of data from standard input as a String + * @throws RuntimeException if standard input is empty or if the number of bits + * available on standard input is not a multiple of 8 (byte-aligned) + */ + public static String readString() { + if (isEmpty()) throw new RuntimeException("Reading from empty input stream"); + + StringBuilder sb = new StringBuilder(); + while (!isEmpty()) { + char c = readChar(); + sb.append(c); + } + return sb.toString(); + } + + + /** + * Read the next 16 bits from standard input and return as a 16-bit short. + * @return the next 16 bits of data from standard input as a short + * @throws RuntimeException if there are fewer than 16 bits available on standard input + */ + public static short readShort() { + short x = 0; + for (int i = 0; i < 2; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next 32 bits from standard input and return as a 32-bit int. + * @return the next 32 bits of data from standard input as a int + * @throws RuntimeException if there are fewer than 32 bits available on standard input + */ + public static int readInt() { + int x = 0; + for (int i = 0; i < 4; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + /** + * Read the next r bits from standard input and return as an r-bit int. + * @param r number of bits to read. + * @return the next r bits of data from standard input as a int + * @throws RuntimeException if there are fewer than r bits available on standard input + * @throws RuntimeException unless 1 ≤ r ≤ 32 + */ + public static int readInt(int r) { + if (r < 1 || r > 32) throw new RuntimeException("Illegal value of r = " + r); + + // optimize r = 32 case + if (r == 32) return readInt(); + + int x = 0; + for (int i = 0; i < r; i++) { + x <<= 1; + boolean bit = readBoolean(); + if (bit) x |= 1; + } + return x; + } + + /** + * Read the next 64 bits from standard input and return as a 64-bit long. + * @return the next 64 bits of data from standard input as a long + * @throws RuntimeException if there are fewer than 64 bits available on standard input + */ + public static long readLong() { + long x = 0; + for (int i = 0; i < 8; i++) { + char c = readChar(); + x <<= 8; + x |= c; + } + return x; + } + + + /** + * Read the next 64 bits from standard input and return as a 64-bit double. + * @return the next 64 bits of data from standard input as a double + * @throws RuntimeException if there are fewer than 64 bits available on standard input + */ + public static double readDouble() { + return Double.longBitsToDouble(readLong()); + } + + /** + * Read the next 32 bits from standard input and return as a 32-bit float. + * @return the next 32 bits of data from standard input as a float + * @throws RuntimeException if there are fewer than 32 bits available on standard input + */ + public static float readFloat() { + return Float.intBitsToFloat(readInt()); + } + + + /** + * Read the next 8 bits from standard input and return as an 8-bit byte. + * @return the next 8 bits of data from standard input as a byte + * @throws RuntimeException if there are fewer than 8 bits available on standard input + */ + public static byte readByte() { + char c = readChar(); + byte x = (byte) (c & 0xff); + return x; + } + + /** + * Test client. Reads in a binary input file from standard input and writes + * it to standard output. + */ + public static void main(String[] args) { + + // read one 8-bit char at a time + while (!BinaryStdIn.isEmpty()) { + char c = BinaryStdIn.readChar(); + BinaryStdOut.write(c); + } + BinaryStdOut.flush(); + } +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/BinaryStdOut.class b/Java-Visualizer/cp/visualizer-stdlib/BinaryStdOut.class new file mode 100644 index 00000000..dccb8907 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/BinaryStdOut.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/BinaryStdOut.java b/Java-Visualizer/cp/visualizer-stdlib/BinaryStdOut.java new file mode 100644 index 00000000..38f31d52 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/BinaryStdOut.java @@ -0,0 +1,256 @@ +/************************************************************************* + * Compilation: javac BinaryStdOut.java + * Execution: java BinaryStdOut + * + * Write binary data to standard output, either one 1-bit boolean, + * one 8-bit char, one 32-bit int, one 64-bit double, one 32-bit float, + * or one 64-bit long at a time. + * + * The bytes written are not aligned. + * + *************************************************************************/ + +import java.io.BufferedOutputStream; +import java.io.IOException; + +/** + * Binary standard output. This class provides methods for converting + * primtive type variables (boolean, byte, char, + * int, long, float, and double) + * to sequences of bits and writing them to standard output. + * Uses big-endian (most-significant byte first). + *

+ * The client must flush() the output stream when finished writing bits. + *

+ * The client should not intermixing calls to BinaryStdOut with calls + * to StdOut or System.out; otherwise unexpected behavior + * will result. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class BinaryStdOut { + private static BufferedOutputStream out = new BufferedOutputStream(System.out); + + private static int buffer; // 8-bit buffer of bits to write out + private static int N; // number of bits remaining in buffer + + // don't instantiate + private BinaryStdOut() { } + + /** + * Write the specified bit to standard output. + */ + private static void writeBit(boolean bit) { + // add bit to buffer + buffer <<= 1; + if (bit) buffer |= 1; + + // if buffer is full (8 bits), write out as a single byte + N++; + if (N == 8) clearBuffer(); + } + + /** + * Write the 8-bit byte to standard output. + */ + private static void writeByte(int x) { + assert x >= 0 && x < 256; + + // optimized if byte-aligned + if (N == 0) { + try { out.write(x); } + catch (IOException e) { e.printStackTrace(); } + return; + } + + // otherwise write one bit at a time + for (int i = 0; i < 8; i++) { + boolean bit = ((x >>> (8 - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + // write out any remaining bits in buffer to standard output, padding with 0s + private static void clearBuffer() { + if (N == 0) return; + if (N > 0) buffer <<= (8 - N); + try { out.write(buffer); } + catch (IOException e) { e.printStackTrace(); } + N = 0; + buffer = 0; + } + + /** + * Flush standard output, padding 0s if number of bits written so far + * is not a multiple of 8. + */ + public static void flush() { + clearBuffer(); + try { out.flush(); } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Flush and close standard output. Once standard output is closed, you can no + * longer write bits to it. + */ + public static void close() { + flush(); + try { out.close(); } + catch (IOException e) { e.printStackTrace(); } + } + + + /** + * Write the specified bit to standard output. + * @param x the boolean to write. + */ + public static void write(boolean x) { + writeBit(x); + } + + /** + * Write the 8-bit byte to standard output. + * @param x the byte to write. + */ + public static void write(byte x) { + writeByte(x & 0xff); + } + + /** + * Write the 32-bit int to standard output. + * @param x the int to write. + */ + public static void write(int x) { + writeByte((x >>> 24) & 0xff); + writeByte((x >>> 16) & 0xff); + writeByte((x >>> 8) & 0xff); + writeByte((x >>> 0) & 0xff); + } + + /** + * Write the r-bit int to standard output. + * @param x the int to write. + * @param r the number of relevant bits in the char. + * @throws RuntimeException if r is not between 1 and 32. + * @throws RuntimeException if x is not between 0 and 2r - 1. + */ + public static void write(int x, int r) { + if (r == 32) { write(x); return; } + if (r < 1 || r > 32) throw new RuntimeException("Illegal value for r = " + r); + if (x < 0 || x >= (1 << r)) throw new RuntimeException("Illegal " + r + "-bit char = " + x); + for (int i = 0; i < r; i++) { + boolean bit = ((x >>> (r - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + + + + + /** + * Write the 64-bit double to standard output. + * @param x the double to write. + */ + public static void write(double x) { + write(Double.doubleToRawLongBits(x)); + } + + /** + * Write the 64-bit long to standard output. + * @param x the long to write. + */ + public static void write(long x) { + writeByte((int) ((x >>> 56) & 0xff)); + writeByte((int) ((x >>> 48) & 0xff)); + writeByte((int) ((x >>> 40) & 0xff)); + writeByte((int) ((x >>> 32) & 0xff)); + writeByte((int) ((x >>> 24) & 0xff)); + writeByte((int) ((x >>> 16) & 0xff)); + writeByte((int) ((x >>> 8) & 0xff)); + writeByte((int) ((x >>> 0) & 0xff)); + } + + /** + * Write the 32-bit float to standard output. + * @param x the float to write. + */ + public static void write(float x) { + write(Float.floatToRawIntBits(x)); + } + + /** + * Write the 16-bit int to standard output. + * @param x the short to write. + */ + public static void write(short x) { + writeByte((x >>> 8) & 0xff); + writeByte((x >>> 0) & 0xff); + } + + /** + * Write the 8-bit char to standard output. + * @param x the char to write. + * @throws RuntimeException if x is not betwen 0 and 255. + */ + public static void write(char x) { + if (x < 0 || x >= 256) throw new RuntimeException("Illegal 8-bit char = " + x); + writeByte(x); + } + + /** + * Write the r-bit char to standard output. + * @param x the char to write. + * @param r the number of relevant bits in the char. + * @throws RuntimeException if r is not between 1 and 16. + * @throws RuntimeException if x is not between 0 and 2r - 1. + */ + public static void write(char x, int r) { + if (r == 8) { write(x); return; } + if (r < 1 || r > 16) throw new RuntimeException("Illegal value for r = " + r); + if (x < 0 || x >= (1 << r)) throw new RuntimeException("Illegal " + r + "-bit char = " + x); + for (int i = 0; i < r; i++) { + boolean bit = ((x >>> (r - i - 1)) & 1) == 1; + writeBit(bit); + } + } + + /** + * Write the string of 8-bit characters to standard output. + * @param s the String to write. + * @throws RuntimeException if any character in the string is not + * between 0 and 255. + */ + public static void write(String s) { + for (int i = 0; i < s.length(); i++) + write(s.charAt(i)); + } + + /** + * Write the String of r-bit characters to standard output. + * @param s the String to write. + * @param r the number of relevants bits in each character. + * @throws RuntimeException if r is not between 1 and 16. + * @throws RuntimeException if any character in the string is not + * between 0 and 2r - 1. + */ + public static void write(String s, int r) { + for (int i = 0; i < s.length(); i++) + write(s.charAt(i), r); + } + + /** + * Test client. + */ + public static void main(String[] args) { + int T = Integer.parseInt(args[0]); + // write to standard output + for (int i = 0; i < T; i++) { + BinaryStdOut.write(i); + } + BinaryStdOut.flush(); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/Draw.class b/Java-Visualizer/cp/visualizer-stdlib/Draw.class new file mode 100644 index 00000000..53651680 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Draw.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Draw.java b/Java-Visualizer/cp/visualizer-stdlib/Draw.java new file mode 100644 index 00000000..342171df --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/Draw.java @@ -0,0 +1,1141 @@ +/************************************************************************* + * Compilation: javac Draw.java + * Execution: java Draw + * + * Drawing library. This class provides a basic capability for creating + * drawings with your programs. It uses a simple graphics model that + * allows you to create drawings consisting of points, lines, and curves + * in a window on your computer and to save the drawings to a file. + * This is the object-oriented version of standard draw; it supports + * multiple indepedent drawing windows. + * + * Todo + * ---- + * - Add support for gradient fill, etc. + * + * Remarks + * ------- + * - don't use AffineTransform for rescaling since it inverts + * images and strings + * - careful using setFont in inner loop within an animation - + * it can cause flicker + * + *************************************************************************/ + +import java.awt.*; +import java.awt.event.*; +import java.awt.geom.*; +import java.awt.image.*; +import java.io.*; +import java.net.*; +import java.util.LinkedList; +import java.util.TreeSet; +import javax.imageio.ImageIO; +import javax.swing.*; + +/** + * Draw. This class provides a basic capability for + * creating drawings with your programs. It uses a simple graphics model that + * allows you to create drawings consisting of points, lines, and curves + * in a window on your computer and to save the drawings to a file. + * This is the object-oriented version of standard draw; it supports + * multiple indepedent drawing windows. + *

+ * For additional documentation, see Section 3.1 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ + +import java.util.ArrayList; + +public final class Draw implements ActionListener, MouseListener, MouseMotionListener, KeyListener { + + // pre-defined colors + public static final Color BLACK = Color.BLACK; + public static final Color BLUE = Color.BLUE; + public static final Color CYAN = Color.CYAN; + public static final Color DARK_GRAY = Color.DARK_GRAY; + public static final Color GRAY = Color.GRAY; + public static final Color GREEN = Color.GREEN; + public static final Color LIGHT_GRAY = Color.LIGHT_GRAY; + public static final Color MAGENTA = Color.MAGENTA; + public static final Color ORANGE = Color.ORANGE; + public static final Color PINK = Color.PINK; + public static final Color RED = Color.RED; + public static final Color WHITE = Color.WHITE; + public static final Color YELLOW = Color.YELLOW; + + /** + * Shade of blue used in Introduction to Programming in Java. + * The RGB values are (9, 90, 166). + */ + public static final Color BOOK_BLUE = new Color(9, 90, 166); + + /** + * Shade of red used in Algorithms 4th edition. + * The RGB values are (173, 32, 24). + */ + public static final Color BOOK_RED = new Color(173, 32, 24); + + // default colors + private static final Color DEFAULT_PEN_COLOR = BLACK; + private static final Color DEFAULT_CLEAR_COLOR = WHITE; + + // boundary of drawing canvas, 5% border + private static final double BORDER = 0.05; + private static final double DEFAULT_XMIN = 0.0; + private static final double DEFAULT_XMAX = 1.0; + private static final double DEFAULT_YMIN = 0.0; + private static final double DEFAULT_YMAX = 1.0; + + // default canvas size is SIZE-by-SIZE + private static final int DEFAULT_SIZE = 512; + + // default pen radius + private static final double DEFAULT_PEN_RADIUS = 0.002; + + // default font + private static final Font DEFAULT_FONT = new Font("SansSerif", Font.PLAIN, 16); + + // current pen color + private Color penColor; + + // canvas size + private int width = DEFAULT_SIZE; + private int height = DEFAULT_SIZE; + + // current pen radius + private double penRadius; + + // show we draw immediately or wait until next show? + private boolean defer = false; + + private double xmin, ymin, xmax, ymax; + + // name of window + private String name = "Draw"; + + // for synchronization + private Object mouseLock = new Object(); + private Object keyLock = new Object(); + + // current font + private Font font; + + // double buffered graphics + private BufferedImage offscreenImage, onscreenImage; + private Graphics2D offscreen, onscreen; + + // the frame for drawing to the screen + private JFrame frame = new JFrame(); + + // mouse state + private boolean mousePressed = false; + private double mouseX = 0; + private double mouseY = 0; + + // keyboard state + private LinkedList keysTyped = new LinkedList(); + private TreeSet keysDown = new TreeSet(); + + // event-based listeners + private ArrayList listeners = new ArrayList(); + + + /** + * Create an empty drawing object with the given name. + * + * @param name the title of the drawing window. + */ + public Draw(String name) { + this.name = name; + init(); + } + + /** + * Create an empty drawing object. + */ + public Draw() { + init(); + } + + private void init() { + if (frame != null) frame.setVisible(false); + frame = new JFrame(); + offscreenImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + onscreenImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + offscreen = offscreenImage.createGraphics(); + onscreen = onscreenImage.createGraphics(); + setXscale(); + setYscale(); + offscreen.setColor(DEFAULT_CLEAR_COLOR); + offscreen.fillRect(0, 0, width, height); + setPenColor(); + setPenRadius(); + setFont(); + clear(); + + // add antialiasing + RenderingHints hints = new RenderingHints(RenderingHints.KEY_ANTIALIASING, + RenderingHints.VALUE_ANTIALIAS_ON); + hints.put(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); + offscreen.addRenderingHints(hints); + + // frame stuff + ImageIcon icon = new ImageIcon(onscreenImage); + JLabel draw = new JLabel(icon); + + draw.addMouseListener(this); + draw.addMouseMotionListener(this); + + frame.setContentPane(draw); + frame.addKeyListener(this); // JLabel cannot get keyboard focus + frame.setResizable(false); + // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // closes all windows + frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); // closes only current window + frame.setTitle(name); + frame.setJMenuBar(createMenuBar()); + frame.pack(); + frame.requestFocusInWindow(); + frame.setVisible(true); + } + + + /** + * Set the upper-left hand corner of the drawing window to be (x, y), where (0, 0) is upper left. + * + * @param x the number of pixels from the left + * @param y the number of pixels from the top + * @throws a RunTimeException if the width or height is 0 or negative + */ + public void setLocationOnScreen(int x, int y) { + frame.setLocation(x, y); + } + + + + /** + * Set the window size to w-by-h pixels. + * + * @param w the width as a number of pixels + * @param h the height as a number of pixels + * @throws a RunTimeException if the width or height is 0 or negative + */ + public void setCanvasSize(int w, int h) { + if (w < 1 || h < 1) throw new RuntimeException("width and height must be positive"); + width = w; + height = h; + init(); + } + + + // create the menu bar (changed to private) + private JMenuBar createMenuBar() { + JMenuBar menuBar = new JMenuBar(); + JMenu menu = new JMenu("File"); + menuBar.add(menu); + JMenuItem menuItem1 = new JMenuItem(" Save... "); + menuItem1.addActionListener(this); + menuItem1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, + Toolkit.getDefaultToolkit().getMenuShortcutKeyMask())); + menu.add(menuItem1); + return menuBar; + } + + + /************************************************************************* + * User and screen coordinate systems + *************************************************************************/ + + /** + * Set the x-scale to be the default (between 0.0 and 1.0). + */ + public void setXscale() { setXscale(DEFAULT_XMIN, DEFAULT_XMAX); } + + /** + * Set the y-scale to be the default (between 0.0 and 1.0). + */ + public void setYscale() { setYscale(DEFAULT_YMIN, DEFAULT_YMAX); } + + /** + * Set the x-scale (a 10% border is added to the values) + * @param min the minimum value of the x-scale + * @param max the maximum value of the x-scale + */ + public void setXscale(double min, double max) { + double size = max - min; + xmin = min - BORDER * size; + xmax = max + BORDER * size; + } + + /** + * Set the y-scale (a 10% border is added to the values). + * @param min the minimum value of the y-scale + * @param max the maximum value of the y-scale + */ + public void setYscale(double min, double max) { + double size = max - min; + ymin = min - BORDER * size; + ymax = max + BORDER * size; + } + + // helper functions that scale from user coordinates to screen coordinates and back + private double scaleX(double x) { return width * (x - xmin) / (xmax - xmin); } + private double scaleY(double y) { return height * (ymax - y) / (ymax - ymin); } + private double factorX(double w) { return w * width / Math.abs(xmax - xmin); } + private double factorY(double h) { return h * height / Math.abs(ymax - ymin); } + private double userX(double x) { return xmin + x * (xmax - xmin) / width; } + private double userY(double y) { return ymax - y * (ymax - ymin) / height; } + + + /** + * Clear the screen to the default color (white). + */ + public void clear() { clear(DEFAULT_CLEAR_COLOR); } + /** + * Clear the screen to the given color. + * @param color the Color to make the background + */ + public void clear(Color color) { + offscreen.setColor(color); + offscreen.fillRect(0, 0, width, height); + offscreen.setColor(penColor); + draw(); + } + + /** + * Get the current pen radius. + */ + public double getPenRadius() { return penRadius; } + + /** + * Set the pen size to the default (.002). + */ + public void setPenRadius() { setPenRadius(DEFAULT_PEN_RADIUS); } + + /** + * Set the radius of the pen to the given size. + * @param r the radius of the pen + * @throws RuntimeException if r is negative + */ + public void setPenRadius(double r) { + if (r < 0) throw new RuntimeException("pen radius must be positive"); + penRadius = r * DEFAULT_SIZE; + BasicStroke stroke = new BasicStroke((float) penRadius, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND); + // BasicStroke stroke = new BasicStroke((float) penRadius); + offscreen.setStroke(stroke); + } + + /** + * Get the current pen color. + */ + public Color getPenColor() { return penColor; } + + /** + * Set the pen color to the default color (black). + */ + public void setPenColor() { setPenColor(DEFAULT_PEN_COLOR); } + + /** + * Set the pen color to the given color. + * @param color the Color to make the pen + */ + public void setPenColor(Color color) { + penColor = color; + offscreen.setColor(penColor); + } + + /** + * Set the pen color to the given RGB color. + * @param red the amount of red (between 0 and 255) + * @param green the amount of green (between 0 and 255) + * @param blue the amount of blue (between 0 and 255) + * @throws IllegalArgumentException if the amount of red, green, or blue are outside prescribed range + */ + public void setPenColor(int red, int green, int blue) { + if (red < 0 || red >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + if (green < 0 || green >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + if (blue < 0 || blue >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + setPenColor(new Color(red, green, blue)); + } + + + public void xorOn() { offscreen.setXORMode(DEFAULT_CLEAR_COLOR); } + public void xorOff() { offscreen.setPaintMode(); } + + /** + * Get the current font. + */ + public Font getFont() { return font; } + + /** + * Set the font to the default font (sans serif, 16 point). + */ + public void setFont() { setFont(DEFAULT_FONT); } + + /** + * Set the font to the given value. + * @param f the font to make text + */ + public void setFont(Font f) { font = f; } + + + /************************************************************************* + * Drawing geometric shapes. + *************************************************************************/ + + /** + * Draw a line from (x0, y0) to (x1, y1). + * @param x0 the x-coordinate of the starting point + * @param y0 the y-coordinate of the starting point + * @param x1 the x-coordinate of the destination point + * @param y1 the y-coordinate of the destination point + */ + public void line(double x0, double y0, double x1, double y1) { + offscreen.draw(new Line2D.Double(scaleX(x0), scaleY(y0), scaleX(x1), scaleY(y1))); + draw(); + } + + /** + * Draw one pixel at (x, y). + * @param x the x-coordinate of the pixel + * @param y the y-coordinate of the pixel + */ + private void pixel(double x, double y) { + offscreen.fillRect((int) Math.round(scaleX(x)), (int) Math.round(scaleY(y)), 1, 1); + } + + /** + * Draw a point at (x, y). + * @param x the x-coordinate of the point + * @param y the y-coordinate of the point + */ + public void point(double x, double y) { + double xs = scaleX(x); + double ys = scaleY(y); + double r = penRadius; + // double ws = factorX(2*r); + // double hs = factorY(2*r); + // if (ws <= 1 && hs <= 1) pixel(x, y); + if (r <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - r/2, ys - r/2, r, r)); + draw(); + } + + /** + * Draw a circle of radius r, centered on (x, y). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @throws RuntimeException if the radius of the circle is negative + */ + public void circle(double x, double y, double r) { + if (r < 0) throw new RuntimeException("circle radius can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw filled circle of radius r, centered on (x, y). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @throws RuntimeException if the radius of the circle is negative + */ + public void filledCircle(double x, double y, double r) { + if (r < 0) throw new RuntimeException("circle radius can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw an ellipse with given semimajor and semiminor axes, centered on (x, y). + * @param x the x-coordinate of the center of the ellipse + * @param y the y-coordinate of the center of the ellipse + * @param semiMajorAxis is the semimajor axis of the ellipse + * @param semiMinorAxis is the semiminor axis of the ellipse + * @throws RuntimeException if either of the axes are negative + */ + public void ellipse(double x, double y, double semiMajorAxis, double semiMinorAxis) { + if (semiMajorAxis < 0) throw new RuntimeException("ellipse semimajor axis can't be negative"); + if (semiMinorAxis < 0) throw new RuntimeException("ellipse semiminor axis can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*semiMajorAxis); + double hs = factorY(2*semiMinorAxis); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw an ellipse with given semimajor and semiminor axes, centered on (x, y). + * @param x the x-coordinate of the center of the ellipse + * @param y the y-coordinate of the center of the ellipse + * @param semiMajorAxis is the semimajor axis of the ellipse + * @param semiMinorAxis is the semiminor axis of the ellipse + * @throws RuntimeException if either of the axes are negative + */ + public void filledEllipse(double x, double y, double semiMajorAxis, double semiMinorAxis) { + if (semiMajorAxis < 0) throw new RuntimeException("ellipse semimajor axis can't be negative"); + if (semiMinorAxis < 0) throw new RuntimeException("ellipse semiminor axis can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*semiMajorAxis); + double hs = factorY(2*semiMinorAxis); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw an arc of radius r, centered on (x, y), from angle1 to angle2 (in degrees). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @param angle1 the starting angle. 0 would mean an arc beginning at 3 o'clock. + * @param angle2 the angle at the end of the arc. For example, if + * you want a 90 degree arc, then angle2 should be angle1 + 90. + * @throws RuntimeException if the radius of the circle is negative + */ + public void arc(double x, double y, double r, double angle1, double angle2) { + if (r < 0) throw new RuntimeException("arc radius can't be negative"); + while (angle2 < angle1) angle2 += 360; + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Arc2D.Double(xs - ws/2, ys - hs/2, ws, hs, angle1, angle2 - angle1, Arc2D.OPEN)); + draw(); + } + + /** + * Draw a square of side length 2r, centered on (x, y). + * @param x the x-coordinate of the center of the square + * @param y the y-coordinate of the center of the square + * @param r radius is half the length of any side of the square + * @throws RuntimeException if r is negative + */ + public void square(double x, double y, double r) { + if (r < 0) throw new RuntimeException("square side length can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a filled square of side length 2r, centered on (x, y). + * @param x the x-coordinate of the center of the square + * @param y the y-coordinate of the center of the square + * @param r radius is half the length of any side of the square + * @throws RuntimeException if r is negative + */ + public void filledSquare(double x, double y, double r) { + if (r < 0) throw new RuntimeException("square side length can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw a rectangle of given half width and half height, centered on (x, y). + * @param x the x-coordinate of the center of the rectangle + * @param y the y-coordinate of the center of the rectangle + * @param halfWidth is half the width of the rectangle + * @param halfHeight is half the height of the rectangle + * @throws RuntimeException if halfWidth or halfHeight is negative + */ + public void rectangle(double x, double y, double halfWidth, double halfHeight) { + if (halfWidth < 0) throw new RuntimeException("half width can't be negative"); + if (halfHeight < 0) throw new RuntimeException("half height can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*halfWidth); + double hs = factorY(2*halfHeight); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a filled rectangle of given half width and half height, centered on (x, y). + * @param x the x-coordinate of the center of the rectangle + * @param y the y-coordinate of the center of the rectangle + * @param halfWidth is half the width of the rectangle + * @param halfHeight is half the height of the rectangle + * @throws RuntimeException if halfWidth or halfHeight is negative + */ + public void filledRectangle(double x, double y, double halfWidth, double halfHeight) { + if (halfWidth < 0) throw new RuntimeException("half width can't be negative"); + if (halfHeight < 0) throw new RuntimeException("half height can't be negative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*halfWidth); + double hs = factorY(2*halfHeight); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a polygon with the given (x[i], y[i]) coordinates. + * @param x an array of all the x-coordindates of the polygon + * @param y an array of all the y-coordindates of the polygon + */ + public void polygon(double[] x, double[] y) { + int N = x.length; + GeneralPath path = new GeneralPath(); + path.moveTo((float) scaleX(x[0]), (float) scaleY(y[0])); + for (int i = 0; i < N; i++) + path.lineTo((float) scaleX(x[i]), (float) scaleY(y[i])); + path.closePath(); + offscreen.draw(path); + draw(); + } + + /** + * Draw a filled polygon with the given (x[i], y[i]) coordinates. + * @param x an array of all the x-coordindates of the polygon + * @param y an array of all the y-coordindates of the polygon + */ + public void filledPolygon(double[] x, double[] y) { + int N = x.length; + GeneralPath path = new GeneralPath(); + path.moveTo((float) scaleX(x[0]), (float) scaleY(y[0])); + for (int i = 0; i < N; i++) + path.lineTo((float) scaleX(x[i]), (float) scaleY(y[i])); + path.closePath(); + offscreen.fill(path); + draw(); + } + + + + /************************************************************************* + * Drawing images. + *************************************************************************/ + + // get an image from the given filename + private Image getImage(String filename) { + + // to read from file + ImageIcon icon = new ImageIcon(filename); + + // try to read from URL + if ((icon == null) || (icon.getImageLoadStatus() != MediaTracker.COMPLETE)) { + try { + URL url = new URL(filename); + icon = new ImageIcon(url); + } catch (Exception e) { /* not a url */ } + } + + // in case file is inside a .jar + if ((icon == null) || (icon.getImageLoadStatus() != MediaTracker.COMPLETE)) { + URL url = Draw.class.getResource(filename); + if (url == null) throw new RuntimeException("image " + filename + " not found"); + icon = new ImageIcon(url); + } + + return icon.getImage(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y). + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @throws RuntimeException if the image is corrupt + */ + public void picture(double x, double y, String s) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = image.getWidth(null); + int hs = image.getHeight(null); + if (ws < 0 || hs < 0) throw new RuntimeException("image " + s + " is corrupt"); + + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), (int) Math.round(ys - hs/2.0), null); + draw(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), + * rotated given number of degrees + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param degrees is the number of degrees to rotate counterclockwise + * @throws RuntimeException if the image is corrupt + */ + public void picture(double x, double y, String s, double degrees) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = image.getWidth(null); + int hs = image.getHeight(null); + if (ws < 0 || hs < 0) throw new RuntimeException("image " + s + " is corrupt"); + + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), (int) Math.round(ys - hs/2.0), null); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + + draw(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), rescaled to w-by-h. + * @param x the center x coordinate of the image + * @param y the center y coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param w the width of the image + * @param h the height of the image + * @throws RuntimeException if the image is corrupt + */ + public void picture(double x, double y, String s, double w, double h) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(w); + double hs = factorY(h); + if (ws < 0 || hs < 0) throw new RuntimeException("image " + s + " is corrupt"); + if (ws <= 1 && hs <= 1) pixel(x, y); + else { + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), + (int) Math.round(ys - hs/2.0), + (int) Math.round(ws), + (int) Math.round(hs), null); + } + draw(); + } + + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), rotated + * given number of degrees, rescaled to w-by-h. + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param w the width of the image + * @param h the height of the image + * @param degrees is the number of degrees to rotate counterclockwise + * @throws RuntimeException if the image is corrupt + */ + public void picture(double x, double y, String s, double w, double h, double degrees) { + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(w); + double hs = factorY(h); + if (ws < 0 || hs < 0) throw new RuntimeException("image " + s + " is corrupt"); + if (ws <= 1 && hs <= 1) pixel(x, y); + + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), + (int) Math.round(ys - hs/2.0), + (int) Math.round(ws), + (int) Math.round(hs), null); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + + draw(); + } + + + /************************************************************************* + * Drawing text. + *************************************************************************/ + + /** + * Write the given text string in the current font, centered on (x, y). + * @param x the center x-coordinate of the text + * @param y the center y-coordinate of the text + * @param s the text + */ + public void text(double x, double y, String s) { + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = metrics.stringWidth(s); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs - ws/2.0), (float) (ys + hs)); + draw(); + } + + /** + * Write the given text string in the current font, centered on (x, y) and + * rotated by the specified number of degrees + * @param x the center x-coordinate of the text + * @param y the center y-coordinate of the text + * @param s the text + * @param degrees is the number of degrees to rotate counterclockwise + */ + public void text(double x, double y, String s, double degrees) { + double xs = scaleX(x); + double ys = scaleY(y); + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + text(x, y, s); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + } + + /** + * Write the given text string in the current font, left-aligned at (x, y). + * @param x the x-coordinate of the text + * @param y the y-coordinate of the text + * @param s the text + */ + public void textLeft(double x, double y, String s) { + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + // int ws = metrics.stringWidth(s); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs), (float) (ys + hs)); + show(); + } + + + /** + * Display on screen, pause for t milliseconds, and turn on + * animation mode: subsequent calls to + * drawing methods such as line(), circle(), and square() + * will not be displayed on screen until the next call to show(). + * This is useful for producing animations (clear the screen, draw a bunch of shapes, + * display on screen for a fixed amount of time, and repeat). It also speeds up + * drawing a huge number of shapes (call show(0) to defer drawing + * on screen, draw the shapes, and call show(0) to display them all + * on screen at once). + * @param t number of milliseconds + */ + public void show(int t) { + defer = false; + draw(); + try { Thread.sleep(t); } + catch (InterruptedException e) { System.out.println("Error sleeping"); } + defer = true; + } + + + /** + * Display on-screen and turn off animation mode: + * subsequent calls to + * drawing methods such as line(), circle(), and square() + * will be displayed on screen when called. This is the default. + */ + public void show() { + defer = false; + draw(); + } + + // draw onscreen if defer is false + private void draw() { + if (defer) return; + onscreen.drawImage(offscreenImage, 0, 0, null); + frame.repaint(); + } + + + /************************************************************************* + * Save drawing to a file. + *************************************************************************/ + + /** + * Save to file - suffix must be png, jpg, or gif. + * @param filename the name of the file with one of the required suffixes + */ + public void save(String filename) { + File file = new File(filename); + String suffix = filename.substring(filename.lastIndexOf('.') + 1); + + // png files + if (suffix.toLowerCase().equals("png")) { + try { ImageIO.write(offscreenImage, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + + // need to change from ARGB to RGB for jpeg + // reference: http://archives.java.sun.com/cgi-bin/wa?A2=ind0404&L=java2d-interest&D=0&P=2727 + else if (suffix.toLowerCase().equals("jpg")) { + WritableRaster raster = offscreenImage.getRaster(); + WritableRaster newRaster; + newRaster = raster.createWritableChild(0, 0, width, height, 0, 0, new int[] {0, 1, 2}); + DirectColorModel cm = (DirectColorModel) offscreenImage.getColorModel(); + DirectColorModel newCM = new DirectColorModel(cm.getPixelSize(), + cm.getRedMask(), + cm.getGreenMask(), + cm.getBlueMask()); + BufferedImage rgbBuffer = new BufferedImage(newCM, newRaster, false, null); + try { ImageIO.write(rgbBuffer, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + + else { + System.out.println("Invalid image file type: " + suffix); + } + } + + + /** + * This method cannot be called directly. + */ + public void actionPerformed(ActionEvent e) { + FileDialog chooser = new FileDialog(frame, "Use a .png or .jpg extension", FileDialog.SAVE); + chooser.setVisible(true); + String filename = chooser.getFile(); + if (filename != null) { + save(chooser.getDirectory() + File.separator + chooser.getFile()); + } + } + + + + /************************************************************************* + * Event-based interactions. + *************************************************************************/ + + public void addListener(DrawListener listener) { + // ensure there is a window for listenting to events + show(); + listeners.add(listener); + frame.addKeyListener(this); + frame.addMouseListener(this); + frame.addMouseMotionListener(this); + frame.setFocusable(true); + } + + + + + /************************************************************************* + * Mouse interactions. + *************************************************************************/ + + /** + * Is the mouse being pressed? + * @return true or false + */ + public boolean mousePressed() { + synchronized (mouseLock) { + return mousePressed; + } + } + + /** + * What is the x-coordinate of the mouse? + * @return the value of the x-coordinate of the mouse + */ + public double mouseX() { + synchronized (mouseLock) { + return mouseX; + } + } + + /** + * What is the y-coordinate of the mouse? + * @return the value of the y-coordinate of the mouse + */ + public double mouseY() { + synchronized (mouseLock) { + return mouseY; + } + } + + + + /** + * This method cannot be called directly. + */ + public void mouseClicked(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mouseEntered(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mouseExited(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mousePressed(MouseEvent e) { + synchronized (mouseLock) { + mouseX = userX(e.getX()); + mouseY = userY(e.getY()); + mousePressed = true; + } + if (e.getButton() == MouseEvent.BUTTON1) { + for (DrawListener listener : listeners) + listener.mousePressed(userX(e.getX()), userY(e.getY())); + } + + } + + /** + * This method cannot be called directly. + */ + public void mouseReleased(MouseEvent e) { + synchronized (mouseLock) { + mousePressed = false; + } + if (e.getButton() == MouseEvent.BUTTON1) { + for (DrawListener listener : listeners) + listener.mouseReleased(userX(e.getX()), userY(e.getY())); + } + } + + /** + * This method cannot be called directly. + */ + public void mouseDragged(MouseEvent e) { + synchronized (mouseLock) { + mouseX = userX(e.getX()); + mouseY = userY(e.getY()); + } + // doesn't seem to work if a button is specified + for (DrawListener listener : listeners) + listener.mouseDragged(userX(e.getX()), userY(e.getY())); + } + + /** + * This method cannot be called directly. + */ + public void mouseMoved(MouseEvent e) { + synchronized (mouseLock) { + mouseX = userX(e.getX()); + mouseY = userY(e.getY()); + } + } + + + /************************************************************************* + * Keyboard interactions. + *************************************************************************/ + + /** + * Has the user typed a key? + * @return true if the user has typed a key, false otherwise + */ + public boolean hasNextKeyTyped() { + synchronized (keyLock) { + return !keysTyped.isEmpty(); + } + } + + /** + * What is the next key that was typed by the user? + * @return the next key typed + */ + public char nextKeyTyped() { + synchronized (keyLock) { + return keysTyped.removeLast(); + } + } + + /** + * Is the keycode currently being pressed? This method takes as an argument + * the keycode (corresponding to a physical key). It can handle action keys + * (such as F1 and arrow keys) and modifier keys (such as shift and control). + * See KeyEvent.java + * for a description of key codes. + * @return true if keycode is currently being pressed, false otherwise + */ + public boolean isKeyPressed(int keycode) { + synchronized (keyLock) { + return keysDown.contains(keycode); + } + } + + + /** + * This method cannot be called directly. + */ + public void keyTyped(KeyEvent e) { + synchronized (keyLock) { + keysTyped.addFirst(e.getKeyChar()); + } + + // notify all listeners + for (DrawListener listener : listeners) + listener.keyTyped(e.getKeyChar()); + } + + /** + * This method cannot be called directly. + */ + public void keyPressed(KeyEvent e) { + synchronized (keyLock) { + keysDown.add(e.getKeyCode()); + } + } + + /** + * This method cannot be called directly. + */ + public void keyReleased(KeyEvent e) { + synchronized (keyLock) { + keysDown.remove(e.getKeyCode()); + } + } + + + + + /** + * Test client. + */ + public static void main(String[] args) { + + // create one drawing window + Draw draw1 = new Draw("Test client 1"); + draw1.square(.2, .8, .1); + draw1.filledSquare(.8, .8, .2); + draw1.circle(.8, .2, .2); + draw1.setPenColor(Draw.MAGENTA); + draw1.setPenRadius(.02); + draw1.arc(.8, .2, .1, 200, 45); + + + // create another one + Draw draw2 = new Draw("Test client 2"); + draw2.setCanvasSize(900, 200); + // draw a blue diamond + draw2.setPenRadius(); + draw2.setPenColor(Draw.BLUE); + double[] x = { .1, .2, .3, .2 }; + double[] y = { .2, .3, .2, .1 }; + draw2.filledPolygon(x, y); + + // text + draw2.setPenColor(Draw.BLACK); + draw2.text(0.2, 0.5, "bdfdfdfdlack text"); + draw2.setPenColor(Draw.WHITE); + draw2.text(0.8, 0.8, "white text"); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/DrawListener.class b/Java-Visualizer/cp/visualizer-stdlib/DrawListener.class new file mode 100644 index 00000000..d8a6208d Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/DrawListener.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/DrawListener.java b/Java-Visualizer/cp/visualizer-stdlib/DrawListener.java new file mode 100644 index 00000000..492b5713 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/DrawListener.java @@ -0,0 +1,6 @@ +public interface DrawListener { + public void mousePressed (double x, double y); + public void mouseDragged (double x, double y); + public void mouseReleased(double x, double y); + public void keyTyped(char c); +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/In.class b/Java-Visualizer/cp/visualizer-stdlib/In.class new file mode 100644 index 00000000..91f2d146 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/In.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/In.java b/Java-Visualizer/cp/visualizer-stdlib/In.java new file mode 100644 index 00000000..f48f40d8 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/In.java @@ -0,0 +1,524 @@ +/************************************************************************* + * Compilation: javac In.java + * Execution: java In (basic test --- see source for required files) + * + * Reads in data of various types from standard input, files, and URLs. + * + *************************************************************************/ + +import java.io.BufferedInputStream; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; +import java.net.HttpURLConnection; +import java.net.URLConnection; +import java.util.Scanner; +import java.util.regex.Pattern; + +/** + * Input. This class provides methods for reading strings + * and numbers from standard input, file input, URLs, and sockets. + *

+ * The Locale used is: language = English, country = US. This is consistent + * with the formatting conventions with Java floating-point literals, + * command-line arguments (via {@link Double#parseDouble(String)}) + * and standard output. + *

+ * For additional documentation, see + * Section 3.1 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + *

+ * Like {@link Scanner}, reading a token also consumes preceding Java + * whitespace, reading a full line consumes + * the following end-of-line delimeter, while reading a character consumes + * nothing extra. + *

+ * Whitespace is defined in {@link Character#isWhitespace(char)}. Newlines + * consist of \n, \r, \r\n, and Unicode hex code points 0x2028, 0x2029, 0x0085; + * see + * Scanner.java (NB: Java 6u23 and earlier uses only \r, \r, \r\n). + * + * @author David Pritchard + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class In { + + private Scanner scanner; + + /*** begin: section (1 of 2) of code duplicated from In to StdIn */ + + // assume Unicode UTF-8 encoding + private static final String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with System.out. + private static final java.util.Locale usLocale = + new java.util.Locale("en", "US"); + + // the default token separator; we maintain the invariant that this value + // is held by the scanner's delimiter between calls + private static final Pattern WHITESPACE_PATTERN + = Pattern.compile("\\p{javaWhitespace}+"); + + // makes whitespace characters significant + private static final Pattern EMPTY_PATTERN + = Pattern.compile(""); + + // used to read the entire input. source: + // http://weblogs.java.net/blog/pat/archive/2004/10/stupid_scanner_1.html + private static final Pattern EVERYTHING_PATTERN + = Pattern.compile("\\A"); + + /*** end: section (1 of 2) of code duplicated from In to StdIn */ + + /** + * Create an input stream from standard input. + */ + public In() { + scanner = new Scanner(new BufferedInputStream(System.in), charsetName); + scanner.useLocale(usLocale); + } + + /** + * Create an input stream from a socket. + */ + public In(java.net.Socket socket) { + try { + InputStream is = socket.getInputStream(); + scanner = new Scanner(new BufferedInputStream(is), charsetName); + scanner.useLocale(usLocale); + } + catch (IOException ioe) { + System.err.println("Could not open " + socket); + } + } + + /** + * Create an input stream from a URL. + */ + public In(URL url) { + try { + URLConnection site = url.openConnection(); + InputStream is = site.getInputStream(); + scanner = new Scanner(new BufferedInputStream(is), charsetName); + scanner.useLocale(usLocale); + } + catch (IOException ioe) { + System.err.println("Could not open " + url); + } + } + + /** + * Create an input stream from a file. + */ + public In(File file) { + try { + scanner = new Scanner(file, charsetName); + scanner.useLocale(usLocale); + } + catch (IOException ioe) { + System.err.println("Could not open " + file); + } + } + + + /** + * Create an input stream from a filename or web page name. + */ + public In(String s) { + try { + // first try to read file from local file system + File file = new File(s); + if (file.exists()) { + scanner = new Scanner(file, charsetName); + scanner.useLocale(usLocale); + return; + } + + // next try for files included in jar + URL url = getClass().getResource(s); + + // or URL from web + if (url == null) { url = new URL(s); } + + URLConnection site = url.openConnection(); + + // in order to set User-Agent, replace above line with these two + // HttpURLConnection site = (HttpURLConnection) url.openConnection(); + // site.addRequestProperty("User-Agent", "Mozilla/4.76"); + + InputStream is = site.getInputStream(); + scanner = new Scanner(new BufferedInputStream(is), charsetName); + scanner.useLocale(usLocale); + } + catch (IOException ioe) { + System.err.println("Could not open " + s); + } + } + + /** + * Create an input stream from a given Scanner source; use with + * new Scanner(String) to read from a string. + *

+ * Note that this does not create a defensive copy, so the + * scanner will be mutated as you read on. + */ + public In(Scanner scanner) { + this.scanner = scanner; + } + + /** + * Does the input stream exist? + */ + public boolean exists() { + return scanner != null; + } + + /*** begin: section (2 of 2) of code duplicated from In to StdIn, + * with all methods changed from "public" to "public static" ***/ + + /** + * Is the input empty (except possibly for whitespace)? Use this + * to know whether the next call to {@link #readString()}, + * {@link #readDouble()}, etc will succeed. + */ + public boolean isEmpty() { + return !scanner.hasNext(); + } + + /** + * Does the input have a next line? Use this to know whether the + * next call to {@link #readLine()} will succeed.

Functionally + * equivalent to {@link #hasNextChar()}. + */ + public boolean hasNextLine() { + return scanner.hasNextLine(); + } + + /** + * Is the input empty (including whitespace)? Use this to know + * whether the next call to {@link #readChar()} will succeed.

Functionally + * equivalent to {@link #hasNextLine()}. + */ + public boolean hasNextChar() { + scanner.useDelimiter(EMPTY_PATTERN); + boolean result = scanner.hasNext(); + scanner.useDelimiter(WHITESPACE_PATTERN); + return result; + } + + + /** + * Read and return the next line. + */ + public String readLine() { + String line; + try { line = scanner.nextLine(); } + catch (Exception e) { line = null; } + return line; + } + + /** + * Read and return the next character. + */ + public char readChar() { + scanner.useDelimiter(EMPTY_PATTERN); + String ch = scanner.next(); + assert (ch.length() == 1) : "Internal (Std)In.readChar() error!" + + " Please contact the authors."; + scanner.useDelimiter(WHITESPACE_PATTERN); + return ch.charAt(0); + } + + + /** + * Read and return the remainder of the input as a string. + */ + public String readAll() { + if (!scanner.hasNextLine()) + return ""; + + String result = scanner.useDelimiter(EVERYTHING_PATTERN).next(); + // not that important to reset delimeter, since now scanner is empty + scanner.useDelimiter(WHITESPACE_PATTERN); // but let's do it anyway + return result; + } + + + /** + * Read and return the next string. + */ + public String readString() { + return scanner.next(); + } + + /** + * Read and return the next int. + */ + public int readInt() { + return scanner.nextInt(); + } + + /** + * Read and return the next double. + */ + public double readDouble() { + return scanner.nextDouble(); + } + + /** + * Read and return the next float. + */ + public float readFloat() { + return scanner.nextFloat(); + } + + /** + * Read and return the next long. + */ + public long readLong() { + return scanner.nextLong(); + } + + /** + * Read and return the next short. + */ + public short readShort() { + return scanner.nextShort(); + } + + /** + * Read and return the next byte. + */ + public byte readByte() { + return scanner.nextByte(); + } + + /** + * Read and return the next boolean, allowing case-insensitive + * "true" or "1" for true, and "false" or "0" for false. + */ + public boolean readBoolean() { + String s = readString(); + if (s.equalsIgnoreCase("true")) return true; + if (s.equalsIgnoreCase("false")) return false; + if (s.equals("1")) return true; + if (s.equals("0")) return false; + throw new java.util.InputMismatchException(); + } + + /** + * Read all strings until the end of input is reached, and return them. + */ + public String[] readAllStrings() { + // we could use readAll.trim().split(), but that's not consistent + // since trim() uses characters 0x00..0x20 as whitespace + String[] tokens = WHITESPACE_PATTERN.split(readAll()); + if (tokens.length == 0 || tokens[0].length() > 0) + return tokens; + String[] decapitokens = new String[tokens.length-1]; + for (int i = 0; i < tokens.length-1; i++) + decapitokens[i] = tokens[i+1]; + return decapitokens; + } + + /** + * Read all ints until the end of input is reached, and return them. + */ + public int[] readAllInts() { + String[] fields = readAllStrings(); + int[] vals = new int[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Integer.parseInt(fields[i]); + return vals; + } + + /** + * Read all doubles until the end of input is reached, and return them. + */ + public double[] readAllDoubles() { + String[] fields = readAllStrings(); + double[] vals = new double[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Double.parseDouble(fields[i]); + return vals; + } + + /*** end: section (2 of 2) of code duplicated from In to StdIn */ + + /** + * Close the input stream. + */ + public void close() { + scanner.close(); + } + + /** + * Reads all ints from a file + * @deprecated Clearer to use + * new In(filename).{@link #readAllInts()} + */ + public static int[] readInts(String filename) { + return new In(filename).readAllInts(); + } + + /** + * Reads all doubles from a file + * @deprecated Clearer to use + * new In(filename).{@link #readAllDoubles()} + */ + public static double[] readDoubles(String filename) { + return new In(filename).readAllDoubles(); + } + + /** + * Reads all strings from a file + * @deprecated Clearer to use + * new In(filename).{@link #readAllStrings()} + */ + public static String[] readStrings(String filename) { + return new In(filename).readAllStrings(); + } + + /** + * Reads all ints from stdin + * @deprecated Clearer to use {@link StdIn#readAllInts()} + */ + public static int[] readInts() { + return new In().readAllInts(); + } + + /** + * Reads all doubles from stdin + * @deprecated Clearer to use {@link StdIn#readAllDoubles()} + */ + public static double[] readDoubles() { + return new In().readAllDoubles(); + } + + /** + * Reads all strings from stdin + * @deprecated Clearer to use {@link StdIn#readAllStrings()} + */ + public static String[] readStrings() { + return new In().readAllStrings(); + } + + /** + * Test client. + */ + public static void main(String[] args) { + In in; + String urlName = "http://introcs.cs.princeton.edu/stdlib/InTest.txt"; + + // read from a URL + System.out.println("readAll() from URL " + urlName); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In(urlName); + System.out.println(in.readAll()); + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + // read one line at a time from URL + System.out.println("readLine() from URL " + urlName); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In(urlName); + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + // read one string at a time from URL + System.out.println("readString() from URL " + urlName); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In(urlName); + while (!in.isEmpty()) { + String s = in.readString(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + + // read one line at a time from file in current directory + System.out.println("readLine() from current directory"); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In("./InTest.txt"); + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + + // read one line at a time from file using relative path + System.out.println("readLine() from relative path"); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In("../stdlib/InTest.txt"); + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + // read one char at a time + System.out.println("readChar() from file"); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In("InTest.txt"); + while (!in.isEmpty()) { + char c = in.readChar(); + System.out.print(c); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + System.out.println(); + + // read one line at a time from absolute OS X / Linux path + System.out.println("readLine() from absolute OS X / Linux path"); + System.out.println("---------------------------------------------------------------------------"); + in = new In("/n/fs/introcs/www/java/stdlib/InTest.txt"); + try { + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + + // read one line at a time from absolute Windows path + System.out.println("readLine() from absolute Windows path"); + System.out.println("---------------------------------------------------------------------------"); + try { + in = new In("G:\\www\\introcs\\stdlib\\InTest.txt"); + while (!in.isEmpty()) { + String s = in.readLine(); + System.out.println(s); + } + System.out.println(); + } + catch (Exception e) { System.out.println(e); } + System.out.println(); + + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/InTest.txt b/Java-Visualizer/cp/visualizer-stdlib/InTest.txt new file mode 100644 index 00000000..753b42d5 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/InTest.txt @@ -0,0 +1,2 @@ +This is a test file. +Here is line 2. diff --git a/Java-Visualizer/cp/visualizer-stdlib/Out.class b/Java-Visualizer/cp/visualizer-stdlib/Out.class new file mode 100644 index 00000000..9517b3f9 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Out.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Out.java b/Java-Visualizer/cp/visualizer-stdlib/Out.java new file mode 100644 index 00000000..7609df98 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/Out.java @@ -0,0 +1,259 @@ +/************************************************************************* + * Compilation: javac Out.java + * Execution: java Out + * + * Writes data of various types to: stdout, file, or socket. + * + *************************************************************************/ + + +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.io.OutputStreamWriter; +import java.io.PrintWriter; +import java.net.Socket; +import java.util.Locale; + +/** + * This class provides methods for writing strings and numbers to + * various output streams, including standard output, file, and sockets. + *

+ * For additional documentation, see + * Section 3.1 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public class Out { + + // force Unicode UTF-8 encoding; otherwise it's system dependent + private static String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with In + private static final Locale US_LOCALE = new Locale("en", "US"); + + private PrintWriter out; + + /** + * Create an Out object using an OutputStream. + */ + public Out(OutputStream os) { + try { + OutputStreamWriter osw = new OutputStreamWriter(os, charsetName); + out = new PrintWriter(osw, true); + } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Create an Out object using standard output. + */ + public Out() { this(System.out); } + + /** + * Create an Out object using a Socket. + */ + public Out(Socket socket) { + try { + OutputStream os = socket.getOutputStream(); + OutputStreamWriter osw = new OutputStreamWriter(os, charsetName); + out = new PrintWriter(osw, true); + } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Create an Out object using a file specified by the given name. + */ + public Out(String s) { + try { + OutputStream os = new FileOutputStream(s); + OutputStreamWriter osw = new OutputStreamWriter(os, charsetName); + out = new PrintWriter(osw, true); + } + catch (IOException e) { e.printStackTrace(); } + } + + /** + * Close the output stream. + */ + public void close() { out.close(); } + + + + /** + * Terminate the line. + */ + public void println() { + out.println(); + } + + /** + * Print an object and then terminate the line. + */ + public void println(Object x) { + out.println(x); + } + + /** + * Print a boolean and then terminate the line. + */ + public void println(boolean x) { + out.println(x); + } + + /** + * Print a char and then terminate the line. + */ + public void println(char x) { + out.println(x); + } + + /** + * Print an double and then terminate the line. + */ + public void println(double x) { + out.println(x); + } + + /** + * Print a float and then terminate the line. + */ + public void println(float x) { + out.println(x); + } + + /** + * Print an int and then terminate the line. + */ + public void println(int x) { + out.println(x); + } + + /** + * Print a long and then terminate the line. + */ + public void println(long x) { + out.println(x); + } + + /** + * Print a byte and then terminate the line. + */ + public void println(byte x) { + out.println(x); + } + + + + /** + * Flush the output stream. + */ + public void print() { + out.flush(); + } + + /** + * Print an object and then flush the output stream. + */ + public void print(Object x) { + out.print(x); + out.flush(); + } + + /** + * Print an boolean and then flush the output stream. + */ + public void print(boolean x) { + out.print(x); + out.flush(); + } + + /** + * Print an char and then flush the output stream. + */ + public void print(char x) { + out.print(x); + out.flush(); + } + + /** + * Print an double and then flush the output stream. + */ + public void print(double x) { + out.print(x); + out.flush(); + } + + /** + * Print a float and then flush the output stream. + */ + public void print(float x) { + out.print(x); + out.flush(); + } + + /** + * Print an int and then flush the output stream. + */ + public void print(int x) { + out.print(x); + out.flush(); + } + + /** + * Print a long and then flush the output stream. + */ + public void print(long x) { + out.print(x); + out.flush(); + } + + /** + * Print a byte and then flush the output stream. + */ + public void print(byte x) { + out.print(x); + out.flush(); + } + + /** + * Print a formatted string using the specified format string and arguments, + * and then flush the output stream. + */ + public void printf(String format, Object... args) { + out.printf(US_LOCALE, format, args); + out.flush(); + } + + /** + * Print a formatted string using the specified locale, format string and arguments, + * and then flush the output stream. + */ + public void printf(Locale locale, String format, Object... args) { + out.printf(locale, format, args); + out.flush(); + } + + + /** + * A test client. + */ + public static void main(String[] args) { + Out out; + + // write to stdout + out = new Out(); + out.println("Test 1"); + out.close(); + + // write to a file + out = new Out("test.txt"); + out.println("Test 2"); + out.close(); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/Picture.class b/Java-Visualizer/cp/visualizer-stdlib/Picture.class new file mode 100644 index 00000000..529a88e7 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Picture.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Picture.java b/Java-Visualizer/cp/visualizer-stdlib/Picture.java new file mode 100644 index 00000000..fe9f1d0e --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/Picture.java @@ -0,0 +1,288 @@ +/************************************************************************* + * Compilation: javac Picture.java + * Execution: java Picture imagename + * + * Data type for manipulating individual pixels of an image. The original + * image can be read from a file in jpg, gif, or png format, or the + * user can create a blank image of a given size. Includes methods for + * displaying the image in a window on the screen or saving to a file. + * + * % java Picture mandrill.jpg + * + * Remarks + * ------- + * - pixel (x, y) is column x and row y, where (0, 0) is upper left + * + * - see also GrayPicture.java for a grayscale version + * + *************************************************************************/ + +import java.awt.Color; +import java.awt.FileDialog; +import java.awt.Toolkit; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.KeyEvent; +import java.awt.image.BufferedImage; +import java.io.File; +import java.io.IOException; +import java.net.URL; +import javax.imageio.ImageIO; +import javax.swing.ImageIcon; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.JMenu; +import javax.swing.JMenuBar; +import javax.swing.JMenuItem; +import javax.swing.KeyStroke; + + +/** + * This class provides methods for manipulating individual pixels of + * an image. The original image can be read from a file in JPEG, GIF, + * or PNG format, or the user can create a blank image of a given size. + * This class includes methods for displaying the image in a window on + * the screen or saving to a file. + *

+ * By default, pixel (x, y) is column x, row y, where (0, 0) is upper left. + * The method setOriginLowerLeft() change the origin to the lower left. + *

+ * For additional documentation, see + * Section 3.1 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class Picture implements ActionListener { + private BufferedImage image; // the rasterized image + private JFrame frame; // on-screen view + private String filename; // name of file + private boolean isOriginUpperLeft = true; // location of origin + private final int width, height; // width and height + + /** + * Create a blank w-by-h picture, where each pixel is black. + */ + public Picture(int w, int h) { + width = w; + height = h; + image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB); + // set to TYPE_INT_ARGB to support transparency + filename = w + "-by-" + h; + } + + /** + * Copy constructor. + */ + public Picture(Picture pic) { + width = pic.width(); + height = pic.height(); + image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); + filename = pic.filename; + for (int i = 0; i < width(); i++) + for (int j = 0; j < height(); j++) + image.setRGB(i, j, pic.get(i, j).getRGB()); + } + + /** + * Create a picture by reading in a .png, .gif, or .jpg from + * the given filename or URL name. + */ + public Picture(String filename) { + this.filename = filename; + try { + // try to read from file in working directory + File file = new File(filename); + if (file.isFile()) { + image = ImageIO.read(file); + } + + // now try to read from file in same directory as this .class file + else { + URL url = getClass().getResource(filename); + if (url == null) { url = new URL(filename); } + image = ImageIO.read(url); + } + width = image.getWidth(null); + height = image.getHeight(null); + } + catch (IOException e) { + // e.printStackTrace(); + throw new RuntimeException("Could not open file: " + filename); + } + } + + /** + * Create a picture by reading in a .png, .gif, or .jpg from a File. + */ + public Picture(File file) { + try { image = ImageIO.read(file); } + catch (IOException e) { + e.printStackTrace(); + throw new RuntimeException("Could not open file: " + file); + } + if (image == null) { + throw new RuntimeException("Invalid image file: " + file); + } + width = image.getWidth(null); + height = image.getHeight(null); + filename = file.getName(); + } + + /** + * Return a JLabel containing this Picture, for embedding in a JPanel, + * JFrame or other GUI widget. + */ + public JLabel getJLabel() { + if (image == null) { return null; } // no image available + ImageIcon icon = new ImageIcon(image); + return new JLabel(icon); + } + + /** + * Set the origin to be the upper left pixel. + */ + public void setOriginUpperLeft() { + isOriginUpperLeft = true; + } + + /** + * Set the origin to be the lower left pixel. + */ + public void setOriginLowerLeft() { + isOriginUpperLeft = false; + } + + /** + * Display the picture in a window on the screen. + */ + public void show() { + + // create the GUI for viewing the image if needed + if (frame == null) { + frame = new JFrame(); + + JMenuBar menuBar = new JMenuBar(); + JMenu menu = new JMenu("File"); + menuBar.add(menu); + JMenuItem menuItem1 = new JMenuItem(" Save... "); + menuItem1.addActionListener(this); + menuItem1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, + Toolkit.getDefaultToolkit().getMenuShortcutKeyMask())); + menu.add(menuItem1); + frame.setJMenuBar(menuBar); + + + + frame.setContentPane(getJLabel()); + // f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); + frame.setTitle(filename); + frame.setResizable(false); + frame.pack(); + frame.setVisible(true); + } + + // draw + frame.repaint(); + } + + /** + * Return the height of the picture in pixels. + */ + public int height() { + return height; + } + + /** + * Return the width of the picture in pixels. + */ + public int width() { + return width; + } + + /** + * Return the color of pixel (i, j). + */ + public Color get(int i, int j) { + if (isOriginUpperLeft) return new Color(image.getRGB(i, j)); + else return new Color(image.getRGB(i, height - j - 1)); + } + + /** + * Set the color of pixel (i, j) to c. + */ + public void set(int i, int j, Color c) { + if (c == null) { throw new RuntimeException("can't set Color to null"); } + if (isOriginUpperLeft) image.setRGB(i, j, c.getRGB()); + else image.setRGB(i, height - j - 1, c.getRGB()); + } + + /** + * Is this Picture equal to obj? + */ + public boolean equals(Object obj) { + if (obj == this) return true; + if (obj == null) return false; + if (obj.getClass() != this.getClass()) return false; + Picture that = (Picture) obj; + if (this.width() != that.width()) return false; + if (this.height() != that.height()) return false; + for (int x = 0; x < width(); x++) + for (int y = 0; y < height(); y++) + if (!this.get(x, y).equals(that.get(x, y))) return false; + return true; + } + + + /** + * Save the picture to a file in a standard image format. + * The filetype must be .png or .jpg. + */ + public void save(String name) { + save(new File(name)); + } + + /** + * Save the picture to a file in a standard image format. + */ + public void save(File file) { + this.filename = file.getName(); + if (frame != null) { frame.setTitle(filename); } + String suffix = filename.substring(filename.lastIndexOf('.') + 1); + suffix = suffix.toLowerCase(); + if (suffix.equals("jpg") || suffix.equals("png")) { + try { ImageIO.write(image, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + else { + System.out.println("Error: filename must end in .jpg or .png"); + } + } + + /** + * Opens a save dialog box when the user selects "Save As" from the menu. + */ + public void actionPerformed(ActionEvent e) { + FileDialog chooser = new FileDialog(frame, + "Use a .png or .jpg extension", FileDialog.SAVE); + chooser.setVisible(true); + if (chooser.getFile() != null) { + save(chooser.getDirectory() + File.separator + chooser.getFile()); + } + } + + + /** + * Test client. Reads a picture specified by the command-line argument, + * and shows it in a window on the screen. + */ + public static void main(String[] args) { + Picture pic = new Picture(args[0]); + System.out.printf("%d-by-%d\n", pic.width(), pic.height()); + pic.show(); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/Point.class b/Java-Visualizer/cp/visualizer-stdlib/Point.class new file mode 100644 index 00000000..36d8a95e Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Point.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Point.java b/Java-Visualizer/cp/visualizer-stdlib/Point.java new file mode 100644 index 00000000..60bcace4 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/Point.java @@ -0,0 +1,51 @@ +/************************************************************************* + * Compilation: javac Point.java + * Execution: java Point + * + * Immutable data type for 2D points. + * + *************************************************************************/ + +public class Point { + private double x; // Cartesian + private double y; // coordinates + + // create and initialize a point with given (x, y) + public Point(double x, double y) { + this.x = x; + this.y = y; + } + + // return Euclidean distance between invoking point p and q + public double distanceTo(Point that) { + double dx = this.x - that.x; + double dy = this.y - that.y; + return Math.sqrt(dx*dx + dy*dy); + } + + // draw point using standard draw + public void draw() { + StdDraw.point(x, y); + } + + // draw the line from the invoking point p to q using standard draw + public void drawTo(Point that) { + StdDraw.line(this.x, this.y, that.x, that.y); + } + + // return string representation of this point + public String toString() { + return "(" + x + ", " + y + ")"; + } + + + + // test client + public static void main(String[] args) { + Point p = new Point(0.6, 0.2); + System.out.println("p = " + p); + Point q = new Point(0.5, 0.5); + System.out.println("q = " + q); + System.out.println("dist(p, q) = " + p.distanceTo(q)); + } +} \ No newline at end of file diff --git a/Java-Visualizer/cp/visualizer-stdlib/Queue$1.class b/Java-Visualizer/cp/visualizer-stdlib/Queue$1.class new file mode 100644 index 00000000..7080ee1e Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Queue$1.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Queue$ListIterator.class b/Java-Visualizer/cp/visualizer-stdlib/Queue$ListIterator.class new file mode 100644 index 00000000..429df01e Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Queue$ListIterator.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Queue$Node.class b/Java-Visualizer/cp/visualizer-stdlib/Queue$Node.class new file mode 100644 index 00000000..4da1125d Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Queue$Node.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Queue.class b/Java-Visualizer/cp/visualizer-stdlib/Queue.class new file mode 100644 index 00000000..4f8b6519 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Queue.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Queue.java b/Java-Visualizer/cp/visualizer-stdlib/Queue.java new file mode 100644 index 00000000..a35c19a9 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/Queue.java @@ -0,0 +1,161 @@ +/************************************************************************* + * Compilation: javac Queue.java + * Execution: java Queue < input.txt + * Data files: http://algs4.cs.princeton.edu/13stacks/tobe.txt + * + * A generic queue, implemented using a linked list. + * + * % java Queue < tobe.txt + * to be or not to be (2 left on queue) + * + *************************************************************************/ + +import java.util.Iterator; +import java.util.NoSuchElementException; + +/** + * The Queue class represents a first-in-first-out (FIFO) + * queue of generic items. + * It supports the usual enqueue and dequeue + * operations, along with methods for peeking at the first item, + * testing if the queue is empty, and iterating through + * the items in FIFO order. + *

+ * This implementation uses a singly-linked list with a static nested class for + * linked-list nodes. See {@link LinkedQueue} for the version from the + * textbook that uses a non-static nested class. + * The enqueue, dequeue, peek, size, and is-empty + * operations all take constant time in the worst case. + *

+ * For additional documentation, see Section 1.3 of + * Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public class Queue implements Iterable { + private int N; // number of elements on queue + private Node first; // beginning of queue + private Node last; // end of queue + + // helper linked list class + private static class Node { + private Item item; + private Node next; + } + + /** + * Initializes an empty queue. + */ + public Queue() { + first = null; + last = null; + N = 0; + } + + /** + * Is this queue empty? + * @return true if this queue is empty; false otherwise + */ + public boolean isEmpty() { + return first == null; + } + + /** + * Returns the number of items in this queue. + * @return the number of items in this queue + */ + public int size() { + return N; + } + + /** + * Returns the item least recently added to this queue. + * @return the item least recently added to this queue + * @throws java.util.NoSuchElementException if this queue is empty + */ + public Item peek() { + if (isEmpty()) throw new NoSuchElementException("Queue underflow"); + return first.item; + } + + /** + * Adds the item to this queue. + * @param item the item to add + */ + public void enqueue(Item item) { + Node oldlast = last; + last = new Node(); + last.item = item; + last.next = null; + if (isEmpty()) first = last; + else oldlast.next = last; + N++; + } + + /** + * Removes and returns the item on this queue that was least recently added. + * @return the item on this queue that was least recently added + * @throws java.util.NoSuchElementException if this queue is empty + */ + public Item dequeue() { + if (isEmpty()) throw new NoSuchElementException("Queue underflow"); + Item item = first.item; + first = first.next; + N--; + if (isEmpty()) last = null; // to avoid loitering + return item; + } + + /** + * Returns a string representation of this queue. + * @return the sequence of items in FIFO order, separated by spaces + */ + public String toString() { + StringBuilder s = new StringBuilder(); + for (Item item : this) + s.append(item + " "); + return s.toString(); + } + + /** + * Returns an iterator that iterates over the items in this queue in FIFO order. + * @return an iterator that iterates over the items in this queue in FIFO order + */ + public Iterator iterator() { + return new ListIterator(first); + } + + // an iterator, doesn't implement remove() since it's optional + private class ListIterator implements Iterator { + private Node current; + + public ListIterator(Node first) { + current = first; + } + + public boolean hasNext() { return current != null; } + public void remove() { throw new UnsupportedOperationException(); } + + public Item next() { + if (!hasNext()) throw new NoSuchElementException(); + Item item = current.item; + current = current.next; + return item; + } + } + + + /** + * Unit tests the Queue data type. + */ + public static void main(String[] args) { + Queue q = new Queue(); + while (!StdIn.isEmpty()) { + String item = StdIn.readString(); + if (!item.equals("-")) q.enqueue(item); + else if (!q.isEmpty()) StdOut.print(q.dequeue() + " "); + } + StdOut.println("(" + q.size() + " left on queue)"); + } +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/ST$1.class b/Java-Visualizer/cp/visualizer-stdlib/ST$1.class new file mode 100644 index 00000000..152d8267 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/ST$1.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/ST$Node.class b/Java-Visualizer/cp/visualizer-stdlib/ST$Node.class new file mode 100644 index 00000000..ea32b02c Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/ST$Node.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/ST.class b/Java-Visualizer/cp/visualizer-stdlib/ST.class new file mode 100644 index 00000000..4c062821 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/ST.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/ST.java b/Java-Visualizer/cp/visualizer-stdlib/ST.java new file mode 100644 index 00000000..b5e786ae --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/ST.java @@ -0,0 +1,296 @@ +/************************************************************************* + * Compilation: javac ST.java + * Execution: java ST + * + * Sorted symbol table implementation using a java.util.TreeMap. + * Does not allow duplicates. + * + * % java ST + * + *************************************************************************/ + +// This modified version by Will Gwozdz to make it visualizable! + +import java.util.Iterator; +import java.util.NoSuchElementException; +import java.util.SortedMap; +import java.util.Set; +import java.util.TreeSet; + +/** + * The ST class represents an ordered symbol table of generic + * key-value pairs. + * It supports the usual put, get, contains, + * delete, size, and is-empty methods. + * It also provides ordered methods for finding the minimum, + * maximum, floor, and ceiling. + * It also provides a keys method for iterating over all of the keys. + * A symbol table implements the associative array abstraction: + * when associating a value with a key that is already in the symbol table, + * the convention is to replace the old value with the new value. + * Unlike {@link java.util.Map}, this class uses the convention that + * values cannot be null—setting the + * value associated with a key to null is equivalent to deleting the key + * from the symbol table. + *

+ * This implementation uses a balanced binary search tree. It requires that + * the key type implements the Comparable interface and calls the + * compareTo() and method to compare two keys. It does not call either + * equals() or hashCode(). + * The put, contains, remove, minimum, + * maximum, ceiling, and floor operations each take + * logarithmic time in the worst case. + * The size, and is-empty operations take constant time. + * Construction takes constant time. + *

+ * For additional documentation, see Section 4.4 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + */ +public class ST, Value> implements Iterable { + private class Node { + Key key; + Value value; + Node left; + Node right; + } + + private Node first; + + /** + * Returns the value associated with the given key. + * @param key the key + * @return the value associated with the given key if the key is in the symbol table + * and null if the key is not in the symbol table + * @throws NullPointerException if key is null + */ + public Value get(Key key) { + if (key == null) throw new NullPointerException("called get() with null key"); + Node n = first; + while (n != null) { + if (key.compareTo(n.key) < 0) + n = n.left; + else if (key.compareTo(n.key) > 0) + n = n.right; + else + return n.value; + } + return null; + } + + /** + * Inserts the key-value pair into the symbol table, overwriting the old value + * with the new value if the key is already in the symbol table. + * If the value is null, this effectively deletes the key from the symbol table. + * @param key the key + * @param val the value + * @throws NullPointerException if key is null + */ + public void put(Key key, Value val) { + if (key == null) throw new NullPointerException("called put() with null key"); + //if (val == null) return delete(key); // restore this once delete is implemented. + Node add = new Node(); + add.key = key; + add.value = val; + if (first == null) + first = add; + else { + Node n = first; + while (true) { + if (key.compareTo(n.key) < 0) { + if (n.left == null) { + n.left = add; + return; + } + n = n.left; + } + else if (key.compareTo(n.key) > 0) { + if (n.right == null) { + n.right = add; + return; + } + n = n.right; + } + else { + n.value = val; + return; + } + } + } + } + + /** + * Removes the key and associated value from the symbol table + * (if the key is in the symbol table). + * @param key the key + * @throws NullPointerException if key is null + */ + public void delete(Key key) { + if (key == null) throw new NullPointerException("called delete() with null key"); + put(key, null); // simply put a null value for now. a node with a null value counts as deleted. + } + + /** + * Does this symbol table contain the given key? + * @param key the key + * @return true if this symbol table contains key and + * false otherwise + * @throws NullPointerException if key is null + */ + public boolean contains(Key key) { + if (key == null) throw new NullPointerException("called contains() with null key"); + return (get(key) != null); + } + + /** + * Returns the number of key-value pairs in this symbol table. + * @return the number of key-value pairs in this symbol table + */ + public int size() { + return rCounter(first); + } + + private int rCounter(Node n) { + if (n == null || n.value == null) return 0; + else return (1+rCounter(n.left)+rCounter(n.right)); + } + /** + * Is this symbol table empty? + * @return true if this symbol table is empty and false otherwise + */ + public boolean isEmpty() { + return size() == 0; + } + + /** + * Returns all keys in the symbol table as an Iterable. + * To iterate over all of the keys in the symbol table named st, + * use the foreach notation: for (Key key : st.keys()). + * @return all keys in the sybol table as an Iterable + */ + public Iterable keys() { + Set keys = new TreeSet(); + return rKeys(keys, first); + } + + private Set rKeys(Set keys, Node n) { + if (n != null) { + rKeys(keys, n.right); + if (n.value != null) + keys.add(n.key); + rKeys(keys, n.left); + } + return keys; + } + + /** + * Returns all of the keys in the symbol table as an iterator. + * To iterate over all of the keys in a symbol table named st, use the + * foreach notation: for (Key key : st). + * @return an iterator to all of the keys in the symbol table + */ + public Iterator iterator() { + return keys().iterator(); + } + + /** + * Returns the smallest key in the symbol table. + * @return the smallest key in the symbol table + * @throws NoSuchElementException if the symbol table is empty + */ + public Key min() { + if (isEmpty()) throw new NoSuchElementException("called min() with empty symbol table"); + Node n = first; + while (n.left != null) + n = n.left; + return n.key; + } + + /** + * Returns the largest key in the symbol table. + * @return the largest key in the symbol table + * @throws NoSuchElementException if the symbol table is empty + */ + public Key max() { + if (isEmpty()) throw new NoSuchElementException("called max() with empty symbol table"); + Node n = first; + while (n.right != null) + n = n.right; + return n.key; + } + + /** + * Returns the smallest key in the symbol table greater than or equal to key. + * @return the smallest key in the symbol table greater than or equal to key + * @param key the key + * @throws NoSuchElementException if the symbol table is empty + * @throws NullPointerException if key is null + */ + public Key ceil(Key key) { + if (key == null) throw new NullPointerException("called ceil() with null key"); + throw new RuntimeException("didnt bother inplementing ceil yet"); + } + + /** + * Returns the largest key in the symbol table less than or equal to key. + * @return the largest key in the symbol table less than or equal to key + * @param key the key + * @throws NoSuchElementException if the symbol table is empty + * @throws NullPointerException if key is null + */ + public Key floor(Key key) { + if (key == null) throw new NullPointerException("called floor() with null key"); + throw new RuntimeException("didnt bother inplementing ceil yet"); + } + + /** + * Unit tests the ST data type. + */ + public static void main(String[] args) { + ST st = new ST(); + + // insert some key-value pairs + st.put("www.cs.princeton.edu", "128.112.136.11"); + st.put("www.cs.princeton.edu", "128.112.136.35"); // overwrite old value + st.put("www.princeton.edu", "128.112.130.211"); + st.put("www.math.princeton.edu", "128.112.18.11"); + st.put("www.yale.edu", "130.132.51.8"); + st.put("www.amazon.com", "207.171.163.90"); + st.put("www.simpsons.com", "209.123.16.34"); + st.put("www.stanford.edu", "171.67.16.120"); + st.put("www.google.com", "64.233.161.99"); + st.put("www.ibm.com", "129.42.16.99"); + st.put("www.apple.com", "17.254.0.91"); + st.put("www.slashdot.com", "66.35.250.150"); + st.put("www.whitehouse.gov", "204.153.49.136"); + st.put("www.espn.com", "199.181.132.250"); + st.put("www.snopes.com", "66.165.133.65"); + st.put("www.movies.com", "199.181.132.250"); + st.put("www.cnn.com", "64.236.16.20"); + st.put("www.iitb.ac.in", "202.68.145.210"); + + + StdOut.println(st.get("www.cs.princeton.edu")); + StdOut.println(st.get("www.harvardsucks.com")); + StdOut.println(st.get("www.simpsons.com")); + StdOut.println(); + + StdOut.println("ceil(www.simpsonr.com) = " + st.ceil("www.simpsonr.com")); + StdOut.println("ceil(www.simpsons.com) = " + st.ceil("www.simpsons.com")); + StdOut.println("ceil(www.simpsont.com) = " + st.ceil("www.simpsont.com")); + StdOut.println("floor(www.simpsonr.com) = " + st.floor("www.simpsonr.com")); + StdOut.println("floor(www.simpsons.com) = " + st.floor("www.simpsons.com")); + StdOut.println("floor(www.simpsont.com) = " + st.floor("www.simpsont.com")); + + StdOut.println(); + + StdOut.println("min key: " + st.min()); + StdOut.println("max key: " + st.max()); + StdOut.println("size: " + st.size()); + StdOut.println(); + + // print out all key-value pairs in lexicographic order + for (String s : st.keys()) + StdOut.println(s + " " + st.get(s)); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/ST.java.original b/Java-Visualizer/cp/visualizer-stdlib/ST.java.original new file mode 100644 index 00000000..138d07be --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/ST.java.original @@ -0,0 +1,244 @@ +/************************************************************************* + * Compilation: javac ST.java + * Execution: java ST + * + * Sorted symbol table implementation using a java.util.TreeMap. + * Does not allow duplicates. + * + * % java ST + * + *************************************************************************/ + +import java.util.Iterator; +import java.util.NoSuchElementException; +import java.util.SortedMap; +import java.util.TreeMap; + +/** + * The ST class represents an ordered symbol table of generic + * key-value pairs. + * It supports the usual put, get, contains, + * delete, size, and is-empty methods. + * It also provides ordered methods for finding the minimum, + * maximum, floor, and ceiling. + * It also provides a keys method for iterating over all of the keys. + * A symbol table implements the associative array abstraction: + * when associating a value with a key that is already in the symbol table, + * the convention is to replace the old value with the new value. + * Unlike {@link java.util.Map}, this class uses the convention that + * values cannot be null—setting the + * value associated with a key to null is equivalent to deleting the key + * from the symbol table. + *

+ * This implementation uses a balanced binary search tree. It requires that + * the key type implements the Comparable interface and calls the + * compareTo() and method to compare two keys. It does not call either + * equals() or hashCode(). + * The put, contains, remove, minimum, + * maximum, ceiling, and floor operations each take + * logarithmic time in the worst case. + * The size, and is-empty operations take constant time. + * Construction takes constant time. + *

+ * For additional documentation, see Section 4.4 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + */ +public class ST, Value> implements Iterable { + + private TreeMap st; + + /** + * Initializes an empty symbol table. + */ + public ST() { + st = new TreeMap(); + } + + + /** + * Returns the value associated with the given key. + * @param key the key + * @return the value associated with the given key if the key is in the symbol table + * and null if the key is not in the symbol table + * @throws NullPointerException if key is null + */ + public Value get(Key key) { + if (key == null) throw new NullPointerException("called get() with null key"); + return st.get(key); + } + + /** + * Inserts the key-value pair into the symbol table, overwriting the old value + * with the new value if the key is already in the symbol table. + * If the value is null, this effectively deletes the key from the symbol table. + * @param key the key + * @param val the value + * @throws NullPointerException if key is null + */ + public void put(Key key, Value val) { + if (key == null) throw new NullPointerException("called put() with null key"); + if (val == null) st.remove(key); + else st.put(key, val); + } + + /** + * Removes the key and associated value from the symbol table + * (if the key is in the symbol table). + * @param key the key + * @throws NullPointerException if key is null + */ + public void delete(Key key) { + if (key == null) throw new NullPointerException("called delete() with null key"); + st.remove(key); + } + + /** + * Does this symbol table contain the given key? + * @param key the key + * @return true if this symbol table contains key and + * false otherwise + * @throws NullPointerException if key is null + */ + public boolean contains(Key key) { + if (key == null) throw new NullPointerException("called contains() with null key"); + return st.containsKey(key); + } + + /** + * Returns the number of key-value pairs in this symbol table. + * @return the number of key-value pairs in this symbol table + */ + public int size() { + return st.size(); + } + + /** + * Is this symbol table empty? + * @return true if this symbol table is empty and false otherwise + */ + public boolean isEmpty() { + return size() == 0; + } + + /** + * Returns all keys in the symbol table as an Iterable. + * To iterate over all of the keys in the symbol table named st, + * use the foreach notation: for (Key key : st.keys()). + * @return all keys in the sybol table as an Iterable + */ + public Iterable keys() { + return st.keySet(); + } + + /** + * Returns all of the keys in the symbol table as an iterator. + * To iterate over all of the keys in a symbol table named st, use the + * foreach notation: for (Key key : st). + * @return an iterator to all of the keys in the symbol table + */ + public Iterator iterator() { + return st.keySet().iterator(); + } + + /** + * Returns the smallest key in the symbol table. + * @return the smallest key in the symbol table + * @throws NoSuchElementException if the symbol table is empty + */ + public Key min() { + if (isEmpty()) throw new NoSuchElementException("called min() with empty symbol table"); + return st.firstKey(); + } + + /** + * Returns the largest key in the symbol table. + * @return the largest key in the symbol table + * @throws NoSuchElementException if the symbol table is empty + */ + public Key max() { + if (isEmpty()) throw new NoSuchElementException("called max() with empty symbol table"); + return st.lastKey(); + } + + /** + * Returns the smallest key in the symbol table greater than or equal to key. + * @return the smallest key in the symbol table greater than or equal to key + * @param key the key + * @throws NoSuchElementException if the symbol table is empty + * @throws NullPointerException if key is null + */ + public Key ceil(Key key) { + if (key == null) throw new NullPointerException("called ceil() with null key"); + SortedMap tail = st.tailMap(key); + if (tail.isEmpty()) throw new NoSuchElementException(); + return tail.firstKey(); + } + + /** + * Returns the largest key in the symbol table less than or equal to key. + * @return the largest key in the symbol table less than or equal to key + * @param key the key + * @throws NoSuchElementException if the symbol table is empty + * @throws NullPointerException if key is null + */ + public Key floor(Key key) { + if (key == null) throw new NullPointerException("called floor() with null key"); + // headMap does not include key if present (!) + if (st.containsKey(key)) return key; + SortedMap head = st.headMap(key); + if (head.isEmpty()) throw new NoSuchElementException(); + return head.lastKey(); + } + + /** + * Unit tests the ST data type. + */ + public static void main(String[] args) { + ST st = new ST(); + + // insert some key-value pairs + st.put("www.cs.princeton.edu", "128.112.136.11"); + st.put("www.cs.princeton.edu", "128.112.136.35"); // overwrite old value + st.put("www.princeton.edu", "128.112.130.211"); + st.put("www.math.princeton.edu", "128.112.18.11"); + st.put("www.yale.edu", "130.132.51.8"); + st.put("www.amazon.com", "207.171.163.90"); + st.put("www.simpsons.com", "209.123.16.34"); + st.put("www.stanford.edu", "171.67.16.120"); + st.put("www.google.com", "64.233.161.99"); + st.put("www.ibm.com", "129.42.16.99"); + st.put("www.apple.com", "17.254.0.91"); + st.put("www.slashdot.com", "66.35.250.150"); + st.put("www.whitehouse.gov", "204.153.49.136"); + st.put("www.espn.com", "199.181.132.250"); + st.put("www.snopes.com", "66.165.133.65"); + st.put("www.movies.com", "199.181.132.250"); + st.put("www.cnn.com", "64.236.16.20"); + st.put("www.iitb.ac.in", "202.68.145.210"); + + + StdOut.println(st.get("www.cs.princeton.edu")); + StdOut.println(st.get("www.harvardsucks.com")); + StdOut.println(st.get("www.simpsons.com")); + StdOut.println(); + + StdOut.println("ceil(www.simpsonr.com) = " + st.ceil("www.simpsonr.com")); + StdOut.println("ceil(www.simpsons.com) = " + st.ceil("www.simpsons.com")); + StdOut.println("ceil(www.simpsont.com) = " + st.ceil("www.simpsont.com")); + StdOut.println("floor(www.simpsonr.com) = " + st.floor("www.simpsonr.com")); + StdOut.println("floor(www.simpsons.com) = " + st.floor("www.simpsons.com")); + StdOut.println("floor(www.simpsont.com) = " + st.floor("www.simpsont.com")); + + StdOut.println(); + + StdOut.println("min key: " + st.min()); + StdOut.println("max key: " + st.max()); + StdOut.println("size: " + st.size()); + StdOut.println(); + + // print out all key-value pairs in lexicographic order + for (String s : st.keys()) + StdOut.println(s + " " + st.get(s)); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/Stack$1.class b/Java-Visualizer/cp/visualizer-stdlib/Stack$1.class new file mode 100644 index 00000000..bb9a7847 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Stack$1.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Stack$ListIterator.class b/Java-Visualizer/cp/visualizer-stdlib/Stack$ListIterator.class new file mode 100644 index 00000000..17221f18 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Stack$ListIterator.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Stack$Node.class b/Java-Visualizer/cp/visualizer-stdlib/Stack$Node.class new file mode 100644 index 00000000..df477d5d Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Stack$Node.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Stack.class b/Java-Visualizer/cp/visualizer-stdlib/Stack.class new file mode 100644 index 00000000..fa2db566 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Stack.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Stack.java b/Java-Visualizer/cp/visualizer-stdlib/Stack.java new file mode 100644 index 00000000..36b7571f --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/Stack.java @@ -0,0 +1,164 @@ +/************************************************************************* + * Compilation: javac Stack.java + * Execution: java Stack < input.txt + * + * A generic stack, implemented using a singly-linked list. + * Each stack element is of type Item. + * + * This version uses a static nested class Node (to save 8 bytes per + * Node), whereas the version in the textbook uses a non-static nested + * class (for simplicity). + * + * % more tobe.txt + * to be or not to - be - - that - - - is + * + * % java Stack < tobe.txt + * to be not that or be (2 left on stack) + * + *************************************************************************/ + +import java.util.Iterator; +import java.util.NoSuchElementException; + + +/** + * The Stack class represents a last-in-first-out (LIFO) stack of generic items. + * It supports the usual push and pop operations, along with methods + * for peeking at the top item, testing if the stack is empty, and iterating through + * the items in LIFO order. + *

+ * This implementation uses a singly-linked list with a static nested class for + * linked-list nodes. See {@link LinkedStack} for the version from the + * textbook that uses a non-static nested class. + * The push, pop, peek, size, and is-empty + * operations all take constant time in the worst case. + *

+ * For additional documentation, see Section 1.3 of + * Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public class Stack implements Iterable { + private int N; // size of the stack + private Node first; // top of stack + + // helper linked list class + private static class Node { + private Item item; + private Node next; + } + + /** + * Initializes an empty stack. + */ + public Stack() { + first = null; + N = 0; + } + + /** + * Is this stack empty? + * @return true if this stack is empty; false otherwise + */ + public boolean isEmpty() { + return first == null; + } + + /** + * Returns the number of items in the stack. + * @return the number of items in the stack + */ + public int size() { + return N; + } + + /** + * Adds the item to this stack. + * @param item the item to add + */ + public void push(Item item) { + Node oldfirst = first; + first = new Node(); + first.item = item; + first.next = oldfirst; + N++; + } + + /** + * Removes and returns the item most recently added to this stack. + * @return the item most recently added + * @throws java.util.NoSuchElementException if this stack is empty + */ + public Item pop() { + if (isEmpty()) throw new NoSuchElementException("Stack underflow"); + Item item = first.item; // save item to return + first = first.next; // delete first node + N--; + return item; // return the saved item + } + + + /** + * Returns (but does not remove) the item most recently added to this stack. + * @return the item most recently added to this stack + * @throws java.util.NoSuchElementException if this stack is empty + */ + public Item peek() { + if (isEmpty()) throw new NoSuchElementException("Stack underflow"); + return first.item; + } + + /** + * Returns a string representation of this stack. + * @return the sequence of items in the stack in LIFO order, separated by spaces + */ + public String toString() { + StringBuilder s = new StringBuilder(); + for (Item item : this) + s.append(item + " "); + return s.toString(); + } + + + /** + * Returns an iterator to this stack that iterates through the items in LIFO order. + * @return an iterator to this stack that iterates through the items in LIFO order. + */ + public Iterator iterator() { + return new ListIterator(first); + } + + // an iterator, doesn't implement remove() since it's optional + private class ListIterator implements Iterator { + private Node current; + + public ListIterator(Node first) { + current = first; + } + public boolean hasNext() { return current != null; } + public void remove() { throw new UnsupportedOperationException(); } + + public Item next() { + if (!hasNext()) throw new NoSuchElementException(); + Item item = current.item; + current = current.next; + return item; + } + } + + + /** + * Unit tests the Stack data type. + */ + public static void main(String[] args) { + Stack s = new Stack(); + while (!StdIn.isEmpty()) { + String item = StdIn.readString(); + if (!item.equals("-")) s.push(item); + else if (!s.isEmpty()) StdOut.print(s.pop() + " "); + } + StdOut.println("(" + s.size() + " left on stack)"); + } +} + diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdArrayIO.class b/Java-Visualizer/cp/visualizer-stdlib/StdArrayIO.class new file mode 100644 index 00000000..542b08fa Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/StdArrayIO.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdArrayIO.java b/Java-Visualizer/cp/visualizer-stdlib/StdArrayIO.java new file mode 100644 index 00000000..e919715e --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/StdArrayIO.java @@ -0,0 +1,252 @@ + +/************************************************************************* + * Compilation: javac StdArrayIO.java + * Execution: java StdArrayIO < input.txt + * + * A library for reading in 1D and 2D arrays of integers, doubles, + * and booleans from standard input and printing them out to + * standard output. + * + * % more tinyDouble1D.txt + * 4 + * .000 .246 .222 -.032 + * + * % more tinyDouble2D.txt + * 4 3 + * .000 .270 .000 + * .246 .224 -.036 + * .222 .176 .0893 + * -.032 .739 .270 + * + * % more tinyBoolean2D.txt + * 4 3 + * 1 1 0 + * 0 0 0 + * 0 1 1 + * 1 1 1 + * + * % cat tinyDouble1D.txt tinyDouble2D.txt tinyBoolean2D.txt | java StdArrayIO + * 4 + * 0.00000 0.24600 0.22200 -0.03200 + * + * 4 3 + * 0.00000 0.27000 0.00000 + * 0.24600 0.22400 -0.03600 + * 0.22200 0.17600 0.08930 + * 0.03200 0.73900 0.27000 + * + * 4 3 + * 1 1 0 + * 0 0 0 + * 0 1 1 + * 1 1 1 + * + *************************************************************************/ + + +/** + * Standard array IO. This class provides methods for reading + * in 1D and 2D arrays from standard input and printing out to + * standard output. + *

+ * For additional documentation, see + * Section 2.2 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public class StdArrayIO { + + /** + * Read in and return an array of doubles from standard input. + */ + public static double[] readDouble1D() { + int N = StdIn.readInt(); + double[] a = new double[N]; + for (int i = 0; i < N; i++) { + a[i] = StdIn.readDouble(); + } + return a; + } + + /** + * Print an array of doubles to standard output. + */ + public static void print(double[] a) { + int N = a.length; + StdOut.println(N); + for (int i = 0; i < N; i++) { + StdOut.printf("%9.5f ", a[i]); + } + StdOut.println(); + } + + + /** + * Read in and return an M-by-N array of doubles from standard input. + */ + public static double[][] readDouble2D() { + int M = StdIn.readInt(); + int N = StdIn.readInt(); + double[][] a = new double[M][N]; + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + a[i][j] = StdIn.readDouble(); + } + } + return a; + } + + /** + * Print the M-by-N array of doubles to standard output. + */ + public static void print(double[][] a) { + int M = a.length; + int N = a[0].length; + StdOut.println(M + " " + N); + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + StdOut.printf("%9.5f ", a[i][j]); + } + StdOut.println(); + } + } + + + /** + * Read in and return an array of ints from standard input. + */ + public static int[] readInt1D() { + int N = StdIn.readInt(); + int[] a = new int[N]; + for (int i = 0; i < N; i++) { + a[i] = StdIn.readInt(); + } + return a; + } + + /** + * Print an array of ints to standard output. + */ + public static void print(int[] a) { + int N = a.length; + StdOut.println(N); + for (int i = 0; i < N; i++) { + StdOut.printf("%9d ", a[i]); + } + StdOut.println(); + } + + + /** + * Read in and return an M-by-N array of ints from standard input. + */ + public static int[][] readInt2D() { + int M = StdIn.readInt(); + int N = StdIn.readInt(); + int[][] a = new int[M][N]; + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + a[i][j] = StdIn.readInt(); + } + } + return a; + } + + /** + * Print the M-by-N array of ints to standard output. + */ + public static void print(int[][] a) { + int M = a.length; + int N = a[0].length; + StdOut.println(M + " " + N); + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + StdOut.printf("%9d ", a[i][j]); + } + StdOut.println(); + } + } + + + /** + * Read in and return an array of booleans from standard input. + */ + public static boolean[] readBoolean1D() { + int N = StdIn.readInt(); + boolean[] a = new boolean[N]; + for (int i = 0; i < N; i++) { + a[i] = StdIn.readBoolean(); + } + return a; + } + + /** + * Print an array of booleans to standard output. + */ + public static void print(boolean[] a) { + int N = a.length; + StdOut.println(N); + for (int i = 0; i < N; i++) { + if (a[i]) StdOut.print("1 "); + else StdOut.print("0 "); + } + StdOut.println(); + } + + /** + * Read in and return an M-by-N array of booleans from standard input. + */ + public static boolean[][] readBoolean2D() { + int M = StdIn.readInt(); + int N = StdIn.readInt(); + boolean[][] a = new boolean[M][N]; + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + a[i][j] = StdIn.readBoolean(); + } + } + return a; + } + + /** + * Print the M-by-N array of booleans to standard output. + */ + public static void print(boolean[][] a) { + int M = a.length; + int N = a[0].length; + StdOut.println(M + " " + N); + for (int i = 0; i < M; i++) { + for (int j = 0; j < N; j++) { + if (a[i][j]) StdOut.print("1 "); + else StdOut.print("0 "); + } + StdOut.println(); + } + } + + + /** + * Test client. + */ + public static void main(String[] args) { + + // read and print an array of doubles + double[] a = StdArrayIO.readDouble1D(); + StdArrayIO.print(a); + StdOut.println(); + + // read and print a matrix of doubles + double[][] b = StdArrayIO.readDouble2D(); + StdArrayIO.print(b); + StdOut.println(); + + // read and print a matrix of doubles + boolean[][] d = StdArrayIO.readBoolean2D(); + StdArrayIO.print(d); + StdOut.println(); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdAudio.class b/Java-Visualizer/cp/visualizer-stdlib/StdAudio.class new file mode 100644 index 00000000..76a2f174 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/StdAudio.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdAudio.java b/Java-Visualizer/cp/visualizer-stdlib/StdAudio.java new file mode 100644 index 00000000..99da95a8 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/StdAudio.java @@ -0,0 +1,281 @@ +/************************************************************************* + * Compilation: javac StdAudio.java + * Execution: java StdAudio + * + * Simple library for reading, writing, and manipulating .wav files. + + * + * Limitations + * ----------- + * - Does not seem to work properly when reading .wav files from a .jar file. + * - Assumes the audio is monaural, with sampling rate of 44,100. + * + *************************************************************************/ + +import java.applet.*; +import java.io.*; +import java.net.*; +import javax.sound.sampled.*; + +/** + * Standard audio. This class provides a basic capability for + * creating, reading, and saving audio. + *

+ * The audio format uses a sampling rate of 44,100 (CD quality audio), 16-bit, monaural. + * + *

+ * For additional documentation, see Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdAudio { + + /** + * The sample rate - 44,100 Hz for CD quality audio. + */ + public static final int SAMPLE_RATE = 44100; + + private static final int BYTES_PER_SAMPLE = 2; // 16-bit audio + private static final int BITS_PER_SAMPLE = 16; // 16-bit audio + private static final double MAX_16_BIT = Short.MAX_VALUE; // 32,767 + private static final int SAMPLE_BUFFER_SIZE = 4096; + + + private static SourceDataLine line; // to play the sound + private static byte[] buffer; // our internal buffer + private static int bufferSize = 0; // number of samples currently in internal buffer + + // do not instantiate + private StdAudio() { } + + + // static initializer + static { init(); } + + // open up an audio stream + private static void init() { + try { + // 44,100 samples per second, 16-bit audio, mono, signed PCM, little Endian + AudioFormat format = new AudioFormat((float) SAMPLE_RATE, BITS_PER_SAMPLE, 1, true, false); + DataLine.Info info = new DataLine.Info(SourceDataLine.class, format); + + line = (SourceDataLine) AudioSystem.getLine(info); + line.open(format, SAMPLE_BUFFER_SIZE * BYTES_PER_SAMPLE); + + // the internal buffer is a fraction of the actual buffer size, this choice is arbitrary + // it gets divided because we can't expect the buffered data to line up exactly with when + // the sound card decides to push out its samples. + buffer = new byte[SAMPLE_BUFFER_SIZE * BYTES_PER_SAMPLE/3]; + } catch (Exception e) { + System.out.println(e.getMessage()); + System.exit(1); + } + + // no sound gets made before this call + line.start(); + } + + + /** + * Close standard audio. + */ + public static void close() { + line.drain(); + line.stop(); + } + + /** + * Write one sample (between -1.0 and +1.0) to standard audio. If the sample + * is outside the range, it will be clipped. + */ + public static void play(double in) { + + // clip if outside [-1, +1] + if (in < -1.0) in = -1.0; + if (in > +1.0) in = +1.0; + + // convert to bytes + short s = (short) (MAX_16_BIT * in); + buffer[bufferSize++] = (byte) s; + buffer[bufferSize++] = (byte) (s >> 8); // little Endian + + // send to sound card if buffer is full + if (bufferSize >= buffer.length) { + line.write(buffer, 0, buffer.length); + bufferSize = 0; + } + } + + /** + * Write an array of samples (between -1.0 and +1.0) to standard audio. If a sample + * is outside the range, it will be clipped. + */ + public static void play(double[] input) { + for (int i = 0; i < input.length; i++) { + play(input[i]); + } + } + + /** + * Read audio samples from a file (in .wav or .au format) and return them as a double array + * with values between -1.0 and +1.0. + */ + public static double[] read(String filename) { + byte[] data = readByte(filename); + int N = data.length; + double[] d = new double[N/2]; + for (int i = 0; i < N/2; i++) { + d[i] = ((short) (((data[2*i+1] & 0xFF) << 8) + (data[2*i] & 0xFF))) / ((double) MAX_16_BIT); + } + return d; + } + + + + + /** + * Play a sound file (in .wav, .mid, or .au format) in a background thread. + */ + public static void play(String filename) { + URL url = null; + try { + File file = new File(filename); + if (file.canRead()) url = file.toURI().toURL(); + } + catch (MalformedURLException e) { e.printStackTrace(); } + // URL url = StdAudio.class.getResource(filename); + if (url == null) throw new RuntimeException("audio " + filename + " not found"); + AudioClip clip = Applet.newAudioClip(url); + clip.play(); + } + + /** + * Loop a sound file (in .wav, .mid, or .au format) in a background thread. + */ + public static void loop(String filename) { + URL url = null; + try { + File file = new File(filename); + if (file.canRead()) url = file.toURI().toURL(); + } + catch (MalformedURLException e) { e.printStackTrace(); } + // URL url = StdAudio.class.getResource(filename); + if (url == null) throw new RuntimeException("audio " + filename + " not found"); + AudioClip clip = Applet.newAudioClip(url); + clip.loop(); + } + + + // return data as a byte array + private static byte[] readByte(String filename) { + byte[] data = null; + AudioInputStream ais = null; + try { + + // try to read from file + File file = new File(filename); + if (file.exists()) { + ais = AudioSystem.getAudioInputStream(file); + data = new byte[ais.available()]; + ais.read(data); + } + + // try to read from URL + else { + URL url = StdAudio.class.getResource(filename); + ais = AudioSystem.getAudioInputStream(url); + data = new byte[ais.available()]; + ais.read(data); + } + } + catch (Exception e) { + System.out.println(e.getMessage()); + throw new RuntimeException("Could not read " + filename); + } + + return data; + } + + + + /** + * Save the double array as a sound file (using .wav or .au format). + */ + public static void save(String filename, double[] input) { + + // assumes 44,100 samples per second + // use 16-bit audio, mono, signed PCM, little Endian + AudioFormat format = new AudioFormat(SAMPLE_RATE, 16, 1, true, false); + byte[] data = new byte[2 * input.length]; + for (int i = 0; i < input.length; i++) { + int temp = (short) (input[i] * MAX_16_BIT); + data[2*i + 0] = (byte) temp; + data[2*i + 1] = (byte) (temp >> 8); + } + + // now save the file + try { + ByteArrayInputStream bais = new ByteArrayInputStream(data); + AudioInputStream ais = new AudioInputStream(bais, format, input.length); + if (filename.endsWith(".wav") || filename.endsWith(".WAV")) { + AudioSystem.write(ais, AudioFileFormat.Type.WAVE, new File(filename)); + } + else if (filename.endsWith(".au") || filename.endsWith(".AU")) { + AudioSystem.write(ais, AudioFileFormat.Type.AU, new File(filename)); + } + else { + throw new RuntimeException("File format not supported: " + filename); + } + } + catch (Exception e) { + System.out.println(e); + System.exit(1); + } + } + + + + + /*********************************************************************** + * sample test client + ***********************************************************************/ + + // create a note (sine wave) of the given frequency (Hz), for the given + // duration (seconds) scaled to the given volume (amplitude) + private static double[] note(double hz, double duration, double amplitude) { + int N = (int) (StdAudio.SAMPLE_RATE * duration); + double[] a = new double[N+1]; + for (int i = 0; i <= N; i++) + a[i] = amplitude * Math.sin(2 * Math.PI * i * hz / StdAudio.SAMPLE_RATE); + return a; + } + + /** + * Test client - play an A major scale to standard audio. + */ + public static void main(String[] args) { + + // 440 Hz for 1 sec + double freq = 440.0; + for (int i = 0; i <= StdAudio.SAMPLE_RATE; i++) { + StdAudio.play(0.5 * Math.sin(2*Math.PI * freq * i / StdAudio.SAMPLE_RATE)); + } + + // scale increments + int[] steps = { 0, 2, 4, 5, 7, 9, 11, 12 }; + for (int i = 0; i < steps.length; i++) { + double hz = 440.0 * Math.pow(2, steps[i] / 12.0); + StdAudio.play(note(hz, 1.0, 0.5)); + } + + + // need to call this in non-interactive stuff so the program doesn't terminate + // until all the sound leaves the speaker. + StdAudio.close(); + + // need to terminate a Java program with sound + System.exit(0); + } +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdDraw.class b/Java-Visualizer/cp/visualizer-stdlib/StdDraw.class new file mode 100644 index 00000000..1a2f3eec Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/StdDraw.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdDraw.java b/Java-Visualizer/cp/visualizer-stdlib/StdDraw.java new file mode 100644 index 00000000..eb99ec57 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/StdDraw.java @@ -0,0 +1,1160 @@ +/************************************************************************* + * Compilation: javac StdDraw.java + * Execution: java StdDraw + * + * Standard drawing library. This class provides a basic capability for + * creating drawings with your programs. It uses a simple graphics model that + * allows you to create drawings consisting of points, lines, and curves + * in a window on your computer and to save the drawings to a file. + * + * Todo + * ---- + * - Add support for gradient fill, etc. + * + * Remarks + * ------- + * - don't use AffineTransform for rescaling since it inverts + * images and strings + * - careful using setFont in inner loop within an animation - + * it can cause flicker + * + *************************************************************************/ + +import java.awt.*; +import java.awt.event.*; +import java.awt.geom.*; +import java.awt.image.*; +import java.io.*; +import java.net.*; +import java.util.LinkedList; +import java.util.TreeSet; +import javax.imageio.ImageIO; +import javax.swing.*; + +/** + * Standard draw. This class provides a basic capability for + * creating drawings with your programs. It uses a simple graphics model that + * allows you to create drawings consisting of points, lines, and curves + * in a window on your computer and to save the drawings to a file. + *

+ * For additional documentation, see Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdDraw implements ActionListener, MouseListener, MouseMotionListener, KeyListener { + + static final boolean isVisualizer = true; + + // pre-defined colors + public static final Color BLACK = Color.BLACK; + public static final Color BLUE = Color.BLUE; + public static final Color CYAN = Color.CYAN; + public static final Color DARK_GRAY = Color.DARK_GRAY; + public static final Color GRAY = Color.GRAY; + public static final Color GREEN = Color.GREEN; + public static final Color LIGHT_GRAY = Color.LIGHT_GRAY; + public static final Color MAGENTA = Color.MAGENTA; + public static final Color ORANGE = Color.ORANGE; + public static final Color PINK = Color.PINK; + public static final Color RED = Color.RED; + public static final Color WHITE = Color.WHITE; + public static final Color YELLOW = Color.YELLOW; + + /** + * Shade of blue used in Introduction to Programming in Java. + * It is Pantone 300U. The RGB values are approximately (9, 90, 166). + */ + public static final Color BOOK_BLUE = new Color( 9, 90, 166); + public static final Color BOOK_LIGHT_BLUE = new Color(103, 198, 243); + + /** + * Shade of red used in Algorithms 4th edition. + * It is Pantone 1805U. The RGB values are approximately (150, 35, 31). + */ + public static final Color BOOK_RED = new Color(150, 35, 31); + + // default colors + private static final Color DEFAULT_PEN_COLOR = BLACK; + private static final Color DEFAULT_CLEAR_COLOR = WHITE; + + // current pen color + private static Color penColor; + + // default canvas size is DEFAULT_SIZE-by-DEFAULT_SIZE + private static final int DEFAULT_SIZE = 512; + private static int width = DEFAULT_SIZE; + private static int height = DEFAULT_SIZE; + + // default pen radius + private static final double DEFAULT_PEN_RADIUS = 0.002; + + // current pen radius + private static double penRadius; + + // show we draw immediately or wait until next show? + private static boolean defer = false; + + // boundary of drawing canvas, 5% border + private static final double BORDER = 0.05; + private static final double DEFAULT_XMIN = 0.0; + private static final double DEFAULT_XMAX = 1.0; + private static final double DEFAULT_YMIN = 0.0; + private static final double DEFAULT_YMAX = 1.0; + private static double xmin, ymin, xmax, ymax; + + // for synchronization + private static Object mouseLock = new Object(); + private static Object keyLock = new Object(); + + // default font + private static final Font DEFAULT_FONT = isVisualizer ? null : new Font("SansSerif", Font.PLAIN, 16); + + // current font + private static Font font; + + // double buffered graphics + private static BufferedImage offscreenImage, onscreenImage; + private static Graphics2D offscreen, onscreen; + + // singleton for callbacks: avoids generation of extra .class files + private static StdDraw std = isVisualizer ? null : new StdDraw(); + + // the frame for drawing to the screen + private static JFrame frame; + + // mouse state + private static boolean mousePressed = false; + private static double mouseX = 0; + private static double mouseY = 0; + + // queue of typed key characters + private static LinkedList keysTyped = isVisualizer ? null : new LinkedList(); + + // set of key codes currently pressed down + private static TreeSet keysDown = isVisualizer ? null : new TreeSet(); + + + // singleton pattern: client can't instantiate + private StdDraw() { } + + + // static initializer + static { if (!isVisualizer) init(); } + + /** + * Set the window size to the default size 512-by-512 pixels. + */ + public static void setCanvasSize() { + if (isVisualizer) return; + setCanvasSize(DEFAULT_SIZE, DEFAULT_SIZE); + } + + /** + * Set the window size to w-by-h pixels. + * + * @param w the width as a number of pixels + * @param h the height as a number of pixels + * @throws a IllegalArgumentException if the width or height is 0 or negative + */ + public static void setCanvasSize(int w, int h) { + if (isVisualizer) return; + if (w < 1 || h < 1) throw new IllegalArgumentException("width and height must be positive"); + width = w; + height = h; + init(); + } + + // init + private static void init() { + if (isVisualizer) return; + if (frame != null) frame.setVisible(false); + frame = new JFrame(); + offscreenImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + onscreenImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + offscreen = offscreenImage.createGraphics(); + onscreen = onscreenImage.createGraphics(); + setXscale(); + setYscale(); + offscreen.setColor(DEFAULT_CLEAR_COLOR); + offscreen.fillRect(0, 0, width, height); + setPenColor(); + setPenRadius(); + setFont(); + clear(); + + // add antialiasing + RenderingHints hints = new RenderingHints(RenderingHints.KEY_ANTIALIASING, + RenderingHints.VALUE_ANTIALIAS_ON); + hints.put(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); + offscreen.addRenderingHints(hints); + + // frame stuff + ImageIcon icon = new ImageIcon(onscreenImage); + JLabel draw = new JLabel(icon); + + draw.addMouseListener(std); + draw.addMouseMotionListener(std); + + frame.setContentPane(draw); + frame.addKeyListener(std); // JLabel cannot get keyboard focus + frame.setResizable(false); + frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // closes all windows + // frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); // closes only current window + frame.setTitle("Standard Draw"); + frame.setJMenuBar(createMenuBar()); + frame.pack(); + frame.requestFocusInWindow(); + frame.setVisible(true); + } + + // create the menu bar (changed to private) + private static JMenuBar createMenuBar() { + JMenuBar menuBar = new JMenuBar(); + JMenu menu = new JMenu("File"); + menuBar.add(menu); + JMenuItem menuItem1 = new JMenuItem(" Save... "); + menuItem1.addActionListener(std); + menuItem1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, + Toolkit.getDefaultToolkit().getMenuShortcutKeyMask())); + menu.add(menuItem1); + return menuBar; + } + + + /************************************************************************* + * User and screen coordinate systems + *************************************************************************/ + + /** + * Set the x-scale to be the default (between 0.0 and 1.0). + */ + public static void setXscale() { setXscale(DEFAULT_XMIN, DEFAULT_XMAX); } + + /** + * Set the y-scale to be the default (between 0.0 and 1.0). + */ + public static void setYscale() { setYscale(DEFAULT_YMIN, DEFAULT_YMAX); } + + /** + * Set the x-scale (a 10% border is added to the values) + * @param min the minimum value of the x-scale + * @param max the maximum value of the x-scale + */ + public static void setXscale(double min, double max) { + if (isVisualizer) return; + double size = max - min; + synchronized (mouseLock) { + xmin = min - BORDER * size; + xmax = max + BORDER * size; + } + } + + /** + * Set the y-scale (a 10% border is added to the values). + * @param min the minimum value of the y-scale + * @param max the maximum value of the y-scale + */ + public static void setYscale(double min, double max) { + if (isVisualizer) return; + double size = max - min; + synchronized (mouseLock) { + ymin = min - BORDER * size; + ymax = max + BORDER * size; + } + } + + /** + * Set the x-scale and y-scale (a 10% border is added to the values) + * @param min the minimum value of the x- and y-scales + * @param max the maximum value of the x- and y-scales + */ + public static void setScale(double min, double max) { + if (isVisualizer) return; + double size = max - min; + synchronized (mouseLock) { + xmin = min - BORDER * size; + xmax = max + BORDER * size; + ymin = min - BORDER * size; + ymax = max + BORDER * size; + } + } + + // helper functions that scale from user coordinates to screen coordinates and back + private static double scaleX(double x) { return width * (x - xmin) / (xmax - xmin); } + private static double scaleY(double y) { return height * (ymax - y) / (ymax - ymin); } + private static double factorX(double w) { return w * width / Math.abs(xmax - xmin); } + private static double factorY(double h) { return h * height / Math.abs(ymax - ymin); } + private static double userX(double x) { return xmin + x * (xmax - xmin) / width; } + private static double userY(double y) { return ymax - y * (ymax - ymin) / height; } + + + /** + * Clear the screen to the default color (white). + */ + public static void clear() { clear(DEFAULT_CLEAR_COLOR); } + /** + * Clear the screen to the given color. + * @param color the Color to make the background + */ + public static void clear(Color color) { + if (isVisualizer) return; + offscreen.setColor(color); + offscreen.fillRect(0, 0, width, height); + offscreen.setColor(penColor); + draw(); + } + + /** + * Get the current pen radius. + */ + public static double getPenRadius() { return penRadius; } + + /** + * Set the pen size to the default (.002). + */ + public static void setPenRadius() { setPenRadius(DEFAULT_PEN_RADIUS); } + /** + * Set the radius of the pen to the given size. + * @param r the radius of the pen + * @throws IllegalArgumentException if r is negative + */ + public static void setPenRadius(double r) { + if (isVisualizer) return; + if (r < 0) throw new IllegalArgumentException("pen radius must be nonnegative"); + penRadius = r; + float scaledPenRadius = (float) (r * DEFAULT_SIZE); + BasicStroke stroke = new BasicStroke(scaledPenRadius, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND); + // BasicStroke stroke = new BasicStroke(scaledPenRadius); + offscreen.setStroke(stroke); + } + + /** + * Get the current pen color. + */ + public static Color getPenColor() { return penColor; } + + /** + * Set the pen color to the default color (black). + */ + public static void setPenColor() { setPenColor(DEFAULT_PEN_COLOR); } + + /** + * Set the pen color to the given color. The available pen colors are + * BLACK, BLUE, CYAN, DARK_GRAY, GRAY, GREEN, LIGHT_GRAY, MAGENTA, + * ORANGE, PINK, RED, WHITE, and YELLOW. + * @param color the Color to make the pen + */ + public static void setPenColor(Color color) { + if (isVisualizer) return; + penColor = color; + offscreen.setColor(penColor); + } + + /** + * Set the pen color to the given RGB color. + * @param red the amount of red (between 0 and 255) + * @param green the amount of green (between 0 and 255) + * @param blue the amount of blue (between 0 and 255) + * @throws IllegalArgumentException if the amount of red, green, or blue are outside prescribed range + */ + public static void setPenColor(int red, int green, int blue) { + if (isVisualizer) return; + if (red < 0 || red >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + if (green < 0 || green >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + if (blue < 0 || blue >= 256) throw new IllegalArgumentException("amount of red must be between 0 and 255"); + setPenColor(new Color(red, green, blue)); + } + + /** + * Get the current font. + */ + public static Font getFont() { return font; } + + /** + * Set the font to the default font (sans serif, 16 point). + */ + public static void setFont() { setFont(DEFAULT_FONT); } + + /** + * Set the font to the given value. + * @param f the font to make text + */ + public static void setFont(Font f) { font = f; } + + + /************************************************************************* + * Drawing geometric shapes. + *************************************************************************/ + + /** + * Draw a line from (x0, y0) to (x1, y1). + * @param x0 the x-coordinate of the starting point + * @param y0 the y-coordinate of the starting point + * @param x1 the x-coordinate of the destination point + * @param y1 the y-coordinate of the destination point + */ + public static void line(double x0, double y0, double x1, double y1) { + if (isVisualizer) return; + offscreen.draw(new Line2D.Double(scaleX(x0), scaleY(y0), scaleX(x1), scaleY(y1))); + draw(); + } + + /** + * Draw one pixel at (x, y). + * @param x the x-coordinate of the pixel + * @param y the y-coordinate of the pixel + */ + private static void pixel(double x, double y) { + if (isVisualizer) return; + offscreen.fillRect((int) Math.round(scaleX(x)), (int) Math.round(scaleY(y)), 1, 1); + } + + /** + * Draw a point at (x, y). + * @param x the x-coordinate of the point + * @param y the y-coordinate of the point + */ + public static void point(double x, double y) { + if (isVisualizer) return; + double xs = scaleX(x); + double ys = scaleY(y); + double r = penRadius; + float scaledPenRadius = (float) (r * DEFAULT_SIZE); + + // double ws = factorX(2*r); + // double hs = factorY(2*r); + // if (ws <= 1 && hs <= 1) pixel(x, y); + if (scaledPenRadius <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - scaledPenRadius/2, ys - scaledPenRadius/2, + scaledPenRadius, scaledPenRadius)); + draw(); + } + + /** + * Draw a circle of radius r, centered on (x, y). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @throws IllegalArgumentException if the radius of the circle is negative + */ + public static void circle(double x, double y, double r) { + if (isVisualizer) return; + if (r < 0) throw new IllegalArgumentException("circle radius must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw filled circle of radius r, centered on (x, y). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @throws IllegalArgumentException if the radius of the circle is negative + */ + public static void filledCircle(double x, double y, double r) { + if (isVisualizer) return; + if (r < 0) throw new IllegalArgumentException("circle radius must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw an ellipse with given semimajor and semiminor axes, centered on (x, y). + * @param x the x-coordinate of the center of the ellipse + * @param y the y-coordinate of the center of the ellipse + * @param semiMajorAxis is the semimajor axis of the ellipse + * @param semiMinorAxis is the semiminor axis of the ellipse + * @throws IllegalArgumentException if either of the axes are negative + */ + public static void ellipse(double x, double y, double semiMajorAxis, double semiMinorAxis) { + if (isVisualizer) return; + if (semiMajorAxis < 0) throw new IllegalArgumentException("ellipse semimajor axis must be nonnegative"); + if (semiMinorAxis < 0) throw new IllegalArgumentException("ellipse semiminor axis must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*semiMajorAxis); + double hs = factorY(2*semiMinorAxis); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw an ellipse with given semimajor and semiminor axes, centered on (x, y). + * @param x the x-coordinate of the center of the ellipse + * @param y the y-coordinate of the center of the ellipse + * @param semiMajorAxis is the semimajor axis of the ellipse + * @param semiMinorAxis is the semiminor axis of the ellipse + * @throws IllegalArgumentException if either of the axes are negative + */ + public static void filledEllipse(double x, double y, double semiMajorAxis, double semiMinorAxis) { + if (isVisualizer) return; + if (semiMajorAxis < 0) throw new IllegalArgumentException("ellipse semimajor axis must be nonnegative"); + if (semiMinorAxis < 0) throw new IllegalArgumentException("ellipse semiminor axis must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*semiMajorAxis); + double hs = factorY(2*semiMinorAxis); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Ellipse2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw an arc of radius r, centered on (x, y), from angle1 to angle2 (in degrees). + * @param x the x-coordinate of the center of the circle + * @param y the y-coordinate of the center of the circle + * @param r the radius of the circle + * @param angle1 the starting angle. 0 would mean an arc beginning at 3 o'clock. + * @param angle2 the angle at the end of the arc. For example, if + * you want a 90 degree arc, then angle2 should be angle1 + 90. + * @throws IllegalArgumentException if the radius of the circle is negative + */ + public static void arc(double x, double y, double r, double angle1, double angle2) { + if (isVisualizer) return; + if (r < 0) throw new IllegalArgumentException("arc radius must be nonnegative"); + while (angle2 < angle1) angle2 += 360; + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Arc2D.Double(xs - ws/2, ys - hs/2, ws, hs, angle1, angle2 - angle1, Arc2D.OPEN)); + draw(); + } + + /** + * Draw a square of side length 2r, centered on (x, y). + * @param x the x-coordinate of the center of the square + * @param y the y-coordinate of the center of the square + * @param r radius is half the length of any side of the square + * @throws IllegalArgumentException if r is negative + */ + public static void square(double x, double y, double r) { + if (isVisualizer) return; + if (r < 0) throw new IllegalArgumentException("square side length must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a filled square of side length 2r, centered on (x, y). + * @param x the x-coordinate of the center of the square + * @param y the y-coordinate of the center of the square + * @param r radius is half the length of any side of the square + * @throws IllegalArgumentException if r is negative + */ + public static void filledSquare(double x, double y, double r) { + if (isVisualizer) return; + if (r < 0) throw new IllegalArgumentException("square side length must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*r); + double hs = factorY(2*r); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw a rectangle of given half width and half height, centered on (x, y). + * @param x the x-coordinate of the center of the rectangle + * @param y the y-coordinate of the center of the rectangle + * @param halfWidth is half the width of the rectangle + * @param halfHeight is half the height of the rectangle + * @throws IllegalArgumentException if halfWidth or halfHeight is negative + */ + public static void rectangle(double x, double y, double halfWidth, double halfHeight) { + if (isVisualizer) return; + if (halfWidth < 0) throw new IllegalArgumentException("half width must be nonnegative"); + if (halfHeight < 0) throw new IllegalArgumentException("half height must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*halfWidth); + double hs = factorY(2*halfHeight); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.draw(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + /** + * Draw a filled rectangle of given half width and half height, centered on (x, y). + * @param x the x-coordinate of the center of the rectangle + * @param y the y-coordinate of the center of the rectangle + * @param halfWidth is half the width of the rectangle + * @param halfHeight is half the height of the rectangle + * @throws IllegalArgumentException if halfWidth or halfHeight is negative + */ + public static void filledRectangle(double x, double y, double halfWidth, double halfHeight) { + if (isVisualizer) return; + if (halfWidth < 0) throw new IllegalArgumentException("half width must be nonnegative"); + if (halfHeight < 0) throw new IllegalArgumentException("half height must be nonnegative"); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(2*halfWidth); + double hs = factorY(2*halfHeight); + if (ws <= 1 && hs <= 1) pixel(x, y); + else offscreen.fill(new Rectangle2D.Double(xs - ws/2, ys - hs/2, ws, hs)); + draw(); + } + + + /** + * Draw a polygon with the given (x[i], y[i]) coordinates. + * @param x an array of all the x-coordindates of the polygon + * @param y an array of all the y-coordindates of the polygon + */ + public static void polygon(double[] x, double[] y) { + int N = x.length; + GeneralPath path = new GeneralPath(); + path.moveTo((float) scaleX(x[0]), (float) scaleY(y[0])); + for (int i = 0; i < N; i++) + path.lineTo((float) scaleX(x[i]), (float) scaleY(y[i])); + path.closePath(); + offscreen.draw(path); + draw(); + } + + /** + * Draw a filled polygon with the given (x[i], y[i]) coordinates. + * @param x an array of all the x-coordindates of the polygon + * @param y an array of all the y-coordindates of the polygon + */ + public static void filledPolygon(double[] x, double[] y) { + if (isVisualizer) return; + int N = x.length; + GeneralPath path = new GeneralPath(); + path.moveTo((float) scaleX(x[0]), (float) scaleY(y[0])); + for (int i = 0; i < N; i++) + path.lineTo((float) scaleX(x[i]), (float) scaleY(y[i])); + path.closePath(); + offscreen.fill(path); + draw(); + } + + + + /************************************************************************* + * Drawing images. + *************************************************************************/ + + // get an image from the given filename + private static Image getImage(String filename) { + if (isVisualizer) return null; + + // to read from file + ImageIcon icon = new ImageIcon(filename); + + // try to read from URL + if ((icon == null) || (icon.getImageLoadStatus() != MediaTracker.COMPLETE)) { + try { + URL url = new URL(filename); + icon = new ImageIcon(url); + } catch (Exception e) { /* not a url */ } + } + + // in case file is inside a .jar + if ((icon == null) || (icon.getImageLoadStatus() != MediaTracker.COMPLETE)) { + URL url = StdDraw.class.getResource(filename); + if (url == null) throw new IllegalArgumentException("image " + filename + " not found"); + icon = new ImageIcon(url); + } + + return icon.getImage(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y). + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @throws IllegalArgumentException if the image is corrupt + */ + public static void picture(double x, double y, String s) { + if (isVisualizer) return; + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = image.getWidth(null); + int hs = image.getHeight(null); + if (ws < 0 || hs < 0) throw new IllegalArgumentException("image " + s + " is corrupt"); + + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), (int) Math.round(ys - hs/2.0), null); + draw(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), + * rotated given number of degrees + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param degrees is the number of degrees to rotate counterclockwise + * @throws IllegalArgumentException if the image is corrupt + */ + public static void picture(double x, double y, String s, double degrees) { + if (isVisualizer) return; + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = image.getWidth(null); + int hs = image.getHeight(null); + if (ws < 0 || hs < 0) throw new IllegalArgumentException("image " + s + " is corrupt"); + + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), (int) Math.round(ys - hs/2.0), null); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + + draw(); + } + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), rescaled to w-by-h. + * @param x the center x coordinate of the image + * @param y the center y coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param w the width of the image + * @param h the height of the image + * @throws IllegalArgumentException if the width height are negative + * @throws IllegalArgumentException if the image is corrupt + */ + public static void picture(double x, double y, String s, double w, double h) { + if (isVisualizer) return; + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + if (w < 0) throw new IllegalArgumentException("width is negative: " + w); + if (h < 0) throw new IllegalArgumentException("height is negative: " + h); + double ws = factorX(w); + double hs = factorY(h); + if (ws < 0 || hs < 0) throw new IllegalArgumentException("image " + s + " is corrupt"); + if (ws <= 1 && hs <= 1) pixel(x, y); + else { + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), + (int) Math.round(ys - hs/2.0), + (int) Math.round(ws), + (int) Math.round(hs), null); + } + draw(); + } + + + /** + * Draw picture (gif, jpg, or png) centered on (x, y), rotated + * given number of degrees, rescaled to w-by-h. + * @param x the center x-coordinate of the image + * @param y the center y-coordinate of the image + * @param s the name of the image/picture, e.g., "ball.gif" + * @param w the width of the image + * @param h the height of the image + * @param degrees is the number of degrees to rotate counterclockwise + * @throws IllegalArgumentException if the image is corrupt + */ + public static void picture(double x, double y, String s, double w, double h, double degrees) { + if (isVisualizer) return; + Image image = getImage(s); + double xs = scaleX(x); + double ys = scaleY(y); + double ws = factorX(w); + double hs = factorY(h); + if (ws < 0 || hs < 0) throw new IllegalArgumentException("image " + s + " is corrupt"); + if (ws <= 1 && hs <= 1) pixel(x, y); + + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + offscreen.drawImage(image, (int) Math.round(xs - ws/2.0), + (int) Math.round(ys - hs/2.0), + (int) Math.round(ws), + (int) Math.round(hs), null); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + + draw(); + } + + + /************************************************************************* + * Drawing text. + *************************************************************************/ + + /** + * Write the given text string in the current font, centered on (x, y). + * @param x the center x-coordinate of the text + * @param y the center y-coordinate of the text + * @param s the text + */ + public static void text(double x, double y, String s) { + if (isVisualizer) return; + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = metrics.stringWidth(s); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs - ws/2.0), (float) (ys + hs)); + draw(); + } + + /** + * Write the given text string in the current font, centered on (x, y) and + * rotated by the specified number of degrees + * @param x the center x-coordinate of the text + * @param y the center y-coordinate of the text + * @param s the text + * @param degrees is the number of degrees to rotate counterclockwise + */ + public static void text(double x, double y, String s, double degrees) { + if (isVisualizer) return; + double xs = scaleX(x); + double ys = scaleY(y); + offscreen.rotate(Math.toRadians(-degrees), xs, ys); + text(x, y, s); + offscreen.rotate(Math.toRadians(+degrees), xs, ys); + } + + + /** + * Write the given text string in the current font, left-aligned at (x, y). + * @param x the x-coordinate of the text + * @param y the y-coordinate of the text + * @param s the text + */ + public static void textLeft(double x, double y, String s) { + if (isVisualizer) return; + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs), (float) (ys + hs)); + draw(); + } + + /** + * Write the given text string in the current font, right-aligned at (x, y). + * @param x the x-coordinate of the text + * @param y the y-coordinate of the text + * @param s the text + */ + public static void textRight(double x, double y, String s) { + if (isVisualizer) return; + offscreen.setFont(font); + FontMetrics metrics = offscreen.getFontMetrics(); + double xs = scaleX(x); + double ys = scaleY(y); + int ws = metrics.stringWidth(s); + int hs = metrics.getDescent(); + offscreen.drawString(s, (float) (xs - ws), (float) (ys + hs)); + draw(); + } + + + + /** + * Display on screen, pause for t milliseconds, and turn on + * animation mode: subsequent calls to + * drawing methods such as line(), circle(), and square() + * will not be displayed on screen until the next call to show(). + * This is useful for producing animations (clear the screen, draw a bunch of shapes, + * display on screen for a fixed amount of time, and repeat). It also speeds up + * drawing a huge number of shapes (call show(0) to defer drawing + * on screen, draw the shapes, and call show(0) to display them all + * on screen at once). + * @param t number of milliseconds + */ + public static void show(int t) { + if (isVisualizer) return; + defer = false; + draw(); + try { Thread.sleep(t); } + catch (InterruptedException e) { System.out.println("Error sleeping"); } + defer = true; + } + + /** + * Display on-screen and turn off animation mode: + * subsequent calls to + * drawing methods such as line(), circle(), and square() + * will be displayed on screen when called. This is the default. + */ + public static void show() { + if (isVisualizer) return; + defer = false; + draw(); + } + + // draw onscreen if defer is false + private static void draw() { + if (isVisualizer) return; + if (defer) return; + onscreen.drawImage(offscreenImage, 0, 0, null); + frame.repaint(); + } + + + /************************************************************************* + * Save drawing to a file. + *************************************************************************/ + + /** + * Save onscreen image to file - suffix must be png, jpg, or gif. + * @param filename the name of the file with one of the required suffixes + */ + public static void save(String filename) { + if (isVisualizer) return; + File file = new File(filename); + String suffix = filename.substring(filename.lastIndexOf('.') + 1); + + // png files + if (suffix.toLowerCase().equals("png")) { + try { ImageIO.write(onscreenImage, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + + // need to change from ARGB to RGB for jpeg + // reference: http://archives.java.sun.com/cgi-bin/wa?A2=ind0404&L=java2d-interest&D=0&P=2727 + else if (suffix.toLowerCase().equals("jpg")) { + WritableRaster raster = onscreenImage.getRaster(); + WritableRaster newRaster; + newRaster = raster.createWritableChild(0, 0, width, height, 0, 0, new int[] {0, 1, 2}); + DirectColorModel cm = (DirectColorModel) onscreenImage.getColorModel(); + DirectColorModel newCM = new DirectColorModel(cm.getPixelSize(), + cm.getRedMask(), + cm.getGreenMask(), + cm.getBlueMask()); + BufferedImage rgbBuffer = new BufferedImage(newCM, newRaster, false, null); + try { ImageIO.write(rgbBuffer, suffix, file); } + catch (IOException e) { e.printStackTrace(); } + } + + else { + System.out.println("Invalid image file type: " + suffix); + } + } + + + /** + * This method cannot be called directly. + */ + public void actionPerformed(ActionEvent e) { + if (isVisualizer) return; + FileDialog chooser = new FileDialog(StdDraw.frame, "Use a .png or .jpg extension", FileDialog.SAVE); + chooser.setVisible(true); + String filename = chooser.getFile(); + if (filename != null) { + StdDraw.save(chooser.getDirectory() + File.separator + chooser.getFile()); + } + } + + + /************************************************************************* + * Mouse interactions. + *************************************************************************/ + + /** + * Is the mouse being pressed? + * @return true or false + */ + public static boolean mousePressed() { + synchronized (mouseLock) { + return mousePressed; + } + } + + /** + * What is the x-coordinate of the mouse? + * @return the value of the x-coordinate of the mouse + */ + public static double mouseX() { + synchronized (mouseLock) { + return mouseX; + } + } + + /** + * What is the y-coordinate of the mouse? + * @return the value of the y-coordinate of the mouse + */ + public static double mouseY() { + synchronized (mouseLock) { + return mouseY; + } + } + + + /** + * This method cannot be called directly. + */ + public void mouseClicked(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mouseEntered(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mouseExited(MouseEvent e) { } + + /** + * This method cannot be called directly. + */ + public void mousePressed(MouseEvent e) { + if (isVisualizer) return; + synchronized (mouseLock) { + mouseX = StdDraw.userX(e.getX()); + mouseY = StdDraw.userY(e.getY()); + mousePressed = true; + } + } + + /** + * This method cannot be called directly. + */ + public void mouseReleased(MouseEvent e) { + synchronized (mouseLock) { + mousePressed = false; + } + } + + /** + * This method cannot be called directly. + */ + public void mouseDragged(MouseEvent e) { + if (isVisualizer) return; + synchronized (mouseLock) { + mouseX = StdDraw.userX(e.getX()); + mouseY = StdDraw.userY(e.getY()); + } + } + + /** + * This method cannot be called directly. + */ + public void mouseMoved(MouseEvent e) { + if (isVisualizer) return; + synchronized (mouseLock) { + mouseX = StdDraw.userX(e.getX()); + mouseY = StdDraw.userY(e.getY()); + } + } + + + /************************************************************************* + * Keyboard interactions. + *************************************************************************/ + + /** + * Has the user typed a key? + * @return true if the user has typed a key, false otherwise + */ + public static boolean hasNextKeyTyped() { + synchronized (keyLock) { + return !keysTyped.isEmpty(); + } + } + + /** + * What is the next key that was typed by the user? This method returns + * a Unicode character corresponding to the key typed (such as 'a' or 'A'). + * It cannot identify action keys (such as F1 + * and arrow keys) or modifier keys (such as control). + * @return the next Unicode key typed + */ + public static char nextKeyTyped() { + synchronized (keyLock) { + return keysTyped.removeLast(); + } + } + + /** + * Is the keycode currently being pressed? This method takes as an argument + * the keycode (corresponding to a physical key). It can handle action keys + * (such as F1 and arrow keys) and modifier keys (such as shift and control). + * See KeyEvent.java + * for a description of key codes. + * @return true if keycode is currently being pressed, false otherwise + */ + public static boolean isKeyPressed(int keycode) { + synchronized (keyLock) { + return keysDown.contains(keycode); + } + } + + + /** + * This method cannot be called directly. + */ + public void keyTyped(KeyEvent e) { + synchronized (keyLock) { + keysTyped.addFirst(e.getKeyChar()); + } + } + + /** + * This method cannot be called directly. + */ + public void keyPressed(KeyEvent e) { + synchronized (keyLock) { + keysDown.add(e.getKeyCode()); + } + } + + /** + * This method cannot be called directly. + */ + public void keyReleased(KeyEvent e) { + synchronized (keyLock) { + keysDown.remove(e.getKeyCode()); + } + } + + + + + /** + * Test client. + */ + public static void main(String[] args) { + StdDraw.square(.2, .8, .1); + StdDraw.filledSquare(.8, .8, .2); + StdDraw.circle(.8, .2, .2); + + StdDraw.setPenColor(StdDraw.BOOK_RED); + StdDraw.setPenRadius(.02); + StdDraw.arc(.8, .2, .1, 200, 45); + + // draw a blue diamond + StdDraw.setPenRadius(); + StdDraw.setPenColor(StdDraw.BOOK_BLUE); + double[] x = { .1, .2, .3, .2 }; + double[] y = { .2, .3, .2, .1 }; + StdDraw.filledPolygon(x, y); + + // text + StdDraw.setPenColor(StdDraw.BLACK); + StdDraw.text(0.2, 0.5, "black text"); + StdDraw.setPenColor(StdDraw.WHITE); + StdDraw.text(0.8, 0.8, "white text"); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdIn.class b/Java-Visualizer/cp/visualizer-stdlib/StdIn.class new file mode 100644 index 00000000..eb54ee2a Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/StdIn.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdIn.java b/Java-Visualizer/cp/visualizer-stdlib/StdIn.java new file mode 100644 index 00000000..5051221a --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/StdIn.java @@ -0,0 +1,337 @@ +/************************************************************************* + * Compilation: javac StdIn.java + * Execution: java StdIn (interactive test of basic functionality) + * + * Reads in data of various types from standard input. + * + *************************************************************************/ + +import java.util.Scanner; +import java.util.NoSuchElementException; +import java.util.regex.Pattern; + +/** + * Standard input. This class provides methods for reading strings + * and numbers from standard input. See + * Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + *

+ * See the technical information in the documentation of the {@link In} + * class, which applies to this class as well. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdIn { + + // it doesn't make sense to instantiate this class + private StdIn() {} + + private static Scanner scanner; + + /*** begin: section (1 of 2) of code duplicated from In to StdIn */ + + // assume Unicode UTF-8 encoding + private static final String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with System.out. + private static final java.util.Locale usLocale = + new java.util.Locale("en", "US"); + + // the default token separator; we maintain the invariant that this value + // is held by the scanner's delimiter between calls + private static final Pattern WHITESPACE_PATTERN + = Pattern.compile("\\p{javaWhitespace}+"); + + // makes whitespace characters significant + private static final Pattern EMPTY_PATTERN + = Pattern.compile(""); + + // used to read the entire input. source: + // http://weblogs.java.net/blog/pat/archive/2004/10/stupid_scanner_1.html + private static final Pattern EVERYTHING_PATTERN + = Pattern.compile("\\A"); + + /*** end: section (1 of 2) of code duplicated from In to StdIn */ + + /*** begin: section (2 of 2) of code duplicated from In to StdIn, + * with all methods changed from "public" to "public static" ***/ + + /** How many characters have been read so far? + */ + public static void savePosition() { + try { + position = scanner.match().end(); + } + catch (IllegalStateException e) { + position = 0; // nothing has been read yet + } + } + + public static int position = 0; + + /** + * Is the input empty (except possibly for whitespace)? Use this + * to know whether the next call to {@link #readString()}, + * {@link #readDouble()}, etc will succeed. + */ + public static boolean isEmpty() { + return !scanner.hasNext(); + } + + /** + * Does the input have a next line? Use this to know whether the + * next call to {@link #readLine()} will succeed.

Functionally + * equivalent to {@link #hasNextChar()}. + */ + public static boolean hasNextLine() { + return scanner.hasNextLine(); + } + + /** + * Is the input empty (including whitespace)? Use this to know + * whether the next call to {@link #readChar()} will succeed.

Functionally + * equivalent to {@link #hasNextLine()}. + */ + public static boolean hasNextChar() { + scanner.useDelimiter(EMPTY_PATTERN); + boolean result = scanner.hasNext(); + scanner.useDelimiter(WHITESPACE_PATTERN); + return result; + } + + + /** + * Read and return the next line. + */ + public static String readLine() { + String line; + try { line = scanner.nextLine(); savePosition(); } + catch (Exception e) { line = null; } + return line; + } + + /** + * Read and return the next character. + */ + public static char readChar() { + scanner.useDelimiter(EMPTY_PATTERN); + String ch = scanner.next(); + assert (ch.length() == 1) : "Internal (Std)In.readChar() error!" + + " Please contact the authors."; + scanner.useDelimiter(WHITESPACE_PATTERN); + char result = ch.charAt(0); + savePosition(); + return result; + } + + + /** + * Read and return the remainder of the input as a string. + */ + public static String readAll() { + if (!scanner.hasNextLine()) + return ""; + + String result = scanner.useDelimiter(EVERYTHING_PATTERN).next(); + // not that important to reset delimeter, since now scanner is empty + scanner.useDelimiter(WHITESPACE_PATTERN); // but let's do it anyway + savePosition(); + return result; + } + + + /** + * Read and return the next string. + */ + public static String readString() { + String result = scanner.next(); + savePosition(); + return result; + } + + /** + * Read and return the next int. + */ + public static int readInt() { + int result = 0; + result = scanner.nextInt(); + savePosition(); + return result; + } + + /** + * Read and return the next double. + */ + public static double readDouble() { + double result = scanner.nextDouble(); + savePosition(); + return result; + } + + /** + * Read and return the next float. + */ + public static float readFloat() { + float result = scanner.nextFloat(); + savePosition(); + return result; + } + + /** + * Read and return the next long. + */ + public static long readLong() { + long result = scanner.nextLong(); + savePosition(); + return result; + } + + /** + * Read and return the next short. + */ + public static short readShort() { + short result = scanner.nextShort(); + savePosition(); + return result; + } + + /** + * Read and return the next byte. + */ + public static byte readByte() { + byte result = scanner.nextByte(); + savePosition(); + return result; + } + + /** + * Read and return the next boolean, allowing case-insensitive + * "true" or "1" for true, and "false" or "0" for false. + */ + public static boolean readBoolean() { + String s = readString(); + savePosition(); + if (s.equalsIgnoreCase("true")) return true; + if (s.equalsIgnoreCase("false")) return false; + if (s.equals("1")) return true; + if (s.equals("0")) return false; + throw new java.util.InputMismatchException(); + } + + /** + * Read all strings until the end of input is reached, and return them. + */ + public static String[] readAllStrings() { + // we could use readAll.trim().split(), but that's not consistent + // since trim() uses characters 0x00..0x20 as whitespace + String[] tokens = WHITESPACE_PATTERN.split(readAll()); + if (tokens.length == 0 || tokens[0].length() > 0) + return tokens; + String[] decapitokens = new String[tokens.length-1]; + for (int i=0; i < tokens.length-1; i++) + decapitokens[i] = tokens[i+1]; + savePosition(); + return decapitokens; + } + + /** + * Read all ints until the end of input is reached, and return them. + */ + public static int[] readAllInts() { + String[] fields = readAllStrings(); + int[] vals = new int[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Integer.parseInt(fields[i]); + savePosition(); + return vals; + } + + /** + * Read all doubles until the end of input is reached, and return them. + */ + public static double[] readAllDoubles() { + String[] fields = readAllStrings(); + double[] vals = new double[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Double.parseDouble(fields[i]); + savePosition(); + return vals; + } + + /*** end: section (2 of 2) of code duplicated from In to StdIn */ + + + /** + * If StdIn changes, use this to reinitialize the scanner. + */ + private static void resync() { + setScanner(new Scanner(new java.io.BufferedInputStream(System.in), + charsetName)); + } + + private static void setScanner(Scanner scanner) { + StdIn.scanner = scanner; + StdIn.scanner.useLocale(usLocale); + savePosition(); + } + + // do this once when StdIn is initialized + static { + resync(); + } + + /** + * Reads all ints from stdin. + * @deprecated For more consistency, use {@link #readAllInts()} + */ + public static int[] readInts() { + return readAllInts(); + } + + /** + * Reads all doubles from stdin. + * @deprecated For more consistency, use {@link #readAllDoubles()} + */ + public static double[] readDoubles() { + return readAllDoubles(); + } + + /** + * Reads all Strings from stdin. + * @deprecated For more consistency, use {@link #readAllStrings()} + */ + public static String[] readStrings() { + return readAllStrings(); + } + + + /** + * Interactive test of basic functionality. + */ + public static void main(String[] args) { + + System.out.println("Type a string: "); + String s = StdIn.readString(); + System.out.println("Your string was: " + s); + System.out.println(); + + System.out.println("Type an int: "); + int a = StdIn.readInt(); + System.out.println("Your int was: " + a); + System.out.println(); + + System.out.println("Type a boolean: "); + boolean b = StdIn.readBoolean(); + System.out.println("Your boolean was: " + b); + System.out.println(); + + System.out.println("Type a double: "); + double c = StdIn.readDouble(); + System.out.println("Your double was: " + c); + System.out.println(); + + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdIn.java-orig b/Java-Visualizer/cp/visualizer-stdlib/StdIn.java-orig new file mode 100644 index 00000000..5290785e --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/StdIn.java-orig @@ -0,0 +1,300 @@ +/************************************************************************* + * Compilation: javac StdIn.java + * Execution: java StdIn (interactive test of basic functionality) + * + * Reads in data of various types from standard input. + * + *************************************************************************/ + +import java.util.Scanner; +import java.util.regex.Pattern; + +/** + * Standard input. This class provides methods for reading strings + * and numbers from standard input. See + * Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + *

+ * See the technical information in the documentation of the {@link In} + * class, which applies to this class as well. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdIn { + + // it doesn't make sense to instantiate this class + private StdIn() {} + + private static Scanner scanner; + + /*** begin: section (1 of 2) of code duplicated from In to StdIn */ + + // assume Unicode UTF-8 encoding + private static final String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with System.out. + private static final java.util.Locale usLocale = + new java.util.Locale("en", "US"); + + // the default token separator; we maintain the invariant that this value + // is held by the scanner's delimiter between calls + private static final Pattern WHITESPACE_PATTERN + = Pattern.compile("\\p{javaWhitespace}+"); + + // makes whitespace characters significant + private static final Pattern EMPTY_PATTERN + = Pattern.compile(""); + + // used to read the entire input. source: + // http://weblogs.java.net/blog/pat/archive/2004/10/stupid_scanner_1.html + private static final Pattern EVERYTHING_PATTERN + = Pattern.compile("\\A"); + + /*** end: section (1 of 2) of code duplicated from In to StdIn */ + + /*** begin: section (2 of 2) of code duplicated from In to StdIn, + * with all methods changed from "public" to "public static" ***/ + + /** + * Is the input empty (except possibly for whitespace)? Use this + * to know whether the next call to {@link #readString()}, + * {@link #readDouble()}, etc will succeed. + */ + public static boolean isEmpty() { + return !scanner.hasNext(); + } + + /** + * Does the input have a next line? Use this to know whether the + * next call to {@link #readLine()} will succeed.

Functionally + * equivalent to {@link #hasNextChar()}. + */ + public static boolean hasNextLine() { + return scanner.hasNextLine(); + } + + /** + * Is the input empty (including whitespace)? Use this to know + * whether the next call to {@link #readChar()} will succeed.

Functionally + * equivalent to {@link #hasNextLine()}. + */ + public static boolean hasNextChar() { + scanner.useDelimiter(EMPTY_PATTERN); + boolean result = scanner.hasNext(); + scanner.useDelimiter(WHITESPACE_PATTERN); + return result; + } + + + /** + * Read and return the next line. + */ + public static String readLine() { + String line; + try { line = scanner.nextLine(); } + catch (Exception e) { line = null; } + return line; + } + + /** + * Read and return the next character. + */ + public static char readChar() { + scanner.useDelimiter(EMPTY_PATTERN); + String ch = scanner.next(); + assert (ch.length() == 1) : "Internal (Std)In.readChar() error!" + + " Please contact the authors."; + scanner.useDelimiter(WHITESPACE_PATTERN); + return ch.charAt(0); + } + + + /** + * Read and return the remainder of the input as a string. + */ + public static String readAll() { + if (!scanner.hasNextLine()) + return ""; + + String result = scanner.useDelimiter(EVERYTHING_PATTERN).next(); + // not that important to reset delimeter, since now scanner is empty + scanner.useDelimiter(WHITESPACE_PATTERN); // but let's do it anyway + return result; + } + + + /** + * Read and return the next string. + */ + public static String readString() { + return scanner.next(); + } + + /** + * Read and return the next int. + */ + public static int readInt() { + return scanner.nextInt(); + } + + /** + * Read and return the next double. + */ + public static double readDouble() { + return scanner.nextDouble(); + } + + /** + * Read and return the next float. + */ + public static float readFloat() { + return scanner.nextFloat(); + } + + /** + * Read and return the next long. + */ + public static long readLong() { + return scanner.nextLong(); + } + + /** + * Read and return the next short. + */ + public static short readShort() { + return scanner.nextShort(); + } + + /** + * Read and return the next byte. + */ + public static byte readByte() { + return scanner.nextByte(); + } + + /** + * Read and return the next boolean, allowing case-insensitive + * "true" or "1" for true, and "false" or "0" for false. + */ + public static boolean readBoolean() { + String s = readString(); + if (s.equalsIgnoreCase("true")) return true; + if (s.equalsIgnoreCase("false")) return false; + if (s.equals("1")) return true; + if (s.equals("0")) return false; + throw new java.util.InputMismatchException(); + } + + /** + * Read all strings until the end of input is reached, and return them. + */ + public static String[] readAllStrings() { + // we could use readAll.trim().split(), but that's not consistent + // since trim() uses characters 0x00..0x20 as whitespace + String[] tokens = WHITESPACE_PATTERN.split(readAll()); + if (tokens.length == 0 || tokens[0].length() > 0) + return tokens; + String[] decapitokens = new String[tokens.length-1]; + for (int i=0; i < tokens.length-1; i++) + decapitokens[i] = tokens[i+1]; + return decapitokens; + } + + /** + * Read all ints until the end of input is reached, and return them. + */ + public static int[] readAllInts() { + String[] fields = readAllStrings(); + int[] vals = new int[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Integer.parseInt(fields[i]); + return vals; + } + + /** + * Read all doubles until the end of input is reached, and return them. + */ + public static double[] readAllDoubles() { + String[] fields = readAllStrings(); + double[] vals = new double[fields.length]; + for (int i = 0; i < fields.length; i++) + vals[i] = Double.parseDouble(fields[i]); + return vals; + } + + /*** end: section (2 of 2) of code duplicated from In to StdIn */ + + + /** + * If StdIn changes, use this to reinitialize the scanner. + */ + private static void resync() { + setScanner(new Scanner(new java.io.BufferedInputStream(System.in), + charsetName)); + } + + private static void setScanner(Scanner scanner) { + StdIn.scanner = scanner; + StdIn.scanner.useLocale(usLocale); + } + + // do this once when StdIn is initialized + static { + resync(); + } + + /** + * Reads all ints from stdin. + * @deprecated For more consistency, use {@link #readAllInts()} + */ + public static int[] readInts() { + return readAllInts(); + } + + /** + * Reads all doubles from stdin. + * @deprecated For more consistency, use {@link #readAllDoubles()} + */ + public static double[] readDoubles() { + return readAllDoubles(); + } + + /** + * Reads all Strings from stdin. + * @deprecated For more consistency, use {@link #readAllStrings()} + */ + public static String[] readStrings() { + return readAllStrings(); + } + + + /** + * Interactive test of basic functionality. + */ + public static void main(String[] args) { + + System.out.println("Type a string: "); + String s = StdIn.readString(); + System.out.println("Your string was: " + s); + System.out.println(); + + System.out.println("Type an int: "); + int a = StdIn.readInt(); + System.out.println("Your int was: " + a); + System.out.println(); + + System.out.println("Type a boolean: "); + boolean b = StdIn.readBoolean(); + System.out.println("Your boolean was: " + b); + System.out.println(); + + System.out.println("Type a double: "); + double c = StdIn.readDouble(); + System.out.println("Your double was: " + c); + System.out.println(); + + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdInTest.class b/Java-Visualizer/cp/visualizer-stdlib/StdInTest.class new file mode 100644 index 00000000..63444d1d Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/StdInTest.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdInTest.java b/Java-Visualizer/cp/visualizer-stdlib/StdInTest.java new file mode 100644 index 00000000..aaae452d --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/StdInTest.java @@ -0,0 +1,340 @@ +/** + * Test client for StdIn and In. + **/ + +import java.util.Scanner; +import java.util.Arrays; +import java.lang.reflect.Array; +import java.lang.reflect.Method; +import java.io.ByteArrayInputStream; +import java.net.URL; +import java.net.URLClassLoader; + +public class StdInTest { + + // make a printable/readable version of an object + public static Object escape(Object original) { + if (original instanceof Character) { + char u = (char) ((Character)original); + int idx = "\b\t\n\f\r\"\'\\".indexOf(u); + if (idx >= 0) + return "\\"+"btnfr\"\'\\".charAt(idx); + if (u < 32) + return "\\"+Integer.toOctalString(u); + if (u > 126) + return "\\u"+String.format("%04X", (int)u); + return original; + } + else if (original instanceof String) { + StringBuilder result = new StringBuilder(); + for (char c : ((String)original).toCharArray()) + result.append(escape(c)); + return "\"" + result.toString() + "\""; + } + else if (original.getClass().isArray()) { + StringBuilder result = new StringBuilder("["); + int len = Array.getLength(original); + for (int i=0; iStandard output. This class provides methods for writing strings + * and numbers to standard output. + *

+ * For additional documentation, see Section 1.5 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdOut { + + // force Unicode UTF-8 encoding; otherwise it's system dependent + private static final String charsetName = "UTF-8"; + + // assume language = English, country = US for consistency with StdIn + private static final Locale US_LOCALE = new Locale("en", "US"); + + // send output here + private static PrintWriter out; + + // this is called before invoking any methods + static { + try { + out = new PrintWriter(new OutputStreamWriter(System.out, charsetName), true); + } + catch (UnsupportedEncodingException e) { System.out.println(e); } + } + + // don't instantiate + private StdOut() { } + + // close the output stream (not required) + /** + * Close standard output. + */ + public static void close() { + out.close(); + } + + /** + * Terminate the current line by printing the line separator string. + */ + public static void println() { + out.println(); + } + + /** + * Print an object to standard output and then terminate the line. + */ + public static void println(Object x) { + out.println(x); + } + + /** + * Print a boolean to standard output and then terminate the line. + */ + public static void println(boolean x) { + out.println(x); + } + + /** + * Print a char to standard output and then terminate the line. + */ + public static void println(char x) { + out.println(x); + } + + /** + * Print a double to standard output and then terminate the line. + */ + public static void println(double x) { + out.println(x); + } + + /** + * Print a float to standard output and then terminate the line. + */ + public static void println(float x) { + out.println(x); + } + + /** + * Print an int to standard output and then terminate the line. + */ + public static void println(int x) { + out.println(x); + } + + /** + * Print a long to standard output and then terminate the line. + */ + public static void println(long x) { + out.println(x); + } + + /** + * Print a short to standard output and then terminate the line. + */ + public static void println(short x) { + out.println(x); + } + + /** + * Print a byte to standard output and then terminate the line. + */ + public static void println(byte x) { + out.println(x); + } + + /** + * Flush standard output. + */ + public static void print() { + out.flush(); + } + + /** + * Print an Object to standard output and flush standard output. + */ + public static void print(Object x) { + out.print(x); + out.flush(); + } + + /** + * Print a boolean to standard output and flush standard output. + */ + public static void print(boolean x) { + out.print(x); + out.flush(); + } + + /** + * Print a char to standard output and flush standard output. + */ + public static void print(char x) { + out.print(x); + out.flush(); + } + + /** + * Print a double to standard output and flush standard output. + */ + public static void print(double x) { + out.print(x); + out.flush(); + } + + /** + * Print a float to standard output and flush standard output. + */ + public static void print(float x) { + out.print(x); + out.flush(); + } + + /** + * Print an int to standard output and flush standard output. + */ + public static void print(int x) { + out.print(x); + out.flush(); + } + + /** + * Print a long to standard output and flush standard output. + */ + public static void print(long x) { + out.print(x); + out.flush(); + } + + /** + * Print a short to standard output and flush standard output. + */ + public static void print(short x) { + out.print(x); + out.flush(); + } + + /** + * Print a byte to standard output and flush standard output. + */ + public static void print(byte x) { + out.print(x); + out.flush(); + } + + /** + * Print a formatted string to standard output using the specified + * format string and arguments, and flush standard output. + */ + public static void printf(String format, Object... args) { + out.printf(US_LOCALE, format, args); + out.flush(); + } + + /** + * Print a formatted string to standard output using the specified + * locale, format string, and arguments, and flush standard output. + */ + public static void printf(Locale locale, String format, Object... args) { + out.printf(locale, format, args); + out.flush(); + } + + // This method is just here to test the class + public static void main(String[] args) { + + // write to stdout + StdOut.println("Test"); + StdOut.println(17); + StdOut.println(true); + StdOut.printf("%.6f\n", 1.0/7.0); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdRandom.class b/Java-Visualizer/cp/visualizer-stdlib/StdRandom.class new file mode 100644 index 00000000..16de81cf Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/StdRandom.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdRandom.java b/Java-Visualizer/cp/visualizer-stdlib/StdRandom.java new file mode 100644 index 00000000..d79ede79 --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/StdRandom.java @@ -0,0 +1,347 @@ +/************************************************************************* + * Compilation: javac StdRandom.java + * Execution: java StdRandom + * + * A library of static methods to generate pseudo-random numbers from + * different distributions (bernoulli, uniform, gaussian, discrete, + * and exponential). Also includes a method for shuffling an array. + * + * + * % java StdRandom 5 + * seed = 1316600602069 + * 59 16.81826 true 8.83954 0 + * 32 91.32098 true 9.11026 0 + * 35 10.11874 true 8.95396 3 + * 92 32.88401 true 8.87089 0 + * 72 92.55791 true 9.46241 0 + * + * % java StdRandom 5 + * seed = 1316600616575 + * 96 60.17070 true 8.72821 0 + * 79 32.01607 true 8.58159 0 + * 81 59.49065 true 9.10423 1 + * 96 51.65818 true 9.02102 0 + * 99 17.55771 true 8.99762 0 + * + * % java StdRandom 5 1316600616575 + * seed = 1316600616575 + * 96 60.17070 true 8.72821 0 + * 79 32.01607 true 8.58159 0 + * 81 59.49065 true 9.10423 1 + * 96 51.65818 true 9.02102 0 + * 99 17.55771 true 8.99762 0 + * + * + * Remark + * ------ + * - Relies on randomness of nextDouble() method in java.util.Random + * to generate pseudorandom numbers in [0, 1). + * + * - This library allows you to set and get the pseudorandom number seed. + * + * - See http://www.honeylocust.com/RngPack/ for an industrial + * strength random number generator in Java. + * + *************************************************************************/ + +import java.util.Random; + +/** + * Standard random. This class provides methods for generating + * random number from various distributions. + *

+ * For additional documentation, see Section 2.2 of + * Introduction to Programming in Java: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdRandom { + + private static Random random; // pseudo-random number generator + private static long seed; // pseudo-random number generator seed + + // static initializer + static { + // this is how the seed was set in Java 1.4 + seed = System.currentTimeMillis(); + random = new Random(seed); + } + + // don't instantiate + private StdRandom() { } + + /** + * Set the seed of the psedurandom number generator. + */ + public static void setSeed(long s) { + seed = s; + random = new Random(seed); + } + + /** + * Get the seed of the psedurandom number generator. + */ + public static long getSeed() { + return seed; + } + + /** + * Return real number uniformly in [0, 1). + */ + public static double uniform() { + return random.nextDouble(); + } + + /** + * Return an integer uniformly between 0 (inclusive) and N (exclusive). + */ + public static int uniform(int N) { + return random.nextInt(N); + } + + /////////////////////////////////////////////////////////////////////////// + // STATIC METHODS BELOW RELY ON JAVA.UTIL.RANDOM ONLY INDIRECTLY VIA + // THE STATIC METHODS ABOVE. + /////////////////////////////////////////////////////////////////////////// + + /** + * Return real number uniformly in [0, 1). + */ + public static double random() { + return uniform(); + } + + /** + * Return int uniformly in [a, b). + */ + public static int uniform(int a, int b) { + return a + uniform(b - a); + } + + /** + * Return real number uniformly in [a, b). + */ + public static double uniform(double a, double b) { + return a + uniform() * (b-a); + } + + /** + * Return a boolean, which is true with probability p, and false otherwise. + */ + public static boolean bernoulli(double p) { + return uniform() < p; + } + + /** + * Return a boolean, which is true with probability .5, and false otherwise. + */ + public static boolean bernoulli() { + return bernoulli(0.5); + } + + /** + * Return a real number with a standard Gaussian distribution. + */ + public static double gaussian() { + // use the polar form of the Box-Muller transform + double r, x, y; + do { + x = uniform(-1.0, 1.0); + y = uniform(-1.0, 1.0); + r = x*x + y*y; + } while (r >= 1 || r == 0); + return x * Math.sqrt(-2 * Math.log(r) / r); + + // Remark: y * Math.sqrt(-2 * Math.log(r) / r) + // is an independent random gaussian + } + + /** + * Return a real number from a gaussian distribution with given mean and stddev + */ + public static double gaussian(double mean, double stddev) { + return mean + stddev * gaussian(); + } + + /** + * Return an integer with a geometric distribution with mean 1/p. + */ + public static int geometric(double p) { + // using algorithm given by Knuth + return (int) Math.ceil(Math.log(uniform()) / Math.log(1.0 - p)); + } + + /** + * Return an integer with a Poisson distribution with mean lambda. + */ + public static int poisson(double lambda) { + // using algorithm given by Knuth + // see http://en.wikipedia.org/wiki/Poisson_distribution + int k = 0; + double p = 1.0; + double L = Math.exp(-lambda); + do { + k++; + p *= uniform(); + } while (p >= L); + return k-1; + } + + /** + * Return a real number with a Pareto distribution with parameter alpha. + */ + public static double pareto(double alpha) { + return Math.pow(1 - uniform(), -1.0/alpha) - 1.0; + } + + /** + * Return a real number with a Cauchy distribution. + */ + public static double cauchy() { + return Math.tan(Math.PI * (uniform() - 0.5)); + } + + /** + * Return a number from a discrete distribution: i with probability a[i]. + * Precondition: array entries are nonnegative and their sum (very nearly) equals 1.0. + */ + public static int discrete(double[] a) { + double EPSILON = 1E-14; + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + if (a[i] < 0.0) throw new IllegalArgumentException("array entry " + i + " is negative: " + a[i]); + sum = sum + a[i]; + } + if (sum > 1.0 + EPSILON || sum < 1.0 - EPSILON) + throw new IllegalArgumentException("sum of array entries not equal to one: " + sum); + + // the for loop may not return a value when both r is (nearly) 1.0 and when the + // cumulative sum is less than 1.0 (as a result of floating-point roundoff error) + while (true) { + double r = uniform(); + sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum = sum + a[i]; + if (sum > r) return i; + } + } + } + + /** + * Return a real number from an exponential distribution with rate lambda. + */ + public static double exp(double lambda) { + return -Math.log(1 - uniform()) / lambda; + } + + /** + * Rearrange the elements of an array in random order. + */ + public static void shuffle(Object[] a) { + int N = a.length; + for (int i = 0; i < N; i++) { + int r = i + uniform(N-i); // between i and N-1 + Object temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Rearrange the elements of a double array in random order. + */ + public static void shuffle(double[] a) { + int N = a.length; + for (int i = 0; i < N; i++) { + int r = i + uniform(N-i); // between i and N-1 + double temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Rearrange the elements of an int array in random order. + */ + public static void shuffle(int[] a) { + int N = a.length; + for (int i = 0; i < N; i++) { + int r = i + uniform(N-i); // between i and N-1 + int temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + + /** + * Rearrange the elements of the subarray a[lo..hi] in random order. + */ + public static void shuffle(Object[] a, int lo, int hi) { + if (lo < 0 || lo > hi || hi >= a.length) { + throw new IndexOutOfBoundsException("Illegal subarray range"); + } + for (int i = lo; i <= hi; i++) { + int r = i + uniform(hi-i+1); // between i and hi + Object temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Rearrange the elements of the subarray a[lo..hi] in random order. + */ + public static void shuffle(double[] a, int lo, int hi) { + if (lo < 0 || lo > hi || hi >= a.length) { + throw new IndexOutOfBoundsException("Illegal subarray range"); + } + for (int i = lo; i <= hi; i++) { + int r = i + uniform(hi-i+1); // between i and hi + double temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Rearrange the elements of the subarray a[lo..hi] in random order. + */ + public static void shuffle(int[] a, int lo, int hi) { + if (lo < 0 || lo > hi || hi >= a.length) { + throw new IndexOutOfBoundsException("Illegal subarray range"); + } + for (int i = lo; i <= hi; i++) { + int r = i + uniform(hi-i+1); // between i and hi + int temp = a[i]; + a[i] = a[r]; + a[r] = temp; + } + } + + /** + * Unit test. + */ + public static void main(String[] args) { + int N = Integer.parseInt(args[0]); + if (args.length == 2) StdRandom.setSeed(Long.parseLong(args[1])); + double[] t = { .5, .3, .1, .1 }; + + StdOut.println("seed = " + StdRandom.getSeed()); + for (int i = 0; i < N; i++) { + StdOut.printf("%2d " , uniform(100)); + StdOut.printf("%8.5f ", uniform(10.0, 99.0)); + StdOut.printf("%5b " , bernoulli(.5)); + StdOut.printf("%7.5f ", gaussian(9.0, .2)); + StdOut.printf("%2d " , discrete(t)); + StdOut.println(); + } + + String[] a = "A B C D E F G".split(" "); + for (String s : a) + StdOut.print(s + " "); + StdOut.println(); + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdStats.class b/Java-Visualizer/cp/visualizer-stdlib/StdStats.class new file mode 100644 index 00000000..b9ee028e Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/StdStats.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/StdStats.java b/Java-Visualizer/cp/visualizer-stdlib/StdStats.java new file mode 100644 index 00000000..2a9aeb0c --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/StdStats.java @@ -0,0 +1,336 @@ + +/************************************************************************* + * Compilation: javac StdStats.java + * Execution: java StdStats < input.txt + * + * Library of statistical functions. + * + * The test client reads an array of real numbers from standard + * input, and computes the minimum, mean, maximum, and + * standard deviation. + * + * The functions all throw a NullPointerException if the array + * passed in is null. + + * % more tiny.txt + * 5 + * 3.0 1.0 2.0 5.0 4.0 + * + * % java StdStats < tiny.txt + * min 1.000 + * mean 3.000 + * max 5.000 + * std dev 1.581 + * + *************************************************************************/ + +/** + * Standard statistics. This class provides methods for computing + * statistics such as min, max, mean, sample standard deviation, and + * sample variance. + *

+ * For additional documentation, see + * Section 2.2 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + * + * @author Robert Sedgewick + * @author Kevin Wayne + */ +public final class StdStats { + + private StdStats() { } + + /** + * Return maximum value in array, -infinity if no such value. + */ + public static double max(double[] a) { + double max = Double.NEGATIVE_INFINITY; + for (int i = 0; i < a.length; i++) { + if (a[i] > max) max = a[i]; + } + return max; + } + + /** + * Return maximum value in subarray a[lo..hi], -infinity if no such value. + */ + public static double max(double[] a, int lo, int hi) { + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + double max = Double.NEGATIVE_INFINITY; + for (int i = lo; i <= hi; i++) { + if (a[i] > max) max = a[i]; + } + return max; + } + + /** + * Return maximum value of array, Integer.MIN_VALUE if no such value + */ + public static int max(int[] a) { + int max = Integer.MIN_VALUE; + for (int i = 0; i < a.length; i++) { + if (a[i] > max) max = a[i]; + } + return max; + } + + /** + * Return minimum value in array, +infinity if no such value. + */ + public static double min(double[] a) { + double min = Double.POSITIVE_INFINITY; + for (int i = 0; i < a.length; i++) { + if (a[i] < min) min = a[i]; + } + return min; + } + + /** + * Return minimum value in subarray a[lo..hi], +infinity if no such value. + */ + public static double min(double[] a, int lo, int hi) { + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + double min = Double.POSITIVE_INFINITY; + for (int i = lo; i <= hi; i++) { + if (a[i] < min) min = a[i]; + } + return min; + } + + /** + * Return minimum value of array, Integer.MAX_VALUE if no such value + */ + public static int min(int[] a) { + int min = Integer.MAX_VALUE; + for (int i = 0; i < a.length; i++) { + if (a[i] < min) min = a[i]; + } + return min; + } + + /** + * Return average value in array, NaN if no such value. + */ + public static double mean(double[] a) { + if (a.length == 0) return Double.NaN; + double sum = sum(a); + return sum / a.length; + } + + /** + * Return average value in subarray a[lo..hi], NaN if no such value. + */ + public static double mean(double[] a, int lo, int hi) { + int length = hi - lo + 1; + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + if (length == 0) return Double.NaN; + double sum = sum(a, lo, hi); + return sum / length; + } + + /** + * Return average value in array, NaN if no such value. + */ + public static double mean(int[] a) { + if (a.length == 0) return Double.NaN; + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum = sum + a[i]; + } + return sum / a.length; + } + + /** + * Return sample variance of array, NaN if no such value. + */ + public static double var(double[] a) { + if (a.length == 0) return Double.NaN; + double avg = mean(a); + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / (a.length - 1); + } + + /** + * Return sample variance of subarray a[lo..hi], NaN if no such value. + */ + public static double var(double[] a, int lo, int hi) { + int length = hi - lo + 1; + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + if (length == 0) return Double.NaN; + double avg = mean(a, lo, hi); + double sum = 0.0; + for (int i = lo; i <= hi; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / (length - 1); + } + + /** + * Return sample variance of array, NaN if no such value. + */ + public static double var(int[] a) { + if (a.length == 0) return Double.NaN; + double avg = mean(a); + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / (a.length - 1); + } + + /** + * Return population variance of array, NaN if no such value. + */ + public static double varp(double[] a) { + if (a.length == 0) return Double.NaN; + double avg = mean(a); + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / a.length; + } + + /** + * Return population variance of subarray a[lo..hi], NaN if no such value. + */ + public static double varp(double[] a, int lo, int hi) { + int length = hi - lo + 1; + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + if (length == 0) return Double.NaN; + double avg = mean(a, lo, hi); + double sum = 0.0; + for (int i = lo; i <= hi; i++) { + sum += (a[i] - avg) * (a[i] - avg); + } + return sum / length; + } + + + /** + * Return sample standard deviation of array, NaN if no such value. + */ + public static double stddev(double[] a) { + return Math.sqrt(var(a)); + } + + /** + * Return sample standard deviation of subarray a[lo..hi], NaN if no such value. + */ + public static double stddev(double[] a, int lo, int hi) { + return Math.sqrt(var(a, lo, hi)); + } + + /** + * Return sample standard deviation of array, NaN if no such value. + */ + public static double stddev(int[] a) { + return Math.sqrt(var(a)); + } + + /** + * Return population standard deviation of array, NaN if no such value. + */ + public static double stddevp(double[] a) { + return Math.sqrt(varp(a)); + } + + /** + * Return population standard deviation of subarray a[lo..hi], NaN if no such value. + */ + public static double stddevp(double[] a, int lo, int hi) { + return Math.sqrt(varp(a, lo, hi)); + } + + /** + * Return sum of all values in array. + */ + public static double sum(double[] a) { + double sum = 0.0; + for (int i = 0; i < a.length; i++) { + sum += a[i]; + } + return sum; + } + + /** + * Return sum of all values in subarray a[lo..hi]. + */ + public static double sum(double[] a, int lo, int hi) { + if (lo < 0 || hi >= a.length || lo > hi) + throw new RuntimeException("Subarray indices out of bounds"); + double sum = 0.0; + for (int i = lo; i <= hi; i++) { + sum += a[i]; + } + return sum; + } + + /** + * Return sum of all values in array. + */ + public static int sum(int[] a) { + int sum = 0; + for (int i = 0; i < a.length; i++) { + sum += a[i]; + } + return sum; + } + + /** + * Plot points (i, a[i]) to standard draw. + */ + public static void plotPoints(double[] a) { + int N = a.length; + StdDraw.setXscale(0, N-1); + StdDraw.setPenRadius(1.0 / (3.0 * N)); + for (int i = 0; i < N; i++) { + StdDraw.point(i, a[i]); + } + } + + /** + * Plot line segments connecting points (i, a[i]) to standard draw. + */ + public static void plotLines(double[] a) { + int N = a.length; + StdDraw.setXscale(0, N-1); + StdDraw.setPenRadius(); + for (int i = 1; i < N; i++) { + StdDraw.line(i-1, a[i-1], i, a[i]); + } + } + + /** + * Plot bars from (0, a[i]) to (i, a[i]) to standard draw. + */ + public static void plotBars(double[] a) { + int N = a.length; + StdDraw.setXscale(0, N-1); + for (int i = 0; i < N; i++) { + StdDraw.filledRectangle(i, a[i]/2, .25, a[i]/2); + } + } + + + /** + * Test client. + * Convert command-line arguments to array of doubles and call various methods. + */ + public static void main(String[] args) { + double[] a = StdArrayIO.readDouble1D(); + StdOut.printf(" min %7.3f\n", min(a)); + StdOut.printf(" mean %7.3f\n", mean(a)); + StdOut.printf(" max %7.3f\n", max(a)); + StdOut.printf(" std dev %7.3f\n", stddev(a)); + } +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/Stopwatch.class b/Java-Visualizer/cp/visualizer-stdlib/Stopwatch.class new file mode 100644 index 00000000..848e2174 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/Stopwatch.class differ diff --git a/Java-Visualizer/cp/visualizer-stdlib/Stopwatch.java b/Java-Visualizer/cp/visualizer-stdlib/Stopwatch.java new file mode 100644 index 00000000..f36ba94f --- /dev/null +++ b/Java-Visualizer/cp/visualizer-stdlib/Stopwatch.java @@ -0,0 +1,44 @@ +/************************************************************************* + * Compilation: javac Stopwatch.java + * + * + *************************************************************************/ + +/** + * Stopwatch. This class is a data type for measuring + * the running time (wall clock) of a program. + *

+ * For additional documentation, see + * Section 3.2 of + * Introduction to Programming in Java: An Interdisciplinary Approach + * by Robert Sedgewick and Kevin Wayne. + */ + + + +public class Stopwatch { + + private final long start; + + private String startString; + + /** + * Create a stopwatch object. + */ + public Stopwatch() { + start = System.currentTimeMillis(); + + java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("HH:mm:ss.SSS"); + startString = sdf.format(start); + } + + + /** + * Return elapsed time (in seconds) since this object was created. + */ + public double elapsedTime() { + long now = System.currentTimeMillis(); + return (now - start) / 1000.0; + } + +} diff --git a/Java-Visualizer/cp/visualizer-stdlib/mandrill.jpg b/Java-Visualizer/cp/visualizer-stdlib/mandrill.jpg new file mode 100644 index 00000000..ec58db89 Binary files /dev/null and b/Java-Visualizer/cp/visualizer-stdlib/mandrill.jpg differ diff --git a/Java-Visualizer/java/COPYRIGHT b/Java-Visualizer/java/COPYRIGHT new file mode 100644 index 00000000..9fe10bfc --- /dev/null +++ b/Java-Visualizer/java/COPYRIGHT @@ -0,0 +1,70 @@ +Copyright © 1993, 2015, Oracle and/or its affiliates. +All rights reserved. + +This software and related documentation are provided under a +license agreement containing restrictions on use and +disclosure and are protected by intellectual property laws. +Except as expressly permitted in your license agreement or +allowed by law, you may not use, copy, reproduce, translate, +broadcast, modify, license, transmit, distribute, exhibit, +perform, publish, or display any part, in any form, or by +any means. Reverse engineering, disassembly, or +decompilation of this software, unless required by law for +interoperability, is prohibited. + +The information contained herein is subject to change +without notice and is not warranted to be error-free. If +you find any errors, please report them to us in writing. + +If this is software or related software documentation that +is delivered to the U.S. Government or anyone licensing it +on behalf of the U.S. Government, the following notice is +applicable: + +U.S. GOVERNMENT RIGHTS Programs, software, databases, and +related documentation and technical data delivered to U.S. +Government customers are "commercial computer software" or +"commercial technical data" pursuant to the applicable +Federal Acquisition Regulation and agency-specific +supplemental regulations. As such, the use, duplication, +disclosure, modification, and adaptation shall be subject to +the restrictions and license terms set forth in the +applicable Government contract, and, to the extent +applicable by the terms of the Government contract, the +additional rights set forth in FAR 52.227-19, Commercial +Computer Software License (December 2007). Oracle America, +Inc., 500 Oracle Parkway, Redwood City, CA 94065. + +This software or hardware is developed for general use in a +variety of information management applications. It is not +developed or intended for use in any inherently dangerous +applications, including applications which may create a risk +of personal injury. If you use this software or hardware in +dangerous applications, then you shall be responsible to +take all appropriate fail-safe, backup, redundancy, and +other measures to ensure its safe use. Oracle Corporation +and its affiliates disclaim any liability for any damages +caused by use of this software or hardware in dangerous +applications. + +Oracle and Java are registered trademarks of Oracle and/or +its affiliates. Other names may be trademarks of their +respective owners. + +AMD, Opteron, the AMD logo, and the AMD Opteron logo are +trademarks or registered trademarks of Advanced Micro +Devices. Intel and Intel Xeon are trademarks or registered +trademarks of Intel Corporation. All SPARC trademarks are +used under license and are trademarks or registered +trademarks of SPARC International, Inc. UNIX is a +registered trademark licensed through X/Open Company, Ltd. + +This software or hardware and documentation may provide +access to or information on content, products, and services +from third parties. Oracle Corporation and its affiliates +are not responsible for and expressly disclaim all +warranties of any kind with respect to third-party content, +products, and services. Oracle Corporation and its +affiliates will not be responsible for any loss, costs, or +damages incurred due to your access to or use of third-party +content, products, or services. diff --git a/Java-Visualizer/java/LICENSE b/Java-Visualizer/java/LICENSE new file mode 100644 index 00000000..39e216aa --- /dev/null +++ b/Java-Visualizer/java/LICENSE @@ -0,0 +1 @@ +Please refer to http://java.com/license diff --git a/Java-Visualizer/java/README.html b/Java-Visualizer/java/README.html new file mode 100644 index 00000000..d4f3c8ca --- /dev/null +++ b/Java-Visualizer/java/README.html @@ -0,0 +1,9 @@ + + +README + + + +Please refer to http://java.com/licensereadme + + diff --git a/Java-Visualizer/java/README.md b/Java-Visualizer/java/README.md new file mode 100644 index 00000000..92fcd9ec --- /dev/null +++ b/Java-Visualizer/java/README.md @@ -0,0 +1,11 @@ +In order for the traceprinter package to work, it needs a few java tools. + +This was copied directly from David Pritchard's repository found at: +https://github.com/daveagp/java_jail + +java_jail: chroot java jail, and JSON java trace printer +David Pritchard (daveagp@gmail.com), created May 2013 + +(1) Get java. As of the time of writing, a suitable link for wget is: + +wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz diff --git a/Java-Visualizer/java/THIRDPARTYLICENSEREADME-JAVAFX.txt b/Java-Visualizer/java/THIRDPARTYLICENSEREADME-JAVAFX.txt new file mode 100644 index 00000000..ff9bbd0f --- /dev/null +++ b/Java-Visualizer/java/THIRDPARTYLICENSEREADME-JAVAFX.txt @@ -0,0 +1,1531 @@ +DO NOT TRANSLATE OR LOCALIZE + +*************************************************************************** + +%%The following software may be included in this product: +Microsoft DirectShow - Base Classes + +Use of any of this software is governed by the terms of the license below: + +MSDN - Information on Terms of Use + +Updated: February 13, 2008 + +ON THIS PAGE + + * ACCEPTANCE OF TERMS + * PRIVACY AND PROTECTION OF PERSONAL INFORMATION + * NOTICE SPECIFIC TO APIs AVAILABLE ON THIS WEB SITE + * NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE + * NOTICE SPECIFIC TO DOCUMENTATION AVAILABLE ON THIS WEB SITE + * NOTICES REGARDING SOFTWARE, DOCUMENTATION, APIS AND SERVICES AVAILABLE ON +THIS WEB SITE + * RESERVATION OF RIGHTS + * MEMBER ACCOUNT, PASSWORD, AND SECURITY + * NO UNLAWFUL OR PROHIBITED USE + * USE OF SERVICES + * MATERIALS PROVIDED TO MICROSOFT OR POSTED AT ANY MICROSOFT WEB SITE + * NOTICES AND PROCEDURE FOR MAKING CLAIMS OF COPYRIGHT INFRINGEMENT + * LINKS TO THIRD PARTY SITES + * UNSOLICITED IDEA SUBMISSION POLICY + * COPYRIGHT NOTICE & FAQ + * TRADEMARKS + +ACCEPTANCE OF TERMS. + +Microsoft provides you with access to a variety of resources on this website +(“Web Siteâ€), including documentation and other product information +(collectively the “Documentationâ€), download areas, communication forums, and +other services (collectively "Services"), software, including developer tools +and sample code (collectively “Softwareâ€), and Application Program Interface +information (“APIsâ€). The Documentation, Services, Software, and APIs +(including any updates, enhancements, new features, and/or the addition of any +new Web properties to the Web Site), are subject to the following Terms of Use +("TOU"), unless we have provided those items to you under more specific terms, +in which case, those more specific terms will apply to the relevant item. +Microsoft reserves the right to update the TOU at any time without notice to +you. The most current version of the TOU can be reviewed by clicking on the +"Terms of Use" hypertext link located at the bottom of our Web pages. + +Top of page +PRIVACY AND PROTECTION OF PERSONAL INFORMATION. + +See the Privacy Statement disclosures relating to the collection and use of your +information. + +Top of page +NOTICE SPECIFIC TO APIS AVAILABLE ON THIS WEB SITE. + +Microsoft publishes information on a number of APIs on this Web Site. Microsoft +will not assert any of its patent rights on account of your products calling +these APIs in order to receive services from the Microsoft product that exposes +the APIs. + +Top of page +NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE. + +All Software is the copyrighted work of Microsoft and/or its suppliers. Use of +the Software is governed by the terms of the end user license agreement, if any, +which accompanies or is included with the Software ("License Agreement"). + +If Microsoft makes Software available on this Web Site without a License +Agreement, you may use such Software to design, develop and test your programs +to run on Microsoft products and services. + +If Microsoft makes any code marked as “sample†available on this Web Site +without a License Agreement, then that code is licensed to you under the terms +of the Microsoft Limited Public License. + +The Software is made available for download solely for use by end users +according to the License Agreement or these TOU. Any reproduction or +redistribution of the Software not in accordance with the License Agreement or +these TOU is expressly prohibited. + +WITHOUT LIMITING THE FOREGOING, COPYING OR REPRODUCTION OF THE SOFTWARE TO ANY +OTHER SERVER OR LOCATION FOR FURTHER REPRODUCTION OR REDISTRIBUTION IS EXPRESSLY +PROHIBITED, UNLESS SUCH REPRODUCTION OR REDISTRIBUTION IS EXPRESSLY PERMITTED BY +THE LICENSE AGREEMENT ACCOMPANYING SUCH SOFTWARE. + +FOR YOUR CONVENIENCE, MICROSOFT MAY MAKE AVAILABLE ON THIS WEB SITE, TOOLS AND +UTILITIES FOR USE AND/OR DOWNLOAD. MICROSOFT DOES NOT MAKE ANY ASSURANCES WITH +REGARD TO THE ACCURACY OF THE RESULTS OR OUTPUT THAT DERIVES FROM SUCH USE OF +ANY SUCH TOOLS AND UTILITIES. PLEASE RESPECT THE INTELLECTUAL PROPERTY RIGHTS OF +OTHERS WHEN USING THE TOOLS AND UTILITIES MADE AVAILABLE ON THIS WEB SITE. + +RESTRICTED RIGHTS LEGEND. Any Software which is downloaded from the Web Site for +or on behalf of the United States of America, its agencies and/or +instrumentalities ("U.S. Government"), is provided with Restricted Rights... Use, +duplication, or disclosure by the U.S. Government is subject to restrictions as +set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and +Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) +of the Commercial Computer Software - Restricted Rights at 48 CFR 52.227-19, as +applicable. Manufacturer is Microsoft Corporation, One Microsoft Way, Redmond, +WA 98052-6399. + +Top of page +NOTICE SPECIFIC TO DOCUMENTATION AVAILABLE ON THIS WEB SITE. + +All Documentation is the copyrighted work of Microsoft and/or its suppliers. Use +of the Documentation is governed by the terms of the license agreement, if any, +which accompanies or is included with the Documentation ("Documentation License +Agreement"). + +If Documentation is made available to you on this Web Site without a +Documentation License Agreement, then You may annotate, translate, and make a +reasonable number of copies of the Documentation for your internal use in +designing, developing, and testing your software, products and services, and you +may distribute a reasonable amount of portions of the Documentation as necessary +to document your software, products, and services. You may not publish any such +annotations or translations. You must preserve the below copyright notice in +all copies of the Documentation and ensure that both the copyright notice and +this permission notice appear in those copies. Accredited educational +institutions, such as K-12, universities, private/public colleges, and state +community colleges, may download and reproduce the Documentation for +distribution in the classroom. Distribution outside the classroom requires +express written permission. Use for any other purpose is expressly prohibited + +The Documentation does not include the design or layout of the Microsoft.com Web +site or any other Microsoft owned, operated, licensed or controlled site. +Elements of Microsoft Web sites are protected by trade dress, trademark, unfair +competition, and other laws and may not be copied or imitated in whole or in +part. No logo, graphic, sound or image from any Microsoft Web site may be copied +or retransmitted unless expressly permitted by Microsoft. + +THE DOCUMENTATION AND RELATED GRAPHICS PUBLISHED ON THE WEB SITE COULD INCLUDE +TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED +TO THE INFORMATION IN THIS WEB SITE. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS +MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) +DESCRIBED IN THIS WEB SITE AT ANY TIME. + +Top of page +NOTICES REGARDING SOFTWARE, DOCUMENTATION, APIS AND SERVICES AVAILABLE ON THIS +WEB SITE. + +THE SOFTWARE, DOCUMENTATION, APIS, AND SERVICES ARE WARRANTED, IF AT ALL, ONLY +ACCORDING TO THE TERMS OF ASEPARATE AGREEMENT THAT COVERS THE APPLICABLE +SOFTWARE, DOCUMENTATION, APIS, OR SERVICES. EXCEPT AS WARRANTED IN THAT SEPARATE +AGREEMENT (IF ANY), MICROSOFT CORPORATION HEREBY DISCLAIMS ALL WARRANTIES AND +CONDITIONS WITH REGARD TO THE SOFTWARE, DOCUMENTATION, APIS, AND SERVICES, +INCLUDING ALL WARRANTIES AND CONDITIONS OF MERCHANTABILITY, WHETHER EXPRESS, +IMPLIED OR STATUTORY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. + +IN NO EVENT SHALL MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS BE LIABLE FOR ANY +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING +FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF SOFTWARE, DOCUMENTATION, APIS, PROVISION OF OR FAILURE TO PROVIDE +SERVICES, OR INFORMATION AVAILABLE FROM ANY OF THE FOREGOING SOFTWARE, +DOCUMENTATION, APIS OR SERVICES. + +Top of page +RESERVATION OF RIGHTS. + +Microsoft reserves all rights not expressly granted under these TOU, and no +other rights are granted under these TOU by implication or estoppel or otherwise. + +Top of page +MEMBER ACCOUNT, PASSWORD, AND SECURITY. + +If any of the Services requires you to open an account, you must complete the +registration process by providing us with current, complete and accurate +information as prompted by the applicable registration form. You also will +choose a password and a user name. You are entirely responsible for maintaining +the confidentiality of your password and account. Furthermore, you are entirely +responsible for any and all activities that occur under your account. You agree +to notify Microsoft immediately of any unauthorized use of your account or any +other breach of security. Microsoft will not be liable for any loss that you may +incur as a result of someone else using your password or account, either with or +without your knowledge. However, you could be held liable for losses incurred by +Microsoft or another party due to someone else using your account or password. +You may not use anyone else's account at any time, without the permission of the +account holder. + +Top of page +NO UNLAWFUL OR PROHIBITED USE. + +As a condition of your use of the Services, you will not use the Services for +any purpose that is unlawful or prohibited by these terms, conditions, and +notices. You may not use the Services in any manner that could damage, disable, +overburden, or impair any Microsoft server, or the network(s) connected to any +Microsoft server, or interfere with any other party's use and enjoyment of any +Services. You may not attempt to gain unauthorized access to any Services, other +accounts, computer systems or networks connected to any Microsoft server or to +any of the Services, through hacking, password mining or any other means. You +may not obtain or attempt to obtain any materials or information through any +means not intentionally made available through the Services. + +Top of page +USE OF SERVICES. + +The Services may contain e-mail services, bulletin board services, chat areas, +news groups, forums, communities, personal web pages, calendars, photo albums, +file cabinets and/or other message or communication facilities designed to +enable you to communicate with others (each a "Communication Service" and +collectively "Communication Services"). You agree to use the Communication +Services only to post, send and receive messages and material that are proper +and, when applicable, related to the particular Communication Service. By way of +example, and not as a limitation, you agree that when using the Communication +Services, you will not: + + * Use the Communication Services in connection with surveys, contests, +pyramid schemes, chain letters, junk email, spamming or any duplicative or +unsolicited messages (commercial or otherwise). + * Defame, abuse, harass, stalk, threaten or otherwise violate the legal +rights (such as rights of privacy and publicity) of others. + * Publish, post, upload, distribute or disseminate any inappropriate, +profane, defamatory, obscene, indecent or unlawful topic, name, material or +information. + * Upload, or otherwise make available, files that contain images, +photographs, software or other material protected by intellectual property laws, +including, by way of example, and not as limitation, copyright or trademark laws +(or by rights of privacy or publicity) unless you own or control the rights +thereto or have received all necessary consent to do the same. + * Use any material or information, including images or photographs, which +are made available through the Services in any manner that infringes any +copyright, trademark, patent, trade secret, or other proprietary right of any party. + * Upload files that contain viruses, Trojan horses, worms, time bombs, +cancelbots, corrupted files, or any other similar software or programs that may +damage the operation of another's computer or property of another. + * Advertise or offer to sell or buy any goods or services for any business +purpose, unless such Communication Services specifically allows such messages. + * Download any file posted by another user of a Communication Service that +you know, or reasonably should know, cannot be legally reproduced, displayed, +performed, and/or distributed in such manner. + * Falsify or delete any copyright management information, such as author +attributions, legal or other proper notices or proprietary designations or +labels of the origin or source of software or other material contained in a file +that is uploaded. + * Restrict or inhibit any other user from using and enjoying the +Communication Services. + * Violate any code of conduct or other guidelines which may be applicable +for any particular Communication Service. + * Harvest or otherwise collect information about others, including e-mail +addresses. + * Violate any applicable laws or regulations. + * Create a false identity for the purpose of misleading others. + * Use, download or otherwise copy, or provide (whether or not for a fee) to +a person or entity any directory of users of the Services or other user or usage +information or any portion thereof. + +Microsoft has no obligation to monitor the Communication Services. However, +Microsoft reserves the right to review materials posted to the Communication +Services and to remove any materials in its sole discretion. Microsoft reserves +the right to terminate your access to any or all of the Communication Services +at any time, without notice, for any reason whatsoever. + +Microsoft reserves the right at all times to disclose any information as +Microsoft deems necessary to satisfy any applicable law, regulation, legal +process or governmental request, or to edit, refuse to post or to remove any +information or materials, in whole or in part, in Microsoft's sole discretion. + +Always use caution when giving out any personally identifiable information about +yourself or your children in any Communication Services. Microsoft does not +control or endorse the content, messages or information found in any +Communication Services and, therefore, Microsoft specifically disclaims any +liability with regard to the Communication Services and any actions resulting +from your participation in any Communication Services. Managers and hosts are +not authorized Microsoft spokespersons, and their views do not necessarily +reflect those of Microsoft. + +Materials uploaded to the Communication Services may be subject to posted +limitations on usage, reproduction and/or dissemination; you are responsible for +adhering to such limitations if you download the materials. + +Top of page +MATERIALS PROVIDED TO MICROSOFT OR POSTED AT ANY MICROSOFT WEB SITE. + +Microsoft does not claim ownership of the materials you provide to Microsoft +(including feedback and suggestions) or post, upload, input or submit to any +Services or its associated services for review by the general public, or by the +members of any public or private community, (each a "Submission" and +collectively "Submissions"). However, by posting, uploading, inputting, +providing or submitting ("Posting") your Submission you are granting Microsoft, +its affiliated companies, necessary sublicensees (including third parties whose +products , technologies and services use or interface with any specific parts of +a Microsoft software or service that includes the Submission) , without charge, +the right to use, share and commercialize your Submission in any way and for +any purpose. You will not give any Submission that is subject to a license that +requires Microsoft to license its software or documentation to third parties +because we include your Submission in them. + +Microsoft is under no obligation to post or use any Submission you may provide, +and Microsoft may remove any Submission at any time in its sole discretion. + +By Posting a Submission you warrant and represent that you own or otherwise +control all of the rights to your Submission as described in these TOU +including, without limitation, all the rights necessary for you to Post the +Submissions. + +In addition to the warranty and representation set forth above, by Posting a +Submission that contains images, photographs, pictures or that are otherwise +graphical in whole or in part ("Images"), you warrant and represent that (a) you +are the copyright owner of such Images, or that the copyright owner of such +Images has granted you permission to use such Images or any content and/or +images contained in such Images consistent with the manner and purpose of your +use and as otherwise permitted by these TOU, (b) you have the rights necessary +to grant the licenses and sublicenses described in these TOU, and (c) that each +person depicted in such Images, if any, has provided consent to the use of the +Images as set forth in these TOU, including, by way of example, and not as a +limitation, the distribution, public display and reproduction of such Images. By +Posting Images, you are granting (a) to all members of your private community +(for each such Images available to members of such private community), and/or +(b) to the general public (for each such Images available anywhere on the +Services or Web Site, other than a private community), permission to use your +Images in connection with the use, as permitted by these TOU, of any of the +Services or Web Site, (including, by way of example, and not as a limitation, +making prints and gift items which include such Images), and including, without +limitation, a non-exclusive, world-wide, royalty-free license to: copy, +distribute, transmit, publicly display, publicly perform, reproduce, edit, +translate and reformat your Images without having your name attached to such +Images, and the right to sublicense such rights to any supplier of the Services. +The licenses granted in the preceding sentences for a Images will terminate at +the time you completely remove such Images from the Services or Web Site, +provided that such termination shall not affect any licenses granted in +connection with such Images prior to the time you completely remove such Images. +No compensation will be paid with respect to the use of your Images. + +Top of page +NOTICES AND PROCEDURE FOR MAKING CLAIMS OF COPYRIGHT INFRINGEMENT. + +Pursuant to Title 17, United States Code, Section 512(c)(2), notifications of +claimed copyright infringement should be sent to Service Provider's Designated +Agent. ALL INQUIRIES NOT RELEVANT TO THE FOLLOWING PROCEDURE WILL NOT RECEIVE A +RESPONSE. + +See Notice and Procedure for Making Claims of Copyright Infringement. + +Top of page +LINKS TO THIRD PARTY SITES. + +THE LINKS IN THIS AREA WILL LET YOU LEAVE MICROSOFT'S SITE. THE LINKED SITES ARE +NOT UNDER THE CONTROL OF MICROSOFT AND MICROSOFT IS NOT RESPONSIBLE FOR THE +CONTENTS OF ANY LINKED SITE OR ANY LINK CONTAINED IN A LINKED SITE, OR ANY +CHANGES OR UPDATES TO SUCH SITES. MICROSOFT IS NOT RESPONSIBLE FOR WEBCASTING OR +ANY OTHER FORM OF TRANSMISSION RECEIVED FROM ANY LINKED SITE. MICROSOFT IS +PROVIDING THESE LINKS TO YOU ONLY AS A CONVENIENCE, AND THE INCLUSION OF ANY +LINK DOES NOT IMPLY ENDORSEMENT BY MICROSOFT OF THE SITE. + +Top of page +UNSOLICITED IDEA SUBMISSION POLICY. + +MICROSOFT OR ANY OF ITS EMPLOYEES DO NOT ACCEPT OR CONSIDER UNSOLICITED IDEAS, +INCLUDING IDEAS FOR NEW ADVERTISING CAMPAIGNS, NEW PROMOTIONS, NEW PRODUCTS OR +TECHNOLOGIES, PROCESSES, MATERIALS, MARKETING PLANS OR NEW PRODUCT NAMES. PLEASE +DO NOT SEND ANY ORIGINAL CREATIVE ARTWORK, SAMPLES, DEMOS, OR OTHER WORKS... THE +SOLE PURPOSE OF THIS POLICY IS TO AVOID POTENTIAL MISUNDERSTANDINGS OR DISPUTES +WHEN MICROSOFT'S PRODUCTS OR MARKETING STRATEGIES MIGHT SEEM SIMILAR TO IDEAS +SUBMITTED TO MICROSOFT. SO, PLEASE DO NOT SEND YOUR UNSOLICITED IDEAS TO +MICROSOFT OR ANYONE AT MICROSOFT. IF, DESPITE OUR REQUEST THAT YOU NOT SEND US +YOUR IDEAS AND MATERIALS, YOU STILL SEND THEM, PLEASE UNDERSTAND THAT MICROSOFT +MAKES NO ASSURANCES THAT YOUR IDEAS AND MATERIALS WILL BE TREATED AS +CONFIDENTIAL OR PROPRIETARY. + +Top of page +COPYRIGHT NOTICE & FAQ. + +© 2008 Microsoft Corporation. All rights reserved. + +The following is provided for informational purposes only and should not be +construed as legal advice. If you need legal advice, contact a lawyer. + +What is copyright? + +Copyright law protects original works, such as websites, books, music, +paintings, photos and video. A work is “original†if it contains some elements +you created and did not borrow from others. Typically, when you create an +original work, you own the copyright. As the copyright owner, you can control +how others use your work. For example, if you write a movie script, you have the +right to, and can prevent others from, copying your script, sharing it with +others (“distributing itâ€), making a movie or book from your script (a +“derivative workâ€), or publicly performing your script as a play or movie. You +also have the ability to sell or give away these rights. In other words, you +could sell the right to make a movie based on your script to a movie studio. + +If you use someone else’s copyrighted materials without permission, that use +generally violates the copyright owner's exclusive rights, and is copyright +infringement. So if you create a new work and include parts of other people’s +works in it (such as an existing photo, lengthy quotes from a book or a loop +from a song), you must own or have permission to use the elements you borrow. +For example, if your script is based on an existing popular series, you should +obtain permission to use the elements you borrow from the series. + +Copyright law is different from the law of personal property. If you buy a +physical object, such as a movie on DVD, you own the physical object. You do +not, however, obtain ownership of the “copyrights†(the rights to make copies, +distribute, make derivatives and publicly perform or display) in the content of +the movie. The fact that you have obtained physical possession of a DVD does not +automatically grant you the right to copy or share it. + +If you make your own movie, it may include many copyrighted works in it. So, if +you decide to make a movie based on your script, you must either create all +elements of it on your own, or have permission to use the elements you borrow. +Especially keep in mind that photos or artwork hanging on the walls of your sets +and music on the soundtrack (even if you own the CD or MP3) may be copyrighted. +You should not include copyrighted works such as these in your movie without +authorization. + +A few other things to keep in mind are: + + 1. Just because a work does not include a copyright notice (e.g., © 2006 +Microsoft Corporation) does not mean the work is in the public domain. Copyright +notices are generally not required for works to be protected by copyright. + 2. Just because a work is easily available on the internet or elsewhere does +not mean you may use the work freely. Look for terms of use, such as Creative +Commons, that explain how works you find on the Internet may be used. + +Isn't it in the public domain? + +Just because a work is freely available, does not mean it is in the “public +domain.†Copyright is for a limited term; it does not last forever. In the +copyright context, “public domain†means the copyright term has expired. Once a +work is in the public domain, it may be freely used without permission from the +copyright owner. + +Determining the term of copyright can be complex, particularly because copyright +laws vary from country to country. Also, even if the copyright on a work has +expired, you should be careful about how you use a public domain work. For +example, a book may be in the public domain, but it might not be ok to scan the +book cover to cover and post it on the internet. This is because the particular +version of the book may contain new copyrightable material that is not in the +public domain, such as cover art or footnotes. + +What about fair use? + +In limited situations, you can use copyrighted works without permission from the +copyright holder. It can be difficult to figure out whether use of copyrighted +works without permission is legal, though, because the laws in this area are +often vague and vary from country to country. + +The copyright law in the United States has a doctrine called “fair useâ€. Fair +use provides a defense to copyright infringement in some circumstances. For +example, fair use allows documentary filmmakers to use very short clips of +copyrighted movies, music and news footage without permission from the copyright +owner. Fair use is a difficult concept because determining whether something is +a fair use involves weighing four factors. Unfortunately, weighing the fair use +factors rarely results in a clear-cut answer. + +Rather than applying a fair use test, many other countries have specific +exceptions to copyright infringement. The number and type of exceptions vary by +country, but they frequently allow copyrighted materials to be used without +permission from the copyright holder for activities such as nonprofit research, +teaching, news reporting, or private study. + +If you incorrectly decide that something is a fair use or falls into an +exception to copyright infringement, you could be held criminally and civilly +liable and have to pay damages. We suggest you talk to a lawyer if you have +questions regarding fair uses of copyrighted works. + +What happens if you upload copyrighted materials to one of our websites without +permission? + +By law, we are required to take down videos, music, photographs or other content +you upload onto a website hosted by Microsoft if we learn that it infringes +someone else’s copyright. If you believe that we have mistakenly taken down +content you uploaded that you own or have permission to upload, you can also let +us know that. Finally, if you upload infringing content repeatedly, we will +terminate your account and you could face criminal and civil penalties. So +please, respect other people’s copyrights. + +What if my stuff is on a Microsoft website without my permission? + +If you believe that anything on a website hosted by Microsoft infringes your +copyright, let us know. Just provide us with the information requested here and +we will see that your copyrighted works are taken down. + +What if I don't want my website crawled? + +Microsoft search services (MSN Search and Windows Live Search) follow the Robots +Exclusion Standards. This means that you can control which pages Microsoft +search engines index and how often Microsoft bots access your website. To learn +how to do so, or for more information regarding Microsoft’s webcrawling and site +indexing practices, please visit http://search.msn.com/docs/siteowner.aspx. + +Top of page +TRADEMARKS. + +Trademark information is available at +http://www.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx. + +Any rights not expressly granted herein are reserved. + +Send your questions to the appropriate contact as listed below: + + * Microsoft Web properties, contact homepage@microsoft.com. + * MSN Web properties, contact webmaster@msn.com. + * Hotmail, contact support@hotmail.com; for spam/privacy issues, contact +abuse@hotmail.com or hotmailprivacy@hotmail.com. + * Piracy questions can be routed to piracy@microsoft.com or by calling +1-800-R-U-LEGIT. + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Microsoft Public License (Ms-PL) +Mon, 2007-10-15 19:23 — nelson + +This license governs use of the accompanying software. If you use the software, you +accept this license. If you do not accept the license, do not use the software. + +1. Definitions +The terms "reproduce," "reproduction," "derivative works," and "distribution" +have the +same meaning here as under U.S. copyright law. +A "contribution" is the original software, or any additions or changes to the +software. +A "contributor" is any person that distributes its contribution under this license. +"Licensed patents" are a contributor's patent claims that read directly on its +contribution. + +2. Grant of Rights +(A) Copyright Grant- Subject to the terms of this license, including the license +conditions and limitations in section 3, each contributor grants you a +non-exclusive, worldwide, royalty-free copyright license to reproduce its +contribution, prepare derivative works of its contribution, and distribute its +contribution or any derivative works that you create. +(B) Patent Grant- Subject to the terms of this license, including the license +conditions and limitations in section 3, each contributor grants you a +non-exclusive, worldwide, royalty-free license under its licensed patents to +make, have made, use, sell, offer for sale, import, and/or otherwise dispose of +its contribution in the software or derivative works of the contribution in the +software. + +3. Conditions and Limitations +(A) No Trademark License- This license does not grant you rights to use any +contributors' name, logo, or trademarks. +(B) If you bring a patent claim against any contributor over patents that you +claim are infringed by the software, your patent license from such contributor +to the software ends automatically. +(C) If you distribute any portion of the software, you must retain all +copyright, patent, trademark, and attribution notices that are present in the +software. +(D) If you distribute any portion of the software in source code form, you may +do so only under this license by including a complete copy of this license with +your distribution. If you distribute any portion of the software in compiled or +object code form, you may only do so under a license that complies with this +license. +(E) The software is licensed "as-is." You bear the risk of using it. The +contributors give no express warranties, guarantees or conditions. You may have +additional consumer rights under your local laws which this license cannot +change. To the extent permitted under your local laws, the contributors exclude +the implied warranties of merchantability, fitness for a particular purpose and +non-infringement. + +*************************************************************************** + +%%The following software may be included in this product: +Apache Batik + +Use of any of this software is governed by the terms of the license below: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution..." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*************************************************************************** + +%%The following software may be included in this product: +ASM + +Use of any of this software is governed by the terms of the license below: + +Copyright (c) 2000-2005 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +*************************************************************************** + +%%The following software may be included in this product: +JPEG + +Use of any of this software is governed by the terms of the license below: + +Taken from code...... + +LEGAL ISSUES +============ + +In plain English: + +1. We don't promise that this software works. (But if you find any bugs, + please let us know!) +2. You can use this software for whatever you want. You don't have to pay us. +3. You may not pretend that you wrote this software. If you use it in a + program, you must acknowledge somewhere in your documentation that + you've used the IJG code. + +In legalese: + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-1998, Thomas G. Lane. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +ansi2knr.c is included in this distribution by permission of L. Peter Deutsch, +sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA. +ansi2knr.c is NOT covered by the above copyright and conditions, but instead +by the usual distribution terms of the Free Software Foundation; principally, +that you must include source code if you redistribute it. (See the file +ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part +of any program generated from the IJG code, this does not limit you more than +the foregoing paragraphs do. + +The Unix configuration script "configure" was produced with GNU Autoconf. +It is copyright by the Free Software Foundation but is freely distributable. +The same holds for its supporting scripts (config.guess, config.sub, +ltconfig, ltmain.sh). Another support script, install-sh, is copyright +by M.I.T. but is also freely distributable. + +It appears that the arithmetic coding option of the JPEG spec is covered by +patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot +legally be used without obtaining one or more licenses. For this reason, +support for arithmetic coding has been removed from the free JPEG software. +(Since arithmetic coding provides only a marginal gain over the unpatented +Huffman mode, it is unlikely that very many implementations will support it.) +So far as we are aware, there are no patent restrictions on the remaining +code. + +The IJG distribution formerly included code to read and write GIF files. +To avoid entanglement with the Unisys LZW patent, GIF reading support has +been removed altogether, and the GIF writer has been simplified to produce +"uncompressed GIFs". This technique does not use the LZW algorithm; the +resulting GIF files are larger than usual, but are readable by all standard +GIF decoders. + +We are required to state that + "The Graphics Interchange Format(c) is the Copyright property of + CompuServe Incorporated. GIF(sm) is a Service Mark property of + CompuServe Incorporated." + +Additional License(s) + +"copyright" + +*************************************************************************** + +MD5 License +"THE BEER-WARE LICENSE" (Revision 42): + wrote this file. As long as you retain this +notice you can do whatever you want with this stuff. If we meet some +day, and you think this stuff is worth it, you can buy me a beer in +return. Poul-Henning Kamp + + + + + +*************************************************************************** + + +%%The following software may be included in this product: +ANTLR Java runtime binary only jar + +Use of any of this software is governed by the terms of the license below: + +ANTLR 3 License + +[The BSD License] +Copyright (c) 2003-2007, Terence Parr +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + * Neither the name of the author nor the names of its contributors may be +used to endorse or promote products derived from this software without specific +prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +*************************************************************************** + +%%The following software may be included in this product: +gstreamer + +You are receiving a copy of the GStreamer library in object code in the +JavaFX runtime or JavaFX SDK. A +copy of the Oracle modified GStreamer library in source code is located +at http://oss.oracle.com/projects/gstreamer-mods/ . The terms of the +Oracle license do NOT apply to the GStreamer program; it is licensed under +the following license, separately from the Oracle programs you receive. If +you do not wish to install this program, you may not wish to install +the JavaFX Runtime or JavaFX SDK. + +Use of any of this software is governed by the terms of the license below: + +GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 +Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. +[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and +change it. By contrast, the GNU General Public Licenses are intended to guarantee +your freedom to share and change free software--to make sure the software is free +for all its users. +This license, the Lesser General Public License, applies to some specially +designated software packages--typically libraries--of the Free Software Foundation +and other authors who decide to use it. You can use it too, but we suggest you first +think carefully about whether this license or the ordinary General Public License is +the better strategy to use in any particular case, based on the explanations below. +When we speak of free software, we are referring to freedom of use, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish); that +you receive source code or can get it if you want it; that you can change the +software and use pieces of it in new free programs; and that you are informed that +you can do these things. +To protect your rights, we need to make restrictions that forbid distributors to +deny you these rights or to ask you to surrender these rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +library or if you modify it. +For example, if you distribute copies of the library, whether gratis or for a fee, +you must give the recipients all the rights that we gave you. You must make sure +that they, too, receive or can get the source code. If you link other code with the +library, you must provide complete object files to the recipients, so that they can +relink them with the library after making changes to the library and recompiling it. +And you must show them these terms so they know their rights. +We protect your rights with a two-step method: (1) we copyright the library, and (2) +we offer you this license, which gives you legal permission to copy, distribute +and/or modify the library. +To protect each distributor, we want to make it very clear that there is no warranty +for the free library. Also, if the library is modified by someone else and passed +on, the recipients should know that what they have is not the original version, so +that the original author's reputation will not be affected by problems that might be +introduced by others. +Finally, software patents pose a constant threat to the existence of any free +program. We wish to make sure that a company cannot effectively restrict the users +of a free program by obtaining a restrictive license from a patent holder. +Therefore, we insist that any patent license obtained for a version of the library +must be consistent with the full freedom of use specified in this license. +Most GNU software, including some libraries, is covered by the ordinary GNU General +Public License. This license, the GNU Lesser General Public License, applies to +certain designated libraries, and is quite different from the ordinary General +Public License. We use this license for certain libraries in order to permit linking +those libraries into non-free programs. +When a program is linked with a library, whether statically or using a shared +library, the combination of the two is legally speaking a combined work, a +derivative of the original library. The ordinary General Public License therefore +permits such linking only if the entire combination fits its criteria of freedom. +The Lesser General Public License permits more lax criteria for linking other code +with the library. +We call this license the "Lesser" General Public License because it does Less to +protect the user's freedom than the ordinary General Public License. It also +provides other free software developers Less of an advantage over competing non-free +programs. These disadvantages are the reason we use the ordinary General Public +License for many libraries. However, the Lesser license provides advantages in +certain special circumstances. +For example, on rare occasions, there may be a special need to encourage the widest +possible use of a certain library, so that it becomes a de-facto standard. To +achieve this, non-free programs must be allowed to use the library. A more frequent +case is that a free library does the same job as widely used non-free libraries. In +this case, there is little to gain by limiting the free library to free software +only, so we use the Lesser General Public License. +In other cases, permission to use a particular library in non-free programs enables +a greater number of people to use a large body of free software. For example, +permission to use the GNU C Library in non-free programs enables many more people to +use the whole GNU operating system, as well as its variant, the GNU/Linux operating +system. +Although the Lesser General Public License is Less protective of the users' freedom, +it does ensure that the user of a program that is linked with the Library has the +freedom and the wherewithal to run that program using a modified version of the +Library. +The precise terms and conditions for copying, distribution and modification follow. +Pay close attention to the difference between a "work based on the library" and a +"work that uses the library". The former contains code derived from the library, +whereas the latter must be combined with the library in order to run. +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which +contains a notice placed by the copyright holder or other authorized party saying it +may be distributed under the terms of this Lesser General Public License (also +called "this License"). Each licensee is addressed as "you". +A "library" means a collection of software functions and/or data prepared so as to +be conveniently linked with application programs (which use some of those functions +and data) to form executables. +The "Library", below, refers to any such software library or work which has been +distributed under these terms. A "work based on the Library" means either the +Library or any derivative work under copyright law: that is to say, a work +containing the Library or a portion of it, either verbatim or with modifications +and/or translated straightforwardly into another language. (Hereinafter, translation +is included without limitation in the term "modification".) +"Source code" for a work means the preferred form of the work for making +modifications to it. For a library, complete source code means all the source code +for all modules it contains, plus any associated interface definition files, plus +the scripts used to control compilation and installation of the library. +Activities other than copying, distribution and modification are not covered by this +License; they are outside its scope. The act of running a program using the Library +is not restricted, and output from such a program is covered only if its contents +constitute a work based on the Library (independent of the use of the Library in a +tool for writing it). Whether that is true depends on what the Library does and what +the program that uses the Library does. +1. You may copy and distribute verbatim copies of the Library's complete source code +as you receive it, in any medium, provided that you conspicuously and appropriately +publish on each copy an appropriate copyright notice and disclaimer of warranty; +keep intact all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the Library. +You may charge a fee for the physical act of transferring a copy, and you may at +your option offer warranty protection in exchange for a fee. +2. You may modify your copy or copies of the Library or any portion of it, thus +forming a work based on the Library, and copy and distribute such modifications or +work under the terms of Section 1 above, provided that you also meet all of these +conditions: +a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you +changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third +parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to +be supplied by an application program that uses the facility, other than as an +argument passed when the facility is invoked, then you must make a good faith effort +to ensure that, in the event an application does not supply such function or table, +the facility still operates, and performs whatever part of its purpose remains +meaningful. (For example, a function in a library to compute square roots has a purpose that is +entirely well-defined independent of the application. Therefore, Subsection 2d +requires that any application-supplied function or table used by this function must +be optional: if the application does not supply it, the square root function must +still compute square roots.) +These requirements apply to the modified work as a whole. If identifiable sections +of that work are not derived from the Library, and can be reasonably considered +independent and separate works in themselves, then this License, and its terms, do +not apply to those sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based on the +Library, the distribution of the whole must be on the terms of this License, whose +permissions for other licensees extend to the entire whole, and thus to each and +every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to +work written entirely by you; rather, the intent is to exercise the right to control +the distribution of derivative or collective works based on the Library. +In addition, mere aggregation of another work not based on the Library with the +Library (or with a work based on the Library) on a volume of a storage or +distribution medium does not bring the other work under the scope of this License. +3. You may opt to apply the terms of the ordinary GNU General Public License instead +of this License to a given copy of the Library. To do this, you must alter all the +notices that refer to this License, so that they refer to the ordinary GNU General +Public License, version 2, instead of to this License. (If a newer version than +version 2 of the ordinary GNU General Public License has appeared, then you can +specify that version instead if you wish.) Do not make any other change in these +notices. +Once this change is made in a given copy, it is irreversible for that copy, so the +ordinary GNU General Public License applies to all subsequent copies and derivative +works made from that copy. +This option is useful when you wish to copy part of the code of the Library into a +program that is not a library. +4. You may copy and distribute the Library (or a portion or derivative of it, under +Section 2) in object code or executable form under the terms of Sections 1 and 2 +above provided that you accompany it with the complete corresponding machine- +readable source code, which must be distributed under the terms of Sections 1 and 2 +above on a medium customarily used for software interchange. +If distribution of object code is made by offering access to copy from a designated +place, then offering equivalent access to copy the source code from the same place +satisfies the requirement to distribute the source code, even though third parties +are not compelled to copy the source along with the object code. +5. A program that contains no derivative of any portion of the Library, but is +designed to work with the Library by being compiled or linked with it, is called a +"work that uses the Library". Such a work, in isolation, is not a derivative work of +the Library, and therefore falls outside the scope of this License. +However, linking a "work that uses the Library" with the Library creates an +executable that is a derivative of the Library (because it contains portions of the +Library), rather than a "work that uses the library". The executable is therefore +covered by this License. Section 6 states terms for distribution of such +executables. +When a "work that uses the Library" uses material from a header file that is part of +the Library, the object code for the work may be a derivative work of the Library +even though the source code is not. Whether this is true is especially significant +if the work can be linked without the Library, or if the work is itself a library. +The threshold for this to be true is not precisely defined by law. +If such an object file uses only numerical parameters, data structure layouts and +accessors, and small macros and small inline functions (ten lines or less in +length), then the use of the object file is unrestricted, regardless of whether it +is legally a derivative work. (Executables containing this object code plus portions +of the Library will still fall under Section 6.) +Otherwise, if the work is a derivative of the Library, you may distribute the object +code for the work under the terms of Section 6. Any executables containing that work +also fall under Section 6, whether or not they are linked directly with the Library +itself. +6. As an exception to the Sections above, you may also combine or link a "work that +uses the Library" with the Library to produce a work containing portions of the +Library, and distribute that work under terms of your choice, provided that the +terms permit modification of the work for the customer's own use and reverse +engineering for debugging such modifications. +You must give prominent notice with each copy of the work that the Library is used +in it and that the Library and its use are covered by this License. You must supply +a copy of this License. If the work during execution displays copyright notices, you +must include the copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one of these +things: +a) Accompany the work with the complete corresponding machine-readable source code +for the Library including whatever changes were used in the work (which must be +distributed under Sections 1 and 2 above); and, if the work is an executable linked +with the Library, with the complete machine-readable "work that uses the Library", +as object code and/or source code, so that the user can modify the Library and then +relink to produce a modified executable containing the modified Library. (It is +understood that the user who changes the contents of definitions files in the +Library will not necessarily be able to recompile the application to use the +modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable +mechanism is one that (1) uses at run time a copy of the library already present on +the user's computer system, rather than copying library functions into the +executable, and (2) will operate properly with a modified version of the library, if +the user installs one, as long as the modified version is interface-compatible with +the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give +the same user the materials specified in Subsection 6a, above, for a charge no more +than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated +place, offer equivalent access to copy the above specified materials from the same +place. e) Verify that the user has already received a copy of these materials or that you +have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must +include any data and utility programs needed for reproducing the executable from it. +However, as a special exception, the materials to be distributed need not include +anything that is normally distributed (in either source or binary form) with the +major components (compiler, kernel, and so on) of the operating system on which the +executable runs, unless that component itself accompanies the executable. +It may happen that this requirement contradicts the license restrictions of other +proprietary libraries that do not normally accompany the operating system. Such a +contradiction means you cannot use both them and the Library together in an +executable that you distribute. +7. You may place library facilities that are a work based on the Library side-by- +side in a single library together with other library facilities not covered by this +License, and distribute such a combined library, provided that the separate +distribution of the work based on the Library and of the other library facilities is +otherwise permitted, and provided that you do these two things: +a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. +13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the +Free Software Foundation. +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. +NO WARRANTY +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH +YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE +OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). +To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. one line to give the library's name and an idea of what it does. Copyright (C) year name of author +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 Also add information on how to contact you by electronic and paper mail. +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: +Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. +signature of Ty Coon, 1 April 1990 Ty Coon, President of Vice That's all there is to it! + +*************************************************************************** + +%%The following software may be included in this product: +JFXtras Core v 0.5 + +Use of any of this software is governed by the terms of the license below: +Copyright (c) 2008-2009, JFXtras Group +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of JFXtras nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + +*************************************************************************** + +%%The following software may be included in this product: +Webkit + +You are receiving a copy of the WebKit library in object code in the +JavaFX runtime or JavaFX SDK. +A copy of the Oracle modified WebKit library in source code is located +at http://oss.oracle.com/projects/webkit-java-mods/ . The terms of the +Oracle license do NOT apply to the WebKit program; it is licensed under +the following license separately from the Oracle programs you receive. +If you do not wish to install this program, you may not wish to install +the JavaFX runtime or JavaFX SDK. + +Use of any of this software is governed by the terms of the license below: + +GNU LIBRARY GENERAL PUBLIC LICENSE +Version 2, June 1991 +Copyright (C) 1991 Free Software Foundation, Inc. +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] +Preamble +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. +This license, the Library General Public License, applies to some specially designated Free Software Foundation software, and to any other libraries whose authors decide to use it. You can use it for your libraries, too. +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library, or if you modify it. +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link a program with the library, you must provide complete object files to the recipients so that they can relink them with the library, after making changes to the library and recompiling it. And you must show them these terms so they know their rights. +Our method of protecting your rights has two steps: (1) copyright the library, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the library. +Also, for each distributor's protection, we want to make certain that everyone understands that there is no warranty for this free library. If the library is modified by someone else and passed on, we want its recipients to know that what they have is not the original version, so that any problems introduced by others will not reflect on the original authors' reputations. +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that companies distributing free software will individually obtain patent licenses, thus in effect transforming the program into proprietary software. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License, which was designed for utility programs. This license, the GNU Library General Public License, applies to certain designated libraries. This license is quite different from the ordinary one; be sure to read it in full, and don't assume that anything in it is the same as in the ordinary license. +The reason we have a separate public license for some libraries is that they blur the distinction we usually make between modifying or adding to a program and simply using it. Linking a program with a library, without changing the library, is in some sense simply using the library, and is analogous to running a utility program or application program. However, in a textual and legal sense, the linked executable is a combined work, a derivative of the original library, and the ordinary General Public License treats it as such. +Because of this blurred distinction, using the ordinary General Public License for libraries did not effectively promote software sharing, because most developers did not use the libraries. We concluded that weaker conditions might promote sharing better. +However, unrestricted linking of non-free programs would deprive the users of those programs of all benefit from the free status of the libraries themselves. This Library General Public License is intended to permit developers of non-free programs to use free libraries, while preserving your freedom as a user of such programs to change the free libraries that are incorporated in them. (We have not seen how to achieve this as regards changes in header files, but we have achieved it as regards changes in the actual functions of the Library.) The hope is that this will lead to faster development of free libraries. +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, while the latter only works together with the library. +Note that it is possible for a library to be covered by the ordinary General Public License rather than by this special one. +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +0. This License Agreement applies to any software library which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Library General Public License (also called "this License"). Each licensee is addressed as "you". +A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. +The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) +"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. +1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. +2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: +a) The modified work must itself be a software library. +b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. +c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. +d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. +In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. +3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. +Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. +This option is useful when you wish to copy part of the code of the Library into a program that is not a library. +4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. +If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. +5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. +However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. +When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. +If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) +Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. +6. As an exception to the Sections above, you may also compile or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. +You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: +a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) +b) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. +c) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. +d) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. +For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. +It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. +7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: +a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. +b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. +8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. +13. The Free Software Foundation may publish revised and/or new versions of the Library General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. +NO WARRANTY +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + + +*************************************************************************** + +%%The following software may be included in this product: +zlib + + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.2, October 3rd, 2004 + + Copyright (C) 1995-2004 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly jloup@gzip.org + Mark Adler madler@alumni.caltech.edu + +*/ + +*************************************************************************** + +%%The following software may be included in this product: +libpng + +This copy of the libpng notices is provided for your convenience. In case of +any discrepancy between this copy and the notices in the file png.h that is +included in the libpng distribution, the latter shall prevail. + +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: + +If you modify libpng you may insert additional notices immediately following +this sentence. + +This code is released under the libpng license. + +libpng versions 1.2.6, August 15, 2004, through 1.5.0, January 6, 2011, are +Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-1.2.5 +with the following individual added to the list of Contributing Authors + + Cosmin Truta + +libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are +Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-1.0.6 +with the following individuals added to the list of Contributing Authors + + Simon-Pierre Cadieux + Eric S. Raymond + Gilles Vollant + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of the + library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is with + the user. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-0.96, +with the following individuals added to the list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996, 1997 Andreas Dilger +Distributed according to the same disclaimer and license as libpng-0.88, +with the following individuals added to the list of Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing Authors +and Group 42, Inc. disclaim all warranties, expressed or implied, +including, without limitation, the warranties of merchantability and of +fitness for any purpose. The Contributing Authors and Group 42, Inc. +assume no liability for direct, indirect, incidental, special, exemplary, +or consequential damages, which may result from the use of the PNG +Reference Library, even if advised of the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + +1. The origin of this source code must not be misrepresented. + +2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + +3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, without +fee, and encourage the use of this source code as a component to +supporting the PNG file format in commercial products. If you use this +source code in a product, acknowledgment is not required but would be +appreciated. + + +A "png_get_copyright" function is available, for convenient use in "about" +boxes and the like: + + printf("%s",png_get_copyright(NULL)); + +Also, the PNG logo (in PNG format, of course) is supplied in the +files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). + +Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a +certification mark of the Open Source Initiative. + +Glenn Randers-Pehrson +glennrp at users.sourceforge.net +January 6, 2011 + +*************************************************************************** + +%%The following software may be included in this product: +libxml + +The MIT License +Copyright (c) +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +*************************************************************************** + +%%The following software may be included in this product: +libxslt + +The MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Java-Visualizer/java/THIRDPARTYLICENSEREADME.txt b/Java-Visualizer/java/THIRDPARTYLICENSEREADME.txt new file mode 100644 index 00000000..81a54fdb --- /dev/null +++ b/Java-Visualizer/java/THIRDPARTYLICENSEREADME.txt @@ -0,0 +1,3417 @@ +DO NOT TRANSLATE OR LOCALIZE. +----------------------------- + +%% This notice is provided with respect to ASM Bytecode Manipulation +Framework v3.1, which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (c) 2000-2005 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +-------------------------------------------------------------------------------- + +%% This notice is provided with respect to CodeViewer 1.0, which is included +with JDK 7. + +--- begin of LICENSE --- + +Copyright 1999 by CoolServlets.com. + +Any errors or suggested improvements to this class can be reported as +instructed on CoolServlets.com. We hope you enjoy this program... your +comments will encourage further development! This software is distributed +under the terms of the BSD License. Redistribution and use in source and +binary forms, with or without modification, are permitted provided that the +following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +Neither name of CoolServlets.com nor the names of its contributors may be +used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY COOLSERVLETS.COM AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Cryptix AES 3.2.0, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Cryptix General License + +Copyright (c) 1995-2005 The Cryptix Foundation Limited. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +THIS SOFTWARE IS PROVIDED BY THE CRYPTIX FOUNDATION LIMITED AND +CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE CRYPTIX FOUNDATION LIMITED OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to CUP Parser Generator for +Java 0.10k, which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright 1996-1999 by Scott Hudson, Frank Flannery, C. Scott Ananian + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided +that the above copyright notice appear in all copies and that both the +copyright notice and this permission notice and warranty disclaimer appear in +supporting documentation, and that the names of the authors or their +employers not be used in advertising or publicity pertaining to distribution of +the software without specific, written prior permission. + +The authors and their employers disclaim all warranties with regard to +this software, including all implied warranties of merchantability and fitness. +In no event shall the authors or their employers be liable for any special, +indirect or consequential damages or any damages whatsoever resulting from +loss of use, data or profits, whether in an action of contract, negligence or +other tortious action, arising out of or in connection with the use or +performance of this software. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Document Object Model (DOM) Level 2 +& 3, which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +W3C SOFTWARE NOTICE AND LICENSE + +http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + +This work (and included software, documentation such as READMEs, or other +related items) is being provided by the copyright holders under the following +license. By obtaining, using and/or copying this work, you (the licensee) +agree that you have read, understood, and will comply with the following terms +and conditions. + +Permission to copy, modify, and distribute this software and its +documentation, with or without modification, for any purpose and without fee +or royalty is hereby granted, provided that you include the following on ALL +copies of the software and documentation or portions thereof, including +modifications: + + 1.The full text of this NOTICE in a location viewable to users of the + redistributed or derivative work. + + 2.Any pre-existing intellectual property disclaimers, notices, or terms and + conditions. If none exist, the W3C Software Short Notice should be included + (hypertext is preferred, text is permitted) within the body of any + redistributed or derivative code. + + 3.Notice of any changes or modifications to the files, including the date + changes were made. (We recommend you provide URIs to the location from + which the code is derived.) + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS +MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR +PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY +THIRD PARTY PATENTS,COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL +OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR +DOCUMENTATION. The name and trademarks of copyright holders may NOT be used +in advertising or publicity pertaining to the software without specific, +written prior permission. Title to copyright in this software and any +associated documentation will at all times remain with copyright holders. + +____________________________________ + +This formulation of W3C's notice and license became active on December 31 +2002. This version removes the copyright ownership notice such that this +license can be used with materials other than those owned by the W3C, reflects +that ERCIM is now a host of the W3C, includes references to this specific +dated version of the license, and removes the ambiguous grant of "use". +Otherwise, this version is the same as the previous version and is written so +as to preserve the Free Software Foundation's assessment of GPL compatibility +and OSI's certification under the Open Source Definition. Please see our +Copyright FAQ for common questions about using materials from our site, +including specific terms and conditions for packages like libwww, Amaya, and +Jigsaw. Other questions about this notice can be directed to +site-policy@w3.org. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Elliptic Curve Cryptography, which +is included with JRE 7, JDK 7, and OpenJDK 7. + +You are receiving a copy of the Elliptic Curve Cryptography library in source +form with the JDK 7 and OpenJDK7 source distributions, and as object code in +the JRE 7 & JDK 7 runtimes. + +In the case of the JRE 7 & JDK 7 runtimes, the terms of the Oracle license do +NOT apply to the Elliptic Curve Cryptography library; it is licensed under the +following license, separately from Oracle's JDK & JRE. If you do not wish to +install the Elliptic Curve Cryptography library, you may delete the library +named libsunec.so (on Solaris and Linux systems) or sunec.dll (on Windows +systems) from the JRE bin directory reserved for native libraries. + + +--- begin of LICENSE --- + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to FontConfig 2.5, which is +included with JRE 7, JDK 7, and OpenJDK 7 source distributions on +Linux and Solaris. + +--- begin of LICENSE --- + +Copyright © 2001,2003 Keith Packard + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that the +above copyright notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting documentation, and that +the name of Keith Packard not be used in advertising or publicity pertaining +to distribution of the software without specific, written prior permission. +Keith Packard makes no representations about the suitability of this software +for any purpose. It is provided "as is" without express or implied warranty. + +KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL KEITH +PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to IAIK PKCS#11 Wrapper, +which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +IAIK PKCS#11 Wrapper License + +Copyright (c) 2002 Graz University of Technology. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: + + "This product includes software developed by IAIK of Graz University of + Technology." + + Alternately, this acknowledgment may appear in the software itself, if and + wherever such third-party acknowledgments normally appear. + +4. The names "Graz University of Technology" and "IAIK of Graz University of + Technology" must not be used to endorse or promote products derived from this + software without prior written permission. + +5. Products derived from this software may not be called "IAIK PKCS Wrapper", + nor may "IAIK" appear in their name, without prior written permission of + Graz University of Technology. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +LICENSOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to ICU4C 4.0.1 and ICU4J 4.4, which +is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (c) 1995-2010 International Business Machines Corporation and others + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, and/or sell copies of the +Software, and to permit persons to whom the Software is furnished to do so, +provided that the above copyright notice(s) and this permission notice appear +in all copies of the Software and that both the above copyright notice(s) and +this permission notice appear in supporting documentation. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN +NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE +LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization of the copyright holder. +All trademarks and registered trademarks mentioned herein are the property of +their respective owners. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to IJG JPEG 6b, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +This software is copyright (C) 1991-1998, Thomas G. Lane. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + +--- end of LICENSE --- + +-------------------------------------------------------------------------------- + +%% This notice is provided with respect to JOpt-Simple v3.0, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + + Copyright (c) 2004-2009 Paul R. Holser, Jr. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- end of LICENSE --- + +-------------------------------------------------------------------------------- + +%% This notice is provided with respect to Kerberos functionality, which +which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + + (C) Copyright IBM Corp. 1999 All Rights Reserved. + Copyright 1997 The Open Group Research Institute. All rights reserved. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Kerberos functionality from +FundsXpress, INC., which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + + Copyright (C) 1998 by the FundsXpress, INC. + + All rights reserved. + + Export of this software from the United States of America may require + a specific license from the United States Government. It is the + responsibility of any person or organization contemplating export to + obtain such a license before exporting. + + WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + distribute this software and its documentation for any purpose and + without fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, and that + the name of FundsXpress. not be used in advertising or publicity pertaining + to distribution of the software without specific, written prior + permission. FundsXpress makes no representations about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Kronos OpenGL headers, which is +included with JDK 7 and OpenJDK 7 source distributions. + +--- begin of LICENSE --- + + Copyright (c) 2007 The Khronos Group Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and/or associated documentation files (the "Materials"), to + deal in the Materials without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Materials, and to permit persons to whom the Materials are + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Materials. + + THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS IN THE + MATERIALS. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% Portions Copyright Eastman Kodak Company 1992 + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to libpng 1.6.16, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +This copy of the libpng notices is provided for your convenience. In case of +any discrepancy between this copy and the notices in the file png.h that is +included in the libpng distribution, the latter shall prevail. + +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: + +If you modify libpng you may insert additional notices immediately following +this sentence. + +This code is released under the libpng license. + +libpng versions 1.2.6, August 15, 2004, through 1.6.16, December 22, 2014, are +Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-1.2.5 +with the following individual added to the list of Contributing Authors + + Cosmin Truta + +libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are +Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-1.0.6 +with the following individuals added to the list of Contributing Authors + + Simon-Pierre Cadieux + Eric S. Raymond + Gilles Vollant + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of the + library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is with + the user. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-0.96, +with the following individuals added to the list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996, 1997 Andreas Dilger +Distributed according to the same disclaimer and license as libpng-0.88, +with the following individuals added to the list of Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing Authors +and Group 42, Inc. disclaim all warranties, expressed or implied, +including, without limitation, the warranties of merchantability and of +fitness for any purpose. The Contributing Authors and Group 42, Inc. +assume no liability for direct, indirect, incidental, special, exemplary, +or consequential damages, which may result from the use of the PNG +Reference Library, even if advised of the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + +1. The origin of this source code must not be misrepresented. + +2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + +3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, without +fee, and encourage the use of this source code as a component to +supporting the PNG file format in commercial products. If you use this +source code in a product, acknowledgment is not required but would be +appreciated. + + +A "png_get_copyright" function is available, for convenient use in "about" +boxes and the like: + + printf("%s",png_get_copyright(NULL)); + +Also, the PNG logo (in PNG format, of course) is supplied in the +files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). + +Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a +certification mark of the Open Source Initiative. + +Glenn Randers-Pehrson +glennrp at users.sourceforge.net +December 22, 2014 + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to libungif 4.1.3, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +The GIFLIB distribution is Copyright (c) 1997 Eric S. Raymond + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Little CMS 2.0, which is +included with OpenJDK 7. + +--- begin of LICENSE --- + +Little CMS +Copyright (c) 1998-2010 Marti Maria Saguer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% Lucida is a registered trademark or trademark of Bigelow & Holmes in the +U.S. and other countries. + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Mesa 3D Graphics Library v4.1, +which is included with JRE 7, JDK 7, and OpenJDK 7 source distributions. + +--- begin of LICENSE --- + + Mesa 3-D graphics library + Version: 4.1 + + Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to PC/SC Lite for Suse Linux v.1.1.1, +which is included with JRE 7, JDK 7, and OpenJDK 7 on Linux and Solaris. + +--- begin of LICENSE --- + +Copyright (c) 1999-2004 David Corcoran +Copyright (c) 1999-2004 Ludovic Rousseau +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by: + David Corcoran + http://www.linuxnet.com (MUSCLE) +4. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +Changes to this license can be made only by the copyright author with +explicit written consent. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Relax NG Object/Parser v.20050510, +which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (c) Kohsuke Kawaguchi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: The above copyright +notice and this permission notice shall be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to RelaxNGCC v1.12, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (c) 2000-2003 Daisuke Okajima and Kohsuke Kawaguchi. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: + + "This product includes software developed by Daisuke Okajima + and Kohsuke Kawaguchi (http://relaxngcc.sf.net/)." + +Alternately, this acknowledgment may appear in the software itself, if and +wherever such third-party acknowledgments normally appear. + +4. The names of the copyright holders must not be used to endorse or promote + products derived from this software without prior written permission. For + written permission, please contact the copyright holders. + +5. Products derived from this software may not be called "RELAXNGCC", nor may + "RELAXNGCC" appear in their name, without prior written permission of the + copyright holders. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.IN NO EVENT SHALL THE APACHE +SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Mozilla Rhino v1.7R3, which +is included with JRE 7, JDK 7, and OpenJDK 7 + +--- begin of LICENSE --- + + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + +7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + +9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + +11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + +12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + +EXHIBIT A - Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is ______________________________________. + + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to SAX 2.0.1, which is included +with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + + SAX is free! + + In fact, it's not possible to own a license to SAX, since it's been placed in + the public domain. + + No Warranty + + Because SAX is released to the public domain, there is no warranty for the + design or for the software implementation, to the extent permitted by + applicable law. Except when otherwise stated in writing the copyright holders + and/or other parties provide SAX "as is" without warranty of any kind, either + expressed or implied, including, but not limited to, the implied warranties + of merchantability and fitness for a particular purpose. The entire risk as + to the quality and performance of SAX is with you. Should SAX prove + defective, you assume the cost of all necessary servicing, repair or + correction. + + In no event unless required by applicable law or agreed to in writing will + any copyright holder, or any other party who may modify and/or redistribute + SAX, be liable to you for damages, including any general, special, incidental + or consequential damages arising out of the use or inability to use SAX + (including but not limited to loss of data or data being rendered inaccurate + or losses sustained by you or third parties or a failure of the SAX to + operate with any other programs), even if such holder or other party has been + advised of the possibility of such damages. + + Copyright Disclaimers + + This page includes statements to that effect by David Megginson, who would + have been able to claim copyright for the original work. SAX 1.0 + + Version 1.0 of the Simple API for XML (SAX), created collectively by the + membership of the XML-DEV mailing list, is hereby released into the public + domain. + + No one owns SAX: you may use it freely in both commercial and non-commercial + applications, bundle it with your software distribution, include it on a + CD-ROM, list the source code in a book, mirror the documentation at your own + web site, or use it in any other way you see fit. + + David Megginson, sax@megginson.com + 1998-05-11 + + SAX 2.0 + + I hereby abandon any property rights to SAX 2.0 (the Simple API for XML), and + release all of the SAX 2.0 source code, compiled code, and documentation + contained in this distribution into the Public Domain. SAX comes with NO + WARRANTY or guarantee of fitness for any purpose. + + David Megginson, david@megginson.com + 2000-05-05 + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to SoftFloat version 2b, which is +included with JRE 7, JDK 7, and OpenJDK 7 on Linux/ARM. + +--- begin of LICENSE --- + +Use of any of this software is governed by the terms of the license below: + +SoftFloat was written by me, John R. Hauser. This work was made possible in +part by the International Computer Science Institute, located at Suite 600, +1947 Center Street, Berkeley, California 94704. Funding was partially +provided by the National Science Foundation under grant MIP-9311980. The +original version of this code was written as part of a project to build +a fixed-point vector processor in collaboration with the University of +California at Berkeley, overseen by Profs. Nelson Morgan and John Wawrzynek. + +THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort +has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT +TIMES RESULT IN INCORRECT BEHAVIOR. USE OF THIS SOFTWARE IS RESTRICTED TO +PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ALL +LOSSES, COSTS, OR OTHER PROBLEMS THEY INCUR DUE TO THE SOFTWARE, AND WHO +FURTHERMORE EFFECTIVELY INDEMNIFY JOHN HAUSER AND THE INTERNATIONAL COMPUTER +SCIENCE INSTITUTE (possibly via similar legal warning) AGAINST ALL LOSSES, +COSTS, OR OTHER PROBLEMS INCURRED BY THEIR CUSTOMERS AND CLIENTS DUE TO THE +SOFTWARE. + +Derivative works are acceptable, even for commercial purposes, provided +that the minimal documentation requirements stated in the source code are +satisfied. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Sparkle v.1.5, +which is included with JRE 7 on Mac OS X. + +--- begin of LICENSE --- + +Copyright (c) 2012 Sparkle.org and Andy Matuschak + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% Portions licensed from Taligent, Inc. + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Thai Dictionary, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (C) 1982 The Royal Institute, Thai Royal Government. + +Copyright (C) 1998 National Electronics and Computer Technology Center, +National Science and Technology Development Agency, +Ministry of Science Technology and Environment, +Thai Royal Government. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Unicode 6.0.0, CLDR v1.4.1, & CLDR +v1.9, which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Unicode Terms of Use + +For the general privacy policy governing access to this site, see the Unicode +Privacy Policy. For trademark usage, see the Unicode® Consortium Name and +Trademark Usage Policy. + +A. Unicode Copyright. + 1. Copyright © 1991-2011 Unicode, Inc. All rights reserved. + + 2. Certain documents and files on this website contain a legend indicating + that "Modification is permitted." Any person is hereby authorized, + without fee, to modify such documents and files to create derivative + works conforming to the Unicode® Standard, subject to Terms and + Conditions herein. + + 3. Any person is hereby authorized, without fee, to view, use, reproduce, + and distribute all documents and files solely for informational + purposes in the creation of products supporting the Unicode Standard, + subject to the Terms and Conditions herein. + + 4. Further specifications of rights and restrictions pertaining to the use + of the particular set of data files known as the "Unicode Character + Database" can be found in Exhibit 1. + + 5. Each version of the Unicode Standard has further specifications of + rights and restrictions of use. For the book editions (Unicode 5.0 and + earlier), these are found on the back of the title page. The online + code charts carry specific restrictions. All other files, including + online documentation of the core specification for Unicode 6.0 and + later, are covered under these general Terms of Use. + + 6. No license is granted to "mirror" the Unicode website where a fee is + charged for access to the "mirror" site. + + 7. Modification is not permitted with respect to this document. All copies + of this document must be verbatim. + +B. Restricted Rights Legend. Any technical data or software which is licensed + to the United States of America, its agencies and/or instrumentalities + under this Agreement is commercial technical data or commercial computer + software developed exclusively at private expense as defined in FAR 2.101, + or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, + duplication, or disclosure by the Government is subject to restrictions as + set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov + 1995) and this Agreement. For Software, in accordance with FAR 12-212 or + DFARS 227-7202, as applicable, use, duplication or disclosure by the + Government is subject to the restrictions set forth in this Agreement. + +C. Warranties and Disclaimers. + 1. This publication and/or website may include technical or typographical + errors or other inaccuracies . Changes are periodically added to the + information herein; these changes will be incorporated in new editions + of the publication and/or website. Unicode may make improvements and/or + changes in the product(s) and/or program(s) described in this + publication and/or website at any time. + + 2. If this file has been purchased on magnetic or optical media from + Unicode, Inc. the sole and exclusive remedy for any claim will be + exchange of the defective media within ninety (90) days of original + purchase. + + 3. EXCEPT AS PROVIDED IN SECTION C.2, THIS PUBLICATION AND/OR SOFTWARE IS + PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, + OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. + UNICODE AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR + OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH + ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE. + +D. Waiver of Damages. In no event shall Unicode or its licensors be liable for + any special, incidental, indirect or consequential damages of any kind, or + any damages whatsoever, whether or not Unicode was advised of the + possibility of the damage, including, without limitation, those resulting + from the following: loss of use, data or profits, in connection with the + use, modification or distribution of this information or its derivatives. + +E.Trademarks & Logos. + 1. The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, + Inc. “The Unicode Consortium†and “Unicode, Inc.†are trade names of + Unicode, Inc. Use of the information and materials found on this + website indicates your acknowledgement of Unicode, Inc.’s exclusive + worldwide rights in the Unicode Word Mark, the Unicode Logo, and the + Unicode trade names. + + 2. The Unicode Consortium Name and Trademark Usage Policy (“Trademark + Policyâ€) are incorporated herein by reference and you agree to abide by + the provisions of the Trademark Policy, which may be changed from time + to time in the sole discretion of Unicode, Inc. + + 3. All third party trademarks referenced herein are the property of their + respective owners. + +Miscellaneous. + 1. Jurisdiction and Venue. This server is operated from a location in the + State of California, United States of America. Unicode makes no + representation that the materials are appropriate for use in other + locations. If you access this server from other locations, you are + responsible for compliance with local laws. This Agreement, all use of + this site and any claims and damages resulting from use of this site are + governed solely by the laws of the State of California without regard to + any principles which would apply the laws of a different jurisdiction. + The user agrees that any disputes regarding this site shall be resolved + solely in the courts located in Santa Clara County, California. The user + agrees said courts have personal jurisdiction and agree to waive any + right to transfer the dispute to any other forum. + + 2. Modification by Unicode. Unicode shall have the right to modify this + Agreement at any time by posting it to this site. The user may not + assign any part of this Agreement without Unicode’s prior written + consent. + + 3. Taxes. The user agrees to pay any taxes arising from access to this + website or use of the information herein, except for those based on + Unicode’s net income. + + 4. Severability. If any provision of this Agreement is declared invalid or + unenforceable, the remaining provisions of this Agreement shall remain + in effect. + + 5. Entire Agreement. This Agreement constitutes the entire agreement + between the parties. + +EXHIBIT 1 +UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + +Unicode Data Files include all data files under the directories +http://www.unicode.org/Public/, http://www.unicode.org/reports/, and +http://www.unicode.org/cldr/data/. Unicode Data Files do not include PDF +online code charts under the directory http://www.unicode.org/Public/. +Software includes any source code published in the Unicode Standard or under +the directories http://www.unicode.org/Public/, +http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. + +NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, +INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA +FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO +BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT +AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR +SOFTWARE. + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 1991-2011 Unicode, Inc. All rights reserved. Distributed under the +Terms of Use in http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the Unicode data files and any associated documentation (the "Data Files") +or Unicode software and any associated documentation (the "Software") to deal +in the Data Files or Software without restriction, including without +limitation the rights to use, copy, modify, merge, publish, distribute, and/or +sell copies of the Data Files or Software, and to permit persons to whom the +Data Files or Software are furnished to do so, provided that (a) the above +copyright notice(s) and this permission notice appear with all copies of the +Data Files or Software, (b) both the above copyright notice(s) and this +permission notice appear in associated documentation, and (c) there is clear +notice in each modified Data File or in the Software as well as in the +documentation associated with the Data File(s) or Software that the data or +software has been modified. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD +PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN +THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR +PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS +ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE +DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in these Data Files or Software without prior written authorization of the +copyright holder. + +Unicode and the Unicode logo are trademarks of Unicode, Inc. in the United +States and other countries. All third party trademarks referenced herein are +the property of their respective owners. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to UPX v3.01, which is included +with JRE 7 on Windows. + +--- begin of LICENSE --- + +Use of any of this software is governed by the terms of the license below: + + + ooooo ooo ooooooooo. ooooooo ooooo + `888' `8' `888 `Y88. `8888 d8' + 888 8 888 .d88' Y888..8P + 888 8 888ooo88P' `8888' + 888 8 888 .8PY888. + `88. .8' 888 d8' `888b + `YbodP' o888o o888o o88888o + + + The Ultimate Packer for eXecutables + Copyright (c) 1996-2000 Markus Oberhumer & Laszlo Molnar + http://wildsau.idv.uni-linz.ac.at/mfx/upx.html + http://www.nexus.hu/upx + http://upx.tsx.org + + +PLEASE CAREFULLY READ THIS LICENSE AGREEMENT, ESPECIALLY IF YOU PLAN +TO MODIFY THE UPX SOURCE CODE OR USE A MODIFIED UPX VERSION. + + +ABSTRACT +======== + + UPX and UCL are copyrighted software distributed under the terms + of the GNU General Public License (hereinafter the "GPL"). + + The stub which is imbedded in each UPX compressed program is part + of UPX and UCL, and contains code that is under our copyright. The + terms of the GNU General Public License still apply as compressing + a program is a special form of linking with our stub. + + As a special exception we grant the free usage of UPX for all + executables, including commercial programs. + See below for details and restrictions. + + +COPYRIGHT +========= + + UPX and UCL are copyrighted software. All rights remain with the authors. + + UPX is Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer + UPX is Copyright (C) 1996-2000 Laszlo Molnar + + UCL is Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer + + +GNU GENERAL PUBLIC LICENSE +========================== + + UPX and the UCL library are free software; you can redistribute them + and/or modify them 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. + + UPX and UCL are distributed in the hope that they 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; see the file COPYING. + + +SPECIAL EXCEPTION FOR COMPRESSED EXECUTABLES +============================================ + + The stub which is imbedded in each UPX compressed program is part + of UPX and UCL, and contains code that is under our copyright. The + terms of the GNU General Public License still apply as compressing + a program is a special form of linking with our stub. + + Hereby Markus F.X.J. Oberhumer and Laszlo Molnar grant you special + permission to freely use and distribute all UPX compressed programs + (including commercial ones), subject to the following restrictions: + + 1. You must compress your program with a completely unmodified UPX + version; either with our precompiled version, or (at your option) + with a self compiled version of the unmodified UPX sources as + distributed by us. + 2. This also implies that the UPX stub must be completely unmodfied, i.e. + the stub imbedded in your compressed program must be byte-identical + to the stub that is produced by the official unmodified UPX version. + 3. The decompressor and any other code from the stub must exclusively get + used by the unmodified UPX stub for decompressing your program at + program startup. No portion of the stub may get read, copied, + called or otherwise get used or accessed by your program. + + +ANNOTATIONS +=========== + + - You can use a modified UPX version or modified UPX stub only for + programs that are compatible with the GNU General Public License. + + - We grant you special permission to freely use and distribute all UPX + compressed programs. But any modification of the UPX stub (such as, + but not limited to, removing our copyright string or making your + program non-decompressible) will immediately revoke your right to + use and distribute a UPX compressed program. + + - UPX is not a software protection tool; by requiring that you use + the unmodified UPX version for your proprietary programs we + make sure that any user can decompress your program. This protects + both you and your users as nobody can hide malicious code - + any program that cannot be decompressed is highly suspicious + by definition. + + - You can integrate all or part of UPX and UCL into projects that + are compatible with the GNU GPL, but obviously you cannot grant + any special exceptions beyond the GPL for our code in your project. + + - We want to actively support manufacturers of virus scanners and + similar security software. Please contact us if you would like to + incorporate parts of UPX or UCL into such a product. + + + +Markus F.X.J. Oberhumer Laszlo Molnar +markus.oberhumer@jk.uni-linz.ac.at ml1050@cdata.tvnet.hu + +Linz, Austria, 25 Feb 2000 + +Additional License(s) + +The UPX license file is at http://upx.sourceforge.net/upx-license.html. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Xfree86-VidMode Extension 1.0, +which is included with JRE 7, JDK 7, and OpenJDK 7 on Linux and Solaris. + +--- begin of LICENSE --- + +Version 1.1 of XFree86 ProjectLicence. + +Copyright (C) 1994-2004 The XFree86 Project, Inc. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicence, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so,subject to the following conditions: + + 1. Redistributions of source code must retain the above copyright + notice,this list of conditions, and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution, and in the same place + and form as other copyright, license and disclaimer information. + + 3. The end-user documentation included with the redistribution, if any,must + include the following acknowledgment: "This product includes + software developed by The XFree86 Project, Inc (http://www.xfree86.org/) and + its contributors", in the same place and form as other third-party + acknowledgments. Alternately, this acknowledgment may appear in the software + itself, in the same form and location as other such third-party + acknowledgments. + + 4. Except as contained in this notice, the name of The XFree86 Project,Inc + shall not be used in advertising or otherwise to promote the sale, use + or other dealings in this Software without prior written authorization from + The XFree86 Project, Inc. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL,SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to X Window System 6.8.2, which is +included with JRE 7, JDK 7, and OpenJDK 7 on Linux and Solaris. + +--- begin of LICENSE --- + + Licenses +The X.Org Foundation March 2004 + +1. Introduction + +The X.org Foundation X Window System distribution is a compilation of code and +documentation from many sources. This document is intended primarily as a +guide to the licenses used in the distribution: you must check each file +and/or package for precise redistribution terms. None-the-less, this summary +may be useful to many users. No software incorporating the XFree86 1.1 license +has been incorporated. + +This document is based on the compilation from XFree86. + +2. XFree86 License + +XFree86 code without an explicit copyright is covered by the following +copyright/license: + +Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the XFree86 Project shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from the XFree86 Project. + +3. Other Licenses + +Portions of code are covered by the following licenses/copyrights. See +individual files for the copyright dates. + +3.1. X/MIT Copyrights + +3.1.1. X Consortium + +Copyright (C) X Consortium + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X +CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the X Consortium shall not be +used in advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from the X Consortium. + +X Window System is a trademark of X Consortium, Inc. + +3.1.2. The Open Group + +Copyright The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that the +above copyright notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting documentation. + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from The Open Group. 3.2. +Berkeley-based copyrights: + +o +3.2.1. General + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. 3.2.2. UCB/LBL + +Copyright (c) 1993 The Regents of the University of California. All rights +reserved. + +This software was developed by the Computer Systems Engineering group at +Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and contributed to +Berkeley. + +All advertising materials mentioning features or use of this software must +display the following acknowledgement: This product includes software +developed by the University of California, Lawrence Berkeley Laboratory. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: This product includes software + developed by the University of California, Berkeley and its contributors. + + 4. Neither the name of the University nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3.2.3. The +NetBSD Foundation, Inc. + +Copyright (c) 2003 The NetBSD Foundation, Inc. All rights reserved. + +This code is derived from software contributed to The NetBSD Foundation by Ben +Collver + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: This product includes software + developed by the NetBSD Foundation, Inc. and its contributors. + + 4. Neither the name of The NetBSD Foundation nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3.2.4. Theodore +Ts'o. + +Copyright Theodore Ts'o, 1994, 1995, 1996, 1997, 1998, 1999. All rights +reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + and the entire permission notice in its entirety, including the disclaimer + of warranties. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. he name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE, ALL OF WHICH ARE HEREBY DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. 3.2.5. Theo de Raadt and Damien Miller + +Copyright (c) 1995,1999 Theo de Raadt. All rights reserved. Copyright (c) +2001-2002 Damien Miller. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. 3.2.6. Todd C. Miller + +Copyright (c) 1998 Todd C. Miller + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright +notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION +OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 3.2.7. Thomas +Winischhofer + +Copyright (C) 2001-2004 Thomas Winischhofer + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESSED OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. 3.3. NVIDIA Corp + +Copyright (c) 1996 NVIDIA, Corp. All rights reserved. + +NOTICE TO USER: The source code is copyrighted under U.S. and international +laws. NVIDIA, Corp. of Sunnyvale, California owns the copyright and as design +patents pending on the design and interface of the NV chips. Users and +possessors of this source code are hereby granted a nonexclusive, royalty-free +copyright and design patent license to use this code in individual and +commercial software. + +Any use of this source code must include, in the user documentation and +internal comments to the code, notices to the end user as follows: + +Copyright (c) 1996 NVIDIA, Corp. NVIDIA design patents pending in the U.S. and +foreign countries. + +NVIDIA, CORP. MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE +CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED +WARRANTY OF ANY KIND. NVIDIA, CORP. DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA, CORP. BE LIABLE +FOR ANY SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOURCE CODE. 3.4. GLX Public +License + +GLX PUBLIC LICENSE (Version 1.0 (2/11/99)) ("License") + +Subject to any third party claims, Silicon Graphics, Inc. ("SGI") hereby +grants permission to Recipient (defined below), under Recipient's copyrights +in the Original Software (defined below), to use, copy, modify, merge, +publish, distribute, sublicense and/or sell copies of Subject Software +(defined below), and to permit persons to whom the Subject Software is +furnished in accordance with this License to do the same, subject to all of +the following terms and conditions, which Recipient accepts by engaging in any +such use, copying, modifying, merging, publishing, distributing, sublicensing +or selling: + +1. Definitions. + + (a) "Original Software" means source code of computer software code which + is described in Exhibit A as Original Software. + + (b) "Modifications" means any addition to or deletion from the substance + or structure of either the Original Software or any previous + Modifications. When Subject Software is released as a series of files, a + Modification means (i) any addition to or deletion from the contents of a + file containing Original Software or previous Modifications and (ii) any + new file that contains any part of the Original Code or previous + Modifications. + + (c) "Subject Software" means the Original Software or Modifications or the + combination of the Original Software and Modifications, or portions of any + of the foregoing. + + (d) "Recipient" means an individual or a legal entity exercising rights + under, and complying with all of the terms of, this License. For legal + entities, "Recipient" includes any entity which controls, is controlled + by, or is under common control with Recipient. For purposes of this + definition, "control" of an entity means (a) the power, direct or + indirect, to direct or manage such entity, or (b) ownership of fifty + percent (50%) or more of the outstanding shares or beneficial ownership of + such entity. + +2. Redistribution of Source Code Subject to These Terms. Redistributions of +Subject Software in source code form must retain the notice set forth in +Exhibit A, below, in every file. A copy of this License must be included in +any documentation for such Subject Software where the recipients' rights +relating to Subject Software are described. Recipient may distribute the +source code version of Subject Software under a license of Recipient's choice, +which may contain terms different from this License, provided that (i) +Recipient is in compliance with the terms of this License, and (ii) the +license terms include this Section 2 and Sections 3, 4, 7, 8, 10, 12 and 13 of +this License, which terms may not be modified or superseded by any other terms +of such license. If Recipient distributes the source code version under a +different license Recipient must make it absolutely clear that any terms which +differ from this License are offered by Recipient alone, not by SGI. Recipient +hereby agrees to indemnify SGI for any liability incurred by SGI as a result +of any such terms Recipient offers. + +3. Redistribution in Executable Form. The notice set forth in Exhibit A must +be conspicuously included in any notice in an executable version of Subject +Software, related documentation or collateral in which Recipient describes the +user's rights relating to the Subject Software. Recipient may distribute the +executable version of Subject Software under a license of Recipient's choice, +which may contain terms different from this License, provided that (i) +Recipient is in compliance with the terms of this License, and (ii) the +license terms include this Section 3 and Sections 4, 7, 8, 10, 12 and 13 of +this License, which terms may not be modified or superseded by any other terms +of such license. If Recipient distributes the executable version under a +different license Recipient must make it absolutely clear that any terms which +differ from this License are offered by Recipient alone, not by SGI. Recipient +hereby agrees to indemnify SGI for any liability incurred by SGI as a result +of any such terms Recipient offers. + +4. Termination. This License and the rights granted hereunder will terminate +automatically if Recipient fails to comply with terms herein and fails to cure +such breach within 30 days of the breach. Any sublicense to the Subject +Software which is properly granted shall survive any termination of this +License absent termination by the terms of such sublicense. Provisions which, +by their nature, must remain in effect beyond the termination of this License +shall survive. + +5. No Trademark Rights. This License does not grant any rights to use any +trade name, trademark or service mark whatsoever. No trade name, trademark or +service mark of SGI may be used to endorse or promote products derived from +the Subject Software without prior written permission of SGI. + +6. No Other Rights. This License does not grant any rights with respect to the +OpenGL API or to any software or hardware implementation thereof or to any +other software whatsoever, nor shall any other rights or licenses not +expressly granted hereunder arise by implication, estoppel or otherwise with +respect to the Subject Software. Title to and ownership of the Original +Software at all times remains with SGI. All rights in the Original Software +not expressly granted under this License are reserved. + +7. Compliance with Laws; Non-Infringement. Recipient shall comply with all +applicable laws and regulations in connection with use and distribution of the +Subject Software, including but not limited to, all export and import control +laws and regulations of the U.S. government and other countries. Recipient may +not distribute Subject Software that (i) in any way infringes (directly or +contributorily) the rights (including patent, copyright, trade secret, +trademark or other intellectual property rights of any kind) of any other +person or entity or (ii) breaches any representation or warranty, express, +implied or statutory, which under any applicable law it might be deemed to +have been distributed. + +8. Claims of Infringement. If Recipient at any time has knowledge of any one +or more third party claims that reproduction, modification, use, distribution, +import or sale of Subject Software (including particular functionality or code +incorporated in Subject Software) infringes the third party's intellectual +property rights, Recipient must place in a well-identified web page bearing +the title "LEGAL" a description of each such claim and a description of the +party making each such claim in sufficient detail that a user of the Subject +Software will know whom to contact regarding the claim. Also, upon gaining +such knowledge of any such claim, Recipient must conspicuously include the URL +for such web page in the Exhibit A notice required under Sections 2 and 3, +above, and in the text of any related documentation, license agreement or +collateral in which Recipient describes end user's rights relating to the +Subject Software. If Recipient obtains such knowledge after it makes Subject +Software available to any other person or entity, Recipient shall take other +steps (such as notifying appropriate mailing lists or newsgroups) reasonably +calculated to inform those who received the Subject Software that new +knowledge has been obtained. + +9. DISCLAIMER OF WARRANTY. SUBJECT SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, +WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT +LIMITATION, WARRANTIES THAT THE SUBJECT SOFTWARE IS FREE OF DEFECTS, +MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON- INFRINGING. SGI ASSUMES NO +RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD ANY SOFTWARE +PROVE DEFECTIVE IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR ANY +SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN +ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SUBJECT SOFTWARE IS AUTHORIZED +HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +10. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, +WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT LIABILITY), +CONTRACT, OR OTHERWISE, SHALL SGI OR ANY SGI LICENSOR BE LIABLE FOR ANY +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY +CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK +STOPPAGE, LOSS OF DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER +COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF +THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY +TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SGI's NEGLIGENCE TO +THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT +ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO +THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO RECIPIENT. + +11. Indemnity. Recipient shall be solely responsible for damages arising, +directly or indirectly, out of its utilization of rights under this License. +Recipient will defend, indemnify and hold harmless Silicon Graphics, Inc. from +and against any loss, liability, damages, costs or expenses (including the +payment of reasonable attorneys fees) arising out of Recipient's use, +modification, reproduction and distribution of the Subject Software or out of +any representation or warranty made by Recipient. + +12. U.S. Government End Users. The Subject Software is a "commercial item" +consisting of "commercial computer software" as such terms are defined in +title 48 of the Code of Federal Regulations and all U.S. Government End Users +acquire only the rights set forth in this License and are subject to the terms +of this License. + +13. Miscellaneous. This License represents the complete agreement concerning +subject matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed so as to achieve as nearly as +possible the same economic effect as the original provision and the remainder +of this License will remain in effect. This License shall be governed by and +construed in accordance with the laws of the United States and the State of +California as applied to agreements entered into and to be performed entirely +within California between California residents. Any litigation relating to +this License shall be subject to the exclusive jurisdiction of the Federal +Courts of the Northern District of California (or, absent subject matter +jurisdiction in such courts, the courts of the State of California), with +venue lying exclusively in Santa Clara County, California, with the losing +party responsible for costs, including without limitation, court costs and +reasonable attorneys fees and expenses. The application of the United Nations +Convention on Contracts for the International Sale of Goods is expressly +excluded. Any law or regulation which provides that the language of a contract +shall be construed against the drafter shall not apply to this License. + +Exhibit A + +The contents of this file are subject to Sections 2, 3, 4, 7, 8, 10, 12 and 13 +of the GLX Public License Version 1.0 (the "License"). You may not use this +file except in compliance with those sections of the License. You may obtain a +copy of the License at Silicon Graphics, Inc., attn: Legal Services, 2011 N. +Shoreline Blvd., Mountain View, CA 94043 or at +http://www.sgi.com/software/opensource/glx/license.html. + +Software distributed under the License is distributed on an "AS IS" basis. ALL +WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED +WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE OR OF NON- +INFRINGEMENT. See the License for the specific language governing rights and +limitations under the License. + +The Original Software is GLX version 1.2 source code, released February, 1999. +The developer of the Original Software is Silicon Graphics, Inc. Those +portions of the Subject Software created by Silicon Graphics, Inc. are +Copyright (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved. 3.5. CID +Font Code Public License + +CID FONT CODE PUBLIC LICENSE (Version 1.0 (3/31/99))("License") + +Subject to any applicable third party claims, Silicon Graphics, Inc. ("SGI") +hereby grants permission to Recipient (defined below), under SGI's copyrights +in the Original Software (defined below), to use, copy, modify, merge, +publish, distribute, sublicense and/or sell copies of Subject Software +(defined below) in both source code and executable form, and to permit persons +to whom the Subject Software is furnished in accordance with this License to +do the same, subject to all of the following terms and conditions, which +Recipient accepts by engaging in any such use, copying, modifying, merging, +publication, distributing, sublicensing or selling: + +1. Definitions. + + a. "Original Software" means source code of computer software code that is + described in Exhibit A as Original Software. + + b. "Modifications" means any addition to or deletion from the substance or + structure of either the Original Software or any previous Modifications. + When Subject Software is released as a series of files, a Modification + means (i) any addition to or deletion from the contents of a file + containing Original Software or previous Modifications and (ii) any new + file that contains any part of the Original Code or previous + Modifications. + + c. "Subject Software" means the Original Software or Modifications or the + combination of the Original Software and Modifications, or portions of any + of the foregoing. + + d. "Recipient" means an individual or a legal entity exercising rights + under the terms of this License. For legal entities, "Recipient" includes + any entity that controls, is controlled by, or is under common control + with Recipient. For purposes of this definition, "control" of an entity + means (i) the power, direct or indirect, to direct or manage such entity, + or (ii) ownership of fifty percent (50%) or more of the outstanding shares + or beneficial ownership of such entity. + + e. "Required Notice" means the notice set forth in Exhibit A to this + License. + + f. "Accompanying Technology" means any software or other technology that + is not a Modification and that is distributed or made publicly available + by Recipient with the Subject Software. Separate software files that do + not contain any Original Software or any previous Modification shall not + be deemed a Modification, even if such software files are aggregated as + part of a product, or in any medium of storage, with any file that does + contain Original Software or any previous Modification. + +2. License Terms. All distribution of the Subject Software must be made +subject to the terms of this License. A copy of this License and the Required +Notice must be included in any documentation for Subject Software where +Recipient's rights relating to Subject Software and/or any Accompanying +Technology are described. Distributions of Subject Software in source code +form must also include the Required Notice in every file distributed. In +addition, a ReadMe file entitled "Important Legal Notice" must be distributed +with each distribution of one or more files that incorporate Subject Software. +That file must be included with distributions made in both source code and +executable form. A copy of the License and the Required Notice must be +included in that file. Recipient may distribute Accompanying Technology under +a license of Recipient's choice, which may contain terms different from this +License, provided that (i) Recipient is in compliance with the terms of this +License, (ii) such other license terms do not modify or supersede the terms of +this License as applicable to the Subject Software, (iii) Recipient hereby +indemnifies SGI for any liability incurred by SGI as a result of the +distribution of Accompanying Technology or the use of other license terms. + +3. Termination. This License and the rights granted hereunder will terminate +automatically if Recipient fails to comply with terms herein and fails to cure +such breach within 30 days of the breach. Any sublicense to the Subject +Software that is properly granted shall survive any termination of this +License absent termination by the terms of such sublicense. Provisions which, +by their nature, must remain in effect beyond the termination of this License +shall survive. + +4. Trademark Rights. This License does not grant any rights to use any trade +name, trademark or service mark whatsoever. No trade name, trademark or +service mark of SGI may be used to endorse or promote products derived from or +incorporating any Subject Software without prior written permission of SGI. + +5. No Other Rights. No rights or licenses not expressly granted hereunder +shall arise by implication, estoppel or otherwise. Title to and ownership of +the Original Software at all times remains with SGI. All rights in the +Original Software not expressly granted under this License are reserved. + +6. Compliance with Laws; Non-Infringement. Recipient shall comply with all +applicable laws and regulations in connection with use and distribution of the +Subject Software, including but not limited to, all export and import control +laws and regulations of the U.S. government and other countries. Recipient may +not distribute Subject Software that (i) in any way infringes (directly or +contributorily) the rights (including patent, copyright, trade secret, +trademark or other intellectual property rights of any kind) of any other +person or entity, or (ii) breaches any representation or warranty, express, +implied or statutory, which under any applicable law it might be deemed to +have been distributed. + +7. Claims of Infringement. If Recipient at any time has knowledge of any one +or more third party claims that reproduction, modification, use, distribution, +import or sale of Subject Software (including particular functionality or code +incorporated in Subject Software) infringes the third party's intellectual +property rights, Recipient must place in a well-identified web page bearing +the title "LEGAL" a description of each such claim and a description of the +party making each such claim in sufficient detail that a user of the Subject +Software will know whom to contact regarding the claim. Also, upon gaining +such knowledge of any such claim, Recipient must conspicuously include the URL +for such web page in the Required Notice, and in the text of any related +documentation, license agreement or collateral in which Recipient describes +end user's rights relating to the Subject Software. If Recipient obtains such +knowledge after it makes Subject Software available to any other person or +entity, Recipient shall take other steps (such as notifying appropriate +mailing lists or newsgroups) reasonably calculated to provide such knowledge +to those who received the Subject Software. + +8. DISCLAIMER OF WARRANTY. SUBJECT SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, +WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT +LIMITATION, WARRANTIES THAT THE SUBJECT SOFTWARE IS FREE OF DEFECTS, +MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. SGI ASSUMES NO +RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD ANY SOFTWARE +PROVE DEFECTIVE IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR ANY +SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN +ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SUBJECT SOFTWARE IS AUTHORIZED +HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +9. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, +WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT LIABILITY), +CONTRACT, OR OTHERWISE, SHALL SGI OR ANY SGI LICENSOR BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SUBJECT SOFTWARE OR +THE USE OR OTHER DEALINGS IN THE SUBJECT SOFTWARE. SOME JURISDICTIONS DO NOT +ALLOW THE EXCLUSION OR LIMITATION OF CERTAIN DAMAGES, SO THIS EXCLUSION AND +LIMITATION MAY NOT APPLY TO RECIPIENT TO THE EXTENT SO DISALLOWED. + +10. Indemnity. Recipient shall be solely responsible for damages arising, +directly or indirectly, out of its utilization of rights under this License. +Recipient will defend, indemnify and hold SGI and its successors and assigns +harmless from and against any loss, liability, damages, costs or expenses +(including the payment of reasonable attorneys fees) arising out of +(Recipient's use, modification, reproduction and distribution of the Subject +Software or out of any representation or warranty made by Recipient. + +11. U.S. Government End Users. The Subject Software is a "commercial item" +consisting of "commercial computer software" as such terms are defined in +title 48 of the Code of Federal Regulations and all U.S. Government End Users +acquire only the rights set forth in this License and are subject to the terms +of this License. + +12. Miscellaneous. This License represents the complete agreement concerning +subject matter hereof. If any provision of this License is held to be +unenforceable by any judicial or administrative authority having proper +jurisdiction with respect thereto, such provision shall be reformed so as to +achieve as nearly as possible the same economic effect as the original +provision and the remainder of this License will remain in effect. This +License shall be governed by and construed in accordance with the laws of the +United States and the State of California as applied to agreements entered +into and to be performed entirely within California between California +residents. Any litigation relating to this License shall be subject to the +exclusive jurisdiction of the Federal Courts of the Northern District of +California (or, absent subject matter jurisdiction in such courts, the courts +of the State of California), with venue lying exclusively in Santa Clara +County, California, with the losing party responsible for costs, including +without limitation, court costs and reasonable attorneys fees and expenses. +The application of the United Nations Convention on Contracts for the +International Sale of Goods is expressly excluded. Any law or regulation that +provides that the language of a contract shall be construed against the +drafter shall not apply to this License. + +Exhibit A + +Copyright (c) 1994-1999 Silicon Graphics, Inc. + +The contents of this file are subject to the CID Font Code Public License +Version 1.0 (the "License"). You may not use this file except in compliance +with the License. You may obtain a copy of the License at Silicon Graphics, +Inc., attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043 +or at http://www.sgi.com/software/opensource/cid/license.html + +Software distributed under the License is distributed on an "AS IS" basis. ALL +WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED +WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE OR OF +NON-INFRINGEMENT. See the License for the specific language governing rights +and limitations under the License. + +The Original Software (as defined in the License) is CID font code that was +developed by Silicon Graphics, Inc. Those portions of the Subject Software (as +defined in the License) that were created by Silicon Graphics, Inc. are +Copyright (c) 1994-1999 Silicon Graphics, Inc. All Rights Reserved. + +[NOTE: When using this text in connection with Subject Software delivered +solely in object code form, Recipient may replace the words "this file" with +"this software" in both the first and second sentences.] 3.6. Bitstream Vera +Fonts Copyright + +The fonts have a generous copyright, allowing derivative works (as long as +"Bitstream" or "Vera" are not in the names), and full redistribution (so long +as they are not *sold* by themselves). They can be be bundled, redistributed +and sold with any software. + +The fonts are distributed under the following copyright: + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a +trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license ("Fonts") and associated documentation +files (the "Font Software"), to reproduce and distribute the Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, and/or sell copies of the Font Software, and to permit persons to +whom the Font Software is furnished to do so, subject to the following +conditions: + +The above copyright and trademark notices and this permission notice shall be +included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular the +designs of glyphs or characters in the Fonts may be modified and additional +glyphs or characters may be added to the Fonts, only if the fonts are renamed +to names not containing either the words "Bitstream" or the word "Vera". + +This License becomes null and void to the extent applicable to Fonts or Font +Software that has been modified and is distributed under the "Bitstream Vera" +names. + +The Font Software may be sold as part of a larger software package but no copy +of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, +SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO +USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome Foundation, +and Bitstream Inc., shall not be used in advertising or otherwise to promote +the sale, use or other dealings in this Font Software without prior written +authorization from the Gnome Foundation or Bitstream Inc., respectively. For +further information, contact: fonts at gnome dot org. 3.7. Bigelow & Holmes +Inc and URW++ GmbH Luxi font license + +Luxi fonts copyright (c) 2001 by Bigelow & Holmes Inc. Luxi font instruction +code copyright (c) 2001 by URW++ GmbH. All Rights Reserved. Luxi is a +registered trademark of Bigelow & Holmes Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of these Fonts and associated documentation files (the "Font Software"), to +deal in the Font Software, including without limitation the rights to use, +copy, merge, publish, distribute, sublicense, and/or sell copies of the Font +Software, and to permit persons to whom the Font Software is furnished to do +so, subject to the following conditions: + +The above copyright and trademark notices and this permission notice shall be +included in all copies of one or more of the Font Software. + +The Font Software may not be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may not be modified nor may +additional glyphs or characters be added to the Fonts. This License becomes +null and void when the Fonts or Font Software have been modified. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BIGELOW & HOLMES INC. OR URW++ +GMBH. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY +GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR +INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT +SOFTWARE. + +Except as contained in this notice, the names of Bigelow & Holmes Inc. and +URW++ GmbH. shall not be used in advertising or otherwise to promote the sale, +use or other dealings in this Font Software without prior written +authorization from Bigelow & Holmes Inc. and URW++ GmbH. + +For further information, contact: + +info@urwpp.de or design@bigelowandholmes.com + + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to zlib v1.2.3, which is included +with JRE 7, JDK 7, and OpenJDK 7 + +--- begin of LICENSE --- + + version 1.2.3, July 18th, 2005 + + Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to the following which is +included with JRE 7, JDK 7, and OpenJDK 7, except where noted: + + Apache Derby 10.8.3.0 [included with JDK 7 only] + Apache Jakarta BCEL 5.2 + Apache Jakarta Regexp 1.4 + Apache Santuario XMLSec-Java 1.4.2 + Apache Xalan-Java 2.7.1 + Apache Xerces2 Java 2.11.0 + Apache XML Resolver 1.1 + + +--- begin of LICENSE --- + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + diff --git a/Java-Visualizer/java/bin/ControlPanel b/Java-Visualizer/java/bin/ControlPanel new file mode 120000 index 00000000..194ee989 --- /dev/null +++ b/Java-Visualizer/java/bin/ControlPanel @@ -0,0 +1 @@ +jcontrol \ No newline at end of file diff --git a/Java-Visualizer/java/bin/appletviewer b/Java-Visualizer/java/bin/appletviewer new file mode 100755 index 00000000..54499513 Binary files /dev/null and b/Java-Visualizer/java/bin/appletviewer differ diff --git a/Java-Visualizer/java/bin/apt b/Java-Visualizer/java/bin/apt new file mode 100755 index 00000000..a87d025a Binary files /dev/null and b/Java-Visualizer/java/bin/apt differ diff --git a/Java-Visualizer/java/bin/extcheck b/Java-Visualizer/java/bin/extcheck new file mode 100755 index 00000000..c3474bdf Binary files /dev/null and b/Java-Visualizer/java/bin/extcheck differ diff --git a/Java-Visualizer/java/bin/idlj b/Java-Visualizer/java/bin/idlj new file mode 100755 index 00000000..c4d44693 Binary files /dev/null and b/Java-Visualizer/java/bin/idlj differ diff --git a/Java-Visualizer/java/bin/jar b/Java-Visualizer/java/bin/jar new file mode 100755 index 00000000..42ea0766 Binary files /dev/null and b/Java-Visualizer/java/bin/jar differ diff --git a/Java-Visualizer/java/bin/jarsigner b/Java-Visualizer/java/bin/jarsigner new file mode 100755 index 00000000..6a0ef8c2 Binary files /dev/null and b/Java-Visualizer/java/bin/jarsigner differ diff --git a/Java-Visualizer/java/bin/java b/Java-Visualizer/java/bin/java new file mode 100755 index 00000000..5d76208e Binary files /dev/null and b/Java-Visualizer/java/bin/java differ diff --git a/Java-Visualizer/java/bin/java-rmi.cgi b/Java-Visualizer/java/bin/java-rmi.cgi new file mode 100755 index 00000000..baf20919 --- /dev/null +++ b/Java-Visualizer/java/bin/java-rmi.cgi @@ -0,0 +1,74 @@ +#!/bin/sh + +# +# Copyright (c) 1996, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# + +# +# + +# +# This script executes the Java interpreter, defines properties +# that correspond to the CGI 1.0 environment variables, and executes +# the class "sun.rmi.transport.proxy.CGIHandler". It should be +# installed in the directory to which the HTTP server maps the +# URL path "/cgi-bin". +# +# (Configuration is necessary as noted below.) +# +# This class will support a QUERY_STRING of the form "forward=" +# with a REQUEST_METHOD "POST". The body of the request will be +# forwarded (as another POST request) to the server listening on the +# specified port (must be >= 1024). The response from this forwarded +# request will be the response to the original request. +# +# CONFIGURATION: +# +# Fill in correct absolute path to Java interpreter below. For example, +# the "PATH=" line might be changed to the follow if the JDK is installed +# at the path "/home/peter/java": +# +# PATH=/home/peter/java/bin:$PATH +# +PATH=/usr/local/java/bin:$PATH +exec java \ + -DAUTH_TYPE="$AUTH_TYPE" \ + -DCONTENT_LENGTH="$CONTENT_LENGTH" \ + -DCONTENT_TYPE="$CONTENT_TYPE" \ + -DGATEWAY_INTERFACE="$GATEWAY_INTERFACE" \ + -DHTTP_ACCEPT="$HTTP_ACCEPT" \ + -DPATH_INFO="$PATH_INFO" \ + -DPATH_TRANSLATED="$PATH_TRANSLATED" \ + -DQUERY_STRING="$QUERY_STRING" \ + -DREMOTE_ADDR="$REMOTE_ADDR" \ + -DREMOTE_HOST="$REMOTE_HOST" \ + -DREMOTE_IDENT="$REMOTE_IDENT" \ + -DREMOTE_USER="$REMOTE_USER" \ + -DREQUEST_METHOD="$REQUEST_METHOD" \ + -DSCRIPT_NAME="$SCRIPT_NAME" \ + -DSERVER_NAME="$SERVER_NAME" \ + -DSERVER_PORT="$SERVER_PORT" \ + -DSERVER_PROTOCOL="$SERVER_PROTOCOL" \ + -DSERVER_SOFTWARE="$SERVER_SOFTWARE" \ + sun.rmi.transport.proxy.CGIHandler diff --git a/Java-Visualizer/java/bin/javac b/Java-Visualizer/java/bin/javac new file mode 100755 index 00000000..54a05777 Binary files /dev/null and b/Java-Visualizer/java/bin/javac differ diff --git a/Java-Visualizer/java/bin/javadoc b/Java-Visualizer/java/bin/javadoc new file mode 100755 index 00000000..3c7bc6ac Binary files /dev/null and b/Java-Visualizer/java/bin/javadoc differ diff --git a/Java-Visualizer/java/bin/javafxpackager b/Java-Visualizer/java/bin/javafxpackager new file mode 100755 index 00000000..ae76acaa --- /dev/null +++ b/Java-Visualizer/java/bin/javafxpackager @@ -0,0 +1,81 @@ +#!/bin/sh +# +# JavaFX Packager tool execution script for Linux/Solaris/OS X. +# + +# resolve symlinks +PRG=$0 +while [ -h "$PRG" ]; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null` + if expr "$link" : '^/' 2> /dev/null >/dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi +done + +# detect Darwin and Cygwin environments +darwin=false; +cygwin=false; +case "`uname`" in + Darwin*) darwin=true; + if [ -z "$JAVA_HOME" ] ; then + BIN_DIR=`dirname $PRG` + JAVA_HOME=`cd $BIN_DIR > /dev/null; pwd`/.. + fi + ;; + CYGWIN*) cygwin=true;; +esac + +if [ -n "$JAVA_HOME" -a -x "$JAVA_HOME/bin/javac" ] ; then + JAVA_CMD="$JAVA_HOME/bin/java" + export JAVA_HOME +else + JAVAC_CMD=`which javac 2> /dev/null ` + while [ -h "$JAVAC_CMD" ]; do + ls=`ls -ld "$JAVAC_CMD"` + link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null` + if expr "$link" : '^/' 2> /dev/null >/dev/null; then + JAVAC_CMD="$link" + else + JAVAC_CMD="`dirname "$JAVAC_CMD"`/$link" + fi + done + BIN_DIR=`dirname "$JAVAC_CMD"` + JAVA_HOME=`dirname "$BIN_DIR"` + if [ "m$JAVA_HOME" != "m." ]; then + JAVA_CMD="$JAVA_HOME/bin/java" + export JAVA_HOME + else + unset JAVA_HOME + JAVA_CMD=`which java 2> /dev/null ` + if [ -z "$JAVA_CMD" ]; then + JAVA_CMD="java" + fi + fi +fi + + +if [ ! -x "$JAVA_CMD" ] ; then + echo 'Error: JAVA_HOME is not defined, cannot find "java" command.' + exit 1 +fi + +javafx_home=`dirname "$PRG"`/.. + +classpath=".:$javafx_home/lib/ant-javafx.jar" + +if [ -e "$javafx_home/jre/lib/jfxrt.jar" ] ; then + classpath="$classpath:$javafx_home/jre/lib/javafxrt.jar" +elif [ -e "$javafx_home/rt/lib/jfxrt.jar" ] ; then + classpath="$classpath:$javafx_home/rt/lib/javafxrt.jar" +fi + +if $cygwin ; then + classpath=`cygpath --path --windows "$classpath"` + javafx_home=`cygpath --windows "$javafx_home"` + JAVA_CMD=`cygpath --unix "$JAVA_CMD"` +fi + +exec "$JAVA_CMD" -Xmx256M "-Djavafx.home=$javafx_home" -classpath "$classpath" com.sun.javafx.tools.packager.Main "$@" diff --git a/Java-Visualizer/java/bin/javah b/Java-Visualizer/java/bin/javah new file mode 100755 index 00000000..ec9a3b45 Binary files /dev/null and b/Java-Visualizer/java/bin/javah differ diff --git a/Java-Visualizer/java/bin/javap b/Java-Visualizer/java/bin/javap new file mode 100755 index 00000000..d236957b Binary files /dev/null and b/Java-Visualizer/java/bin/javap differ diff --git a/Java-Visualizer/java/bin/javaws b/Java-Visualizer/java/bin/javaws new file mode 100755 index 00000000..1a775c3c Binary files /dev/null and b/Java-Visualizer/java/bin/javaws differ diff --git a/Java-Visualizer/java/bin/jcmd b/Java-Visualizer/java/bin/jcmd new file mode 100755 index 00000000..9c06d129 Binary files /dev/null and b/Java-Visualizer/java/bin/jcmd differ diff --git a/Java-Visualizer/java/bin/jconsole b/Java-Visualizer/java/bin/jconsole new file mode 100755 index 00000000..f5f12023 Binary files /dev/null and b/Java-Visualizer/java/bin/jconsole differ diff --git a/Java-Visualizer/java/bin/jcontrol b/Java-Visualizer/java/bin/jcontrol new file mode 100755 index 00000000..4baa9409 --- /dev/null +++ b/Java-Visualizer/java/bin/jcontrol @@ -0,0 +1,247 @@ +#!/bin/bash +# +# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# +# Shell Script to run the Java Plug-in control panel. +# +# Parse the command-line options +# -r means make associate with the container (i.e browser) +# -u means remove the association with the container +# -c provides the location of the container install +# -j provides the location of the jre install +# if neither -r or -u are specified, run the ControlPanel UI + +USAGE='usage: ControlPanel [ (-u scheme | -r scheme) -c cpath -j jrepath ]' +JLERROR='ControlPanel: Error: Invalid JRE location: ' +CLERROR='ControlPanel: Error: Invalid container location: ' +IPERROR='ControlPanel: Error: Insufficient permission' +ISERROR='ControlPanel: Error: Invalid scheme: ' +XLERROR='ControlPanel: Error: Invalid link or copy: ' + +check_container_dir() { + + if [ ! -d ${1} ]; then + echo "${CLERROR}${2}" + exit 1 + fi + if [ ! -w ${1} ]; then + echo "${IPERROR}" + exit 1 + fi +} + +link_logic() { + if [ ${mode} = "reg" ]; then + ln -s ${1} ${2} + else + rm -f ${2} + fi +} + +# +# Get the absolute path to a symbolic link's reference. +# +# Parameters: +# $* : path - the path to the file (link) to dereference (can have spaces in +# the path). +# +# Output: +# This function writes the path to the link reference to stdout. +# +# Note: This function is not capable of detecting that one or more directories +# in the path is also a link and unravelling that. +# +dereference() { + path="$*" + result= + + # + # Make sure the path is absolute + # + parent="`cd \`dirname \"${path}\"\`; pwd`" + child="`basename \"${path}\"`" + + # + # if parent == child, then path == /, and is already absolute + # + if [ "${parent}" != "${child}" ]; then + path="${parent}/${child}" + fi + + if [ -h "${path}" ]; then + path=`ls -l "${path}" | sed -e "s#^.*${path} -> ##"` + + # make sure the path is still absolute (starts with '/') + if expr "${path}" : '[^/]' > /dev/null; then + path="${parent}/${path}" + fi + fi + + echo ${path} +} + +# +# Check for all the parts required to launch the control panel relative to the +# given path. +# +# +# Parameters: +# $* : path - the path to examine, presumably the resolved path to this +# script (can have spaces in the path). +# +# Output: +# If successful, this function outputs the absolute path to a directory +# containing the Java binary, and ../lib/deploy.jar; otherwise it outputs +# an empty string. (Output is to stdout.) +# +# Note: the assumption is that this function returns either: +# +# /jre/bin, or +# /bin +# +# However, as long as the directory pointed by the path returned by this +# function contains: +# +# ./java +# ../lib/deploy.jar +# +# it should be possible to successfully launch the JCP from the given +# information. +# +check_parts() { + result="`cd \`dirname \"$*\"\`; pwd`" + + # if this is a JDK, we need the JRE subdir + if [ -d "${result}/../jre/bin" ]; then + result="`cd \`dirname \"$*\"\`/../jre/bin; pwd`" + fi + + if [ ! -x "${result}/java" ] || [ ! -f "${result}/../lib/deploy.jar" ]; then + result= + fi + + echo ${result} +} + +# +# Launch the Java Control Panel. +# +# Parameters: +# $* : path - the path of this script (can have spaces in the path). +# +launch_jcp() { + path="$*" + while [ -h ${path} ]; do + path="`dereference ${path}`" + done + + java_home="`check_parts ${path}`" + if [ -n "${java_home}" ]; then + # launch the JCP using paths relative to + ${java_home}/java -Djavaplugin.user.profile=${USER_JPI_PROFILE} \ + -Xbootclasspath/a:${java_home}/../lib/deploy.jar \ + ${_JAVA_VM_OPTIONS} \ + com.sun.deploy.panel.ControlPanel + else + echo "${XLERROR}${java_home}" + exit 1 + fi +} + +# +# Manage the process of registering/unregistering the Java Plug-in with a given +# container (browser). +# +manage_container() { + # Do the "right" thing based on the provided scheme. + plugin_stem=${java_home}/plugin/${proc} + if [ ! -d ${plugin_stem} ]; then + echo "${JLERROR}${java_home}" + exit 1 + fi + + case ${scheme} in + ns4 | ns4E ) + plugin_location="${plugin_stem}/ns4" + if [ ${mode} = "reg" ]; then + echo "${plugin_location}" + fi + ;; + ns4L ) + plugin_location="${plugin_stem}/ns4" + filename=`ls ${plugin_location}` + container_target="${container_home}/plugins" + check_container_dir ${container_target} ${container_home} + link_logic ${plugin_location}/${filename} ${container_target}/${filename} + ;; + ns610 | ns610L ) + plugin_location="${plugin_stem}/ns610" + filename=`ls ${plugin_location}` + container_target="${container_home}/plugins" + check_container_dir ${container_target} ${container_home} + link_logic ${plugin_location}/${filename} ${container_target}/${filename} + ;; + * ) + echo ${ISERROR}${scheme} + exit 1 + esac +} + +while getopts ":r:u:c:j:" opt; do + case $opt in + r ) mode="reg";scheme=${OPTARG} + ;; + u ) mode="unreg";scheme=${OPTARG} + ;; + c ) container_home=${OPTARG} + ;; + j ) java_home=${OPTARG} + ;; + : ) echo ${USAGE} + exit 1 + ;; + \? ) echo ${USAGE} + exit 1 + ;; + esac +done + +os=`uname -s` +if [ "${os}" = "Linux" ]; then + case "`uname -m`" in + i[3-9]86 | ia32 | ia64 | x86_64) + proc=i386 + ;; + sparc*) + proc=sparc + ;; + arm*) + proc=arm + ;; + ppc*) + proc=ppc + ;; + *) + proc="`uname -m`" + ;; + esac +else + proc=`uname -p` +fi + +if [ -z "${scheme}" ] && + [ -z "${java_home}" ] && [ -z "${container_home}" ] +then + # just run the control panel + launch_jcp $0 +elif [ -n "${scheme}" ] && + [ -n "${java_home}" ] && [ -n "${container_home}" ] +then + # try to register/unregister the plugin + manage_container +else + # one or more missing args + echo ${USAGE} + exit 1 +fi diff --git a/Java-Visualizer/java/bin/jdb b/Java-Visualizer/java/bin/jdb new file mode 100755 index 00000000..8eae2cf6 Binary files /dev/null and b/Java-Visualizer/java/bin/jdb differ diff --git a/Java-Visualizer/java/bin/jhat b/Java-Visualizer/java/bin/jhat new file mode 100755 index 00000000..30233d9a Binary files /dev/null and b/Java-Visualizer/java/bin/jhat differ diff --git a/Java-Visualizer/java/bin/jinfo b/Java-Visualizer/java/bin/jinfo new file mode 100755 index 00000000..4f1cb51b Binary files /dev/null and b/Java-Visualizer/java/bin/jinfo differ diff --git a/Java-Visualizer/java/bin/jmap b/Java-Visualizer/java/bin/jmap new file mode 100755 index 00000000..e6e10d80 Binary files /dev/null and b/Java-Visualizer/java/bin/jmap differ diff --git a/Java-Visualizer/java/bin/jmc b/Java-Visualizer/java/bin/jmc new file mode 100755 index 00000000..bf8b0b52 Binary files /dev/null and b/Java-Visualizer/java/bin/jmc differ diff --git a/Java-Visualizer/java/bin/jmc.ini b/Java-Visualizer/java/bin/jmc.ini new file mode 100755 index 00000000..90b5ef93 --- /dev/null +++ b/Java-Visualizer/java/bin/jmc.ini @@ -0,0 +1,13 @@ +-startup +../lib/missioncontrol/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar +--launcher.library +../lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033 +--launcher.appendVmargs +-vm +../jre/bin/ +-vmargs +-XX:+UseG1GC +-XX:+UnlockCommercialFeatures +-XX:+FlightRecorder +-XX:FlightRecorderOptions=defaultrecording=true +-Djava.net.preferIPv4Stack=true diff --git a/Java-Visualizer/java/bin/jps b/Java-Visualizer/java/bin/jps new file mode 100755 index 00000000..45eb56e6 Binary files /dev/null and b/Java-Visualizer/java/bin/jps differ diff --git a/Java-Visualizer/java/bin/jrunscript b/Java-Visualizer/java/bin/jrunscript new file mode 100755 index 00000000..f34f7b1f Binary files /dev/null and b/Java-Visualizer/java/bin/jrunscript differ diff --git a/Java-Visualizer/java/bin/jsadebugd b/Java-Visualizer/java/bin/jsadebugd new file mode 100755 index 00000000..e6ab5707 Binary files /dev/null and b/Java-Visualizer/java/bin/jsadebugd differ diff --git a/Java-Visualizer/java/bin/jstack b/Java-Visualizer/java/bin/jstack new file mode 100755 index 00000000..3832e210 Binary files /dev/null and b/Java-Visualizer/java/bin/jstack differ diff --git a/Java-Visualizer/java/bin/jstat b/Java-Visualizer/java/bin/jstat new file mode 100755 index 00000000..361a8bf0 Binary files /dev/null and b/Java-Visualizer/java/bin/jstat differ diff --git a/Java-Visualizer/java/bin/jstatd b/Java-Visualizer/java/bin/jstatd new file mode 100755 index 00000000..4b5677e2 Binary files /dev/null and b/Java-Visualizer/java/bin/jstatd differ diff --git a/Java-Visualizer/java/bin/jvisualvm b/Java-Visualizer/java/bin/jvisualvm new file mode 100755 index 00000000..54d4075a --- /dev/null +++ b/Java-Visualizer/java/bin/jvisualvm @@ -0,0 +1,208 @@ +#!/bin/sh +# +# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# +# resolve symlinks +# + +PRG=$0 + +while [ -h "$PRG" ]; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null` + if expr "$link" : '^/' 2> /dev/null >/dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi +done + +progdir=`dirname "$PRG"` +old=`pwd` +cd "$progdir"/.. +basedir=`pwd` +cd "$old" + +case "`uname`" in + Darwin*) + # set default userdir and cachedir on Mac OS X + DEFAULT_USERDIR_ROOT="${HOME}/Library/Application Support/VisualVM" + DEFAULT_CACHEDIR_ROOT=${HOME}/Library/Caches/VisualVM + ;; + *) + # set default userdir and cachedir on unix systems + DEFAULT_USERDIR_ROOT=${HOME}/.visualvm + DEFAULT_CACHEDIR_ROOT=${HOME}/.cache/visualvm + ;; +esac + + +if [ -f "$progdir"/../lib/visualvm/etc/visualvm.conf ] ; then + visualvm_jdkhome="$basedir" + old=`pwd` + cd "$progdir/../lib/visualvm/" + basedir=`pwd` + cd "$old" + . "$progdir"/../lib/visualvm/etc/visualvm.conf +elif [ -f "$progdir"/../etc/visualvm.conf ] ; then + . "$progdir"/../etc/visualvm.conf +fi + + +export DEFAULT_USERDIR_ROOT + +# #68373: look for userdir, but do not modify "$@" +userdir="${visualvm_default_userdir}" +cachedir="${visualvm_default_cachedir}" + +founduserdir="" +for opt in "$@"; do + if [ "${founduserdir}" = "yes" ]; then + userdir="$opt" + break + elif [ "$opt" = "--userdir" ]; then + founduserdir="yes" + fi +done +foundcachedir="" +for opt in "$@"; do + if [ "${foundcachedir}" = "yes" ]; then + cachedir="$opt" + break + elif [ "$opt" = "--cachedir" ]; then + foundcachedir="yes" + fi +done + +if [ -f "${userdir}"/etc/visualvm.conf ] ; then + . "${userdir}"/etc/visualvm.conf +fi + + +if [ ! -f "$basedir"/etc/visualvm.clusters ]; then + echo Cannot read cluster file: "$basedir"/etc/visualvm.clusters 1>&2 + exit 1 +fi + +readClusters() { + grep -v "^#" "$basedir"/etc/visualvm.clusters | grep -v "^$" | grep -v platform | while read X; do + if expr "$X" : "/.*" >/dev/null; then + echo "$X" + else + echo "$basedir/$X" + fi + done +} + +absolutize_paths() { + while read path; do + if [ -d "$path" ]; then + (cd "$path" 2>/dev/null && pwd) + else + echo "$path" + fi + done +} + +visualvm_clusters=`readClusters | absolutize_paths | tr '\012' ':'` + +if [ ! -z "$visualvm_extraclusters" ] ; then + visualvm_clusters ="$visualvm_clusters:$visualvm_extraclusters" +fi + +heap_size () { + mem=640 + case "`uname`" in + Linux*) + mem=`cat /proc/meminfo | grep MemTotal | tr -d [:space:][:alpha:]:` + mem=`expr $mem / 1024` + ;; + SunOS*) + mem=`/usr/sbin/prtconf | grep Memory | /usr/bin/tr -dc '[0-9]'` + ;; + Darwin*) + mem=`/usr/sbin/sysctl hw.memsize | tr -d [:alpha:][:space:].:` + mem=`expr $mem / 1048576` + ;; + *) + ;; + esac + if [ -z "$mem" ] ; then + mem=640 + fi + mem=`expr $mem / 5` + if [ $mem -gt 1024 ] ; then + mem=1024 + elif [ $mem -lt 96 ] ; then + mem=96 + fi + max_heap_size=$mem + return 0 +} + + +if grep -v -- "-J-Xmx" >/dev/null </dev/null </dev/null; then + echo $X/lib/nbexec + elif [ -f "$basedir"/$X/lib/nbexec ]; then + echo "$basedir"/$X/lib/nbexec + fi + done | head -n 1` + if [ \! -n "$nbexec" ] ; then + nbexec="$basedir"/platform/lib/nbexec + fi + sh=sh + # #73162: Ubuntu uses the ancient Bourne shell, which does not implement trap well. + if [ -x /bin/bash ] + then + sh=/bin/bash + fi + if [ "${founduserdir}" = "yes" ]; then + exec $sh "$nbexec" "$@" + else + if [ "${foundcachedir}" = "yes" ]; then + exec $sh "$nbexec" --userdir "${userdir}" "$@" + else + exec $sh "$nbexec" --userdir "${userdir}" --cachedir "${cachedir}" "$@" + fi + fi +} + +# in case of macosx, the apple.laf.useScreenMenuBar property should be ideally in the Info.plist file +# but it doesn't get propagated into the executed java VM. +case "`uname`" in + Darwin*) + eval launchNbexec \ + --jdkhome '"$visualvm_jdkhome"' \ + -J-Dcom.apple.mrj.application.apple.menu.about.name=VisualVM \ + -J-Xdock:name=VisualVM \ + '"-J-Xdock:icon=$basedir/etc/visualvm.icns"' \ + --branding visualvm \ + --clusters '"$visualvm_clusters"' \ + ${visualvm_default_options} \ + '"$@"' + ;; + *) + eval launchNbexec \ + --jdkhome '"$visualvm_jdkhome"' \ + --branding visualvm \ + --clusters '"$visualvm_clusters"' \ + ${visualvm_default_options} \ + '"$@"' + ;; +esac diff --git a/Java-Visualizer/java/bin/keytool b/Java-Visualizer/java/bin/keytool new file mode 100755 index 00000000..5e6dd4d2 Binary files /dev/null and b/Java-Visualizer/java/bin/keytool differ diff --git a/Java-Visualizer/java/bin/native2ascii b/Java-Visualizer/java/bin/native2ascii new file mode 100755 index 00000000..6e1aa281 Binary files /dev/null and b/Java-Visualizer/java/bin/native2ascii differ diff --git a/Java-Visualizer/java/bin/orbd b/Java-Visualizer/java/bin/orbd new file mode 100755 index 00000000..eff1927a Binary files /dev/null and b/Java-Visualizer/java/bin/orbd differ diff --git a/Java-Visualizer/java/bin/pack200 b/Java-Visualizer/java/bin/pack200 new file mode 100755 index 00000000..5576247b Binary files /dev/null and b/Java-Visualizer/java/bin/pack200 differ diff --git a/Java-Visualizer/java/bin/policytool b/Java-Visualizer/java/bin/policytool new file mode 100755 index 00000000..69129f65 Binary files /dev/null and b/Java-Visualizer/java/bin/policytool differ diff --git a/Java-Visualizer/java/bin/rmic b/Java-Visualizer/java/bin/rmic new file mode 100755 index 00000000..f07a88e1 Binary files /dev/null and b/Java-Visualizer/java/bin/rmic differ diff --git a/Java-Visualizer/java/bin/rmid b/Java-Visualizer/java/bin/rmid new file mode 100755 index 00000000..d9d10210 Binary files /dev/null and b/Java-Visualizer/java/bin/rmid differ diff --git a/Java-Visualizer/java/bin/rmiregistry b/Java-Visualizer/java/bin/rmiregistry new file mode 100755 index 00000000..a0d92bb8 Binary files /dev/null and b/Java-Visualizer/java/bin/rmiregistry differ diff --git a/Java-Visualizer/java/bin/schemagen b/Java-Visualizer/java/bin/schemagen new file mode 100755 index 00000000..54c4df40 Binary files /dev/null and b/Java-Visualizer/java/bin/schemagen differ diff --git a/Java-Visualizer/java/bin/serialver b/Java-Visualizer/java/bin/serialver new file mode 100755 index 00000000..5ca3d4bd Binary files /dev/null and b/Java-Visualizer/java/bin/serialver differ diff --git a/Java-Visualizer/java/bin/servertool b/Java-Visualizer/java/bin/servertool new file mode 100755 index 00000000..5e2b2e34 Binary files /dev/null and b/Java-Visualizer/java/bin/servertool differ diff --git a/Java-Visualizer/java/bin/tnameserv b/Java-Visualizer/java/bin/tnameserv new file mode 100755 index 00000000..7fc55a68 Binary files /dev/null and b/Java-Visualizer/java/bin/tnameserv differ diff --git a/Java-Visualizer/java/bin/unpack200 b/Java-Visualizer/java/bin/unpack200 new file mode 100755 index 00000000..0ec85cb0 Binary files /dev/null and b/Java-Visualizer/java/bin/unpack200 differ diff --git a/Java-Visualizer/java/bin/wsgen b/Java-Visualizer/java/bin/wsgen new file mode 100755 index 00000000..4a981f7f Binary files /dev/null and b/Java-Visualizer/java/bin/wsgen differ diff --git a/Java-Visualizer/java/bin/wsimport b/Java-Visualizer/java/bin/wsimport new file mode 100755 index 00000000..58896e1c Binary files /dev/null and b/Java-Visualizer/java/bin/wsimport differ diff --git a/Java-Visualizer/java/bin/xjc b/Java-Visualizer/java/bin/xjc new file mode 100755 index 00000000..a801a4e6 Binary files /dev/null and b/Java-Visualizer/java/bin/xjc differ diff --git a/Java-Visualizer/java/db/3RDPARTY b/Java-Visualizer/java/db/3RDPARTY new file mode 100644 index 00000000..28c2c919 --- /dev/null +++ b/Java-Visualizer/java/db/3RDPARTY @@ -0,0 +1,80 @@ +------------------------------------------------------------------------ +Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved. +------------------------------------------------------------------------ + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +------------------------------------------------------------------------ + + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. diff --git a/Java-Visualizer/java/db/LICENSE b/Java-Visualizer/java/db/LICENSE new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/Java-Visualizer/java/db/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/Java-Visualizer/java/db/NOTICE b/Java-Visualizer/java/db/NOTICE new file mode 100644 index 00000000..69d204e7 --- /dev/null +++ b/Java-Visualizer/java/db/NOTICE @@ -0,0 +1,182 @@ +========================================================================= +== NOTICE file corresponding to section 4(d) of the Apache License, +== Version 2.0, in this case for the Apache Derby distribution. +== +== DO NOT EDIT THIS FILE DIRECTLY. IT IS GENERATED +== BY THE buildnotice TARGET IN THE TOP LEVEL build.xml FILE. +== +========================================================================= + +Apache Derby +Copyright 2004-2014 The Apache Software Foundation + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + + +========================================================================= + +Portions of Derby were originally developed by +International Business Machines Corporation and are +licensed to the Apache Software Foundation under the +"Software Grant and Corporate Contribution License Agreement", +informally known as the "Derby CLA". +The following copyright notice(s) were affixed to portions of the code +with which this file is now or was at one time distributed +and are placed here unaltered. + +(C) Copyright 1997,2004 International Business Machines Corporation. All rights reserved. + +(C) Copyright IBM Corp. 2003. + + +========================================================================= + + +The portion of the functionTests under 'nist' was originally +developed by the National Institute of Standards and Technology (NIST), +an agency of the United States Department of Commerce, and adapted by +International Business Machines Corporation in accordance with the NIST +Software Acknowledgment and Redistribution document at +http://www.itl.nist.gov/div897/ctg/sql_form.htm + + + +========================================================================= + + +The JDBC apis for small devices and JDBC3 (under java/stubs/jsr169 and +java/stubs/jdbc3) were produced by trimming sources supplied by the +Apache Harmony project. In addition, the Harmony SerialBlob and +SerialClob implementations are used. The following notice covers the Harmony sources: + +Portions of Harmony were originally developed by +Intel Corporation and are licensed to the Apache Software +Foundation under the "Software Grant and Corporate Contribution +License Agreement", informally known as the "Intel Harmony CLA". + + +========================================================================= + + +The Derby build relies on source files supplied by the Apache Felix +project. The following notice covers the Felix files: + + Apache Felix Main + Copyright 2008 The Apache Software Foundation + + + I. Included Software + + This product includes software developed at + The Apache Software Foundation (http://www.apache.org/). + Licensed under the Apache License 2.0. + + This product includes software developed at + The OSGi Alliance (http://www.osgi.org/). + Copyright (c) OSGi Alliance (2000, 2007). + Licensed under the Apache License 2.0. + + This product includes software from http://kxml.sourceforge.net. + Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany. + Licensed under BSD License. + + II. Used Software + + This product uses software developed at + The OSGi Alliance (http://www.osgi.org/). + Copyright (c) OSGi Alliance (2000, 2007). + Licensed under the Apache License 2.0. + + + III. License Summary + - Apache License 2.0 + - BSD License + + +========================================================================= + + +The Derby build relies on jar files supplied by the Apache Xalan +project. The following notice covers the Xalan jar files: + + ========================================================================= + == NOTICE file corresponding to section 4(d) of the Apache License, == + == Version 2.0, in this case for the Apache Xalan Java distribution. == + ========================================================================= + + Apache Xalan (Xalan XSLT processor) + Copyright 1999-2006 The Apache Software Foundation + + Apache Xalan (Xalan serializer) + Copyright 1999-2006 The Apache Software Foundation + + This product includes software developed at + The Apache Software Foundation (http://www.apache.org/). + + ========================================================================= + Portions of this software was originally based on the following: + - software copyright (c) 1999-2002, Lotus Development Corporation., + http://www.lotus.com. + - software copyright (c) 2001-2002, Sun Microsystems., + http://www.sun.com. + - software copyright (c) 2003, IBM Corporation., + http://www.ibm.com. + + ========================================================================= + The binary distribution package (ie. jars, samples and documentation) of + this product includes software developed by the following: + + - The Apache Software Foundation + - Xerces Java - see LICENSE.txt + - JAXP 1.3 APIs - see LICENSE.txt + - Bytecode Engineering Library - see LICENSE.txt + - Regular Expression - see LICENSE.txt + + - Scott Hudson, Frank Flannery, C. Scott Ananian + - CUP Parser Generator runtime (javacup\runtime) - see LICENSE.txt + + ========================================================================= + The source distribution package (ie. all source and tools required to build + Xalan Java) of this product includes software developed by the following: + + - The Apache Software Foundation + - Xerces Java - see LICENSE.txt + - JAXP 1.3 APIs - see LICENSE.txt + - Bytecode Engineering Library - see LICENSE.txt + - Regular Expression - see LICENSE.txt + - Ant - see LICENSE.txt + - Stylebook doc tool - see LICENSE.txt + + - Elliot Joel Berk and C. Scott Ananian + - Lexical Analyzer Generator (JLex) - see LICENSE.txt + + ========================================================================= + Apache Xerces Java + Copyright 1999-2006 The Apache Software Foundation + + This product includes software developed at + The Apache Software Foundation (http://www.apache.org/). + + Portions of Apache Xerces Java in xercesImpl.jar and xml-apis.jar + were originally based on the following: + - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. + - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. + - voluntary contributions made by Paul Eng on behalf of the + Apache Software Foundation that were originally developed at iClick, Inc., + software copyright (c) 1999. + + ========================================================================= + Apache xml-commons xml-apis (redistribution of xml-apis.jar) + + Apache XML Commons + Copyright 2001-2003,2006 The Apache Software Foundation. + + This product includes software developed at + The Apache Software Foundation (http://www.apache.org/). + + Portions of this software were originally based on the following: + - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. + - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. + - software copyright (c) 2000 World Wide Web Consortium, http://www.w3.org + diff --git a/Java-Visualizer/java/db/README-JDK.html b/Java-Visualizer/java/db/README-JDK.html new file mode 100644 index 00000000..bbb275b0 --- /dev/null +++ b/Java-Visualizer/java/db/README-JDK.html @@ -0,0 +1,31 @@ + + + + + + + README -- Java DB + + + +

README

+

Java™ DB

+ +Java DB is Oracle's distribution of the open source Apache Derby Java +database. It is distributed as part of the +Java™ Development Kit. +

+Please refer to +documentation here +for details. The release notes show +the version of the documentation applicable to the Java DB present in this kit. +

+

+ The Java™ Development Kit (JDK™) is a + product of Oracle. +
+ Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights + reserved. +

+ + diff --git a/Java-Visualizer/java/db/RELEASE-NOTES.html b/Java-Visualizer/java/db/RELEASE-NOTES.html new file mode 100644 index 00000000..932acd13 --- /dev/null +++ b/Java-Visualizer/java/db/RELEASE-NOTES.html @@ -0,0 +1,599 @@ + +Release Notes for Apache Derby 10.8.3.0 + +

+Release Notes for Apache Derby 10.8.3.0

+
+

These notes describe the difference between Apache Derby release 10.8.3.0 and the preceding release 10.8.2.2.

+
+ +

+Overview

+
+ + +

+The most up to date information about Derby releases can be found on the +Derby download page. +

+ + +

+Apache Derby is a pure Java relational database engine using standard SQL and +JDBC as its APIs. More information about Derby can be found on the +Apache web site. +Derby functionality includes: +

+ + +
    + +
  • Embedded engine with JDBC drivers
  • + +
  • Network Server
  • + +
  • Network client JDBC drivers
  • + +
  • Command line tools: ij (SQL scripting), dblook (schema dump) and sysinfo (system info)
  • + +
+ + +

+Java and JDBC versions supported: +

+ +
    + +
  • Java SE 1.4 and higher with + JDBC 2.1, 3.0, 4.0 and 4.1
  • + +
  • Java ME CDC/Foundation Profile 1.1 with + JSR-169 JDBC Optional Package for CDC/Foundation Profile.
  • + +
+ +
+

+New Features

+
+ + +

+This is a bug fix release. No new features were added. +

+ + +
+

+Bug Fixes

+
+

The following issues are addressed by Derby release 10.8.3.0. These issues are not addressed in the preceding 10.8.2.2 release.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Issue IdDescription
DERBY-5951Missing method exception raised when using Clobs with territory based collation
DERBY-5937File handle is leaked when a Slave replication is shutdown with failover=true
DERBY-5925Document derby.log changes resulting from DERBY-5240
DERBY-5918CREATE TABLE AS SELECT doesn't work on tables with BOOLEAN columns
DERBY-5916java.lang.NullPointerException org.apache.derby.impl.store.raw.data.BaseDataFileFactory.stop() connecting to network server
DERBY-5912testIsValidImplemented fails for NetworkServer in some slow running machines/configurations
DERBY-5911WHERE condition getting pushed into sub-query with FETCH
DERBY-5910Document use of Connection.close() with try-with-resources
DERBY-5909The lang attribute in toc.html always says 'en-us'
DERBY-5906In the Reference Manual, sin() is used as the example for the sinh() function.
DERBY-5905Derby html documentation doesn't render properly and prints garbage on Internet Explorer
DERBY-5900Need to correct Reference Guide description of contents of SYS.SYSPERMS.OBJECTTYPE
DERBY-5898add ibm18 class to functionTests.harness
DERBY-5838By using syscs_set_database_property, you can set the database version to a garbage string which prevents you from booting the database.
DERBY-5830Make DoubleProperties.propertyNames() thread-safe
DERBY-5822Document the new SQL standard behavior of the SPACE_TABLE vti
DERBY-5805Database encryption topics in Reference Manual need more information
DERBY-5799add more info on when Derby chooses 32k page size for tables.
DERBY-5775Upgrade tests should print full IOException stack trace when it fails to access old versions
DERBY-5727Update POMs to deploy Maven artifacts to repository.apache.org and use ASF parent POM
DERBY-5692intermittent test failure in storetests/st_derby715.java
DERBY-5691Document that Write Caching must be disabled to avoid possible database corruption
DERBY-5681When a foreign key constraint on a table is dropped, the associated statistics row for the conglomerate is not removed
DERBY-5663Getting NPE when trying to set derby.language.logStatementText property to true inside a junit suite.
DERBY-5649make improvements to nstest so it's easier to run/analyze/debug
DERBY-5638intermittent test failure in test_05_ClobNegative when running full largedata._Suite; LobLimitsTestjava.sql.SQLException: Table/View 'BLOBTBL' already exists in Schema 'APP'.
DERBY-5633Add tests for state transition and behavior with Lock Timeout in XA Transaction (DERBY-5552 testing task)
DERBY-5624System can run out of stack space while processing DropOnCommit requests.
DERBY-5622Reduce the chance for hash collisions when checking bootPassword at boot time and when changing password.
DERBY-5617Improve process handling in SpawnedProcess
DERBY-5616demo/vtis/sql/demoFileVtis.sql needs to be adjusted: messages_en.properties has moved
DERBY-5614NullPointerException with INSERT INTO [global temporary table] SELECT ... FROM [VTI]
DERBY-5609Prepare old test harness for running tests on Java 8
DERBY-5608BaseTestCase.readProcessOutput should read getInputStream() and getErrorStream() in separate threads
DERBY-5603EmbedConnection.clearLOBMapping() incorrectly clears lobFiles causing a ConcurrentModificationException
DERBY-5599readlocks.sql fails with extra locks.
DERBY-5598testStartWithPrintWriter(org.apache.derbyTesting.functionTests.tests.derbynet.DerbyNetNewServerTest)junit.framework.AssertionFailedError: Num of log item should add
DERBY-5586Remove the fo2html.xsl script from the docs repository and fix the docs and release builds so that they don't build monohtml versions of the Derby manuals.
DERBY-5584Select statement with subqueries with group by and count distinct statements returns wrong number of results
DERBY-5582Access denied (java.lang.RuntimePermission modifyThreadGroup) in IndexStatisticsDaemonImpl.schedule()
DERBY-5574encryption test in encryption nightly suite test fails with ERROR XBM0S: Unable to rename file error
DERBY-5567AlterTableTest#testDropColumn fails: drop view cannot be performed due to dependency
DERBY-5564Code does different things depending if derby.locks.deadlockTrace=true is set
DERBY-5562An read-only XA transaction that has a timeout never has the timer canceled when the transaction is complete
DERBY-5561Race conditions in LogicalConnection checking for a null physical connection
DERBY-5552Derby threads hanging when using ClientXADataSource and a deadlock or lock timeout occurs
DERBY-5547NSSecurityMechanismTest fixture testNetworkServerSecurityMechanism fails intermittentlyt
DERBY-5531Assert failure when inserting NULL into indexed column with territory-based collation
DERBY-5530SQLChar.getCollationKey NPE in index-stat-thread
DERBY-5527Documentation problem: 5 - Verifying the copy of the files
DERBY-5526on upgrade from 10.5 to 10.8.2 , getting ERROR XBM0A: The database directory 'C:\cygwin\home\debugfat\clientdb' exists. However, it does not contain the expected 'service.properties' file.
DERBY-5517testReplication_Local_3_p1_StateNegativeTests failed with connection refused
DERBY-5509javadoc for NetServlet and NetworkServerControl are missing a few closing tags
DERBY-5508Improve backup/restore documentation visibility and content to encourage proper backups and restore procedures
DERBY-5467Copyright notice in the API documentation (generated by the Javadoc tool) is outdated
DERBY-5465Broken null checks in NsTest
DERBY-5456Problems running SecureServerTest and replication tests on Open JDK 7 for Mac OS X
DERBY-5454ERROR 40001 deadlock in nstest on select max(serialkey)
DERBY-544910.8 client with 10.5 server gives java.lang.ClassCastException: java.lang.Boolean incompatible with java.lang.Short in NetStatementRequest.buildFDODTA with CursorTest.testCursorParam()
DERBY-5440test failure in testBTreeForwardScan_fetchRows_resumeAfterWait_nonUnique_split(org.apache.derbyTesting.functionTests.tests.store.IndexSplitDeadlockTest)junit.framework.AssertionFailedError: expected:<1> but was:<0>
DERBY-5427Unauthorized shutdown should not generate thread dump and javacore. AuthenticationTest dumps over 20 javacores with IBM JVM for normal user errors
DERBY-5425Updateable holdable ResultSet terminates early after 65638 updates
DERBY-5407When run across the network, dblook produces unusable DDL for VARCHAR FOR BIT DATA columns.
DERBY-5406Intermittent failures in CompressTableTest and TruncateTableTest
DERBY-5379testDERBY5120NumRowsInSydependsForTrigger - The number of values assigned is not the same as the number of specified or implied columns.
DERBY-5377AssertionFailedError in testCaseCS4595B_NonUniqueIndex in AccessTest
DERBY-5370The toSQL method of the org.apache.derby.vti.Restriction class does not output correct constants for VARCHAR, Timestamp, Date, Time, or CHAR FOR BIT DATA types
DERBY-5369Restricted Table Function support should pass NOT EQUAL restrictions to initScan
DERBY-5358SYSCS_COMPRESS_TABLE failed with conglomerate not found exception
DERBY-5305Convert store/updatelocks.sql to JUnit
DERBY-5272Stop building Eclipse plugins as Derby release artifacts
DERBY-5240Log Operating system information to derby.log on boot
DERBY-5096DisconnectException: "Connection was refused because the database DB was not found" when creating db for first time
DERBY-4631Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
DERBY-4291Intermittent failure in 'store/updatelocks.sql' on Windows Vista
DERBY-4279Statement cache deadlock
DERBY-4229encryptionKeyLength connection attribute should be documented
DERBY-4201SecureServerTest AssertionFailedError: Timed out waiting for network server to start
DERBY-3823NullPointerException in stress.multi test
DERBY-3808Convert subquery.sql to junit
DERBY-3740BlobClob4BlobTest.testLockingWithLongRowBlob fails with .AssertionFailedError: FAIL - statement should timeout
DERBY-2687store/encryptDatabase.sql fails intermittently with ClassNotFoundException, Log Corrupted
DERBY-1913storetests/st_reclaim_longcol.java fails intermittently
DERBY-1721DOCS - Remove duplicate information in Dev Guide re: Encryption
+
+

+Issues

+
+

Compared with the previous release (10.8.2.2), Derby release 10.8.3.0 introduces the following new features and incompatibilities. These merit your special attention.

+ +
+

+Note for DERBY-5564

+
+ + + + +

Summary of Change

+ +

+The SQL state of the error returned from a lock timeout when the property "derby.locks.deadlockTrace=true" is set will return 40XL1 rather than 40XL2. + +

+ + + + + +

Symptoms Seen by Applications Affected by Change

+ +

+ In the previous release, applications which set + "derby.locks.deadlockTrace=true" would get error 40XL2 when a lock timeout + was received. This was confusing as simply setting the system to return + extra diagnostic information would change the SQL state of the error + returned by the system for a lock timeout. +

+ + + + + +

Incompatibilities with Previous Release

+ +

+ Applications which explicitly tested for SQL state error 40XL2 as a lock + timeout will no longer get that error. 40XL1 will now always be returned + for a lock timeout error whether lock diagnostics are enabled or not. +

+ + + + + +

Rationale for Change

+ +

+ The previous behavior was not intended. Lock timeout should generate same + SQL state whether diagnostics are enabled or not. Only the text of the error + will change based on the requested diagnostic level. +

+ + + + + +

Application Changes Required

+ +

+ If the application has been explicitly coded to take action when getting + error 40XL2 and does not do the same action for 40XL1, then the application + should be changed. This action is usually retry logic based on a lock + timeout or deadlock. +

+ + + +
+
+

+Note for DERBY-4631

+
+ + + + +

Summary of Change

+ +

+Derby can pick incorrect join column value for a RIGHT OUTER JOIN with NATURAL/USING clause. +

+ + + + + +

Symptoms Seen by Applications Affected by Change

+ +

+In case of RIGHT OUTER JOIN with NATURAL/USING clause, Derby always picked the join column's value from the +right table. This could lead to incorrect join column value depending on the data in the tables. The correct +value should be determined by doing equivalent of COALESCE(leftTableValue, rightTableValue). This correct +behavior has been implemented as a fix for DERBY-4631. +

+ + + + + +

Incompatibilities with Previous Release

+ +

+The data returned for join column value for a RIGHT OUTER JOIN with NATURAL/USING clause can now be different(and correct). +

+ + + +
+
+

+Build Environment

+
+

Derby release 10.8.3.0 was built using the following environment:

+
    +
  • +Branch - Source code came from the 10.8 branch.
  • +
  • +Machine - Cygwin on Windows 7 Service Pack 1
  • +
  • +Ant - Apache Ant version 1.7.0 compiled on December 13 2006.
  • +
  • +JDK 1.4 - Classic VM (build 1.4.2, J2RE 1.4.2 IBM Windows 32 build cn142ifx-20110211 (SR13 FP8+PM31983) (JIT enabled: jitc)) +
  • +
  • +Java 6 - +java version "1.6.0" +Java(TM) SE Runtime Environment (build pwi3260sr9fp1-20110208_03(SR9 FP1)) +IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32 jvmwi3260sr9-20110203_74623 (JIT enabled, AOT enabled) +J9VM - 20110203_074623 +JIT - r9_20101028_17488ifx3 +GC - 20101027_AA) +JCL - 20110203_01 +
  • +
  • +Compiler - The IBM javac 1.6.0 javac was used to compile all classes.
  • +
  • +JSR 169 - Java ME support was built using libraries from IBM's j9 jvm from WEME 6.2.
  • +
+
+

+Verifying Releases

+
+ + +

It is essential that you verify the integrity of the downloaded +files using the PGP and MD5 signatures. MD5 verification ensures the +file was not corrupted during the download process. PGP verification +ensures that the file came from a certain person.

+ + +

The PGP signatures can be verified using +PGP or +GPG. +First download the Apache Derby +KEYS +as well as the asc signature file for the particular +distribution. It is important that you get these files from the ultimate +trusted source - the main ASF distribution site, rather than from a mirror. +Then verify the signatures using ...

+ + +
+% pgpk -a KEYS
+% pgpv db-derby-X.Y.tar.gz.asc
+
+or
+
+% pgp -ka KEYS
+% pgp db-derby-X.Y.tar.gz.asc
+
+or
+
+% gpg --import KEYS
+% gpg --verify db-derby-X.Y.tar.gz.asc
+
+
+ + +

To verify the MD5 signature on the files, you need to use a program +called md5 or md5sum, which is +included in many unix distributions. It is also available as part of +GNU +Textutils. Windows users can get binary md5 programs from here, here, or +here.

+ + +

We strongly recommend that you verify your downloads with both PGP and MD5.

+ + + +
+ + diff --git a/Java-Visualizer/java/db/bin/NetworkServerControl b/Java-Visualizer/java/db/bin/NetworkServerControl new file mode 100755 index 00000000..c2115f2d --- /dev/null +++ b/Java-Visualizer/java/db/bin/NetworkServerControl @@ -0,0 +1,190 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -n "$derby_common_debug" ] ; then + set -x +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home + fi + ;; +esac + +if [ -z "$DERBY_HOME" -o ! -d "$DERBY_HOME" ] ; then + ## resolve links - $0 may be a link to derby's home + PRG="$0" + progname=`basename "$0"` + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi + done + + DERBY_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + DERBY_HOME=`cd "$DERBY_HOME" && pwd` +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$DERBY_HOME" ] && + DERBY_HOME=`cygpath --unix "$DERBY_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# set DERBY_LIB location +DERBY_LIB="${DERBY_HOME}/lib" + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java 2> /dev/null ` + if [ -z "$JAVACMD" ] ; then + JAVACMD=java + fi + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +# set local classpath, don't overwrite the user's +LOCALCLASSPATH=$DERBY_LIB/derby.jar:$DERBY_LIB/derbynet.jar:$DERBY_LIB/derbytools.jar:$DERBY_LIB/derbyclient.jar + + +# if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be +# user CLASSPATH first and derby-found jars after. +# In that case, the user CLASSPATH will override derby-found jars +# +# if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour +# with derby-found jars first and user CLASSPATH after +if [ -n "$CLASSPATH" ] ; then + # merge local and specified classpath + if [ -z "$LOCALCLASSPATH" ] ; then + LOCALCLASSPATH="$CLASSPATH" + elif [ -n "$CLASSPATH_OVERRIDE" ] ; then + LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH" + else + LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH" + fi + + # remove class path from launcher -cp option + CLASSPATH="" +fi + +# For Cygwin, switch paths to appropriate format before running java +# For PATHs convert to unix format first, then to windows format to ensure +# both formats are supported. Probably this will fail on directories with ; +# in the name in the path. Let's assume that paths containing ; are more +# rare than windows style paths on cygwin. +if $cygwin; then + if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then + format=mixed + else + format=windows + fi + DERBY_HOME=`cygpath --$format "$DERBY_HOME"` + DERBY_LIB=`cygpath --$format "$DERBY_LIB"` + if [ -n "$JAVA_HOME" ]; then + JAVA_HOME=`cygpath --$format "$JAVA_HOME"` + fi + LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"` + LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"` + if [ -n "$CLASSPATH" ] ; then + CP_TEMP=`cygpath --path --unix "$CLASSPATH"` + CLASSPATH=`cygpath --path --$format "$CP_TEMP"` + fi + CYGHOME=`cygpath --$format "$HOME"` +fi + +# add a second backslash to variables terminated by a backslash under cygwin +if $cygwin; then + case "$DERBY_HOME" in + *\\ ) + DERBY_HOME="$DERBY_HOME\\" + ;; + esac + case "$CYGHOME" in + *\\ ) + CYGHOME="$CYGHOME\\" + ;; + esac + case "$LOCALCLASSPATH" in + *\\ ) + LOCALCLASSPATH="$LOCALCLASSPATH\\" + ;; + esac + case "$CLASSPATH" in + *\\ ) + CLASSPATH="$CLASSPATH\\" + ;; + esac +fi + +# Readjust classpath for MKS +# expr match +if [ \( "`expr $SHELL : '.*sh.exe$'`" -gt 0 \) -a \( "$cygwin" = "false" \) ]; then + LOCALCLASSPATH=`echo $LOCALCLASSPATH | sed -E 's/([\d\w]*):([\d\w]*)/\1;\2/g +'` +fi +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl $@" +eval $derby_exec_command diff --git a/Java-Visualizer/java/db/bin/NetworkServerControl.bat b/Java-Visualizer/java/db/bin/NetworkServerControl.bat new file mode 100755 index 00000000..60c96413 --- /dev/null +++ b/Java-Visualizer/java/db/bin/NetworkServerControl.bat @@ -0,0 +1,38 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +CALL "%~dp0derby_common.bat" %* + +if "%_JAVACMD%"=="" goto end + +if "%_USE_CLASSPATH%"=="no" goto runNoClasspath +if not "%CLASSPATH%"=="" goto runWithClasspath + +:runNoClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% +goto end + +:runWithClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% +goto end + +:end +set _JAVACMD= +set DERBY_CMD_LINE_ARGS= + diff --git a/Java-Visualizer/java/db/bin/dblook b/Java-Visualizer/java/db/bin/dblook new file mode 100755 index 00000000..1a33781e --- /dev/null +++ b/Java-Visualizer/java/db/bin/dblook @@ -0,0 +1,189 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -n "$derby_common_debug" ] ; then + set -x +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home + fi + ;; +esac + +if [ -z "$DERBY_HOME" -o ! -d "$DERBY_HOME" ] ; then + ## resolve links - $0 may be a link to derby's home + PRG="$0" + progname=`basename "$0"` + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi + done + + DERBY_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + DERBY_HOME=`cd "$DERBY_HOME" && pwd` +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$DERBY_HOME" ] && + DERBY_HOME=`cygpath --unix "$DERBY_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# set DERBY_LIB location +DERBY_LIB="${DERBY_HOME}/lib" + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java 2> /dev/null ` + if [ -z "$JAVACMD" ] ; then + JAVACMD=java + fi + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +# set local classpath, don't overwrite the user's +LOCALCLASSPATH=$DERBY_LIB/derby.jar:$DERBY_LIB/derbynet.jar:$DERBY_LIB/derbytools.jar:$DERBY_LIB/derbyclient.jar + + +# if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be +# user CLASSPATH first and derby-found jars after. +# In that case, the user CLASSPATH will override derby-found jars +# +# if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour +# with derby-found jars first and user CLASSPATH after +if [ -n "$CLASSPATH" ] ; then + # merge local and specified classpath + if [ -z "$LOCALCLASSPATH" ] ; then + LOCALCLASSPATH="$CLASSPATH" + elif [ -n "$CLASSPATH_OVERRIDE" ] ; then + LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH" + else + LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH" + fi + + # remove class path from launcher -cp option + CLASSPATH="" +fi + +# For Cygwin, switch paths to appropriate format before running java +# For PATHs convert to unix format first, then to windows format to ensure +# both formats are supported. Probably this will fail on directories with ; +# in the name in the path. Let's assume that paths containing ; are more +# rare than windows style paths on cygwin. +if $cygwin; then + if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then + format=mixed + else + format=windows + fi + DERBY_HOME=`cygpath --$format "$DERBY_HOME"` + DERBY_LIB=`cygpath --$format "$DERBY_LIB"` + if [ -n "$JAVA_HOME" ]; then + JAVA_HOME=`cygpath --$format "$JAVA_HOME"` + fi + LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"` + LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"` + if [ -n "$CLASSPATH" ] ; then + CP_TEMP=`cygpath --path --unix "$CLASSPATH"` + CLASSPATH=`cygpath --path --$format "$CP_TEMP"` + fi + CYGHOME=`cygpath --$format "$HOME"` +fi + +# add a second backslash to variables terminated by a backslash under cygwin +if $cygwin; then + case "$DERBY_HOME" in + *\\ ) + DERBY_HOME="$DERBY_HOME\\" + ;; + esac + case "$CYGHOME" in + *\\ ) + CYGHOME="$CYGHOME\\" + ;; + esac + case "$LOCALCLASSPATH" in + *\\ ) + LOCALCLASSPATH="$LOCALCLASSPATH\\" + ;; + esac + case "$CLASSPATH" in + *\\ ) + CLASSPATH="$CLASSPATH\\" + ;; + esac +fi + +# Readjust classpath for MKS +# expr match +if [ \( "`expr $SHELL : '.*sh.exe$'`" -gt 0 \) -a \( "$cygwin" = "false" \) ]; then + LOCALCLASSPATH=`echo $LOCALCLASSPATH | sed -E 's/([\d\w]*):([\d\w]*)/\1;\2/g +'` +fi +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +exec "$JAVACMD" $DERBY_OPTS -classpath "$LOCALCLASSPATH" org.apache.derby.tools.dblook "$@" diff --git a/Java-Visualizer/java/db/bin/dblook.bat b/Java-Visualizer/java/db/bin/dblook.bat new file mode 100755 index 00000000..33747990 --- /dev/null +++ b/Java-Visualizer/java/db/bin/dblook.bat @@ -0,0 +1,38 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +CALL "%~dp0derby_common.bat" %* + +if "%_JAVACMD%"=="" goto end + +if "%_USE_CLASSPATH%"=="no" goto runNoClasspath +if not "%CLASSPATH%"=="" goto runWithClasspath + +:runNoClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.tools.dblook %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% +goto end + +:runWithClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.tools.dblook %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% +goto end + +:end +set _JAVACMD= +set DERBY_CMD_LINE_ARGS= + diff --git a/Java-Visualizer/java/db/bin/derby_common.bat b/Java-Visualizer/java/db/bin/derby_common.bat new file mode 100755 index 00000000..37d7b702 --- /dev/null +++ b/Java-Visualizer/java/db/bin/derby_common.bat @@ -0,0 +1,73 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +rem %~dp0 is expanded pathname of the current script under NT +set DEFAULT_DERBY_HOME=%~dp0.. + +if "%DERBY_HOME%"=="" set DERBY_HOME=%DEFAULT_DERBY_HOME% +set DEFAULT_DERBY_HOME= + +set _USE_CLASSPATH=yes + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). +set DERBY_CMD_LINE_ARGS=%1 +if ""%1""=="""" goto doneStart +shift +:setupArgs +if ""%1""=="""" goto doneStart +if ""%1""==""-noclasspath"" goto clearclasspath +set DERBY_CMD_LINE_ARGS=%DERBY_CMD_LINE_ARGS% %1 +shift +goto setupArgs + +rem here is there is a -noclasspath in the options +:clearclasspath +set _USE_CLASSPATH=no +shift +goto setupArgs + +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +:doneStart +rem check the value of DERBY_HOME +if exist "%DERBY_HOME%\lib\derby.jar" goto setLocalClassPath + +:noDerbyHome +echo DERBY_HOME is set incorrectly or derby.jar could not be located. +echo Please set the DERBY_HOME environment variable to the path where you installed Derby. +goto endcommon + +:setLocalClassPath +set LOCALCLASSPATH=%DERBY_HOME%/lib/derby.jar;%DERBY_HOME%/lib/derbynet.jar;%DERBY_HOME%/lib/derbyclient.jar;%DERBY_HOME%/lib/derbytools.jar + +:checkJava +set _JAVACMD=%JAVACMD% + +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe +goto endcommon + +:noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=java.exe + +:endcommon + diff --git a/Java-Visualizer/java/db/bin/ij b/Java-Visualizer/java/db/bin/ij new file mode 100755 index 00000000..7839e2a8 --- /dev/null +++ b/Java-Visualizer/java/db/bin/ij @@ -0,0 +1,192 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -n "$derby_common_debug" ] ; then + set -x +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home + fi + ;; +esac + +if [ -z "$DERBY_HOME" -o ! -d "$DERBY_HOME" ] ; then + ## resolve links - $0 may be a link to derby's home + PRG="$0" + progname=`basename "$0"` + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi + done + + DERBY_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + DERBY_HOME=`cd "$DERBY_HOME" && pwd` +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$DERBY_HOME" ] && + DERBY_HOME=`cygpath --unix "$DERBY_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# set DERBY_LIB location +DERBY_LIB="${DERBY_HOME}/lib" + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java 2> /dev/null ` + if [ -z "$JAVACMD" ] ; then + JAVACMD=java + fi + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +# set local classpath, don't overwrite the user's +LOCALCLASSPATH=$DERBY_LIB/derby.jar:$DERBY_LIB/derbynet.jar:$DERBY_LIB/derbytools.jar:$DERBY_LIB/derbyclient.jar + + +# if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be +# user CLASSPATH first and derby-found jars after. +# In that case, the user CLASSPATH will override derby-found jars +# +# if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour +# with derby-found jars first and user CLASSPATH after +if [ -n "$CLASSPATH" ] ; then + # merge local and specified classpath + if [ -z "$LOCALCLASSPATH" ] ; then + LOCALCLASSPATH="$CLASSPATH" + elif [ -n "$CLASSPATH_OVERRIDE" ] ; then + LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH" + else + LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH" + fi + + # remove class path from launcher -cp option + CLASSPATH="" +fi + +# For Cygwin, switch paths to appropriate format before running java +# For PATHs convert to unix format first, then to windows format to ensure +# both formats are supported. Probably this will fail on directories with ; +# in the name in the path. Let's assume that paths containing ; are more +# rare than windows style paths on cygwin. +if $cygwin; then + if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then + format=mixed + else + format=windows + fi + DERBY_HOME=`cygpath --$format "$DERBY_HOME"` + DERBY_LIB=`cygpath --$format "$DERBY_LIB"` + if [ -n "$JAVA_HOME" ]; then + JAVA_HOME=`cygpath --$format "$JAVA_HOME"` + fi + LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"` + LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"` + if [ -n "$CLASSPATH" ] ; then + CP_TEMP=`cygpath --path --unix "$CLASSPATH"` + CLASSPATH=`cygpath --path --$format "$CP_TEMP"` + fi + CYGHOME=`cygpath --$format "$HOME"` +fi + +# add a second backslash to variables terminated by a backslash under cygwin +if $cygwin; then + case "$DERBY_HOME" in + *\\ ) + DERBY_HOME="$DERBY_HOME\\" + ;; + esac + case "$CYGHOME" in + *\\ ) + CYGHOME="$CYGHOME\\" + ;; + esac + case "$LOCALCLASSPATH" in + *\\ ) + LOCALCLASSPATH="$LOCALCLASSPATH\\" + ;; + esac + case "$CLASSPATH" in + *\\ ) + CLASSPATH="$CLASSPATH\\" + ;; + esac +fi + +# Readjust classpath for MKS +# expr match +if [ \( "`expr $SHELL : '.*sh.exe$'`" -gt 0 \) -a \( "$cygwin" = "false" \) ]; then + LOCALCLASSPATH=`echo $LOCALCLASSPATH | sed -E 's/([\d\w]*):([\d\w]*)/\1;\2/g +'` +fi +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# Execute derby using eval/exec to preserve spaces in paths, +# java options, and derby args +derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.tools.ij $@" +eval $derby_exec_command diff --git a/Java-Visualizer/java/db/bin/ij.bat b/Java-Visualizer/java/db/bin/ij.bat new file mode 100755 index 00000000..14f453a9 --- /dev/null +++ b/Java-Visualizer/java/db/bin/ij.bat @@ -0,0 +1,38 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +CALL "%~dp0derby_common.bat" %* + +if "%_JAVACMD%"=="" goto end + +if "%_USE_CLASSPATH%"=="no" goto runNoClasspath +if not "%CLASSPATH%"=="" goto runWithClasspath + +:runNoClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.tools.ij %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% +goto end + +:runWithClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.tools.ij %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% +goto end + +:end +set _JAVACMD= +set DERBY_CMD_LINE_ARGS= + diff --git a/Java-Visualizer/java/db/bin/setEmbeddedCP b/Java-Visualizer/java/db/bin/setEmbeddedCP new file mode 100755 index 00000000..79cff5aa --- /dev/null +++ b/Java-Visualizer/java/db/bin/setEmbeddedCP @@ -0,0 +1,26 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -z "$DERBY_HOME" ] ; then + echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" + echo "to the location of your Derby installation." + return 1 +fi + +export CLASSPATH="${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" diff --git a/Java-Visualizer/java/db/bin/setEmbeddedCP.bat b/Java-Visualizer/java/db/bin/setEmbeddedCP.bat new file mode 100755 index 00000000..e9deefd5 --- /dev/null +++ b/Java-Visualizer/java/db/bin/setEmbeddedCP.bat @@ -0,0 +1,33 @@ +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +@rem set DERBY_INSTALL= + +@if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% +@if "%DERBY_HOME%"=="" goto noderbyhome + +@FOR %%X in ("%DERBY_HOME%") DO SET DERBY_HOME=%%~sX + +set CLASSPATH=%DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH% +@goto end + +:noderbyhome +@echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables +@echo to the location of your Derby installation. +@goto end + +:end diff --git a/Java-Visualizer/java/db/bin/setNetworkClientCP b/Java-Visualizer/java/db/bin/setNetworkClientCP new file mode 100755 index 00000000..2cc8fa95 --- /dev/null +++ b/Java-Visualizer/java/db/bin/setNetworkClientCP @@ -0,0 +1,26 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -z "$DERBY_HOME" ] ; then + echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" + echo "to the location of your Derby installation." + return 1 +fi + +export CLASSPATH="${DERBY_HOME}/lib/derbyclient.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" diff --git a/Java-Visualizer/java/db/bin/setNetworkClientCP.bat b/Java-Visualizer/java/db/bin/setNetworkClientCP.bat new file mode 100755 index 00000000..48461483 --- /dev/null +++ b/Java-Visualizer/java/db/bin/setNetworkClientCP.bat @@ -0,0 +1,33 @@ +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +@rem set DERBY_INSTALL= + +@if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% +@if "%DERBY_HOME%"=="" goto noderbyhome + +@FOR %%X in ("%DERBY_HOME%") DO SET DERBY_HOME=%%~sX + +set CLASSPATH=%DERBY_HOME%\lib\derbyclient.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH% +@goto end + +:noderbyhome +@echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables +@echo to the location of your Derby installation. +@goto end + +:end diff --git a/Java-Visualizer/java/db/bin/setNetworkServerCP b/Java-Visualizer/java/db/bin/setNetworkServerCP new file mode 100755 index 00000000..d75bd1ce --- /dev/null +++ b/Java-Visualizer/java/db/bin/setNetworkServerCP @@ -0,0 +1,26 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -z "$DERBY_HOME" ]; then + echo "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable" + echo "to the location of your Derby installation." + return 1 +fi + +export CLASSPATH="${DERBY_HOME}/lib/derbynet.jar:${DERBY_HOME}/lib/derbytools.jar:${CLASSPATH}" diff --git a/Java-Visualizer/java/db/bin/setNetworkServerCP.bat b/Java-Visualizer/java/db/bin/setNetworkServerCP.bat new file mode 100755 index 00000000..d66b7cec --- /dev/null +++ b/Java-Visualizer/java/db/bin/setNetworkServerCP.bat @@ -0,0 +1,32 @@ +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +@rem set DERBY_INSTALL= + +@if "%DERBY_HOME%"=="" set DERBY_HOME=%DERBY_INSTALL% +@if "%DERBY_HOME%"=="" goto noderbyhome + +@FOR %%X in ("%DERBY_HOME%") DO SET DERBY_INSTALL=%%~sX + +set CLASSPATH=%DERBY_HOME%\lib\derbynet.jar;%DERBY_HOME%\lib\derbytools.jar;%CLASSPATH% +@goto end + +:noderbyhome +@echo DERBY_HOME or DERBY_INSTALL not set. Set one of these variables +@echo to the location of your Derby installation. + +:end diff --git a/Java-Visualizer/java/db/bin/startNetworkServer b/Java-Visualizer/java/db/bin/startNetworkServer new file mode 100755 index 00000000..6cee813f --- /dev/null +++ b/Java-Visualizer/java/db/bin/startNetworkServer @@ -0,0 +1,190 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -n "$derby_common_debug" ] ; then + set -x +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home + fi + ;; +esac + +if [ -z "$DERBY_HOME" -o ! -d "$DERBY_HOME" ] ; then + ## resolve links - $0 may be a link to derby's home + PRG="$0" + progname=`basename "$0"` + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi + done + + DERBY_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + DERBY_HOME=`cd "$DERBY_HOME" && pwd` +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$DERBY_HOME" ] && + DERBY_HOME=`cygpath --unix "$DERBY_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# set DERBY_LIB location +DERBY_LIB="${DERBY_HOME}/lib" + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java 2> /dev/null ` + if [ -z "$JAVACMD" ] ; then + JAVACMD=java + fi + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +# set local classpath, don't overwrite the user's +LOCALCLASSPATH=$DERBY_LIB/derby.jar:$DERBY_LIB/derbynet.jar:$DERBY_LIB/derbytools.jar:$DERBY_LIB/derbyclient.jar + + +# if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be +# user CLASSPATH first and derby-found jars after. +# In that case, the user CLASSPATH will override derby-found jars +# +# if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour +# with derby-found jars first and user CLASSPATH after +if [ -n "$CLASSPATH" ] ; then + # merge local and specified classpath + if [ -z "$LOCALCLASSPATH" ] ; then + LOCALCLASSPATH="$CLASSPATH" + elif [ -n "$CLASSPATH_OVERRIDE" ] ; then + LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH" + else + LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH" + fi + + # remove class path from launcher -cp option + CLASSPATH="" +fi + +# For Cygwin, switch paths to appropriate format before running java +# For PATHs convert to unix format first, then to windows format to ensure +# both formats are supported. Probably this will fail on directories with ; +# in the name in the path. Let's assume that paths containing ; are more +# rare than windows style paths on cygwin. +if $cygwin; then + if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then + format=mixed + else + format=windows + fi + DERBY_HOME=`cygpath --$format "$DERBY_HOME"` + DERBY_LIB=`cygpath --$format "$DERBY_LIB"` + if [ -n "$JAVA_HOME" ]; then + JAVA_HOME=`cygpath --$format "$JAVA_HOME"` + fi + LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"` + LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"` + if [ -n "$CLASSPATH" ] ; then + CP_TEMP=`cygpath --path --unix "$CLASSPATH"` + CLASSPATH=`cygpath --path --$format "$CP_TEMP"` + fi + CYGHOME=`cygpath --$format "$HOME"` +fi + +# add a second backslash to variables terminated by a backslash under cygwin +if $cygwin; then + case "$DERBY_HOME" in + *\\ ) + DERBY_HOME="$DERBY_HOME\\" + ;; + esac + case "$CYGHOME" in + *\\ ) + CYGHOME="$CYGHOME\\" + ;; + esac + case "$LOCALCLASSPATH" in + *\\ ) + LOCALCLASSPATH="$LOCALCLASSPATH\\" + ;; + esac + case "$CLASSPATH" in + *\\ ) + CLASSPATH="$CLASSPATH\\" + ;; + esac +fi + +# Readjust classpath for MKS +# expr match +if [ \( "`expr $SHELL : '.*sh.exe$'`" -gt 0 \) -a \( "$cygwin" = "false" \) ]; then + LOCALCLASSPATH=`echo $LOCALCLASSPATH | sed -E 's/([\d\w]*):([\d\w]*)/\1;\2/g +'` +fi +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl start $@" +eval $derby_exec_command diff --git a/Java-Visualizer/java/db/bin/startNetworkServer.bat b/Java-Visualizer/java/db/bin/startNetworkServer.bat new file mode 100755 index 00000000..c8dbc0a5 --- /dev/null +++ b/Java-Visualizer/java/db/bin/startNetworkServer.bat @@ -0,0 +1,37 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +CALL "%~dp0derby_common.bat" %* + +if "%_JAVACMD%"=="" goto end + +if "%_USE_CLASSPATH%"=="no" goto runNoClasspath +if not "%CLASSPATH%"=="" goto runWithClasspath + +:runNoClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl start %DERBY_CMD_LINE_ARGS% +goto end + +:runWithClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl start %DERBY_CMD_LINE_ARGS% +goto end + +:end +set _JAVACMD= +set DERBY_CMD_LINE_ARGS= diff --git a/Java-Visualizer/java/db/bin/stopNetworkServer b/Java-Visualizer/java/db/bin/stopNetworkServer new file mode 100755 index 00000000..18e91e09 --- /dev/null +++ b/Java-Visualizer/java/db/bin/stopNetworkServer @@ -0,0 +1,190 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -n "$derby_common_debug" ] ; then + set -x +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home + fi + ;; +esac + +if [ -z "$DERBY_HOME" -o ! -d "$DERBY_HOME" ] ; then + ## resolve links - $0 may be a link to derby's home + PRG="$0" + progname=`basename "$0"` + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi + done + + DERBY_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + DERBY_HOME=`cd "$DERBY_HOME" && pwd` +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$DERBY_HOME" ] && + DERBY_HOME=`cygpath --unix "$DERBY_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# set DERBY_LIB location +DERBY_LIB="${DERBY_HOME}/lib" + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java 2> /dev/null ` + if [ -z "$JAVACMD" ] ; then + JAVACMD=java + fi + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +# set local classpath, don't overwrite the user's +LOCALCLASSPATH=$DERBY_LIB/derby.jar:$DERBY_LIB/derbynet.jar:$DERBY_LIB/derbytools.jar:$DERBY_LIB/derbyclient.jar + + +# if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be +# user CLASSPATH first and derby-found jars after. +# In that case, the user CLASSPATH will override derby-found jars +# +# if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour +# with derby-found jars first and user CLASSPATH after +if [ -n "$CLASSPATH" ] ; then + # merge local and specified classpath + if [ -z "$LOCALCLASSPATH" ] ; then + LOCALCLASSPATH="$CLASSPATH" + elif [ -n "$CLASSPATH_OVERRIDE" ] ; then + LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH" + else + LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH" + fi + + # remove class path from launcher -cp option + CLASSPATH="" +fi + +# For Cygwin, switch paths to appropriate format before running java +# For PATHs convert to unix format first, then to windows format to ensure +# both formats are supported. Probably this will fail on directories with ; +# in the name in the path. Let's assume that paths containing ; are more +# rare than windows style paths on cygwin. +if $cygwin; then + if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then + format=mixed + else + format=windows + fi + DERBY_HOME=`cygpath --$format "$DERBY_HOME"` + DERBY_LIB=`cygpath --$format "$DERBY_LIB"` + if [ -n "$JAVA_HOME" ]; then + JAVA_HOME=`cygpath --$format "$JAVA_HOME"` + fi + LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"` + LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"` + if [ -n "$CLASSPATH" ] ; then + CP_TEMP=`cygpath --path --unix "$CLASSPATH"` + CLASSPATH=`cygpath --path --$format "$CP_TEMP"` + fi + CYGHOME=`cygpath --$format "$HOME"` +fi + +# add a second backslash to variables terminated by a backslash under cygwin +if $cygwin; then + case "$DERBY_HOME" in + *\\ ) + DERBY_HOME="$DERBY_HOME\\" + ;; + esac + case "$CYGHOME" in + *\\ ) + CYGHOME="$CYGHOME\\" + ;; + esac + case "$LOCALCLASSPATH" in + *\\ ) + LOCALCLASSPATH="$LOCALCLASSPATH\\" + ;; + esac + case "$CLASSPATH" in + *\\ ) + CLASSPATH="$CLASSPATH\\" + ;; + esac +fi + +# Readjust classpath for MKS +# expr match +if [ \( "`expr $SHELL : '.*sh.exe$'`" -gt 0 \) -a \( "$cygwin" = "false" \) ]; then + LOCALCLASSPATH=`echo $LOCALCLASSPATH | sed -E 's/([\d\w]*):([\d\w]*)/\1;\2/g +'` +fi +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl shutdown $@" +eval $derby_exec_command diff --git a/Java-Visualizer/java/db/bin/stopNetworkServer.bat b/Java-Visualizer/java/db/bin/stopNetworkServer.bat new file mode 100755 index 00000000..aef074cb --- /dev/null +++ b/Java-Visualizer/java/db/bin/stopNetworkServer.bat @@ -0,0 +1,37 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +CALL "%~dp0derby_common.bat" %* + +if "%_JAVACMD%"=="" goto end + +if "%_USE_CLASSPATH%"=="no" goto runNoClasspath +if not "%CLASSPATH%"=="" goto runWithClasspath + +:runNoClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl shutdown %DERBY_CMD_LINE_ARGS% +goto end + +:runWithClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl shutdown %DERBY_CMD_LINE_ARGS% +goto end + +:end +set _JAVACMD= +set DERBY_CMD_LINE_ARGS= diff --git a/Java-Visualizer/java/db/bin/sysinfo b/Java-Visualizer/java/db/bin/sysinfo new file mode 100755 index 00000000..974ecf7b --- /dev/null +++ b/Java-Visualizer/java/db/bin/sysinfo @@ -0,0 +1,190 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +if [ -n "$derby_common_debug" ] ; then + set -x +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +case "`uname`" in + CYGWIN*) cygwin=true ;; + Darwin*) darwin=true + if [ -z "$JAVA_HOME" ] ; then + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home + fi + ;; +esac + +if [ -z "$DERBY_HOME" -o ! -d "$DERBY_HOME" ] ; then + ## resolve links - $0 may be a link to derby's home + PRG="$0" + progname=`basename "$0"` + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi + done + + DERBY_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + DERBY_HOME=`cd "$DERBY_HOME" && pwd` +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$DERBY_HOME" ] && + DERBY_HOME=`cygpath --unix "$DERBY_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# set DERBY_LIB location +DERBY_LIB="${DERBY_HOME}/lib" + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD=`which java 2> /dev/null ` + if [ -z "$JAVACMD" ] ; then + JAVACMD=java + fi + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." + echo " We cannot execute $JAVACMD" + exit 1 +fi + +# set local classpath, don't overwrite the user's +LOCALCLASSPATH=$DERBY_LIB/derby.jar:$DERBY_LIB/derbynet.jar:$DERBY_LIB/derbytools.jar:$DERBY_LIB/derbyclient.jar + + +# if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be +# user CLASSPATH first and derby-found jars after. +# In that case, the user CLASSPATH will override derby-found jars +# +# if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour +# with derby-found jars first and user CLASSPATH after +if [ -n "$CLASSPATH" ] ; then + # merge local and specified classpath + if [ -z "$LOCALCLASSPATH" ] ; then + LOCALCLASSPATH="$CLASSPATH" + elif [ -n "$CLASSPATH_OVERRIDE" ] ; then + LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH" + else + LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH" + fi + + # remove class path from launcher -cp option + CLASSPATH="" +fi + +# For Cygwin, switch paths to appropriate format before running java +# For PATHs convert to unix format first, then to windows format to ensure +# both formats are supported. Probably this will fail on directories with ; +# in the name in the path. Let's assume that paths containing ; are more +# rare than windows style paths on cygwin. +if $cygwin; then + if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then + format=mixed + else + format=windows + fi + DERBY_HOME=`cygpath --$format "$DERBY_HOME"` + DERBY_LIB=`cygpath --$format "$DERBY_LIB"` + if [ -n "$JAVA_HOME" ]; then + JAVA_HOME=`cygpath --$format "$JAVA_HOME"` + fi + LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"` + LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"` + if [ -n "$CLASSPATH" ] ; then + CP_TEMP=`cygpath --path --unix "$CLASSPATH"` + CLASSPATH=`cygpath --path --$format "$CP_TEMP"` + fi + CYGHOME=`cygpath --$format "$HOME"` +fi + +# add a second backslash to variables terminated by a backslash under cygwin +if $cygwin; then + case "$DERBY_HOME" in + *\\ ) + DERBY_HOME="$DERBY_HOME\\" + ;; + esac + case "$CYGHOME" in + *\\ ) + CYGHOME="$CYGHOME\\" + ;; + esac + case "$LOCALCLASSPATH" in + *\\ ) + LOCALCLASSPATH="$LOCALCLASSPATH\\" + ;; + esac + case "$CLASSPATH" in + *\\ ) + CLASSPATH="$CLASSPATH\\" + ;; + esac +fi + +# Readjust classpath for MKS +# expr match +if [ \( "`expr $SHELL : '.*sh.exe$'`" -gt 0 \) -a \( "$cygwin" = "false" \) ]; then + LOCALCLASSPATH=`echo $LOCALCLASSPATH | sed -E 's/([\d\w]*):([\d\w]*)/\1;\2/g +'` +fi +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +derby_exec_command="exec \"$JAVACMD\" $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.tools.sysinfo $@" +eval $derby_exec_command diff --git a/Java-Visualizer/java/db/bin/sysinfo.bat b/Java-Visualizer/java/db/bin/sysinfo.bat new file mode 100755 index 00000000..347d1247 --- /dev/null +++ b/Java-Visualizer/java/db/bin/sysinfo.bat @@ -0,0 +1,38 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at + +@REM http://www.apache.org/licenses/LICENSE-2.0 + +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +CALL "%~dp0derby_common.bat" %* + +if "%_JAVACMD%"=="" goto end + +if "%_USE_CLASSPATH%"=="no" goto runNoClasspath +if not "%CLASSPATH%"=="" goto runWithClasspath + +:runNoClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%LOCALCLASSPATH%" org.apache.derby.tools.sysinfo %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% +goto end + +:runWithClasspath +"%_JAVACMD%" %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.tools.sysinfo %DERBY_ARGS% %DERBY_CMD_LINE_ARGS% +goto end + +:end +set _JAVACMD= +set DERBY_CMD_LINE_ARGS= + diff --git a/Java-Visualizer/java/db/lib/derby.jar b/Java-Visualizer/java/db/lib/derby.jar new file mode 100644 index 00000000..44a4bc9d Binary files /dev/null and b/Java-Visualizer/java/db/lib/derby.jar differ diff --git a/Java-Visualizer/java/db/lib/derby.war b/Java-Visualizer/java/db/lib/derby.war new file mode 100644 index 00000000..3a6a2b11 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derby.war differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_cs.jar b/Java-Visualizer/java/db/lib/derbyLocale_cs.jar new file mode 100644 index 00000000..a4c7f9cf Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_cs.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_de_DE.jar b/Java-Visualizer/java/db/lib/derbyLocale_de_DE.jar new file mode 100644 index 00000000..9c0b5ad4 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_de_DE.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_es.jar b/Java-Visualizer/java/db/lib/derbyLocale_es.jar new file mode 100644 index 00000000..2e625c97 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_es.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_fr.jar b/Java-Visualizer/java/db/lib/derbyLocale_fr.jar new file mode 100644 index 00000000..8b47d095 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_fr.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_hu.jar b/Java-Visualizer/java/db/lib/derbyLocale_hu.jar new file mode 100644 index 00000000..874cd655 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_hu.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_it.jar b/Java-Visualizer/java/db/lib/derbyLocale_it.jar new file mode 100644 index 00000000..d96f4284 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_it.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_ja_JP.jar b/Java-Visualizer/java/db/lib/derbyLocale_ja_JP.jar new file mode 100644 index 00000000..d9bfb863 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_ja_JP.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_ko_KR.jar b/Java-Visualizer/java/db/lib/derbyLocale_ko_KR.jar new file mode 100644 index 00000000..e2084184 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_ko_KR.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_pl.jar b/Java-Visualizer/java/db/lib/derbyLocale_pl.jar new file mode 100644 index 00000000..4d95a553 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_pl.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_pt_BR.jar b/Java-Visualizer/java/db/lib/derbyLocale_pt_BR.jar new file mode 100644 index 00000000..979fb078 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_pt_BR.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_ru.jar b/Java-Visualizer/java/db/lib/derbyLocale_ru.jar new file mode 100644 index 00000000..bd5082dc Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_ru.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_zh_CN.jar b/Java-Visualizer/java/db/lib/derbyLocale_zh_CN.jar new file mode 100644 index 00000000..75e72b4d Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_zh_CN.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyLocale_zh_TW.jar b/Java-Visualizer/java/db/lib/derbyLocale_zh_TW.jar new file mode 100644 index 00000000..1e5a1a81 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyLocale_zh_TW.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyclient.jar b/Java-Visualizer/java/db/lib/derbyclient.jar new file mode 100644 index 00000000..014193bb Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyclient.jar differ diff --git a/Java-Visualizer/java/db/lib/derbynet.jar b/Java-Visualizer/java/db/lib/derbynet.jar new file mode 100644 index 00000000..ddf5795d Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbynet.jar differ diff --git a/Java-Visualizer/java/db/lib/derbyrun.jar b/Java-Visualizer/java/db/lib/derbyrun.jar new file mode 100644 index 00000000..839d06bf Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbyrun.jar differ diff --git a/Java-Visualizer/java/db/lib/derbytools.jar b/Java-Visualizer/java/db/lib/derbytools.jar new file mode 100644 index 00000000..ae0479c5 Binary files /dev/null and b/Java-Visualizer/java/db/lib/derbytools.jar differ diff --git a/Java-Visualizer/java/include/classfile_constants.h b/Java-Visualizer/java/include/classfile_constants.h new file mode 100644 index 00000000..07f1616a --- /dev/null +++ b/Java-Visualizer/java/include/classfile_constants.h @@ -0,0 +1,560 @@ +/* + * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +#ifndef CLASSFILE_CONSTANTS_H +#define CLASSFILE_CONSTANTS_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Classfile version number for this information */ +#define JVM_CLASSFILE_MAJOR_VERSION 51 +#define JVM_CLASSFILE_MINOR_VERSION 0 + +/* Flags */ + +enum { + JVM_ACC_PUBLIC = 0x0001, + JVM_ACC_PRIVATE = 0x0002, + JVM_ACC_PROTECTED = 0x0004, + JVM_ACC_STATIC = 0x0008, + JVM_ACC_FINAL = 0x0010, + JVM_ACC_SYNCHRONIZED = 0x0020, + JVM_ACC_SUPER = 0x0020, + JVM_ACC_VOLATILE = 0x0040, + JVM_ACC_BRIDGE = 0x0040, + JVM_ACC_TRANSIENT = 0x0080, + JVM_ACC_VARARGS = 0x0080, + JVM_ACC_NATIVE = 0x0100, + JVM_ACC_INTERFACE = 0x0200, + JVM_ACC_ABSTRACT = 0x0400, + JVM_ACC_STRICT = 0x0800, + JVM_ACC_SYNTHETIC = 0x1000, + JVM_ACC_ANNOTATION = 0x2000, + JVM_ACC_ENUM = 0x4000 +}; + +/* Used in newarray instruction. */ + +enum { + JVM_T_BOOLEAN = 4, + JVM_T_CHAR = 5, + JVM_T_FLOAT = 6, + JVM_T_DOUBLE = 7, + JVM_T_BYTE = 8, + JVM_T_SHORT = 9, + JVM_T_INT = 10, + JVM_T_LONG = 11 +}; + +/* Constant Pool Entries */ + +enum { + JVM_CONSTANT_Utf8 = 1, + JVM_CONSTANT_Unicode = 2, /* unused */ + JVM_CONSTANT_Integer = 3, + JVM_CONSTANT_Float = 4, + JVM_CONSTANT_Long = 5, + JVM_CONSTANT_Double = 6, + JVM_CONSTANT_Class = 7, + JVM_CONSTANT_String = 8, + JVM_CONSTANT_Fieldref = 9, + JVM_CONSTANT_Methodref = 10, + JVM_CONSTANT_InterfaceMethodref = 11, + JVM_CONSTANT_NameAndType = 12, + JVM_CONSTANT_MethodHandle = 15, // JSR 292 + JVM_CONSTANT_MethodType = 16, // JSR 292 + JVM_CONSTANT_InvokeDynamic = 18 +}; + +/* JVM_CONSTANT_MethodHandle subtypes */ +enum { + JVM_REF_getField = 1, + JVM_REF_getStatic = 2, + JVM_REF_putField = 3, + JVM_REF_putStatic = 4, + JVM_REF_invokeVirtual = 5, + JVM_REF_invokeStatic = 6, + JVM_REF_invokeSpecial = 7, + JVM_REF_newInvokeSpecial = 8, + JVM_REF_invokeInterface = 9 +}; + +/* StackMapTable type item numbers */ + +enum { + JVM_ITEM_Top = 0, + JVM_ITEM_Integer = 1, + JVM_ITEM_Float = 2, + JVM_ITEM_Double = 3, + JVM_ITEM_Long = 4, + JVM_ITEM_Null = 5, + JVM_ITEM_UninitializedThis = 6, + JVM_ITEM_Object = 7, + JVM_ITEM_Uninitialized = 8 +}; + +/* Type signatures */ + +enum { + JVM_SIGNATURE_ARRAY = '[', + JVM_SIGNATURE_BYTE = 'B', + JVM_SIGNATURE_CHAR = 'C', + JVM_SIGNATURE_CLASS = 'L', + JVM_SIGNATURE_ENDCLASS = ';', + JVM_SIGNATURE_ENUM = 'E', + JVM_SIGNATURE_FLOAT = 'F', + JVM_SIGNATURE_DOUBLE = 'D', + JVM_SIGNATURE_FUNC = '(', + JVM_SIGNATURE_ENDFUNC = ')', + JVM_SIGNATURE_INT = 'I', + JVM_SIGNATURE_LONG = 'J', + JVM_SIGNATURE_SHORT = 'S', + JVM_SIGNATURE_VOID = 'V', + JVM_SIGNATURE_BOOLEAN = 'Z' +}; + +/* Opcodes */ + +enum { + JVM_OPC_nop = 0, + JVM_OPC_aconst_null = 1, + JVM_OPC_iconst_m1 = 2, + JVM_OPC_iconst_0 = 3, + JVM_OPC_iconst_1 = 4, + JVM_OPC_iconst_2 = 5, + JVM_OPC_iconst_3 = 6, + JVM_OPC_iconst_4 = 7, + JVM_OPC_iconst_5 = 8, + JVM_OPC_lconst_0 = 9, + JVM_OPC_lconst_1 = 10, + JVM_OPC_fconst_0 = 11, + JVM_OPC_fconst_1 = 12, + JVM_OPC_fconst_2 = 13, + JVM_OPC_dconst_0 = 14, + JVM_OPC_dconst_1 = 15, + JVM_OPC_bipush = 16, + JVM_OPC_sipush = 17, + JVM_OPC_ldc = 18, + JVM_OPC_ldc_w = 19, + JVM_OPC_ldc2_w = 20, + JVM_OPC_iload = 21, + JVM_OPC_lload = 22, + JVM_OPC_fload = 23, + JVM_OPC_dload = 24, + JVM_OPC_aload = 25, + JVM_OPC_iload_0 = 26, + JVM_OPC_iload_1 = 27, + JVM_OPC_iload_2 = 28, + JVM_OPC_iload_3 = 29, + JVM_OPC_lload_0 = 30, + JVM_OPC_lload_1 = 31, + JVM_OPC_lload_2 = 32, + JVM_OPC_lload_3 = 33, + JVM_OPC_fload_0 = 34, + JVM_OPC_fload_1 = 35, + JVM_OPC_fload_2 = 36, + JVM_OPC_fload_3 = 37, + JVM_OPC_dload_0 = 38, + JVM_OPC_dload_1 = 39, + JVM_OPC_dload_2 = 40, + JVM_OPC_dload_3 = 41, + JVM_OPC_aload_0 = 42, + JVM_OPC_aload_1 = 43, + JVM_OPC_aload_2 = 44, + JVM_OPC_aload_3 = 45, + JVM_OPC_iaload = 46, + JVM_OPC_laload = 47, + JVM_OPC_faload = 48, + JVM_OPC_daload = 49, + JVM_OPC_aaload = 50, + JVM_OPC_baload = 51, + JVM_OPC_caload = 52, + JVM_OPC_saload = 53, + JVM_OPC_istore = 54, + JVM_OPC_lstore = 55, + JVM_OPC_fstore = 56, + JVM_OPC_dstore = 57, + JVM_OPC_astore = 58, + JVM_OPC_istore_0 = 59, + JVM_OPC_istore_1 = 60, + JVM_OPC_istore_2 = 61, + JVM_OPC_istore_3 = 62, + JVM_OPC_lstore_0 = 63, + JVM_OPC_lstore_1 = 64, + JVM_OPC_lstore_2 = 65, + JVM_OPC_lstore_3 = 66, + JVM_OPC_fstore_0 = 67, + JVM_OPC_fstore_1 = 68, + JVM_OPC_fstore_2 = 69, + JVM_OPC_fstore_3 = 70, + JVM_OPC_dstore_0 = 71, + JVM_OPC_dstore_1 = 72, + JVM_OPC_dstore_2 = 73, + JVM_OPC_dstore_3 = 74, + JVM_OPC_astore_0 = 75, + JVM_OPC_astore_1 = 76, + JVM_OPC_astore_2 = 77, + JVM_OPC_astore_3 = 78, + JVM_OPC_iastore = 79, + JVM_OPC_lastore = 80, + JVM_OPC_fastore = 81, + JVM_OPC_dastore = 82, + JVM_OPC_aastore = 83, + JVM_OPC_bastore = 84, + JVM_OPC_castore = 85, + JVM_OPC_sastore = 86, + JVM_OPC_pop = 87, + JVM_OPC_pop2 = 88, + JVM_OPC_dup = 89, + JVM_OPC_dup_x1 = 90, + JVM_OPC_dup_x2 = 91, + JVM_OPC_dup2 = 92, + JVM_OPC_dup2_x1 = 93, + JVM_OPC_dup2_x2 = 94, + JVM_OPC_swap = 95, + JVM_OPC_iadd = 96, + JVM_OPC_ladd = 97, + JVM_OPC_fadd = 98, + JVM_OPC_dadd = 99, + JVM_OPC_isub = 100, + JVM_OPC_lsub = 101, + JVM_OPC_fsub = 102, + JVM_OPC_dsub = 103, + JVM_OPC_imul = 104, + JVM_OPC_lmul = 105, + JVM_OPC_fmul = 106, + JVM_OPC_dmul = 107, + JVM_OPC_idiv = 108, + JVM_OPC_ldiv = 109, + JVM_OPC_fdiv = 110, + JVM_OPC_ddiv = 111, + JVM_OPC_irem = 112, + JVM_OPC_lrem = 113, + JVM_OPC_frem = 114, + JVM_OPC_drem = 115, + JVM_OPC_ineg = 116, + JVM_OPC_lneg = 117, + JVM_OPC_fneg = 118, + JVM_OPC_dneg = 119, + JVM_OPC_ishl = 120, + JVM_OPC_lshl = 121, + JVM_OPC_ishr = 122, + JVM_OPC_lshr = 123, + JVM_OPC_iushr = 124, + JVM_OPC_lushr = 125, + JVM_OPC_iand = 126, + JVM_OPC_land = 127, + JVM_OPC_ior = 128, + JVM_OPC_lor = 129, + JVM_OPC_ixor = 130, + JVM_OPC_lxor = 131, + JVM_OPC_iinc = 132, + JVM_OPC_i2l = 133, + JVM_OPC_i2f = 134, + JVM_OPC_i2d = 135, + JVM_OPC_l2i = 136, + JVM_OPC_l2f = 137, + JVM_OPC_l2d = 138, + JVM_OPC_f2i = 139, + JVM_OPC_f2l = 140, + JVM_OPC_f2d = 141, + JVM_OPC_d2i = 142, + JVM_OPC_d2l = 143, + JVM_OPC_d2f = 144, + JVM_OPC_i2b = 145, + JVM_OPC_i2c = 146, + JVM_OPC_i2s = 147, + JVM_OPC_lcmp = 148, + JVM_OPC_fcmpl = 149, + JVM_OPC_fcmpg = 150, + JVM_OPC_dcmpl = 151, + JVM_OPC_dcmpg = 152, + JVM_OPC_ifeq = 153, + JVM_OPC_ifne = 154, + JVM_OPC_iflt = 155, + JVM_OPC_ifge = 156, + JVM_OPC_ifgt = 157, + JVM_OPC_ifle = 158, + JVM_OPC_if_icmpeq = 159, + JVM_OPC_if_icmpne = 160, + JVM_OPC_if_icmplt = 161, + JVM_OPC_if_icmpge = 162, + JVM_OPC_if_icmpgt = 163, + JVM_OPC_if_icmple = 164, + JVM_OPC_if_acmpeq = 165, + JVM_OPC_if_acmpne = 166, + JVM_OPC_goto = 167, + JVM_OPC_jsr = 168, + JVM_OPC_ret = 169, + JVM_OPC_tableswitch = 170, + JVM_OPC_lookupswitch = 171, + JVM_OPC_ireturn = 172, + JVM_OPC_lreturn = 173, + JVM_OPC_freturn = 174, + JVM_OPC_dreturn = 175, + JVM_OPC_areturn = 176, + JVM_OPC_return = 177, + JVM_OPC_getstatic = 178, + JVM_OPC_putstatic = 179, + JVM_OPC_getfield = 180, + JVM_OPC_putfield = 181, + JVM_OPC_invokevirtual = 182, + JVM_OPC_invokespecial = 183, + JVM_OPC_invokestatic = 184, + JVM_OPC_invokeinterface = 185, + JVM_OPC_invokedynamic = 186, + JVM_OPC_new = 187, + JVM_OPC_newarray = 188, + JVM_OPC_anewarray = 189, + JVM_OPC_arraylength = 190, + JVM_OPC_athrow = 191, + JVM_OPC_checkcast = 192, + JVM_OPC_instanceof = 193, + JVM_OPC_monitorenter = 194, + JVM_OPC_monitorexit = 195, + JVM_OPC_wide = 196, + JVM_OPC_multianewarray = 197, + JVM_OPC_ifnull = 198, + JVM_OPC_ifnonnull = 199, + JVM_OPC_goto_w = 200, + JVM_OPC_jsr_w = 201, + JVM_OPC_MAX = 201 +}; + +/* Opcode length initializer, use with something like: + * unsigned char opcode_length[JVM_OPC_MAX+1] = JVM_OPCODE_LENGTH_INITIALIZER; + */ +#define JVM_OPCODE_LENGTH_INITIALIZER { \ + 1, /* nop */ \ + 1, /* aconst_null */ \ + 1, /* iconst_m1 */ \ + 1, /* iconst_0 */ \ + 1, /* iconst_1 */ \ + 1, /* iconst_2 */ \ + 1, /* iconst_3 */ \ + 1, /* iconst_4 */ \ + 1, /* iconst_5 */ \ + 1, /* lconst_0 */ \ + 1, /* lconst_1 */ \ + 1, /* fconst_0 */ \ + 1, /* fconst_1 */ \ + 1, /* fconst_2 */ \ + 1, /* dconst_0 */ \ + 1, /* dconst_1 */ \ + 2, /* bipush */ \ + 3, /* sipush */ \ + 2, /* ldc */ \ + 3, /* ldc_w */ \ + 3, /* ldc2_w */ \ + 2, /* iload */ \ + 2, /* lload */ \ + 2, /* fload */ \ + 2, /* dload */ \ + 2, /* aload */ \ + 1, /* iload_0 */ \ + 1, /* iload_1 */ \ + 1, /* iload_2 */ \ + 1, /* iload_3 */ \ + 1, /* lload_0 */ \ + 1, /* lload_1 */ \ + 1, /* lload_2 */ \ + 1, /* lload_3 */ \ + 1, /* fload_0 */ \ + 1, /* fload_1 */ \ + 1, /* fload_2 */ \ + 1, /* fload_3 */ \ + 1, /* dload_0 */ \ + 1, /* dload_1 */ \ + 1, /* dload_2 */ \ + 1, /* dload_3 */ \ + 1, /* aload_0 */ \ + 1, /* aload_1 */ \ + 1, /* aload_2 */ \ + 1, /* aload_3 */ \ + 1, /* iaload */ \ + 1, /* laload */ \ + 1, /* faload */ \ + 1, /* daload */ \ + 1, /* aaload */ \ + 1, /* baload */ \ + 1, /* caload */ \ + 1, /* saload */ \ + 2, /* istore */ \ + 2, /* lstore */ \ + 2, /* fstore */ \ + 2, /* dstore */ \ + 2, /* astore */ \ + 1, /* istore_0 */ \ + 1, /* istore_1 */ \ + 1, /* istore_2 */ \ + 1, /* istore_3 */ \ + 1, /* lstore_0 */ \ + 1, /* lstore_1 */ \ + 1, /* lstore_2 */ \ + 1, /* lstore_3 */ \ + 1, /* fstore_0 */ \ + 1, /* fstore_1 */ \ + 1, /* fstore_2 */ \ + 1, /* fstore_3 */ \ + 1, /* dstore_0 */ \ + 1, /* dstore_1 */ \ + 1, /* dstore_2 */ \ + 1, /* dstore_3 */ \ + 1, /* astore_0 */ \ + 1, /* astore_1 */ \ + 1, /* astore_2 */ \ + 1, /* astore_3 */ \ + 1, /* iastore */ \ + 1, /* lastore */ \ + 1, /* fastore */ \ + 1, /* dastore */ \ + 1, /* aastore */ \ + 1, /* bastore */ \ + 1, /* castore */ \ + 1, /* sastore */ \ + 1, /* pop */ \ + 1, /* pop2 */ \ + 1, /* dup */ \ + 1, /* dup_x1 */ \ + 1, /* dup_x2 */ \ + 1, /* dup2 */ \ + 1, /* dup2_x1 */ \ + 1, /* dup2_x2 */ \ + 1, /* swap */ \ + 1, /* iadd */ \ + 1, /* ladd */ \ + 1, /* fadd */ \ + 1, /* dadd */ \ + 1, /* isub */ \ + 1, /* lsub */ \ + 1, /* fsub */ \ + 1, /* dsub */ \ + 1, /* imul */ \ + 1, /* lmul */ \ + 1, /* fmul */ \ + 1, /* dmul */ \ + 1, /* idiv */ \ + 1, /* ldiv */ \ + 1, /* fdiv */ \ + 1, /* ddiv */ \ + 1, /* irem */ \ + 1, /* lrem */ \ + 1, /* frem */ \ + 1, /* drem */ \ + 1, /* ineg */ \ + 1, /* lneg */ \ + 1, /* fneg */ \ + 1, /* dneg */ \ + 1, /* ishl */ \ + 1, /* lshl */ \ + 1, /* ishr */ \ + 1, /* lshr */ \ + 1, /* iushr */ \ + 1, /* lushr */ \ + 1, /* iand */ \ + 1, /* land */ \ + 1, /* ior */ \ + 1, /* lor */ \ + 1, /* ixor */ \ + 1, /* lxor */ \ + 3, /* iinc */ \ + 1, /* i2l */ \ + 1, /* i2f */ \ + 1, /* i2d */ \ + 1, /* l2i */ \ + 1, /* l2f */ \ + 1, /* l2d */ \ + 1, /* f2i */ \ + 1, /* f2l */ \ + 1, /* f2d */ \ + 1, /* d2i */ \ + 1, /* d2l */ \ + 1, /* d2f */ \ + 1, /* i2b */ \ + 1, /* i2c */ \ + 1, /* i2s */ \ + 1, /* lcmp */ \ + 1, /* fcmpl */ \ + 1, /* fcmpg */ \ + 1, /* dcmpl */ \ + 1, /* dcmpg */ \ + 3, /* ifeq */ \ + 3, /* ifne */ \ + 3, /* iflt */ \ + 3, /* ifge */ \ + 3, /* ifgt */ \ + 3, /* ifle */ \ + 3, /* if_icmpeq */ \ + 3, /* if_icmpne */ \ + 3, /* if_icmplt */ \ + 3, /* if_icmpge */ \ + 3, /* if_icmpgt */ \ + 3, /* if_icmple */ \ + 3, /* if_acmpeq */ \ + 3, /* if_acmpne */ \ + 3, /* goto */ \ + 3, /* jsr */ \ + 2, /* ret */ \ + 99, /* tableswitch */ \ + 99, /* lookupswitch */ \ + 1, /* ireturn */ \ + 1, /* lreturn */ \ + 1, /* freturn */ \ + 1, /* dreturn */ \ + 1, /* areturn */ \ + 1, /* return */ \ + 3, /* getstatic */ \ + 3, /* putstatic */ \ + 3, /* getfield */ \ + 3, /* putfield */ \ + 3, /* invokevirtual */ \ + 3, /* invokespecial */ \ + 3, /* invokestatic */ \ + 5, /* invokeinterface */ \ + 5, /* invokedynamic */ \ + 3, /* new */ \ + 2, /* newarray */ \ + 3, /* anewarray */ \ + 1, /* arraylength */ \ + 1, /* athrow */ \ + 3, /* checkcast */ \ + 3, /* instanceof */ \ + 1, /* monitorenter */ \ + 1, /* monitorexit */ \ + 0, /* wide */ \ + 4, /* multianewarray */ \ + 3, /* ifnull */ \ + 3, /* ifnonnull */ \ + 5, /* goto_w */ \ + 5 /* jsr_w */ \ +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#endif /* CLASSFILE_CONSTANTS */ diff --git a/Java-Visualizer/java/include/jawt.h b/Java-Visualizer/java/include/jawt.h new file mode 100644 index 00000000..ba11a3dd --- /dev/null +++ b/Java-Visualizer/java/include/jawt.h @@ -0,0 +1,299 @@ +/* + * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +#ifndef _JAVASOFT_JAWT_H_ +#define _JAVASOFT_JAWT_H_ + +#include "jni.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * AWT native interface (new in JDK 1.3) + * + * The AWT native interface allows a native C or C++ application a means + * by which to access native structures in AWT. This is to facilitate moving + * legacy C and C++ applications to Java and to target the needs of the + * community who, at present, wish to do their own native rendering to canvases + * for performance reasons. Standard extensions such as Java3D also require a + * means to access the underlying native data structures of AWT. + * + * There may be future extensions to this API depending on demand. + * + * A VM does not have to implement this API in order to pass the JCK. + * It is recommended, however, that this API is implemented on VMs that support + * standard extensions, such as Java3D. + * + * Since this is a native API, any program which uses it cannot be considered + * 100% pure java. + */ + +/* + * AWT Native Drawing Surface (JAWT_DrawingSurface). + * + * For each platform, there is a native drawing surface structure. This + * platform-specific structure can be found in jawt_md.h. It is recommended + * that additional platforms follow the same model. It is also recommended + * that VMs on Win32 and Solaris support the existing structures in jawt_md.h. + * + ******************* + * EXAMPLE OF USAGE: + ******************* + * + * In Win32, a programmer wishes to access the HWND of a canvas to perform + * native rendering into it. The programmer has declared the paint() method + * for their canvas subclass to be native: + * + * + * MyCanvas.java: + * + * import java.awt.*; + * + * public class MyCanvas extends Canvas { + * + * static { + * System.loadLibrary("mylib"); + * } + * + * public native void paint(Graphics g); + * } + * + * + * myfile.c: + * + * #include "jawt_md.h" + * #include + * + * JNIEXPORT void JNICALL + * Java_MyCanvas_paint(JNIEnv* env, jobject canvas, jobject graphics) + * { + * JAWT awt; + * JAWT_DrawingSurface* ds; + * JAWT_DrawingSurfaceInfo* dsi; + * JAWT_Win32DrawingSurfaceInfo* dsi_win; + * jboolean result; + * jint lock; + * + * // Get the AWT + * awt.version = JAWT_VERSION_1_3; + * result = JAWT_GetAWT(env, &awt); + * assert(result != JNI_FALSE); + * + * // Get the drawing surface + * ds = awt.GetDrawingSurface(env, canvas); + * assert(ds != NULL); + * + * // Lock the drawing surface + * lock = ds->Lock(ds); + * assert((lock & JAWT_LOCK_ERROR) == 0); + * + * // Get the drawing surface info + * dsi = ds->GetDrawingSurfaceInfo(ds); + * + * // Get the platform-specific drawing info + * dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo; + * + * ////////////////////////////// + * // !!! DO PAINTING HERE !!! // + * ////////////////////////////// + * + * // Free the drawing surface info + * ds->FreeDrawingSurfaceInfo(dsi); + * + * // Unlock the drawing surface + * ds->Unlock(ds); + * + * // Free the drawing surface + * awt.FreeDrawingSurface(ds); + * } + * + */ + +/* + * JAWT_Rectangle + * Structure for a native rectangle. + */ +typedef struct jawt_Rectangle { + jint x; + jint y; + jint width; + jint height; +} JAWT_Rectangle; + +struct jawt_DrawingSurface; + +/* + * JAWT_DrawingSurfaceInfo + * Structure for containing the underlying drawing information of a component. + */ +typedef struct jawt_DrawingSurfaceInfo { + /* + * Pointer to the platform-specific information. This can be safely + * cast to a JAWT_Win32DrawingSurfaceInfo on Windows or a + * JAWT_X11DrawingSurfaceInfo on Solaris. On Mac OS X, when using the + * native Cocoa toolkit this is a pointer to a NSObject that conforms + * to the JAWT_SurfaceLayers protocol. See jawt_md.h for details. + */ + void* platformInfo; + /* Cached pointer to the underlying drawing surface */ + struct jawt_DrawingSurface* ds; + /* Bounding rectangle of the drawing surface */ + JAWT_Rectangle bounds; + /* Number of rectangles in the clip */ + jint clipSize; + /* Clip rectangle array */ + JAWT_Rectangle* clip; +} JAWT_DrawingSurfaceInfo; + +#define JAWT_LOCK_ERROR 0x00000001 +#define JAWT_LOCK_CLIP_CHANGED 0x00000002 +#define JAWT_LOCK_BOUNDS_CHANGED 0x00000004 +#define JAWT_LOCK_SURFACE_CHANGED 0x00000008 + +/* + * JAWT_DrawingSurface + * Structure for containing the underlying drawing information of a component. + * All operations on a JAWT_DrawingSurface MUST be performed from the same + * thread as the call to GetDrawingSurface. + */ +typedef struct jawt_DrawingSurface { + /* + * Cached reference to the Java environment of the calling thread. + * If Lock(), Unlock(), GetDrawingSurfaceInfo() or + * FreeDrawingSurfaceInfo() are called from a different thread, + * this data member should be set before calling those functions. + */ + JNIEnv* env; + /* Cached reference to the target object */ + jobject target; + /* + * Lock the surface of the target component for native rendering. + * When finished drawing, the surface must be unlocked with + * Unlock(). This function returns a bitmask with one or more of the + * following values: + * + * JAWT_LOCK_ERROR - When an error has occurred and the surface could not + * be locked. + * + * JAWT_LOCK_CLIP_CHANGED - When the clip region has changed. + * + * JAWT_LOCK_BOUNDS_CHANGED - When the bounds of the surface have changed. + * + * JAWT_LOCK_SURFACE_CHANGED - When the surface itself has changed + */ + jint (JNICALL *Lock) + (struct jawt_DrawingSurface* ds); + /* + * Get the drawing surface info. + * The value returned may be cached, but the values may change if + * additional calls to Lock() or Unlock() are made. + * Lock() must be called before this can return a valid value. + * Returns NULL if an error has occurred. + * When finished with the returned value, FreeDrawingSurfaceInfo must be + * called. + */ + JAWT_DrawingSurfaceInfo* (JNICALL *GetDrawingSurfaceInfo) + (struct jawt_DrawingSurface* ds); + /* + * Free the drawing surface info. + */ + void (JNICALL *FreeDrawingSurfaceInfo) + (JAWT_DrawingSurfaceInfo* dsi); + /* + * Unlock the drawing surface of the target component for native rendering. + */ + void (JNICALL *Unlock) + (struct jawt_DrawingSurface* ds); +} JAWT_DrawingSurface; + +/* + * JAWT + * Structure for containing native AWT functions. + */ +typedef struct jawt { + /* + * Version of this structure. This must always be set before + * calling JAWT_GetAWT() + */ + jint version; + /* + * Return a drawing surface from a target jobject. This value + * may be cached. + * Returns NULL if an error has occurred. + * Target must be a java.awt.Component (should be a Canvas + * or Window for native rendering). + * FreeDrawingSurface() must be called when finished with the + * returned JAWT_DrawingSurface. + */ + JAWT_DrawingSurface* (JNICALL *GetDrawingSurface) + (JNIEnv* env, jobject target); + /* + * Free the drawing surface allocated in GetDrawingSurface. + */ + void (JNICALL *FreeDrawingSurface) + (JAWT_DrawingSurface* ds); + /* + * Since 1.4 + * Locks the entire AWT for synchronization purposes + */ + void (JNICALL *Lock)(JNIEnv* env); + /* + * Since 1.4 + * Unlocks the entire AWT for synchronization purposes + */ + void (JNICALL *Unlock)(JNIEnv* env); + /* + * Since 1.4 + * Returns a reference to a java.awt.Component from a native + * platform handle. On Windows, this corresponds to an HWND; + * on Solaris and Linux, this is a Drawable. For other platforms, + * see the appropriate machine-dependent header file for a description. + * The reference returned by this function is a local + * reference that is only valid in this environment. + * This function returns a NULL reference if no component could be + * found with matching platform information. + */ + jobject (JNICALL *GetComponent)(JNIEnv* env, void* platformInfo); + +} JAWT; + +/* + * Get the AWT native structure. This function returns JNI_FALSE if + * an error occurs. + */ +_JNI_IMPORT_OR_EXPORT_ +jboolean JNICALL JAWT_GetAWT(JNIEnv* env, JAWT* awt); + +#define JAWT_VERSION_1_3 0x00010003 +#define JAWT_VERSION_1_4 0x00010004 +#define JAWT_VERSION_1_7 0x00010007 + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* !_JAVASOFT_JAWT_H_ */ diff --git a/Java-Visualizer/java/include/jdwpTransport.h b/Java-Visualizer/java/include/jdwpTransport.h new file mode 100644 index 00000000..0ab7cdcf --- /dev/null +++ b/Java-Visualizer/java/include/jdwpTransport.h @@ -0,0 +1,254 @@ +/* + * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +/* + * Java Debug Wire Protocol Transport Service Provider Interface. + */ + +#ifndef JDWPTRANSPORT_H +#define JDWPTRANSPORT_H + +#include "jni.h" + +enum { + JDWPTRANSPORT_VERSION_1_0 = 0x00010000 +}; + +#ifdef __cplusplus +extern "C" { +#endif + +struct jdwpTransportNativeInterface_; + +struct _jdwpTransportEnv; + +#ifdef __cplusplus +typedef _jdwpTransportEnv jdwpTransportEnv; +#else +typedef const struct jdwpTransportNativeInterface_ *jdwpTransportEnv; +#endif /* __cplusplus */ + +/* + * Errors. Universal errors with JVMTI/JVMDI equivalents keep the + * values the same. + */ +typedef enum { + JDWPTRANSPORT_ERROR_NONE = 0, + JDWPTRANSPORT_ERROR_ILLEGAL_ARGUMENT = 103, + JDWPTRANSPORT_ERROR_OUT_OF_MEMORY = 110, + JDWPTRANSPORT_ERROR_INTERNAL = 113, + JDWPTRANSPORT_ERROR_ILLEGAL_STATE = 201, + JDWPTRANSPORT_ERROR_IO_ERROR = 202, + JDWPTRANSPORT_ERROR_TIMEOUT = 203, + JDWPTRANSPORT_ERROR_MSG_NOT_AVAILABLE = 204 +} jdwpTransportError; + + +/* + * Structure to define capabilities + */ +typedef struct { + unsigned int can_timeout_attach :1; + unsigned int can_timeout_accept :1; + unsigned int can_timeout_handshake :1; + unsigned int reserved3 :1; + unsigned int reserved4 :1; + unsigned int reserved5 :1; + unsigned int reserved6 :1; + unsigned int reserved7 :1; + unsigned int reserved8 :1; + unsigned int reserved9 :1; + unsigned int reserved10 :1; + unsigned int reserved11 :1; + unsigned int reserved12 :1; + unsigned int reserved13 :1; + unsigned int reserved14 :1; + unsigned int reserved15 :1; +} JDWPTransportCapabilities; + + +/* + * Structures to define packet layout. + * + * See: http://java.sun.com/j2se/1.5/docs/guide/jpda/jdwp-spec.html + */ + +enum { + JDWPTRANSPORT_FLAGS_NONE = 0x0, + JDWPTRANSPORT_FLAGS_REPLY = 0x80 +}; + +typedef struct { + jint len; + jint id; + jbyte flags; + jbyte cmdSet; + jbyte cmd; + jbyte *data; +} jdwpCmdPacket; + +typedef struct { + jint len; + jint id; + jbyte flags; + jshort errorCode; + jbyte *data; +} jdwpReplyPacket; + +typedef struct { + union { + jdwpCmdPacket cmd; + jdwpReplyPacket reply; + } type; +} jdwpPacket; + +/* + * JDWP functions called by the transport. + */ +typedef struct jdwpTransportCallback { + void *(*alloc)(jint numBytes); /* Call this for all allocations */ + void (*free)(void *buffer); /* Call this for all deallocations */ +} jdwpTransportCallback; + +typedef jint (JNICALL *jdwpTransport_OnLoad_t)(JavaVM *jvm, + jdwpTransportCallback *callback, + jint version, + jdwpTransportEnv** env); + + + +/* Function Interface */ + +struct jdwpTransportNativeInterface_ { + /* 1 : RESERVED */ + void *reserved1; + + /* 2 : Get Capabilities */ + jdwpTransportError (JNICALL *GetCapabilities)(jdwpTransportEnv* env, + JDWPTransportCapabilities *capabilities_ptr); + + /* 3 : Attach */ + jdwpTransportError (JNICALL *Attach)(jdwpTransportEnv* env, + const char* address, + jlong attach_timeout, + jlong handshake_timeout); + + /* 4: StartListening */ + jdwpTransportError (JNICALL *StartListening)(jdwpTransportEnv* env, + const char* address, + char** actual_address); + + /* 5: StopListening */ + jdwpTransportError (JNICALL *StopListening)(jdwpTransportEnv* env); + + /* 6: Accept */ + jdwpTransportError (JNICALL *Accept)(jdwpTransportEnv* env, + jlong accept_timeout, + jlong handshake_timeout); + + /* 7: IsOpen */ + jboolean (JNICALL *IsOpen)(jdwpTransportEnv* env); + + /* 8: Close */ + jdwpTransportError (JNICALL *Close)(jdwpTransportEnv* env); + + /* 9: ReadPacket */ + jdwpTransportError (JNICALL *ReadPacket)(jdwpTransportEnv* env, + jdwpPacket *pkt); + + /* 10: Write Packet */ + jdwpTransportError (JNICALL *WritePacket)(jdwpTransportEnv* env, + const jdwpPacket* pkt); + + /* 11: GetLastError */ + jdwpTransportError (JNICALL *GetLastError)(jdwpTransportEnv* env, + char** error); + +}; + + +/* + * Use inlined functions so that C++ code can use syntax such as + * env->Attach("mymachine:5000", 10*1000, 0); + * + * rather than using C's :- + * + * (*env)->Attach(env, "mymachine:5000", 10*1000, 0); + */ +struct _jdwpTransportEnv { + const struct jdwpTransportNativeInterface_ *functions; +#ifdef __cplusplus + + jdwpTransportError GetCapabilities(JDWPTransportCapabilities *capabilities_ptr) { + return functions->GetCapabilities(this, capabilities_ptr); + } + + jdwpTransportError Attach(const char* address, jlong attach_timeout, + jlong handshake_timeout) { + return functions->Attach(this, address, attach_timeout, handshake_timeout); + } + + jdwpTransportError StartListening(const char* address, + char** actual_address) { + return functions->StartListening(this, address, actual_address); + } + + jdwpTransportError StopListening(void) { + return functions->StopListening(this); + } + + jdwpTransportError Accept(jlong accept_timeout, jlong handshake_timeout) { + return functions->Accept(this, accept_timeout, handshake_timeout); + } + + jboolean IsOpen(void) { + return functions->IsOpen(this); + } + + jdwpTransportError Close(void) { + return functions->Close(this); + } + + jdwpTransportError ReadPacket(jdwpPacket *pkt) { + return functions->ReadPacket(this, pkt); + } + + jdwpTransportError WritePacket(const jdwpPacket* pkt) { + return functions->WritePacket(this, pkt); + } + + jdwpTransportError GetLastError(char** error) { + return functions->GetLastError(this, error); + } + + +#endif /* __cplusplus */ +}; + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#endif /* JDWPTRANSPORT_H */ diff --git a/Java-Visualizer/java/include/jni.h b/Java-Visualizer/java/include/jni.h new file mode 100644 index 00000000..ab9a693e --- /dev/null +++ b/Java-Visualizer/java/include/jni.h @@ -0,0 +1,1959 @@ +/* + * Copyright (c) 1996, 2006, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +/* + * We used part of Netscape's Java Runtime Interface (JRI) as the starting + * point of our design and implementation. + */ + +/****************************************************************************** + * Java Runtime Interface + * Copyright (c) 1996 Netscape Communications Corporation. All rights reserved. + *****************************************************************************/ + +#ifndef _JAVASOFT_JNI_H_ +#define _JAVASOFT_JNI_H_ + +#include +#include + +/* jni_md.h contains the machine-dependent typedefs for jbyte, jint + and jlong */ + +#include "jni_md.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * JNI Types + */ + +#ifndef JNI_TYPES_ALREADY_DEFINED_IN_JNI_MD_H + +typedef unsigned char jboolean; +typedef unsigned short jchar; +typedef short jshort; +typedef float jfloat; +typedef double jdouble; + +typedef jint jsize; + +#ifdef __cplusplus + +class _jobject {}; +class _jclass : public _jobject {}; +class _jthrowable : public _jobject {}; +class _jstring : public _jobject {}; +class _jarray : public _jobject {}; +class _jbooleanArray : public _jarray {}; +class _jbyteArray : public _jarray {}; +class _jcharArray : public _jarray {}; +class _jshortArray : public _jarray {}; +class _jintArray : public _jarray {}; +class _jlongArray : public _jarray {}; +class _jfloatArray : public _jarray {}; +class _jdoubleArray : public _jarray {}; +class _jobjectArray : public _jarray {}; + +typedef _jobject *jobject; +typedef _jclass *jclass; +typedef _jthrowable *jthrowable; +typedef _jstring *jstring; +typedef _jarray *jarray; +typedef _jbooleanArray *jbooleanArray; +typedef _jbyteArray *jbyteArray; +typedef _jcharArray *jcharArray; +typedef _jshortArray *jshortArray; +typedef _jintArray *jintArray; +typedef _jlongArray *jlongArray; +typedef _jfloatArray *jfloatArray; +typedef _jdoubleArray *jdoubleArray; +typedef _jobjectArray *jobjectArray; + +#else + +struct _jobject; + +typedef struct _jobject *jobject; +typedef jobject jclass; +typedef jobject jthrowable; +typedef jobject jstring; +typedef jobject jarray; +typedef jarray jbooleanArray; +typedef jarray jbyteArray; +typedef jarray jcharArray; +typedef jarray jshortArray; +typedef jarray jintArray; +typedef jarray jlongArray; +typedef jarray jfloatArray; +typedef jarray jdoubleArray; +typedef jarray jobjectArray; + +#endif + +typedef jobject jweak; + +typedef union jvalue { + jboolean z; + jbyte b; + jchar c; + jshort s; + jint i; + jlong j; + jfloat f; + jdouble d; + jobject l; +} jvalue; + +struct _jfieldID; +typedef struct _jfieldID *jfieldID; + +struct _jmethodID; +typedef struct _jmethodID *jmethodID; + +/* Return values from jobjectRefType */ +typedef enum _jobjectType { + JNIInvalidRefType = 0, + JNILocalRefType = 1, + JNIGlobalRefType = 2, + JNIWeakGlobalRefType = 3 +} jobjectRefType; + + +#endif /* JNI_TYPES_ALREADY_DEFINED_IN_JNI_MD_H */ + +/* + * jboolean constants + */ + +#define JNI_FALSE 0 +#define JNI_TRUE 1 + +/* + * possible return values for JNI functions. + */ + +#define JNI_OK 0 /* success */ +#define JNI_ERR (-1) /* unknown error */ +#define JNI_EDETACHED (-2) /* thread detached from the VM */ +#define JNI_EVERSION (-3) /* JNI version error */ +#define JNI_ENOMEM (-4) /* not enough memory */ +#define JNI_EEXIST (-5) /* VM already created */ +#define JNI_EINVAL (-6) /* invalid arguments */ + +/* + * used in ReleaseScalarArrayElements + */ + +#define JNI_COMMIT 1 +#define JNI_ABORT 2 + +/* + * used in RegisterNatives to describe native method name, signature, + * and function pointer. + */ + +typedef struct { + char *name; + char *signature; + void *fnPtr; +} JNINativeMethod; + +/* + * JNI Native Method Interface. + */ + +struct JNINativeInterface_; + +struct JNIEnv_; + +#ifdef __cplusplus +typedef JNIEnv_ JNIEnv; +#else +typedef const struct JNINativeInterface_ *JNIEnv; +#endif + +/* + * JNI Invocation Interface. + */ + +struct JNIInvokeInterface_; + +struct JavaVM_; + +#ifdef __cplusplus +typedef JavaVM_ JavaVM; +#else +typedef const struct JNIInvokeInterface_ *JavaVM; +#endif + +struct JNINativeInterface_ { + void *reserved0; + void *reserved1; + void *reserved2; + + void *reserved3; + jint (JNICALL *GetVersion)(JNIEnv *env); + + jclass (JNICALL *DefineClass) + (JNIEnv *env, const char *name, jobject loader, const jbyte *buf, + jsize len); + jclass (JNICALL *FindClass) + (JNIEnv *env, const char *name); + + jmethodID (JNICALL *FromReflectedMethod) + (JNIEnv *env, jobject method); + jfieldID (JNICALL *FromReflectedField) + (JNIEnv *env, jobject field); + + jobject (JNICALL *ToReflectedMethod) + (JNIEnv *env, jclass cls, jmethodID methodID, jboolean isStatic); + + jclass (JNICALL *GetSuperclass) + (JNIEnv *env, jclass sub); + jboolean (JNICALL *IsAssignableFrom) + (JNIEnv *env, jclass sub, jclass sup); + + jobject (JNICALL *ToReflectedField) + (JNIEnv *env, jclass cls, jfieldID fieldID, jboolean isStatic); + + jint (JNICALL *Throw) + (JNIEnv *env, jthrowable obj); + jint (JNICALL *ThrowNew) + (JNIEnv *env, jclass clazz, const char *msg); + jthrowable (JNICALL *ExceptionOccurred) + (JNIEnv *env); + void (JNICALL *ExceptionDescribe) + (JNIEnv *env); + void (JNICALL *ExceptionClear) + (JNIEnv *env); + void (JNICALL *FatalError) + (JNIEnv *env, const char *msg); + + jint (JNICALL *PushLocalFrame) + (JNIEnv *env, jint capacity); + jobject (JNICALL *PopLocalFrame) + (JNIEnv *env, jobject result); + + jobject (JNICALL *NewGlobalRef) + (JNIEnv *env, jobject lobj); + void (JNICALL *DeleteGlobalRef) + (JNIEnv *env, jobject gref); + void (JNICALL *DeleteLocalRef) + (JNIEnv *env, jobject obj); + jboolean (JNICALL *IsSameObject) + (JNIEnv *env, jobject obj1, jobject obj2); + jobject (JNICALL *NewLocalRef) + (JNIEnv *env, jobject ref); + jint (JNICALL *EnsureLocalCapacity) + (JNIEnv *env, jint capacity); + + jobject (JNICALL *AllocObject) + (JNIEnv *env, jclass clazz); + jobject (JNICALL *NewObject) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jobject (JNICALL *NewObjectV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jobject (JNICALL *NewObjectA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jclass (JNICALL *GetObjectClass) + (JNIEnv *env, jobject obj); + jboolean (JNICALL *IsInstanceOf) + (JNIEnv *env, jobject obj, jclass clazz); + + jmethodID (JNICALL *GetMethodID) + (JNIEnv *env, jclass clazz, const char *name, const char *sig); + + jobject (JNICALL *CallObjectMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jobject (JNICALL *CallObjectMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jobject (JNICALL *CallObjectMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue * args); + + jboolean (JNICALL *CallBooleanMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jboolean (JNICALL *CallBooleanMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jboolean (JNICALL *CallBooleanMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue * args); + + jbyte (JNICALL *CallByteMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jbyte (JNICALL *CallByteMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jbyte (JNICALL *CallByteMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue *args); + + jchar (JNICALL *CallCharMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jchar (JNICALL *CallCharMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jchar (JNICALL *CallCharMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue *args); + + jshort (JNICALL *CallShortMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jshort (JNICALL *CallShortMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jshort (JNICALL *CallShortMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue *args); + + jint (JNICALL *CallIntMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jint (JNICALL *CallIntMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jint (JNICALL *CallIntMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue *args); + + jlong (JNICALL *CallLongMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jlong (JNICALL *CallLongMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jlong (JNICALL *CallLongMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue *args); + + jfloat (JNICALL *CallFloatMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jfloat (JNICALL *CallFloatMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jfloat (JNICALL *CallFloatMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue *args); + + jdouble (JNICALL *CallDoubleMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + jdouble (JNICALL *CallDoubleMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + jdouble (JNICALL *CallDoubleMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue *args); + + void (JNICALL *CallVoidMethod) + (JNIEnv *env, jobject obj, jmethodID methodID, ...); + void (JNICALL *CallVoidMethodV) + (JNIEnv *env, jobject obj, jmethodID methodID, va_list args); + void (JNICALL *CallVoidMethodA) + (JNIEnv *env, jobject obj, jmethodID methodID, const jvalue * args); + + jobject (JNICALL *CallNonvirtualObjectMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jobject (JNICALL *CallNonvirtualObjectMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jobject (JNICALL *CallNonvirtualObjectMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue * args); + + jboolean (JNICALL *CallNonvirtualBooleanMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jboolean (JNICALL *CallNonvirtualBooleanMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jboolean (JNICALL *CallNonvirtualBooleanMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue * args); + + jbyte (JNICALL *CallNonvirtualByteMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jbyte (JNICALL *CallNonvirtualByteMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jbyte (JNICALL *CallNonvirtualByteMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue *args); + + jchar (JNICALL *CallNonvirtualCharMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jchar (JNICALL *CallNonvirtualCharMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jchar (JNICALL *CallNonvirtualCharMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue *args); + + jshort (JNICALL *CallNonvirtualShortMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jshort (JNICALL *CallNonvirtualShortMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jshort (JNICALL *CallNonvirtualShortMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue *args); + + jint (JNICALL *CallNonvirtualIntMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jint (JNICALL *CallNonvirtualIntMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jint (JNICALL *CallNonvirtualIntMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue *args); + + jlong (JNICALL *CallNonvirtualLongMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jlong (JNICALL *CallNonvirtualLongMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jlong (JNICALL *CallNonvirtualLongMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue *args); + + jfloat (JNICALL *CallNonvirtualFloatMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jfloat (JNICALL *CallNonvirtualFloatMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jfloat (JNICALL *CallNonvirtualFloatMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue *args); + + jdouble (JNICALL *CallNonvirtualDoubleMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + jdouble (JNICALL *CallNonvirtualDoubleMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + jdouble (JNICALL *CallNonvirtualDoubleMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue *args); + + void (JNICALL *CallNonvirtualVoidMethod) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...); + void (JNICALL *CallNonvirtualVoidMethodV) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + va_list args); + void (JNICALL *CallNonvirtualVoidMethodA) + (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, + const jvalue * args); + + jfieldID (JNICALL *GetFieldID) + (JNIEnv *env, jclass clazz, const char *name, const char *sig); + + jobject (JNICALL *GetObjectField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + jboolean (JNICALL *GetBooleanField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + jbyte (JNICALL *GetByteField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + jchar (JNICALL *GetCharField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + jshort (JNICALL *GetShortField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + jint (JNICALL *GetIntField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + jlong (JNICALL *GetLongField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + jfloat (JNICALL *GetFloatField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + jdouble (JNICALL *GetDoubleField) + (JNIEnv *env, jobject obj, jfieldID fieldID); + + void (JNICALL *SetObjectField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jobject val); + void (JNICALL *SetBooleanField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jboolean val); + void (JNICALL *SetByteField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jbyte val); + void (JNICALL *SetCharField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jchar val); + void (JNICALL *SetShortField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jshort val); + void (JNICALL *SetIntField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jint val); + void (JNICALL *SetLongField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jlong val); + void (JNICALL *SetFloatField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jfloat val); + void (JNICALL *SetDoubleField) + (JNIEnv *env, jobject obj, jfieldID fieldID, jdouble val); + + jmethodID (JNICALL *GetStaticMethodID) + (JNIEnv *env, jclass clazz, const char *name, const char *sig); + + jobject (JNICALL *CallStaticObjectMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jobject (JNICALL *CallStaticObjectMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jobject (JNICALL *CallStaticObjectMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jboolean (JNICALL *CallStaticBooleanMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jboolean (JNICALL *CallStaticBooleanMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jboolean (JNICALL *CallStaticBooleanMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jbyte (JNICALL *CallStaticByteMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jbyte (JNICALL *CallStaticByteMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jbyte (JNICALL *CallStaticByteMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jchar (JNICALL *CallStaticCharMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jchar (JNICALL *CallStaticCharMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jchar (JNICALL *CallStaticCharMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jshort (JNICALL *CallStaticShortMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jshort (JNICALL *CallStaticShortMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jshort (JNICALL *CallStaticShortMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jint (JNICALL *CallStaticIntMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jint (JNICALL *CallStaticIntMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jint (JNICALL *CallStaticIntMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jlong (JNICALL *CallStaticLongMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jlong (JNICALL *CallStaticLongMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jlong (JNICALL *CallStaticLongMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jfloat (JNICALL *CallStaticFloatMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jfloat (JNICALL *CallStaticFloatMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jfloat (JNICALL *CallStaticFloatMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + jdouble (JNICALL *CallStaticDoubleMethod) + (JNIEnv *env, jclass clazz, jmethodID methodID, ...); + jdouble (JNICALL *CallStaticDoubleMethodV) + (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args); + jdouble (JNICALL *CallStaticDoubleMethodA) + (JNIEnv *env, jclass clazz, jmethodID methodID, const jvalue *args); + + void (JNICALL *CallStaticVoidMethod) + (JNIEnv *env, jclass cls, jmethodID methodID, ...); + void (JNICALL *CallStaticVoidMethodV) + (JNIEnv *env, jclass cls, jmethodID methodID, va_list args); + void (JNICALL *CallStaticVoidMethodA) + (JNIEnv *env, jclass cls, jmethodID methodID, const jvalue * args); + + jfieldID (JNICALL *GetStaticFieldID) + (JNIEnv *env, jclass clazz, const char *name, const char *sig); + jobject (JNICALL *GetStaticObjectField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + jboolean (JNICALL *GetStaticBooleanField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + jbyte (JNICALL *GetStaticByteField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + jchar (JNICALL *GetStaticCharField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + jshort (JNICALL *GetStaticShortField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + jint (JNICALL *GetStaticIntField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + jlong (JNICALL *GetStaticLongField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + jfloat (JNICALL *GetStaticFloatField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + jdouble (JNICALL *GetStaticDoubleField) + (JNIEnv *env, jclass clazz, jfieldID fieldID); + + void (JNICALL *SetStaticObjectField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jobject value); + void (JNICALL *SetStaticBooleanField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jboolean value); + void (JNICALL *SetStaticByteField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jbyte value); + void (JNICALL *SetStaticCharField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jchar value); + void (JNICALL *SetStaticShortField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jshort value); + void (JNICALL *SetStaticIntField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jint value); + void (JNICALL *SetStaticLongField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jlong value); + void (JNICALL *SetStaticFloatField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jfloat value); + void (JNICALL *SetStaticDoubleField) + (JNIEnv *env, jclass clazz, jfieldID fieldID, jdouble value); + + jstring (JNICALL *NewString) + (JNIEnv *env, const jchar *unicode, jsize len); + jsize (JNICALL *GetStringLength) + (JNIEnv *env, jstring str); + const jchar *(JNICALL *GetStringChars) + (JNIEnv *env, jstring str, jboolean *isCopy); + void (JNICALL *ReleaseStringChars) + (JNIEnv *env, jstring str, const jchar *chars); + + jstring (JNICALL *NewStringUTF) + (JNIEnv *env, const char *utf); + jsize (JNICALL *GetStringUTFLength) + (JNIEnv *env, jstring str); + const char* (JNICALL *GetStringUTFChars) + (JNIEnv *env, jstring str, jboolean *isCopy); + void (JNICALL *ReleaseStringUTFChars) + (JNIEnv *env, jstring str, const char* chars); + + + jsize (JNICALL *GetArrayLength) + (JNIEnv *env, jarray array); + + jobjectArray (JNICALL *NewObjectArray) + (JNIEnv *env, jsize len, jclass clazz, jobject init); + jobject (JNICALL *GetObjectArrayElement) + (JNIEnv *env, jobjectArray array, jsize index); + void (JNICALL *SetObjectArrayElement) + (JNIEnv *env, jobjectArray array, jsize index, jobject val); + + jbooleanArray (JNICALL *NewBooleanArray) + (JNIEnv *env, jsize len); + jbyteArray (JNICALL *NewByteArray) + (JNIEnv *env, jsize len); + jcharArray (JNICALL *NewCharArray) + (JNIEnv *env, jsize len); + jshortArray (JNICALL *NewShortArray) + (JNIEnv *env, jsize len); + jintArray (JNICALL *NewIntArray) + (JNIEnv *env, jsize len); + jlongArray (JNICALL *NewLongArray) + (JNIEnv *env, jsize len); + jfloatArray (JNICALL *NewFloatArray) + (JNIEnv *env, jsize len); + jdoubleArray (JNICALL *NewDoubleArray) + (JNIEnv *env, jsize len); + + jboolean * (JNICALL *GetBooleanArrayElements) + (JNIEnv *env, jbooleanArray array, jboolean *isCopy); + jbyte * (JNICALL *GetByteArrayElements) + (JNIEnv *env, jbyteArray array, jboolean *isCopy); + jchar * (JNICALL *GetCharArrayElements) + (JNIEnv *env, jcharArray array, jboolean *isCopy); + jshort * (JNICALL *GetShortArrayElements) + (JNIEnv *env, jshortArray array, jboolean *isCopy); + jint * (JNICALL *GetIntArrayElements) + (JNIEnv *env, jintArray array, jboolean *isCopy); + jlong * (JNICALL *GetLongArrayElements) + (JNIEnv *env, jlongArray array, jboolean *isCopy); + jfloat * (JNICALL *GetFloatArrayElements) + (JNIEnv *env, jfloatArray array, jboolean *isCopy); + jdouble * (JNICALL *GetDoubleArrayElements) + (JNIEnv *env, jdoubleArray array, jboolean *isCopy); + + void (JNICALL *ReleaseBooleanArrayElements) + (JNIEnv *env, jbooleanArray array, jboolean *elems, jint mode); + void (JNICALL *ReleaseByteArrayElements) + (JNIEnv *env, jbyteArray array, jbyte *elems, jint mode); + void (JNICALL *ReleaseCharArrayElements) + (JNIEnv *env, jcharArray array, jchar *elems, jint mode); + void (JNICALL *ReleaseShortArrayElements) + (JNIEnv *env, jshortArray array, jshort *elems, jint mode); + void (JNICALL *ReleaseIntArrayElements) + (JNIEnv *env, jintArray array, jint *elems, jint mode); + void (JNICALL *ReleaseLongArrayElements) + (JNIEnv *env, jlongArray array, jlong *elems, jint mode); + void (JNICALL *ReleaseFloatArrayElements) + (JNIEnv *env, jfloatArray array, jfloat *elems, jint mode); + void (JNICALL *ReleaseDoubleArrayElements) + (JNIEnv *env, jdoubleArray array, jdouble *elems, jint mode); + + void (JNICALL *GetBooleanArrayRegion) + (JNIEnv *env, jbooleanArray array, jsize start, jsize l, jboolean *buf); + void (JNICALL *GetByteArrayRegion) + (JNIEnv *env, jbyteArray array, jsize start, jsize len, jbyte *buf); + void (JNICALL *GetCharArrayRegion) + (JNIEnv *env, jcharArray array, jsize start, jsize len, jchar *buf); + void (JNICALL *GetShortArrayRegion) + (JNIEnv *env, jshortArray array, jsize start, jsize len, jshort *buf); + void (JNICALL *GetIntArrayRegion) + (JNIEnv *env, jintArray array, jsize start, jsize len, jint *buf); + void (JNICALL *GetLongArrayRegion) + (JNIEnv *env, jlongArray array, jsize start, jsize len, jlong *buf); + void (JNICALL *GetFloatArrayRegion) + (JNIEnv *env, jfloatArray array, jsize start, jsize len, jfloat *buf); + void (JNICALL *GetDoubleArrayRegion) + (JNIEnv *env, jdoubleArray array, jsize start, jsize len, jdouble *buf); + + void (JNICALL *SetBooleanArrayRegion) + (JNIEnv *env, jbooleanArray array, jsize start, jsize l, const jboolean *buf); + void (JNICALL *SetByteArrayRegion) + (JNIEnv *env, jbyteArray array, jsize start, jsize len, const jbyte *buf); + void (JNICALL *SetCharArrayRegion) + (JNIEnv *env, jcharArray array, jsize start, jsize len, const jchar *buf); + void (JNICALL *SetShortArrayRegion) + (JNIEnv *env, jshortArray array, jsize start, jsize len, const jshort *buf); + void (JNICALL *SetIntArrayRegion) + (JNIEnv *env, jintArray array, jsize start, jsize len, const jint *buf); + void (JNICALL *SetLongArrayRegion) + (JNIEnv *env, jlongArray array, jsize start, jsize len, const jlong *buf); + void (JNICALL *SetFloatArrayRegion) + (JNIEnv *env, jfloatArray array, jsize start, jsize len, const jfloat *buf); + void (JNICALL *SetDoubleArrayRegion) + (JNIEnv *env, jdoubleArray array, jsize start, jsize len, const jdouble *buf); + + jint (JNICALL *RegisterNatives) + (JNIEnv *env, jclass clazz, const JNINativeMethod *methods, + jint nMethods); + jint (JNICALL *UnregisterNatives) + (JNIEnv *env, jclass clazz); + + jint (JNICALL *MonitorEnter) + (JNIEnv *env, jobject obj); + jint (JNICALL *MonitorExit) + (JNIEnv *env, jobject obj); + + jint (JNICALL *GetJavaVM) + (JNIEnv *env, JavaVM **vm); + + void (JNICALL *GetStringRegion) + (JNIEnv *env, jstring str, jsize start, jsize len, jchar *buf); + void (JNICALL *GetStringUTFRegion) + (JNIEnv *env, jstring str, jsize start, jsize len, char *buf); + + void * (JNICALL *GetPrimitiveArrayCritical) + (JNIEnv *env, jarray array, jboolean *isCopy); + void (JNICALL *ReleasePrimitiveArrayCritical) + (JNIEnv *env, jarray array, void *carray, jint mode); + + const jchar * (JNICALL *GetStringCritical) + (JNIEnv *env, jstring string, jboolean *isCopy); + void (JNICALL *ReleaseStringCritical) + (JNIEnv *env, jstring string, const jchar *cstring); + + jweak (JNICALL *NewWeakGlobalRef) + (JNIEnv *env, jobject obj); + void (JNICALL *DeleteWeakGlobalRef) + (JNIEnv *env, jweak ref); + + jboolean (JNICALL *ExceptionCheck) + (JNIEnv *env); + + jobject (JNICALL *NewDirectByteBuffer) + (JNIEnv* env, void* address, jlong capacity); + void* (JNICALL *GetDirectBufferAddress) + (JNIEnv* env, jobject buf); + jlong (JNICALL *GetDirectBufferCapacity) + (JNIEnv* env, jobject buf); + + /* New JNI 1.6 Features */ + + jobjectRefType (JNICALL *GetObjectRefType) + (JNIEnv* env, jobject obj); +}; + +/* + * We use inlined functions for C++ so that programmers can write: + * + * env->FindClass("java/lang/String") + * + * in C++ rather than: + * + * (*env)->FindClass(env, "java/lang/String") + * + * in C. + */ + +struct JNIEnv_ { + const struct JNINativeInterface_ *functions; +#ifdef __cplusplus + + jint GetVersion() { + return functions->GetVersion(this); + } + jclass DefineClass(const char *name, jobject loader, const jbyte *buf, + jsize len) { + return functions->DefineClass(this, name, loader, buf, len); + } + jclass FindClass(const char *name) { + return functions->FindClass(this, name); + } + jmethodID FromReflectedMethod(jobject method) { + return functions->FromReflectedMethod(this,method); + } + jfieldID FromReflectedField(jobject field) { + return functions->FromReflectedField(this,field); + } + + jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic) { + return functions->ToReflectedMethod(this, cls, methodID, isStatic); + } + + jclass GetSuperclass(jclass sub) { + return functions->GetSuperclass(this, sub); + } + jboolean IsAssignableFrom(jclass sub, jclass sup) { + return functions->IsAssignableFrom(this, sub, sup); + } + + jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic) { + return functions->ToReflectedField(this,cls,fieldID,isStatic); + } + + jint Throw(jthrowable obj) { + return functions->Throw(this, obj); + } + jint ThrowNew(jclass clazz, const char *msg) { + return functions->ThrowNew(this, clazz, msg); + } + jthrowable ExceptionOccurred() { + return functions->ExceptionOccurred(this); + } + void ExceptionDescribe() { + functions->ExceptionDescribe(this); + } + void ExceptionClear() { + functions->ExceptionClear(this); + } + void FatalError(const char *msg) { + functions->FatalError(this, msg); + } + + jint PushLocalFrame(jint capacity) { + return functions->PushLocalFrame(this,capacity); + } + jobject PopLocalFrame(jobject result) { + return functions->PopLocalFrame(this,result); + } + + jobject NewGlobalRef(jobject lobj) { + return functions->NewGlobalRef(this,lobj); + } + void DeleteGlobalRef(jobject gref) { + functions->DeleteGlobalRef(this,gref); + } + void DeleteLocalRef(jobject obj) { + functions->DeleteLocalRef(this, obj); + } + + jboolean IsSameObject(jobject obj1, jobject obj2) { + return functions->IsSameObject(this,obj1,obj2); + } + + jobject NewLocalRef(jobject ref) { + return functions->NewLocalRef(this,ref); + } + jint EnsureLocalCapacity(jint capacity) { + return functions->EnsureLocalCapacity(this,capacity); + } + + jobject AllocObject(jclass clazz) { + return functions->AllocObject(this,clazz); + } + jobject NewObject(jclass clazz, jmethodID methodID, ...) { + va_list args; + jobject result; + va_start(args, methodID); + result = functions->NewObjectV(this,clazz,methodID,args); + va_end(args); + return result; + } + jobject NewObjectV(jclass clazz, jmethodID methodID, + va_list args) { + return functions->NewObjectV(this,clazz,methodID,args); + } + jobject NewObjectA(jclass clazz, jmethodID methodID, + const jvalue *args) { + return functions->NewObjectA(this,clazz,methodID,args); + } + + jclass GetObjectClass(jobject obj) { + return functions->GetObjectClass(this,obj); + } + jboolean IsInstanceOf(jobject obj, jclass clazz) { + return functions->IsInstanceOf(this,obj,clazz); + } + + jmethodID GetMethodID(jclass clazz, const char *name, + const char *sig) { + return functions->GetMethodID(this,clazz,name,sig); + } + + jobject CallObjectMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + jobject result; + va_start(args,methodID); + result = functions->CallObjectMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jobject CallObjectMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallObjectMethodV(this,obj,methodID,args); + } + jobject CallObjectMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallObjectMethodA(this,obj,methodID,args); + } + + jboolean CallBooleanMethod(jobject obj, + jmethodID methodID, ...) { + va_list args; + jboolean result; + va_start(args,methodID); + result = functions->CallBooleanMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jboolean CallBooleanMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallBooleanMethodV(this,obj,methodID,args); + } + jboolean CallBooleanMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallBooleanMethodA(this,obj,methodID, args); + } + + jbyte CallByteMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + jbyte result; + va_start(args,methodID); + result = functions->CallByteMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jbyte CallByteMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallByteMethodV(this,obj,methodID,args); + } + jbyte CallByteMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallByteMethodA(this,obj,methodID,args); + } + + jchar CallCharMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + jchar result; + va_start(args,methodID); + result = functions->CallCharMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jchar CallCharMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallCharMethodV(this,obj,methodID,args); + } + jchar CallCharMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallCharMethodA(this,obj,methodID,args); + } + + jshort CallShortMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + jshort result; + va_start(args,methodID); + result = functions->CallShortMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jshort CallShortMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallShortMethodV(this,obj,methodID,args); + } + jshort CallShortMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallShortMethodA(this,obj,methodID,args); + } + + jint CallIntMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + jint result; + va_start(args,methodID); + result = functions->CallIntMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jint CallIntMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallIntMethodV(this,obj,methodID,args); + } + jint CallIntMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallIntMethodA(this,obj,methodID,args); + } + + jlong CallLongMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + jlong result; + va_start(args,methodID); + result = functions->CallLongMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jlong CallLongMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallLongMethodV(this,obj,methodID,args); + } + jlong CallLongMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallLongMethodA(this,obj,methodID,args); + } + + jfloat CallFloatMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + jfloat result; + va_start(args,methodID); + result = functions->CallFloatMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jfloat CallFloatMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallFloatMethodV(this,obj,methodID,args); + } + jfloat CallFloatMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallFloatMethodA(this,obj,methodID,args); + } + + jdouble CallDoubleMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + jdouble result; + va_start(args,methodID); + result = functions->CallDoubleMethodV(this,obj,methodID,args); + va_end(args); + return result; + } + jdouble CallDoubleMethodV(jobject obj, jmethodID methodID, + va_list args) { + return functions->CallDoubleMethodV(this,obj,methodID,args); + } + jdouble CallDoubleMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + return functions->CallDoubleMethodA(this,obj,methodID,args); + } + + void CallVoidMethod(jobject obj, jmethodID methodID, ...) { + va_list args; + va_start(args,methodID); + functions->CallVoidMethodV(this,obj,methodID,args); + va_end(args); + } + void CallVoidMethodV(jobject obj, jmethodID methodID, + va_list args) { + functions->CallVoidMethodV(this,obj,methodID,args); + } + void CallVoidMethodA(jobject obj, jmethodID methodID, + const jvalue * args) { + functions->CallVoidMethodA(this,obj,methodID,args); + } + + jobject CallNonvirtualObjectMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jobject result; + va_start(args,methodID); + result = functions->CallNonvirtualObjectMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jobject CallNonvirtualObjectMethodV(jobject obj, jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallNonvirtualObjectMethodV(this,obj,clazz, + methodID,args); + } + jobject CallNonvirtualObjectMethodA(jobject obj, jclass clazz, + jmethodID methodID, const jvalue * args) { + return functions->CallNonvirtualObjectMethodA(this,obj,clazz, + methodID,args); + } + + jboolean CallNonvirtualBooleanMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jboolean result; + va_start(args,methodID); + result = functions->CallNonvirtualBooleanMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jboolean CallNonvirtualBooleanMethodV(jobject obj, jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallNonvirtualBooleanMethodV(this,obj,clazz, + methodID,args); + } + jboolean CallNonvirtualBooleanMethodA(jobject obj, jclass clazz, + jmethodID methodID, const jvalue * args) { + return functions->CallNonvirtualBooleanMethodA(this,obj,clazz, + methodID, args); + } + + jbyte CallNonvirtualByteMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jbyte result; + va_start(args,methodID); + result = functions->CallNonvirtualByteMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jbyte CallNonvirtualByteMethodV(jobject obj, jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallNonvirtualByteMethodV(this,obj,clazz, + methodID,args); + } + jbyte CallNonvirtualByteMethodA(jobject obj, jclass clazz, + jmethodID methodID, const jvalue * args) { + return functions->CallNonvirtualByteMethodA(this,obj,clazz, + methodID,args); + } + + jchar CallNonvirtualCharMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jchar result; + va_start(args,methodID); + result = functions->CallNonvirtualCharMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jchar CallNonvirtualCharMethodV(jobject obj, jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallNonvirtualCharMethodV(this,obj,clazz, + methodID,args); + } + jchar CallNonvirtualCharMethodA(jobject obj, jclass clazz, + jmethodID methodID, const jvalue * args) { + return functions->CallNonvirtualCharMethodA(this,obj,clazz, + methodID,args); + } + + jshort CallNonvirtualShortMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jshort result; + va_start(args,methodID); + result = functions->CallNonvirtualShortMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jshort CallNonvirtualShortMethodV(jobject obj, jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallNonvirtualShortMethodV(this,obj,clazz, + methodID,args); + } + jshort CallNonvirtualShortMethodA(jobject obj, jclass clazz, + jmethodID methodID, const jvalue * args) { + return functions->CallNonvirtualShortMethodA(this,obj,clazz, + methodID,args); + } + + jint CallNonvirtualIntMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jint result; + va_start(args,methodID); + result = functions->CallNonvirtualIntMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jint CallNonvirtualIntMethodV(jobject obj, jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallNonvirtualIntMethodV(this,obj,clazz, + methodID,args); + } + jint CallNonvirtualIntMethodA(jobject obj, jclass clazz, + jmethodID methodID, const jvalue * args) { + return functions->CallNonvirtualIntMethodA(this,obj,clazz, + methodID,args); + } + + jlong CallNonvirtualLongMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jlong result; + va_start(args,methodID); + result = functions->CallNonvirtualLongMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jlong CallNonvirtualLongMethodV(jobject obj, jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallNonvirtualLongMethodV(this,obj,clazz, + methodID,args); + } + jlong CallNonvirtualLongMethodA(jobject obj, jclass clazz, + jmethodID methodID, const jvalue * args) { + return functions->CallNonvirtualLongMethodA(this,obj,clazz, + methodID,args); + } + + jfloat CallNonvirtualFloatMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jfloat result; + va_start(args,methodID); + result = functions->CallNonvirtualFloatMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jfloat CallNonvirtualFloatMethodV(jobject obj, jclass clazz, + jmethodID methodID, + va_list args) { + return functions->CallNonvirtualFloatMethodV(this,obj,clazz, + methodID,args); + } + jfloat CallNonvirtualFloatMethodA(jobject obj, jclass clazz, + jmethodID methodID, + const jvalue * args) { + return functions->CallNonvirtualFloatMethodA(this,obj,clazz, + methodID,args); + } + + jdouble CallNonvirtualDoubleMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + jdouble result; + va_start(args,methodID); + result = functions->CallNonvirtualDoubleMethodV(this,obj,clazz, + methodID,args); + va_end(args); + return result; + } + jdouble CallNonvirtualDoubleMethodV(jobject obj, jclass clazz, + jmethodID methodID, + va_list args) { + return functions->CallNonvirtualDoubleMethodV(this,obj,clazz, + methodID,args); + } + jdouble CallNonvirtualDoubleMethodA(jobject obj, jclass clazz, + jmethodID methodID, + const jvalue * args) { + return functions->CallNonvirtualDoubleMethodA(this,obj,clazz, + methodID,args); + } + + void CallNonvirtualVoidMethod(jobject obj, jclass clazz, + jmethodID methodID, ...) { + va_list args; + va_start(args,methodID); + functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args); + va_end(args); + } + void CallNonvirtualVoidMethodV(jobject obj, jclass clazz, + jmethodID methodID, + va_list args) { + functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args); + } + void CallNonvirtualVoidMethodA(jobject obj, jclass clazz, + jmethodID methodID, + const jvalue * args) { + functions->CallNonvirtualVoidMethodA(this,obj,clazz,methodID,args); + } + + jfieldID GetFieldID(jclass clazz, const char *name, + const char *sig) { + return functions->GetFieldID(this,clazz,name,sig); + } + + jobject GetObjectField(jobject obj, jfieldID fieldID) { + return functions->GetObjectField(this,obj,fieldID); + } + jboolean GetBooleanField(jobject obj, jfieldID fieldID) { + return functions->GetBooleanField(this,obj,fieldID); + } + jbyte GetByteField(jobject obj, jfieldID fieldID) { + return functions->GetByteField(this,obj,fieldID); + } + jchar GetCharField(jobject obj, jfieldID fieldID) { + return functions->GetCharField(this,obj,fieldID); + } + jshort GetShortField(jobject obj, jfieldID fieldID) { + return functions->GetShortField(this,obj,fieldID); + } + jint GetIntField(jobject obj, jfieldID fieldID) { + return functions->GetIntField(this,obj,fieldID); + } + jlong GetLongField(jobject obj, jfieldID fieldID) { + return functions->GetLongField(this,obj,fieldID); + } + jfloat GetFloatField(jobject obj, jfieldID fieldID) { + return functions->GetFloatField(this,obj,fieldID); + } + jdouble GetDoubleField(jobject obj, jfieldID fieldID) { + return functions->GetDoubleField(this,obj,fieldID); + } + + void SetObjectField(jobject obj, jfieldID fieldID, jobject val) { + functions->SetObjectField(this,obj,fieldID,val); + } + void SetBooleanField(jobject obj, jfieldID fieldID, + jboolean val) { + functions->SetBooleanField(this,obj,fieldID,val); + } + void SetByteField(jobject obj, jfieldID fieldID, + jbyte val) { + functions->SetByteField(this,obj,fieldID,val); + } + void SetCharField(jobject obj, jfieldID fieldID, + jchar val) { + functions->SetCharField(this,obj,fieldID,val); + } + void SetShortField(jobject obj, jfieldID fieldID, + jshort val) { + functions->SetShortField(this,obj,fieldID,val); + } + void SetIntField(jobject obj, jfieldID fieldID, + jint val) { + functions->SetIntField(this,obj,fieldID,val); + } + void SetLongField(jobject obj, jfieldID fieldID, + jlong val) { + functions->SetLongField(this,obj,fieldID,val); + } + void SetFloatField(jobject obj, jfieldID fieldID, + jfloat val) { + functions->SetFloatField(this,obj,fieldID,val); + } + void SetDoubleField(jobject obj, jfieldID fieldID, + jdouble val) { + functions->SetDoubleField(this,obj,fieldID,val); + } + + jmethodID GetStaticMethodID(jclass clazz, const char *name, + const char *sig) { + return functions->GetStaticMethodID(this,clazz,name,sig); + } + + jobject CallStaticObjectMethod(jclass clazz, jmethodID methodID, + ...) { + va_list args; + jobject result; + va_start(args,methodID); + result = functions->CallStaticObjectMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jobject CallStaticObjectMethodV(jclass clazz, jmethodID methodID, + va_list args) { + return functions->CallStaticObjectMethodV(this,clazz,methodID,args); + } + jobject CallStaticObjectMethodA(jclass clazz, jmethodID methodID, + const jvalue *args) { + return functions->CallStaticObjectMethodA(this,clazz,methodID,args); + } + + jboolean CallStaticBooleanMethod(jclass clazz, + jmethodID methodID, ...) { + va_list args; + jboolean result; + va_start(args,methodID); + result = functions->CallStaticBooleanMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jboolean CallStaticBooleanMethodV(jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallStaticBooleanMethodV(this,clazz,methodID,args); + } + jboolean CallStaticBooleanMethodA(jclass clazz, + jmethodID methodID, const jvalue *args) { + return functions->CallStaticBooleanMethodA(this,clazz,methodID,args); + } + + jbyte CallStaticByteMethod(jclass clazz, + jmethodID methodID, ...) { + va_list args; + jbyte result; + va_start(args,methodID); + result = functions->CallStaticByteMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jbyte CallStaticByteMethodV(jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallStaticByteMethodV(this,clazz,methodID,args); + } + jbyte CallStaticByteMethodA(jclass clazz, + jmethodID methodID, const jvalue *args) { + return functions->CallStaticByteMethodA(this,clazz,methodID,args); + } + + jchar CallStaticCharMethod(jclass clazz, + jmethodID methodID, ...) { + va_list args; + jchar result; + va_start(args,methodID); + result = functions->CallStaticCharMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jchar CallStaticCharMethodV(jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallStaticCharMethodV(this,clazz,methodID,args); + } + jchar CallStaticCharMethodA(jclass clazz, + jmethodID methodID, const jvalue *args) { + return functions->CallStaticCharMethodA(this,clazz,methodID,args); + } + + jshort CallStaticShortMethod(jclass clazz, + jmethodID methodID, ...) { + va_list args; + jshort result; + va_start(args,methodID); + result = functions->CallStaticShortMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jshort CallStaticShortMethodV(jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallStaticShortMethodV(this,clazz,methodID,args); + } + jshort CallStaticShortMethodA(jclass clazz, + jmethodID methodID, const jvalue *args) { + return functions->CallStaticShortMethodA(this,clazz,methodID,args); + } + + jint CallStaticIntMethod(jclass clazz, + jmethodID methodID, ...) { + va_list args; + jint result; + va_start(args,methodID); + result = functions->CallStaticIntMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jint CallStaticIntMethodV(jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallStaticIntMethodV(this,clazz,methodID,args); + } + jint CallStaticIntMethodA(jclass clazz, + jmethodID methodID, const jvalue *args) { + return functions->CallStaticIntMethodA(this,clazz,methodID,args); + } + + jlong CallStaticLongMethod(jclass clazz, + jmethodID methodID, ...) { + va_list args; + jlong result; + va_start(args,methodID); + result = functions->CallStaticLongMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jlong CallStaticLongMethodV(jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallStaticLongMethodV(this,clazz,methodID,args); + } + jlong CallStaticLongMethodA(jclass clazz, + jmethodID methodID, const jvalue *args) { + return functions->CallStaticLongMethodA(this,clazz,methodID,args); + } + + jfloat CallStaticFloatMethod(jclass clazz, + jmethodID methodID, ...) { + va_list args; + jfloat result; + va_start(args,methodID); + result = functions->CallStaticFloatMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jfloat CallStaticFloatMethodV(jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallStaticFloatMethodV(this,clazz,methodID,args); + } + jfloat CallStaticFloatMethodA(jclass clazz, + jmethodID methodID, const jvalue *args) { + return functions->CallStaticFloatMethodA(this,clazz,methodID,args); + } + + jdouble CallStaticDoubleMethod(jclass clazz, + jmethodID methodID, ...) { + va_list args; + jdouble result; + va_start(args,methodID); + result = functions->CallStaticDoubleMethodV(this,clazz,methodID,args); + va_end(args); + return result; + } + jdouble CallStaticDoubleMethodV(jclass clazz, + jmethodID methodID, va_list args) { + return functions->CallStaticDoubleMethodV(this,clazz,methodID,args); + } + jdouble CallStaticDoubleMethodA(jclass clazz, + jmethodID methodID, const jvalue *args) { + return functions->CallStaticDoubleMethodA(this,clazz,methodID,args); + } + + void CallStaticVoidMethod(jclass cls, jmethodID methodID, ...) { + va_list args; + va_start(args,methodID); + functions->CallStaticVoidMethodV(this,cls,methodID,args); + va_end(args); + } + void CallStaticVoidMethodV(jclass cls, jmethodID methodID, + va_list args) { + functions->CallStaticVoidMethodV(this,cls,methodID,args); + } + void CallStaticVoidMethodA(jclass cls, jmethodID methodID, + const jvalue * args) { + functions->CallStaticVoidMethodA(this,cls,methodID,args); + } + + jfieldID GetStaticFieldID(jclass clazz, const char *name, + const char *sig) { + return functions->GetStaticFieldID(this,clazz,name,sig); + } + jobject GetStaticObjectField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticObjectField(this,clazz,fieldID); + } + jboolean GetStaticBooleanField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticBooleanField(this,clazz,fieldID); + } + jbyte GetStaticByteField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticByteField(this,clazz,fieldID); + } + jchar GetStaticCharField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticCharField(this,clazz,fieldID); + } + jshort GetStaticShortField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticShortField(this,clazz,fieldID); + } + jint GetStaticIntField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticIntField(this,clazz,fieldID); + } + jlong GetStaticLongField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticLongField(this,clazz,fieldID); + } + jfloat GetStaticFloatField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticFloatField(this,clazz,fieldID); + } + jdouble GetStaticDoubleField(jclass clazz, jfieldID fieldID) { + return functions->GetStaticDoubleField(this,clazz,fieldID); + } + + void SetStaticObjectField(jclass clazz, jfieldID fieldID, + jobject value) { + functions->SetStaticObjectField(this,clazz,fieldID,value); + } + void SetStaticBooleanField(jclass clazz, jfieldID fieldID, + jboolean value) { + functions->SetStaticBooleanField(this,clazz,fieldID,value); + } + void SetStaticByteField(jclass clazz, jfieldID fieldID, + jbyte value) { + functions->SetStaticByteField(this,clazz,fieldID,value); + } + void SetStaticCharField(jclass clazz, jfieldID fieldID, + jchar value) { + functions->SetStaticCharField(this,clazz,fieldID,value); + } + void SetStaticShortField(jclass clazz, jfieldID fieldID, + jshort value) { + functions->SetStaticShortField(this,clazz,fieldID,value); + } + void SetStaticIntField(jclass clazz, jfieldID fieldID, + jint value) { + functions->SetStaticIntField(this,clazz,fieldID,value); + } + void SetStaticLongField(jclass clazz, jfieldID fieldID, + jlong value) { + functions->SetStaticLongField(this,clazz,fieldID,value); + } + void SetStaticFloatField(jclass clazz, jfieldID fieldID, + jfloat value) { + functions->SetStaticFloatField(this,clazz,fieldID,value); + } + void SetStaticDoubleField(jclass clazz, jfieldID fieldID, + jdouble value) { + functions->SetStaticDoubleField(this,clazz,fieldID,value); + } + + jstring NewString(const jchar *unicode, jsize len) { + return functions->NewString(this,unicode,len); + } + jsize GetStringLength(jstring str) { + return functions->GetStringLength(this,str); + } + const jchar *GetStringChars(jstring str, jboolean *isCopy) { + return functions->GetStringChars(this,str,isCopy); + } + void ReleaseStringChars(jstring str, const jchar *chars) { + functions->ReleaseStringChars(this,str,chars); + } + + jstring NewStringUTF(const char *utf) { + return functions->NewStringUTF(this,utf); + } + jsize GetStringUTFLength(jstring str) { + return functions->GetStringUTFLength(this,str); + } + const char* GetStringUTFChars(jstring str, jboolean *isCopy) { + return functions->GetStringUTFChars(this,str,isCopy); + } + void ReleaseStringUTFChars(jstring str, const char* chars) { + functions->ReleaseStringUTFChars(this,str,chars); + } + + jsize GetArrayLength(jarray array) { + return functions->GetArrayLength(this,array); + } + + jobjectArray NewObjectArray(jsize len, jclass clazz, + jobject init) { + return functions->NewObjectArray(this,len,clazz,init); + } + jobject GetObjectArrayElement(jobjectArray array, jsize index) { + return functions->GetObjectArrayElement(this,array,index); + } + void SetObjectArrayElement(jobjectArray array, jsize index, + jobject val) { + functions->SetObjectArrayElement(this,array,index,val); + } + + jbooleanArray NewBooleanArray(jsize len) { + return functions->NewBooleanArray(this,len); + } + jbyteArray NewByteArray(jsize len) { + return functions->NewByteArray(this,len); + } + jcharArray NewCharArray(jsize len) { + return functions->NewCharArray(this,len); + } + jshortArray NewShortArray(jsize len) { + return functions->NewShortArray(this,len); + } + jintArray NewIntArray(jsize len) { + return functions->NewIntArray(this,len); + } + jlongArray NewLongArray(jsize len) { + return functions->NewLongArray(this,len); + } + jfloatArray NewFloatArray(jsize len) { + return functions->NewFloatArray(this,len); + } + jdoubleArray NewDoubleArray(jsize len) { + return functions->NewDoubleArray(this,len); + } + + jboolean * GetBooleanArrayElements(jbooleanArray array, jboolean *isCopy) { + return functions->GetBooleanArrayElements(this,array,isCopy); + } + jbyte * GetByteArrayElements(jbyteArray array, jboolean *isCopy) { + return functions->GetByteArrayElements(this,array,isCopy); + } + jchar * GetCharArrayElements(jcharArray array, jboolean *isCopy) { + return functions->GetCharArrayElements(this,array,isCopy); + } + jshort * GetShortArrayElements(jshortArray array, jboolean *isCopy) { + return functions->GetShortArrayElements(this,array,isCopy); + } + jint * GetIntArrayElements(jintArray array, jboolean *isCopy) { + return functions->GetIntArrayElements(this,array,isCopy); + } + jlong * GetLongArrayElements(jlongArray array, jboolean *isCopy) { + return functions->GetLongArrayElements(this,array,isCopy); + } + jfloat * GetFloatArrayElements(jfloatArray array, jboolean *isCopy) { + return functions->GetFloatArrayElements(this,array,isCopy); + } + jdouble * GetDoubleArrayElements(jdoubleArray array, jboolean *isCopy) { + return functions->GetDoubleArrayElements(this,array,isCopy); + } + + void ReleaseBooleanArrayElements(jbooleanArray array, + jboolean *elems, + jint mode) { + functions->ReleaseBooleanArrayElements(this,array,elems,mode); + } + void ReleaseByteArrayElements(jbyteArray array, + jbyte *elems, + jint mode) { + functions->ReleaseByteArrayElements(this,array,elems,mode); + } + void ReleaseCharArrayElements(jcharArray array, + jchar *elems, + jint mode) { + functions->ReleaseCharArrayElements(this,array,elems,mode); + } + void ReleaseShortArrayElements(jshortArray array, + jshort *elems, + jint mode) { + functions->ReleaseShortArrayElements(this,array,elems,mode); + } + void ReleaseIntArrayElements(jintArray array, + jint *elems, + jint mode) { + functions->ReleaseIntArrayElements(this,array,elems,mode); + } + void ReleaseLongArrayElements(jlongArray array, + jlong *elems, + jint mode) { + functions->ReleaseLongArrayElements(this,array,elems,mode); + } + void ReleaseFloatArrayElements(jfloatArray array, + jfloat *elems, + jint mode) { + functions->ReleaseFloatArrayElements(this,array,elems,mode); + } + void ReleaseDoubleArrayElements(jdoubleArray array, + jdouble *elems, + jint mode) { + functions->ReleaseDoubleArrayElements(this,array,elems,mode); + } + + void GetBooleanArrayRegion(jbooleanArray array, + jsize start, jsize len, jboolean *buf) { + functions->GetBooleanArrayRegion(this,array,start,len,buf); + } + void GetByteArrayRegion(jbyteArray array, + jsize start, jsize len, jbyte *buf) { + functions->GetByteArrayRegion(this,array,start,len,buf); + } + void GetCharArrayRegion(jcharArray array, + jsize start, jsize len, jchar *buf) { + functions->GetCharArrayRegion(this,array,start,len,buf); + } + void GetShortArrayRegion(jshortArray array, + jsize start, jsize len, jshort *buf) { + functions->GetShortArrayRegion(this,array,start,len,buf); + } + void GetIntArrayRegion(jintArray array, + jsize start, jsize len, jint *buf) { + functions->GetIntArrayRegion(this,array,start,len,buf); + } + void GetLongArrayRegion(jlongArray array, + jsize start, jsize len, jlong *buf) { + functions->GetLongArrayRegion(this,array,start,len,buf); + } + void GetFloatArrayRegion(jfloatArray array, + jsize start, jsize len, jfloat *buf) { + functions->GetFloatArrayRegion(this,array,start,len,buf); + } + void GetDoubleArrayRegion(jdoubleArray array, + jsize start, jsize len, jdouble *buf) { + functions->GetDoubleArrayRegion(this,array,start,len,buf); + } + + void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, + const jboolean *buf) { + functions->SetBooleanArrayRegion(this,array,start,len,buf); + } + void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, + const jbyte *buf) { + functions->SetByteArrayRegion(this,array,start,len,buf); + } + void SetCharArrayRegion(jcharArray array, jsize start, jsize len, + const jchar *buf) { + functions->SetCharArrayRegion(this,array,start,len,buf); + } + void SetShortArrayRegion(jshortArray array, jsize start, jsize len, + const jshort *buf) { + functions->SetShortArrayRegion(this,array,start,len,buf); + } + void SetIntArrayRegion(jintArray array, jsize start, jsize len, + const jint *buf) { + functions->SetIntArrayRegion(this,array,start,len,buf); + } + void SetLongArrayRegion(jlongArray array, jsize start, jsize len, + const jlong *buf) { + functions->SetLongArrayRegion(this,array,start,len,buf); + } + void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, + const jfloat *buf) { + functions->SetFloatArrayRegion(this,array,start,len,buf); + } + void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, + const jdouble *buf) { + functions->SetDoubleArrayRegion(this,array,start,len,buf); + } + + jint RegisterNatives(jclass clazz, const JNINativeMethod *methods, + jint nMethods) { + return functions->RegisterNatives(this,clazz,methods,nMethods); + } + jint UnregisterNatives(jclass clazz) { + return functions->UnregisterNatives(this,clazz); + } + + jint MonitorEnter(jobject obj) { + return functions->MonitorEnter(this,obj); + } + jint MonitorExit(jobject obj) { + return functions->MonitorExit(this,obj); + } + + jint GetJavaVM(JavaVM **vm) { + return functions->GetJavaVM(this,vm); + } + + void GetStringRegion(jstring str, jsize start, jsize len, jchar *buf) { + functions->GetStringRegion(this,str,start,len,buf); + } + void GetStringUTFRegion(jstring str, jsize start, jsize len, char *buf) { + functions->GetStringUTFRegion(this,str,start,len,buf); + } + + void * GetPrimitiveArrayCritical(jarray array, jboolean *isCopy) { + return functions->GetPrimitiveArrayCritical(this,array,isCopy); + } + void ReleasePrimitiveArrayCritical(jarray array, void *carray, jint mode) { + functions->ReleasePrimitiveArrayCritical(this,array,carray,mode); + } + + const jchar * GetStringCritical(jstring string, jboolean *isCopy) { + return functions->GetStringCritical(this,string,isCopy); + } + void ReleaseStringCritical(jstring string, const jchar *cstring) { + functions->ReleaseStringCritical(this,string,cstring); + } + + jweak NewWeakGlobalRef(jobject obj) { + return functions->NewWeakGlobalRef(this,obj); + } + void DeleteWeakGlobalRef(jweak ref) { + functions->DeleteWeakGlobalRef(this,ref); + } + + jboolean ExceptionCheck() { + return functions->ExceptionCheck(this); + } + + jobject NewDirectByteBuffer(void* address, jlong capacity) { + return functions->NewDirectByteBuffer(this, address, capacity); + } + void* GetDirectBufferAddress(jobject buf) { + return functions->GetDirectBufferAddress(this, buf); + } + jlong GetDirectBufferCapacity(jobject buf) { + return functions->GetDirectBufferCapacity(this, buf); + } + jobjectRefType GetObjectRefType(jobject obj) { + return functions->GetObjectRefType(this, obj); + } + +#endif /* __cplusplus */ +}; + +typedef struct JavaVMOption { + char *optionString; + void *extraInfo; +} JavaVMOption; + +typedef struct JavaVMInitArgs { + jint version; + + jint nOptions; + JavaVMOption *options; + jboolean ignoreUnrecognized; +} JavaVMInitArgs; + +typedef struct JavaVMAttachArgs { + jint version; + + char *name; + jobject group; +} JavaVMAttachArgs; + +/* These will be VM-specific. */ + +#define JDK1_2 +#define JDK1_4 + +/* End VM-specific. */ + +struct JNIInvokeInterface_ { + void *reserved0; + void *reserved1; + void *reserved2; + + jint (JNICALL *DestroyJavaVM)(JavaVM *vm); + + jint (JNICALL *AttachCurrentThread)(JavaVM *vm, void **penv, void *args); + + jint (JNICALL *DetachCurrentThread)(JavaVM *vm); + + jint (JNICALL *GetEnv)(JavaVM *vm, void **penv, jint version); + + jint (JNICALL *AttachCurrentThreadAsDaemon)(JavaVM *vm, void **penv, void *args); +}; + +struct JavaVM_ { + const struct JNIInvokeInterface_ *functions; +#ifdef __cplusplus + + jint DestroyJavaVM() { + return functions->DestroyJavaVM(this); + } + jint AttachCurrentThread(void **penv, void *args) { + return functions->AttachCurrentThread(this, penv, args); + } + jint DetachCurrentThread() { + return functions->DetachCurrentThread(this); + } + + jint GetEnv(void **penv, jint version) { + return functions->GetEnv(this, penv, version); + } + jint AttachCurrentThreadAsDaemon(void **penv, void *args) { + return functions->AttachCurrentThreadAsDaemon(this, penv, args); + } +#endif +}; + +#ifdef _JNI_IMPLEMENTATION_ +#define _JNI_IMPORT_OR_EXPORT_ JNIEXPORT +#else +#define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT +#endif +_JNI_IMPORT_OR_EXPORT_ jint JNICALL +JNI_GetDefaultJavaVMInitArgs(void *args); + +_JNI_IMPORT_OR_EXPORT_ jint JNICALL +JNI_CreateJavaVM(JavaVM **pvm, void **penv, void *args); + +_JNI_IMPORT_OR_EXPORT_ jint JNICALL +JNI_GetCreatedJavaVMs(JavaVM **, jsize, jsize *); + +/* Defined by native libraries. */ +JNIEXPORT jint JNICALL +JNI_OnLoad(JavaVM *vm, void *reserved); + +JNIEXPORT void JNICALL +JNI_OnUnload(JavaVM *vm, void *reserved); + +#define JNI_VERSION_1_1 0x00010001 +#define JNI_VERSION_1_2 0x00010002 +#define JNI_VERSION_1_4 0x00010004 +#define JNI_VERSION_1_6 0x00010006 + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#endif /* !_JAVASOFT_JNI_H_ */ diff --git a/Java-Visualizer/java/include/jvmti.h b/Java-Visualizer/java/include/jvmti.h new file mode 100644 index 00000000..74243f54 --- /dev/null +++ b/Java-Visualizer/java/include/jvmti.h @@ -0,0 +1,2534 @@ +/* + * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + + /* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */ + + + /* Include file for the Java(tm) Virtual Machine Tool Interface */ + +#ifndef _JAVA_JVMTI_H_ +#define _JAVA_JVMTI_H_ + +#include "jni.h" + +#ifdef __cplusplus +extern "C" { +#endif + +enum { + JVMTI_VERSION_1 = 0x30010000, + JVMTI_VERSION_1_0 = 0x30010000, + JVMTI_VERSION_1_1 = 0x30010100, + JVMTI_VERSION_1_2 = 0x30010200, + + JVMTI_VERSION = 0x30000000 + (1 * 0x10000) + (2 * 0x100) + 1 /* version: 1.2.1 */ +}; + +JNIEXPORT jint JNICALL +Agent_OnLoad(JavaVM *vm, char *options, void *reserved); + +JNIEXPORT jint JNICALL +Agent_OnAttach(JavaVM* vm, char* options, void* reserved); + +JNIEXPORT void JNICALL +Agent_OnUnload(JavaVM *vm); + + /* Forward declaration of the environment */ + +struct _jvmtiEnv; + +struct jvmtiInterface_1_; + +#ifdef __cplusplus +typedef _jvmtiEnv jvmtiEnv; +#else +typedef const struct jvmtiInterface_1_ *jvmtiEnv; +#endif /* __cplusplus */ + +/* Derived Base Types */ + +typedef jobject jthread; +typedef jobject jthreadGroup; +typedef jlong jlocation; +struct _jrawMonitorID; +typedef struct _jrawMonitorID *jrawMonitorID; +typedef struct JNINativeInterface_ jniNativeInterface; + + /* Constants */ + + + /* Thread State Flags */ + +enum { + JVMTI_THREAD_STATE_ALIVE = 0x0001, + JVMTI_THREAD_STATE_TERMINATED = 0x0002, + JVMTI_THREAD_STATE_RUNNABLE = 0x0004, + JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER = 0x0400, + JVMTI_THREAD_STATE_WAITING = 0x0080, + JVMTI_THREAD_STATE_WAITING_INDEFINITELY = 0x0010, + JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT = 0x0020, + JVMTI_THREAD_STATE_SLEEPING = 0x0040, + JVMTI_THREAD_STATE_IN_OBJECT_WAIT = 0x0100, + JVMTI_THREAD_STATE_PARKED = 0x0200, + JVMTI_THREAD_STATE_SUSPENDED = 0x100000, + JVMTI_THREAD_STATE_INTERRUPTED = 0x200000, + JVMTI_THREAD_STATE_IN_NATIVE = 0x400000, + JVMTI_THREAD_STATE_VENDOR_1 = 0x10000000, + JVMTI_THREAD_STATE_VENDOR_2 = 0x20000000, + JVMTI_THREAD_STATE_VENDOR_3 = 0x40000000 +}; + + /* java.lang.Thread.State Conversion Masks */ + +enum { + JVMTI_JAVA_LANG_THREAD_STATE_MASK = JVMTI_THREAD_STATE_TERMINATED | JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_RUNNABLE | JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY | JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT, + JVMTI_JAVA_LANG_THREAD_STATE_NEW = 0, + JVMTI_JAVA_LANG_THREAD_STATE_TERMINATED = JVMTI_THREAD_STATE_TERMINATED, + JVMTI_JAVA_LANG_THREAD_STATE_RUNNABLE = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_RUNNABLE, + JVMTI_JAVA_LANG_THREAD_STATE_BLOCKED = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER, + JVMTI_JAVA_LANG_THREAD_STATE_WAITING = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY, + JVMTI_JAVA_LANG_THREAD_STATE_TIMED_WAITING = JVMTI_THREAD_STATE_ALIVE | JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT +}; + + /* Thread Priority Constants */ + +enum { + JVMTI_THREAD_MIN_PRIORITY = 1, + JVMTI_THREAD_NORM_PRIORITY = 5, + JVMTI_THREAD_MAX_PRIORITY = 10 +}; + + /* Heap Filter Flags */ + +enum { + JVMTI_HEAP_FILTER_TAGGED = 0x4, + JVMTI_HEAP_FILTER_UNTAGGED = 0x8, + JVMTI_HEAP_FILTER_CLASS_TAGGED = 0x10, + JVMTI_HEAP_FILTER_CLASS_UNTAGGED = 0x20 +}; + + /* Heap Visit Control Flags */ + +enum { + JVMTI_VISIT_OBJECTS = 0x100, + JVMTI_VISIT_ABORT = 0x8000 +}; + + /* Heap Reference Enumeration */ + +typedef enum { + JVMTI_HEAP_REFERENCE_CLASS = 1, + JVMTI_HEAP_REFERENCE_FIELD = 2, + JVMTI_HEAP_REFERENCE_ARRAY_ELEMENT = 3, + JVMTI_HEAP_REFERENCE_CLASS_LOADER = 4, + JVMTI_HEAP_REFERENCE_SIGNERS = 5, + JVMTI_HEAP_REFERENCE_PROTECTION_DOMAIN = 6, + JVMTI_HEAP_REFERENCE_INTERFACE = 7, + JVMTI_HEAP_REFERENCE_STATIC_FIELD = 8, + JVMTI_HEAP_REFERENCE_CONSTANT_POOL = 9, + JVMTI_HEAP_REFERENCE_SUPERCLASS = 10, + JVMTI_HEAP_REFERENCE_JNI_GLOBAL = 21, + JVMTI_HEAP_REFERENCE_SYSTEM_CLASS = 22, + JVMTI_HEAP_REFERENCE_MONITOR = 23, + JVMTI_HEAP_REFERENCE_STACK_LOCAL = 24, + JVMTI_HEAP_REFERENCE_JNI_LOCAL = 25, + JVMTI_HEAP_REFERENCE_THREAD = 26, + JVMTI_HEAP_REFERENCE_OTHER = 27 +} jvmtiHeapReferenceKind; + + /* Primitive Type Enumeration */ + +typedef enum { + JVMTI_PRIMITIVE_TYPE_BOOLEAN = 90, + JVMTI_PRIMITIVE_TYPE_BYTE = 66, + JVMTI_PRIMITIVE_TYPE_CHAR = 67, + JVMTI_PRIMITIVE_TYPE_SHORT = 83, + JVMTI_PRIMITIVE_TYPE_INT = 73, + JVMTI_PRIMITIVE_TYPE_LONG = 74, + JVMTI_PRIMITIVE_TYPE_FLOAT = 70, + JVMTI_PRIMITIVE_TYPE_DOUBLE = 68 +} jvmtiPrimitiveType; + + /* Heap Object Filter Enumeration */ + +typedef enum { + JVMTI_HEAP_OBJECT_TAGGED = 1, + JVMTI_HEAP_OBJECT_UNTAGGED = 2, + JVMTI_HEAP_OBJECT_EITHER = 3 +} jvmtiHeapObjectFilter; + + /* Heap Root Kind Enumeration */ + +typedef enum { + JVMTI_HEAP_ROOT_JNI_GLOBAL = 1, + JVMTI_HEAP_ROOT_SYSTEM_CLASS = 2, + JVMTI_HEAP_ROOT_MONITOR = 3, + JVMTI_HEAP_ROOT_STACK_LOCAL = 4, + JVMTI_HEAP_ROOT_JNI_LOCAL = 5, + JVMTI_HEAP_ROOT_THREAD = 6, + JVMTI_HEAP_ROOT_OTHER = 7 +} jvmtiHeapRootKind; + + /* Object Reference Enumeration */ + +typedef enum { + JVMTI_REFERENCE_CLASS = 1, + JVMTI_REFERENCE_FIELD = 2, + JVMTI_REFERENCE_ARRAY_ELEMENT = 3, + JVMTI_REFERENCE_CLASS_LOADER = 4, + JVMTI_REFERENCE_SIGNERS = 5, + JVMTI_REFERENCE_PROTECTION_DOMAIN = 6, + JVMTI_REFERENCE_INTERFACE = 7, + JVMTI_REFERENCE_STATIC_FIELD = 8, + JVMTI_REFERENCE_CONSTANT_POOL = 9 +} jvmtiObjectReferenceKind; + + /* Iteration Control Enumeration */ + +typedef enum { + JVMTI_ITERATION_CONTINUE = 1, + JVMTI_ITERATION_IGNORE = 2, + JVMTI_ITERATION_ABORT = 0 +} jvmtiIterationControl; + + /* Class Status Flags */ + +enum { + JVMTI_CLASS_STATUS_VERIFIED = 1, + JVMTI_CLASS_STATUS_PREPARED = 2, + JVMTI_CLASS_STATUS_INITIALIZED = 4, + JVMTI_CLASS_STATUS_ERROR = 8, + JVMTI_CLASS_STATUS_ARRAY = 16, + JVMTI_CLASS_STATUS_PRIMITIVE = 32 +}; + + /* Event Enable/Disable */ + +typedef enum { + JVMTI_ENABLE = 1, + JVMTI_DISABLE = 0 +} jvmtiEventMode; + + /* Extension Function/Event Parameter Types */ + +typedef enum { + JVMTI_TYPE_JBYTE = 101, + JVMTI_TYPE_JCHAR = 102, + JVMTI_TYPE_JSHORT = 103, + JVMTI_TYPE_JINT = 104, + JVMTI_TYPE_JLONG = 105, + JVMTI_TYPE_JFLOAT = 106, + JVMTI_TYPE_JDOUBLE = 107, + JVMTI_TYPE_JBOOLEAN = 108, + JVMTI_TYPE_JOBJECT = 109, + JVMTI_TYPE_JTHREAD = 110, + JVMTI_TYPE_JCLASS = 111, + JVMTI_TYPE_JVALUE = 112, + JVMTI_TYPE_JFIELDID = 113, + JVMTI_TYPE_JMETHODID = 114, + JVMTI_TYPE_CCHAR = 115, + JVMTI_TYPE_CVOID = 116, + JVMTI_TYPE_JNIENV = 117 +} jvmtiParamTypes; + + /* Extension Function/Event Parameter Kinds */ + +typedef enum { + JVMTI_KIND_IN = 91, + JVMTI_KIND_IN_PTR = 92, + JVMTI_KIND_IN_BUF = 93, + JVMTI_KIND_ALLOC_BUF = 94, + JVMTI_KIND_ALLOC_ALLOC_BUF = 95, + JVMTI_KIND_OUT = 96, + JVMTI_KIND_OUT_BUF = 97 +} jvmtiParamKind; + + /* Timer Kinds */ + +typedef enum { + JVMTI_TIMER_USER_CPU = 30, + JVMTI_TIMER_TOTAL_CPU = 31, + JVMTI_TIMER_ELAPSED = 32 +} jvmtiTimerKind; + + /* Phases of execution */ + +typedef enum { + JVMTI_PHASE_ONLOAD = 1, + JVMTI_PHASE_PRIMORDIAL = 2, + JVMTI_PHASE_START = 6, + JVMTI_PHASE_LIVE = 4, + JVMTI_PHASE_DEAD = 8 +} jvmtiPhase; + + /* Version Interface Types */ + +enum { + JVMTI_VERSION_INTERFACE_JNI = 0x00000000, + JVMTI_VERSION_INTERFACE_JVMTI = 0x30000000 +}; + + /* Version Masks */ + +enum { + JVMTI_VERSION_MASK_INTERFACE_TYPE = 0x70000000, + JVMTI_VERSION_MASK_MAJOR = 0x0FFF0000, + JVMTI_VERSION_MASK_MINOR = 0x0000FF00, + JVMTI_VERSION_MASK_MICRO = 0x000000FF +}; + + /* Version Shifts */ + +enum { + JVMTI_VERSION_SHIFT_MAJOR = 16, + JVMTI_VERSION_SHIFT_MINOR = 8, + JVMTI_VERSION_SHIFT_MICRO = 0 +}; + + /* Verbose Flag Enumeration */ + +typedef enum { + JVMTI_VERBOSE_OTHER = 0, + JVMTI_VERBOSE_GC = 1, + JVMTI_VERBOSE_CLASS = 2, + JVMTI_VERBOSE_JNI = 4 +} jvmtiVerboseFlag; + + /* JLocation Format Enumeration */ + +typedef enum { + JVMTI_JLOCATION_JVMBCI = 1, + JVMTI_JLOCATION_MACHINEPC = 2, + JVMTI_JLOCATION_OTHER = 0 +} jvmtiJlocationFormat; + + /* Resource Exhaustion Flags */ + +enum { + JVMTI_RESOURCE_EXHAUSTED_OOM_ERROR = 0x0001, + JVMTI_RESOURCE_EXHAUSTED_JAVA_HEAP = 0x0002, + JVMTI_RESOURCE_EXHAUSTED_THREADS = 0x0004 +}; + + /* Errors */ + +typedef enum { + JVMTI_ERROR_NONE = 0, + JVMTI_ERROR_INVALID_THREAD = 10, + JVMTI_ERROR_INVALID_THREAD_GROUP = 11, + JVMTI_ERROR_INVALID_PRIORITY = 12, + JVMTI_ERROR_THREAD_NOT_SUSPENDED = 13, + JVMTI_ERROR_THREAD_SUSPENDED = 14, + JVMTI_ERROR_THREAD_NOT_ALIVE = 15, + JVMTI_ERROR_INVALID_OBJECT = 20, + JVMTI_ERROR_INVALID_CLASS = 21, + JVMTI_ERROR_CLASS_NOT_PREPARED = 22, + JVMTI_ERROR_INVALID_METHODID = 23, + JVMTI_ERROR_INVALID_LOCATION = 24, + JVMTI_ERROR_INVALID_FIELDID = 25, + JVMTI_ERROR_NO_MORE_FRAMES = 31, + JVMTI_ERROR_OPAQUE_FRAME = 32, + JVMTI_ERROR_TYPE_MISMATCH = 34, + JVMTI_ERROR_INVALID_SLOT = 35, + JVMTI_ERROR_DUPLICATE = 40, + JVMTI_ERROR_NOT_FOUND = 41, + JVMTI_ERROR_INVALID_MONITOR = 50, + JVMTI_ERROR_NOT_MONITOR_OWNER = 51, + JVMTI_ERROR_INTERRUPT = 52, + JVMTI_ERROR_INVALID_CLASS_FORMAT = 60, + JVMTI_ERROR_CIRCULAR_CLASS_DEFINITION = 61, + JVMTI_ERROR_FAILS_VERIFICATION = 62, + JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_ADDED = 63, + JVMTI_ERROR_UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED = 64, + JVMTI_ERROR_INVALID_TYPESTATE = 65, + JVMTI_ERROR_UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED = 66, + JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_DELETED = 67, + JVMTI_ERROR_UNSUPPORTED_VERSION = 68, + JVMTI_ERROR_NAMES_DONT_MATCH = 69, + JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED = 70, + JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED = 71, + JVMTI_ERROR_UNMODIFIABLE_CLASS = 79, + JVMTI_ERROR_NOT_AVAILABLE = 98, + JVMTI_ERROR_MUST_POSSESS_CAPABILITY = 99, + JVMTI_ERROR_NULL_POINTER = 100, + JVMTI_ERROR_ABSENT_INFORMATION = 101, + JVMTI_ERROR_INVALID_EVENT_TYPE = 102, + JVMTI_ERROR_ILLEGAL_ARGUMENT = 103, + JVMTI_ERROR_NATIVE_METHOD = 104, + JVMTI_ERROR_CLASS_LOADER_UNSUPPORTED = 106, + JVMTI_ERROR_OUT_OF_MEMORY = 110, + JVMTI_ERROR_ACCESS_DENIED = 111, + JVMTI_ERROR_WRONG_PHASE = 112, + JVMTI_ERROR_INTERNAL = 113, + JVMTI_ERROR_UNATTACHED_THREAD = 115, + JVMTI_ERROR_INVALID_ENVIRONMENT = 116, + JVMTI_ERROR_MAX = 116 +} jvmtiError; + + /* Event IDs */ + +typedef enum { + JVMTI_MIN_EVENT_TYPE_VAL = 50, + JVMTI_EVENT_VM_INIT = 50, + JVMTI_EVENT_VM_DEATH = 51, + JVMTI_EVENT_THREAD_START = 52, + JVMTI_EVENT_THREAD_END = 53, + JVMTI_EVENT_CLASS_FILE_LOAD_HOOK = 54, + JVMTI_EVENT_CLASS_LOAD = 55, + JVMTI_EVENT_CLASS_PREPARE = 56, + JVMTI_EVENT_VM_START = 57, + JVMTI_EVENT_EXCEPTION = 58, + JVMTI_EVENT_EXCEPTION_CATCH = 59, + JVMTI_EVENT_SINGLE_STEP = 60, + JVMTI_EVENT_FRAME_POP = 61, + JVMTI_EVENT_BREAKPOINT = 62, + JVMTI_EVENT_FIELD_ACCESS = 63, + JVMTI_EVENT_FIELD_MODIFICATION = 64, + JVMTI_EVENT_METHOD_ENTRY = 65, + JVMTI_EVENT_METHOD_EXIT = 66, + JVMTI_EVENT_NATIVE_METHOD_BIND = 67, + JVMTI_EVENT_COMPILED_METHOD_LOAD = 68, + JVMTI_EVENT_COMPILED_METHOD_UNLOAD = 69, + JVMTI_EVENT_DYNAMIC_CODE_GENERATED = 70, + JVMTI_EVENT_DATA_DUMP_REQUEST = 71, + JVMTI_EVENT_MONITOR_WAIT = 73, + JVMTI_EVENT_MONITOR_WAITED = 74, + JVMTI_EVENT_MONITOR_CONTENDED_ENTER = 75, + JVMTI_EVENT_MONITOR_CONTENDED_ENTERED = 76, + JVMTI_EVENT_RESOURCE_EXHAUSTED = 80, + JVMTI_EVENT_GARBAGE_COLLECTION_START = 81, + JVMTI_EVENT_GARBAGE_COLLECTION_FINISH = 82, + JVMTI_EVENT_OBJECT_FREE = 83, + JVMTI_EVENT_VM_OBJECT_ALLOC = 84, + JVMTI_MAX_EVENT_TYPE_VAL = 84 +} jvmtiEvent; + + + /* Pre-Declarations */ +struct _jvmtiThreadInfo; +typedef struct _jvmtiThreadInfo jvmtiThreadInfo; +struct _jvmtiMonitorStackDepthInfo; +typedef struct _jvmtiMonitorStackDepthInfo jvmtiMonitorStackDepthInfo; +struct _jvmtiThreadGroupInfo; +typedef struct _jvmtiThreadGroupInfo jvmtiThreadGroupInfo; +struct _jvmtiFrameInfo; +typedef struct _jvmtiFrameInfo jvmtiFrameInfo; +struct _jvmtiStackInfo; +typedef struct _jvmtiStackInfo jvmtiStackInfo; +struct _jvmtiHeapReferenceInfoField; +typedef struct _jvmtiHeapReferenceInfoField jvmtiHeapReferenceInfoField; +struct _jvmtiHeapReferenceInfoArray; +typedef struct _jvmtiHeapReferenceInfoArray jvmtiHeapReferenceInfoArray; +struct _jvmtiHeapReferenceInfoConstantPool; +typedef struct _jvmtiHeapReferenceInfoConstantPool jvmtiHeapReferenceInfoConstantPool; +struct _jvmtiHeapReferenceInfoStackLocal; +typedef struct _jvmtiHeapReferenceInfoStackLocal jvmtiHeapReferenceInfoStackLocal; +struct _jvmtiHeapReferenceInfoJniLocal; +typedef struct _jvmtiHeapReferenceInfoJniLocal jvmtiHeapReferenceInfoJniLocal; +struct _jvmtiHeapReferenceInfoReserved; +typedef struct _jvmtiHeapReferenceInfoReserved jvmtiHeapReferenceInfoReserved; +union _jvmtiHeapReferenceInfo; +typedef union _jvmtiHeapReferenceInfo jvmtiHeapReferenceInfo; +struct _jvmtiHeapCallbacks; +typedef struct _jvmtiHeapCallbacks jvmtiHeapCallbacks; +struct _jvmtiClassDefinition; +typedef struct _jvmtiClassDefinition jvmtiClassDefinition; +struct _jvmtiMonitorUsage; +typedef struct _jvmtiMonitorUsage jvmtiMonitorUsage; +struct _jvmtiLineNumberEntry; +typedef struct _jvmtiLineNumberEntry jvmtiLineNumberEntry; +struct _jvmtiLocalVariableEntry; +typedef struct _jvmtiLocalVariableEntry jvmtiLocalVariableEntry; +struct _jvmtiParamInfo; +typedef struct _jvmtiParamInfo jvmtiParamInfo; +struct _jvmtiExtensionFunctionInfo; +typedef struct _jvmtiExtensionFunctionInfo jvmtiExtensionFunctionInfo; +struct _jvmtiExtensionEventInfo; +typedef struct _jvmtiExtensionEventInfo jvmtiExtensionEventInfo; +struct _jvmtiTimerInfo; +typedef struct _jvmtiTimerInfo jvmtiTimerInfo; +struct _jvmtiAddrLocationMap; +typedef struct _jvmtiAddrLocationMap jvmtiAddrLocationMap; + + /* Function Types */ + +typedef void (JNICALL *jvmtiStartFunction) + (jvmtiEnv* jvmti_env, JNIEnv* jni_env, void* arg); + +typedef jint (JNICALL *jvmtiHeapIterationCallback) + (jlong class_tag, jlong size, jlong* tag_ptr, jint length, void* user_data); + +typedef jint (JNICALL *jvmtiHeapReferenceCallback) + (jvmtiHeapReferenceKind reference_kind, const jvmtiHeapReferenceInfo* reference_info, jlong class_tag, jlong referrer_class_tag, jlong size, jlong* tag_ptr, jlong* referrer_tag_ptr, jint length, void* user_data); + +typedef jint (JNICALL *jvmtiPrimitiveFieldCallback) + (jvmtiHeapReferenceKind kind, const jvmtiHeapReferenceInfo* info, jlong object_class_tag, jlong* object_tag_ptr, jvalue value, jvmtiPrimitiveType value_type, void* user_data); + +typedef jint (JNICALL *jvmtiArrayPrimitiveValueCallback) + (jlong class_tag, jlong size, jlong* tag_ptr, jint element_count, jvmtiPrimitiveType element_type, const void* elements, void* user_data); + +typedef jint (JNICALL *jvmtiStringPrimitiveValueCallback) + (jlong class_tag, jlong size, jlong* tag_ptr, const jchar* value, jint value_length, void* user_data); + +typedef jint (JNICALL *jvmtiReservedCallback) + (); + +typedef jvmtiIterationControl (JNICALL *jvmtiHeapObjectCallback) + (jlong class_tag, jlong size, jlong* tag_ptr, void* user_data); + +typedef jvmtiIterationControl (JNICALL *jvmtiHeapRootCallback) + (jvmtiHeapRootKind root_kind, jlong class_tag, jlong size, jlong* tag_ptr, void* user_data); + +typedef jvmtiIterationControl (JNICALL *jvmtiStackReferenceCallback) + (jvmtiHeapRootKind root_kind, jlong class_tag, jlong size, jlong* tag_ptr, jlong thread_tag, jint depth, jmethodID method, jint slot, void* user_data); + +typedef jvmtiIterationControl (JNICALL *jvmtiObjectReferenceCallback) + (jvmtiObjectReferenceKind reference_kind, jlong class_tag, jlong size, jlong* tag_ptr, jlong referrer_tag, jint referrer_index, void* user_data); + +typedef jvmtiError (JNICALL *jvmtiExtensionFunction) + (jvmtiEnv* jvmti_env, ...); + +typedef void (JNICALL *jvmtiExtensionEvent) + (jvmtiEnv* jvmti_env, ...); + + + /* Structure Types */ +struct _jvmtiThreadInfo { + char* name; + jint priority; + jboolean is_daemon; + jthreadGroup thread_group; + jobject context_class_loader; +}; +struct _jvmtiMonitorStackDepthInfo { + jobject monitor; + jint stack_depth; +}; +struct _jvmtiThreadGroupInfo { + jthreadGroup parent; + char* name; + jint max_priority; + jboolean is_daemon; +}; +struct _jvmtiFrameInfo { + jmethodID method; + jlocation location; +}; +struct _jvmtiStackInfo { + jthread thread; + jint state; + jvmtiFrameInfo* frame_buffer; + jint frame_count; +}; +struct _jvmtiHeapReferenceInfoField { + jint index; +}; +struct _jvmtiHeapReferenceInfoArray { + jint index; +}; +struct _jvmtiHeapReferenceInfoConstantPool { + jint index; +}; +struct _jvmtiHeapReferenceInfoStackLocal { + jlong thread_tag; + jlong thread_id; + jint depth; + jmethodID method; + jlocation location; + jint slot; +}; +struct _jvmtiHeapReferenceInfoJniLocal { + jlong thread_tag; + jlong thread_id; + jint depth; + jmethodID method; +}; +struct _jvmtiHeapReferenceInfoReserved { + jlong reserved1; + jlong reserved2; + jlong reserved3; + jlong reserved4; + jlong reserved5; + jlong reserved6; + jlong reserved7; + jlong reserved8; +}; +union _jvmtiHeapReferenceInfo { + jvmtiHeapReferenceInfoField field; + jvmtiHeapReferenceInfoArray array; + jvmtiHeapReferenceInfoConstantPool constant_pool; + jvmtiHeapReferenceInfoStackLocal stack_local; + jvmtiHeapReferenceInfoJniLocal jni_local; + jvmtiHeapReferenceInfoReserved other; +}; +struct _jvmtiHeapCallbacks { + jvmtiHeapIterationCallback heap_iteration_callback; + jvmtiHeapReferenceCallback heap_reference_callback; + jvmtiPrimitiveFieldCallback primitive_field_callback; + jvmtiArrayPrimitiveValueCallback array_primitive_value_callback; + jvmtiStringPrimitiveValueCallback string_primitive_value_callback; + jvmtiReservedCallback reserved5; + jvmtiReservedCallback reserved6; + jvmtiReservedCallback reserved7; + jvmtiReservedCallback reserved8; + jvmtiReservedCallback reserved9; + jvmtiReservedCallback reserved10; + jvmtiReservedCallback reserved11; + jvmtiReservedCallback reserved12; + jvmtiReservedCallback reserved13; + jvmtiReservedCallback reserved14; + jvmtiReservedCallback reserved15; +}; +struct _jvmtiClassDefinition { + jclass klass; + jint class_byte_count; + const unsigned char* class_bytes; +}; +struct _jvmtiMonitorUsage { + jthread owner; + jint entry_count; + jint waiter_count; + jthread* waiters; + jint notify_waiter_count; + jthread* notify_waiters; +}; +struct _jvmtiLineNumberEntry { + jlocation start_location; + jint line_number; +}; +struct _jvmtiLocalVariableEntry { + jlocation start_location; + jint length; + char* name; + char* signature; + char* generic_signature; + jint slot; +}; +struct _jvmtiParamInfo { + char* name; + jvmtiParamKind kind; + jvmtiParamTypes base_type; + jboolean null_ok; +}; +struct _jvmtiExtensionFunctionInfo { + jvmtiExtensionFunction func; + char* id; + char* short_description; + jint param_count; + jvmtiParamInfo* params; + jint error_count; + jvmtiError* errors; +}; +struct _jvmtiExtensionEventInfo { + jint extension_event_index; + char* id; + char* short_description; + jint param_count; + jvmtiParamInfo* params; +}; +struct _jvmtiTimerInfo { + jlong max_value; + jboolean may_skip_forward; + jboolean may_skip_backward; + jvmtiTimerKind kind; + jlong reserved1; + jlong reserved2; +}; +struct _jvmtiAddrLocationMap { + const void* start_address; + jlocation location; +}; + +typedef struct { + unsigned int can_tag_objects : 1; + unsigned int can_generate_field_modification_events : 1; + unsigned int can_generate_field_access_events : 1; + unsigned int can_get_bytecodes : 1; + unsigned int can_get_synthetic_attribute : 1; + unsigned int can_get_owned_monitor_info : 1; + unsigned int can_get_current_contended_monitor : 1; + unsigned int can_get_monitor_info : 1; + unsigned int can_pop_frame : 1; + unsigned int can_redefine_classes : 1; + unsigned int can_signal_thread : 1; + unsigned int can_get_source_file_name : 1; + unsigned int can_get_line_numbers : 1; + unsigned int can_get_source_debug_extension : 1; + unsigned int can_access_local_variables : 1; + unsigned int can_maintain_original_method_order : 1; + unsigned int can_generate_single_step_events : 1; + unsigned int can_generate_exception_events : 1; + unsigned int can_generate_frame_pop_events : 1; + unsigned int can_generate_breakpoint_events : 1; + unsigned int can_suspend : 1; + unsigned int can_redefine_any_class : 1; + unsigned int can_get_current_thread_cpu_time : 1; + unsigned int can_get_thread_cpu_time : 1; + unsigned int can_generate_method_entry_events : 1; + unsigned int can_generate_method_exit_events : 1; + unsigned int can_generate_all_class_hook_events : 1; + unsigned int can_generate_compiled_method_load_events : 1; + unsigned int can_generate_monitor_events : 1; + unsigned int can_generate_vm_object_alloc_events : 1; + unsigned int can_generate_native_method_bind_events : 1; + unsigned int can_generate_garbage_collection_events : 1; + unsigned int can_generate_object_free_events : 1; + unsigned int can_force_early_return : 1; + unsigned int can_get_owned_monitor_stack_depth_info : 1; + unsigned int can_get_constant_pool : 1; + unsigned int can_set_native_method_prefix : 1; + unsigned int can_retransform_classes : 1; + unsigned int can_retransform_any_class : 1; + unsigned int can_generate_resource_exhaustion_heap_events : 1; + unsigned int can_generate_resource_exhaustion_threads_events : 1; + unsigned int : 7; + unsigned int : 16; + unsigned int : 16; + unsigned int : 16; + unsigned int : 16; + unsigned int : 16; +} jvmtiCapabilities; + + + /* Event Definitions */ + +typedef void (JNICALL *jvmtiEventReserved)(void); + + +typedef void (JNICALL *jvmtiEventBreakpoint) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + jlocation location); + +typedef void (JNICALL *jvmtiEventClassFileLoadHook) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jclass class_being_redefined, + jobject loader, + const char* name, + jobject protection_domain, + jint class_data_len, + const unsigned char* class_data, + jint* new_class_data_len, + unsigned char** new_class_data); + +typedef void (JNICALL *jvmtiEventClassLoad) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jclass klass); + +typedef void (JNICALL *jvmtiEventClassPrepare) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jclass klass); + +typedef void (JNICALL *jvmtiEventCompiledMethodLoad) + (jvmtiEnv *jvmti_env, + jmethodID method, + jint code_size, + const void* code_addr, + jint map_length, + const jvmtiAddrLocationMap* map, + const void* compile_info); + +typedef void (JNICALL *jvmtiEventCompiledMethodUnload) + (jvmtiEnv *jvmti_env, + jmethodID method, + const void* code_addr); + +typedef void (JNICALL *jvmtiEventDataDumpRequest) + (jvmtiEnv *jvmti_env); + +typedef void (JNICALL *jvmtiEventDynamicCodeGenerated) + (jvmtiEnv *jvmti_env, + const char* name, + const void* address, + jint length); + +typedef void (JNICALL *jvmtiEventException) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + jlocation location, + jobject exception, + jmethodID catch_method, + jlocation catch_location); + +typedef void (JNICALL *jvmtiEventExceptionCatch) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + jlocation location, + jobject exception); + +typedef void (JNICALL *jvmtiEventFieldAccess) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + jlocation location, + jclass field_klass, + jobject object, + jfieldID field); + +typedef void (JNICALL *jvmtiEventFieldModification) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + jlocation location, + jclass field_klass, + jobject object, + jfieldID field, + char signature_type, + jvalue new_value); + +typedef void (JNICALL *jvmtiEventFramePop) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + jboolean was_popped_by_exception); + +typedef void (JNICALL *jvmtiEventGarbageCollectionFinish) + (jvmtiEnv *jvmti_env); + +typedef void (JNICALL *jvmtiEventGarbageCollectionStart) + (jvmtiEnv *jvmti_env); + +typedef void (JNICALL *jvmtiEventMethodEntry) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method); + +typedef void (JNICALL *jvmtiEventMethodExit) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + jboolean was_popped_by_exception, + jvalue return_value); + +typedef void (JNICALL *jvmtiEventMonitorContendedEnter) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jobject object); + +typedef void (JNICALL *jvmtiEventMonitorContendedEntered) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jobject object); + +typedef void (JNICALL *jvmtiEventMonitorWait) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jobject object, + jlong timeout); + +typedef void (JNICALL *jvmtiEventMonitorWaited) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jobject object, + jboolean timed_out); + +typedef void (JNICALL *jvmtiEventNativeMethodBind) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + void* address, + void** new_address_ptr); + +typedef void (JNICALL *jvmtiEventObjectFree) + (jvmtiEnv *jvmti_env, + jlong tag); + +typedef void (JNICALL *jvmtiEventResourceExhausted) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jint flags, + const void* reserved, + const char* description); + +typedef void (JNICALL *jvmtiEventSingleStep) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jmethodID method, + jlocation location); + +typedef void (JNICALL *jvmtiEventThreadEnd) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread); + +typedef void (JNICALL *jvmtiEventThreadStart) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread); + +typedef void (JNICALL *jvmtiEventVMDeath) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env); + +typedef void (JNICALL *jvmtiEventVMInit) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread); + +typedef void (JNICALL *jvmtiEventVMObjectAlloc) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env, + jthread thread, + jobject object, + jclass object_klass, + jlong size); + +typedef void (JNICALL *jvmtiEventVMStart) + (jvmtiEnv *jvmti_env, + JNIEnv* jni_env); + + /* Event Callback Structure */ + +typedef struct { + /* 50 : VM Initialization Event */ + jvmtiEventVMInit VMInit; + /* 51 : VM Death Event */ + jvmtiEventVMDeath VMDeath; + /* 52 : Thread Start */ + jvmtiEventThreadStart ThreadStart; + /* 53 : Thread End */ + jvmtiEventThreadEnd ThreadEnd; + /* 54 : Class File Load Hook */ + jvmtiEventClassFileLoadHook ClassFileLoadHook; + /* 55 : Class Load */ + jvmtiEventClassLoad ClassLoad; + /* 56 : Class Prepare */ + jvmtiEventClassPrepare ClassPrepare; + /* 57 : VM Start Event */ + jvmtiEventVMStart VMStart; + /* 58 : Exception */ + jvmtiEventException Exception; + /* 59 : Exception Catch */ + jvmtiEventExceptionCatch ExceptionCatch; + /* 60 : Single Step */ + jvmtiEventSingleStep SingleStep; + /* 61 : Frame Pop */ + jvmtiEventFramePop FramePop; + /* 62 : Breakpoint */ + jvmtiEventBreakpoint Breakpoint; + /* 63 : Field Access */ + jvmtiEventFieldAccess FieldAccess; + /* 64 : Field Modification */ + jvmtiEventFieldModification FieldModification; + /* 65 : Method Entry */ + jvmtiEventMethodEntry MethodEntry; + /* 66 : Method Exit */ + jvmtiEventMethodExit MethodExit; + /* 67 : Native Method Bind */ + jvmtiEventNativeMethodBind NativeMethodBind; + /* 68 : Compiled Method Load */ + jvmtiEventCompiledMethodLoad CompiledMethodLoad; + /* 69 : Compiled Method Unload */ + jvmtiEventCompiledMethodUnload CompiledMethodUnload; + /* 70 : Dynamic Code Generated */ + jvmtiEventDynamicCodeGenerated DynamicCodeGenerated; + /* 71 : Data Dump Request */ + jvmtiEventDataDumpRequest DataDumpRequest; + /* 72 */ + jvmtiEventReserved reserved72; + /* 73 : Monitor Wait */ + jvmtiEventMonitorWait MonitorWait; + /* 74 : Monitor Waited */ + jvmtiEventMonitorWaited MonitorWaited; + /* 75 : Monitor Contended Enter */ + jvmtiEventMonitorContendedEnter MonitorContendedEnter; + /* 76 : Monitor Contended Entered */ + jvmtiEventMonitorContendedEntered MonitorContendedEntered; + /* 77 */ + jvmtiEventReserved reserved77; + /* 78 */ + jvmtiEventReserved reserved78; + /* 79 */ + jvmtiEventReserved reserved79; + /* 80 : Resource Exhausted */ + jvmtiEventResourceExhausted ResourceExhausted; + /* 81 : Garbage Collection Start */ + jvmtiEventGarbageCollectionStart GarbageCollectionStart; + /* 82 : Garbage Collection Finish */ + jvmtiEventGarbageCollectionFinish GarbageCollectionFinish; + /* 83 : Object Free */ + jvmtiEventObjectFree ObjectFree; + /* 84 : VM Object Allocation */ + jvmtiEventVMObjectAlloc VMObjectAlloc; +} jvmtiEventCallbacks; + + + /* Function Interface */ + +typedef struct jvmtiInterface_1_ { + + /* 1 : RESERVED */ + void *reserved1; + + /* 2 : Set Event Notification Mode */ + jvmtiError (JNICALL *SetEventNotificationMode) (jvmtiEnv* env, + jvmtiEventMode mode, + jvmtiEvent event_type, + jthread event_thread, + ...); + + /* 3 : RESERVED */ + void *reserved3; + + /* 4 : Get All Threads */ + jvmtiError (JNICALL *GetAllThreads) (jvmtiEnv* env, + jint* threads_count_ptr, + jthread** threads_ptr); + + /* 5 : Suspend Thread */ + jvmtiError (JNICALL *SuspendThread) (jvmtiEnv* env, + jthread thread); + + /* 6 : Resume Thread */ + jvmtiError (JNICALL *ResumeThread) (jvmtiEnv* env, + jthread thread); + + /* 7 : Stop Thread */ + jvmtiError (JNICALL *StopThread) (jvmtiEnv* env, + jthread thread, + jobject exception); + + /* 8 : Interrupt Thread */ + jvmtiError (JNICALL *InterruptThread) (jvmtiEnv* env, + jthread thread); + + /* 9 : Get Thread Info */ + jvmtiError (JNICALL *GetThreadInfo) (jvmtiEnv* env, + jthread thread, + jvmtiThreadInfo* info_ptr); + + /* 10 : Get Owned Monitor Info */ + jvmtiError (JNICALL *GetOwnedMonitorInfo) (jvmtiEnv* env, + jthread thread, + jint* owned_monitor_count_ptr, + jobject** owned_monitors_ptr); + + /* 11 : Get Current Contended Monitor */ + jvmtiError (JNICALL *GetCurrentContendedMonitor) (jvmtiEnv* env, + jthread thread, + jobject* monitor_ptr); + + /* 12 : Run Agent Thread */ + jvmtiError (JNICALL *RunAgentThread) (jvmtiEnv* env, + jthread thread, + jvmtiStartFunction proc, + const void* arg, + jint priority); + + /* 13 : Get Top Thread Groups */ + jvmtiError (JNICALL *GetTopThreadGroups) (jvmtiEnv* env, + jint* group_count_ptr, + jthreadGroup** groups_ptr); + + /* 14 : Get Thread Group Info */ + jvmtiError (JNICALL *GetThreadGroupInfo) (jvmtiEnv* env, + jthreadGroup group, + jvmtiThreadGroupInfo* info_ptr); + + /* 15 : Get Thread Group Children */ + jvmtiError (JNICALL *GetThreadGroupChildren) (jvmtiEnv* env, + jthreadGroup group, + jint* thread_count_ptr, + jthread** threads_ptr, + jint* group_count_ptr, + jthreadGroup** groups_ptr); + + /* 16 : Get Frame Count */ + jvmtiError (JNICALL *GetFrameCount) (jvmtiEnv* env, + jthread thread, + jint* count_ptr); + + /* 17 : Get Thread State */ + jvmtiError (JNICALL *GetThreadState) (jvmtiEnv* env, + jthread thread, + jint* thread_state_ptr); + + /* 18 : Get Current Thread */ + jvmtiError (JNICALL *GetCurrentThread) (jvmtiEnv* env, + jthread* thread_ptr); + + /* 19 : Get Frame Location */ + jvmtiError (JNICALL *GetFrameLocation) (jvmtiEnv* env, + jthread thread, + jint depth, + jmethodID* method_ptr, + jlocation* location_ptr); + + /* 20 : Notify Frame Pop */ + jvmtiError (JNICALL *NotifyFramePop) (jvmtiEnv* env, + jthread thread, + jint depth); + + /* 21 : Get Local Variable - Object */ + jvmtiError (JNICALL *GetLocalObject) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jobject* value_ptr); + + /* 22 : Get Local Variable - Int */ + jvmtiError (JNICALL *GetLocalInt) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jint* value_ptr); + + /* 23 : Get Local Variable - Long */ + jvmtiError (JNICALL *GetLocalLong) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jlong* value_ptr); + + /* 24 : Get Local Variable - Float */ + jvmtiError (JNICALL *GetLocalFloat) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jfloat* value_ptr); + + /* 25 : Get Local Variable - Double */ + jvmtiError (JNICALL *GetLocalDouble) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jdouble* value_ptr); + + /* 26 : Set Local Variable - Object */ + jvmtiError (JNICALL *SetLocalObject) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jobject value); + + /* 27 : Set Local Variable - Int */ + jvmtiError (JNICALL *SetLocalInt) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jint value); + + /* 28 : Set Local Variable - Long */ + jvmtiError (JNICALL *SetLocalLong) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jlong value); + + /* 29 : Set Local Variable - Float */ + jvmtiError (JNICALL *SetLocalFloat) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jfloat value); + + /* 30 : Set Local Variable - Double */ + jvmtiError (JNICALL *SetLocalDouble) (jvmtiEnv* env, + jthread thread, + jint depth, + jint slot, + jdouble value); + + /* 31 : Create Raw Monitor */ + jvmtiError (JNICALL *CreateRawMonitor) (jvmtiEnv* env, + const char* name, + jrawMonitorID* monitor_ptr); + + /* 32 : Destroy Raw Monitor */ + jvmtiError (JNICALL *DestroyRawMonitor) (jvmtiEnv* env, + jrawMonitorID monitor); + + /* 33 : Raw Monitor Enter */ + jvmtiError (JNICALL *RawMonitorEnter) (jvmtiEnv* env, + jrawMonitorID monitor); + + /* 34 : Raw Monitor Exit */ + jvmtiError (JNICALL *RawMonitorExit) (jvmtiEnv* env, + jrawMonitorID monitor); + + /* 35 : Raw Monitor Wait */ + jvmtiError (JNICALL *RawMonitorWait) (jvmtiEnv* env, + jrawMonitorID monitor, + jlong millis); + + /* 36 : Raw Monitor Notify */ + jvmtiError (JNICALL *RawMonitorNotify) (jvmtiEnv* env, + jrawMonitorID monitor); + + /* 37 : Raw Monitor Notify All */ + jvmtiError (JNICALL *RawMonitorNotifyAll) (jvmtiEnv* env, + jrawMonitorID monitor); + + /* 38 : Set Breakpoint */ + jvmtiError (JNICALL *SetBreakpoint) (jvmtiEnv* env, + jmethodID method, + jlocation location); + + /* 39 : Clear Breakpoint */ + jvmtiError (JNICALL *ClearBreakpoint) (jvmtiEnv* env, + jmethodID method, + jlocation location); + + /* 40 : RESERVED */ + void *reserved40; + + /* 41 : Set Field Access Watch */ + jvmtiError (JNICALL *SetFieldAccessWatch) (jvmtiEnv* env, + jclass klass, + jfieldID field); + + /* 42 : Clear Field Access Watch */ + jvmtiError (JNICALL *ClearFieldAccessWatch) (jvmtiEnv* env, + jclass klass, + jfieldID field); + + /* 43 : Set Field Modification Watch */ + jvmtiError (JNICALL *SetFieldModificationWatch) (jvmtiEnv* env, + jclass klass, + jfieldID field); + + /* 44 : Clear Field Modification Watch */ + jvmtiError (JNICALL *ClearFieldModificationWatch) (jvmtiEnv* env, + jclass klass, + jfieldID field); + + /* 45 : Is Modifiable Class */ + jvmtiError (JNICALL *IsModifiableClass) (jvmtiEnv* env, + jclass klass, + jboolean* is_modifiable_class_ptr); + + /* 46 : Allocate */ + jvmtiError (JNICALL *Allocate) (jvmtiEnv* env, + jlong size, + unsigned char** mem_ptr); + + /* 47 : Deallocate */ + jvmtiError (JNICALL *Deallocate) (jvmtiEnv* env, + unsigned char* mem); + + /* 48 : Get Class Signature */ + jvmtiError (JNICALL *GetClassSignature) (jvmtiEnv* env, + jclass klass, + char** signature_ptr, + char** generic_ptr); + + /* 49 : Get Class Status */ + jvmtiError (JNICALL *GetClassStatus) (jvmtiEnv* env, + jclass klass, + jint* status_ptr); + + /* 50 : Get Source File Name */ + jvmtiError (JNICALL *GetSourceFileName) (jvmtiEnv* env, + jclass klass, + char** source_name_ptr); + + /* 51 : Get Class Modifiers */ + jvmtiError (JNICALL *GetClassModifiers) (jvmtiEnv* env, + jclass klass, + jint* modifiers_ptr); + + /* 52 : Get Class Methods */ + jvmtiError (JNICALL *GetClassMethods) (jvmtiEnv* env, + jclass klass, + jint* method_count_ptr, + jmethodID** methods_ptr); + + /* 53 : Get Class Fields */ + jvmtiError (JNICALL *GetClassFields) (jvmtiEnv* env, + jclass klass, + jint* field_count_ptr, + jfieldID** fields_ptr); + + /* 54 : Get Implemented Interfaces */ + jvmtiError (JNICALL *GetImplementedInterfaces) (jvmtiEnv* env, + jclass klass, + jint* interface_count_ptr, + jclass** interfaces_ptr); + + /* 55 : Is Interface */ + jvmtiError (JNICALL *IsInterface) (jvmtiEnv* env, + jclass klass, + jboolean* is_interface_ptr); + + /* 56 : Is Array Class */ + jvmtiError (JNICALL *IsArrayClass) (jvmtiEnv* env, + jclass klass, + jboolean* is_array_class_ptr); + + /* 57 : Get Class Loader */ + jvmtiError (JNICALL *GetClassLoader) (jvmtiEnv* env, + jclass klass, + jobject* classloader_ptr); + + /* 58 : Get Object Hash Code */ + jvmtiError (JNICALL *GetObjectHashCode) (jvmtiEnv* env, + jobject object, + jint* hash_code_ptr); + + /* 59 : Get Object Monitor Usage */ + jvmtiError (JNICALL *GetObjectMonitorUsage) (jvmtiEnv* env, + jobject object, + jvmtiMonitorUsage* info_ptr); + + /* 60 : Get Field Name (and Signature) */ + jvmtiError (JNICALL *GetFieldName) (jvmtiEnv* env, + jclass klass, + jfieldID field, + char** name_ptr, + char** signature_ptr, + char** generic_ptr); + + /* 61 : Get Field Declaring Class */ + jvmtiError (JNICALL *GetFieldDeclaringClass) (jvmtiEnv* env, + jclass klass, + jfieldID field, + jclass* declaring_class_ptr); + + /* 62 : Get Field Modifiers */ + jvmtiError (JNICALL *GetFieldModifiers) (jvmtiEnv* env, + jclass klass, + jfieldID field, + jint* modifiers_ptr); + + /* 63 : Is Field Synthetic */ + jvmtiError (JNICALL *IsFieldSynthetic) (jvmtiEnv* env, + jclass klass, + jfieldID field, + jboolean* is_synthetic_ptr); + + /* 64 : Get Method Name (and Signature) */ + jvmtiError (JNICALL *GetMethodName) (jvmtiEnv* env, + jmethodID method, + char** name_ptr, + char** signature_ptr, + char** generic_ptr); + + /* 65 : Get Method Declaring Class */ + jvmtiError (JNICALL *GetMethodDeclaringClass) (jvmtiEnv* env, + jmethodID method, + jclass* declaring_class_ptr); + + /* 66 : Get Method Modifiers */ + jvmtiError (JNICALL *GetMethodModifiers) (jvmtiEnv* env, + jmethodID method, + jint* modifiers_ptr); + + /* 67 : RESERVED */ + void *reserved67; + + /* 68 : Get Max Locals */ + jvmtiError (JNICALL *GetMaxLocals) (jvmtiEnv* env, + jmethodID method, + jint* max_ptr); + + /* 69 : Get Arguments Size */ + jvmtiError (JNICALL *GetArgumentsSize) (jvmtiEnv* env, + jmethodID method, + jint* size_ptr); + + /* 70 : Get Line Number Table */ + jvmtiError (JNICALL *GetLineNumberTable) (jvmtiEnv* env, + jmethodID method, + jint* entry_count_ptr, + jvmtiLineNumberEntry** table_ptr); + + /* 71 : Get Method Location */ + jvmtiError (JNICALL *GetMethodLocation) (jvmtiEnv* env, + jmethodID method, + jlocation* start_location_ptr, + jlocation* end_location_ptr); + + /* 72 : Get Local Variable Table */ + jvmtiError (JNICALL *GetLocalVariableTable) (jvmtiEnv* env, + jmethodID method, + jint* entry_count_ptr, + jvmtiLocalVariableEntry** table_ptr); + + /* 73 : Set Native Method Prefix */ + jvmtiError (JNICALL *SetNativeMethodPrefix) (jvmtiEnv* env, + const char* prefix); + + /* 74 : Set Native Method Prefixes */ + jvmtiError (JNICALL *SetNativeMethodPrefixes) (jvmtiEnv* env, + jint prefix_count, + char** prefixes); + + /* 75 : Get Bytecodes */ + jvmtiError (JNICALL *GetBytecodes) (jvmtiEnv* env, + jmethodID method, + jint* bytecode_count_ptr, + unsigned char** bytecodes_ptr); + + /* 76 : Is Method Native */ + jvmtiError (JNICALL *IsMethodNative) (jvmtiEnv* env, + jmethodID method, + jboolean* is_native_ptr); + + /* 77 : Is Method Synthetic */ + jvmtiError (JNICALL *IsMethodSynthetic) (jvmtiEnv* env, + jmethodID method, + jboolean* is_synthetic_ptr); + + /* 78 : Get Loaded Classes */ + jvmtiError (JNICALL *GetLoadedClasses) (jvmtiEnv* env, + jint* class_count_ptr, + jclass** classes_ptr); + + /* 79 : Get Classloader Classes */ + jvmtiError (JNICALL *GetClassLoaderClasses) (jvmtiEnv* env, + jobject initiating_loader, + jint* class_count_ptr, + jclass** classes_ptr); + + /* 80 : Pop Frame */ + jvmtiError (JNICALL *PopFrame) (jvmtiEnv* env, + jthread thread); + + /* 81 : Force Early Return - Object */ + jvmtiError (JNICALL *ForceEarlyReturnObject) (jvmtiEnv* env, + jthread thread, + jobject value); + + /* 82 : Force Early Return - Int */ + jvmtiError (JNICALL *ForceEarlyReturnInt) (jvmtiEnv* env, + jthread thread, + jint value); + + /* 83 : Force Early Return - Long */ + jvmtiError (JNICALL *ForceEarlyReturnLong) (jvmtiEnv* env, + jthread thread, + jlong value); + + /* 84 : Force Early Return - Float */ + jvmtiError (JNICALL *ForceEarlyReturnFloat) (jvmtiEnv* env, + jthread thread, + jfloat value); + + /* 85 : Force Early Return - Double */ + jvmtiError (JNICALL *ForceEarlyReturnDouble) (jvmtiEnv* env, + jthread thread, + jdouble value); + + /* 86 : Force Early Return - Void */ + jvmtiError (JNICALL *ForceEarlyReturnVoid) (jvmtiEnv* env, + jthread thread); + + /* 87 : Redefine Classes */ + jvmtiError (JNICALL *RedefineClasses) (jvmtiEnv* env, + jint class_count, + const jvmtiClassDefinition* class_definitions); + + /* 88 : Get Version Number */ + jvmtiError (JNICALL *GetVersionNumber) (jvmtiEnv* env, + jint* version_ptr); + + /* 89 : Get Capabilities */ + jvmtiError (JNICALL *GetCapabilities) (jvmtiEnv* env, + jvmtiCapabilities* capabilities_ptr); + + /* 90 : Get Source Debug Extension */ + jvmtiError (JNICALL *GetSourceDebugExtension) (jvmtiEnv* env, + jclass klass, + char** source_debug_extension_ptr); + + /* 91 : Is Method Obsolete */ + jvmtiError (JNICALL *IsMethodObsolete) (jvmtiEnv* env, + jmethodID method, + jboolean* is_obsolete_ptr); + + /* 92 : Suspend Thread List */ + jvmtiError (JNICALL *SuspendThreadList) (jvmtiEnv* env, + jint request_count, + const jthread* request_list, + jvmtiError* results); + + /* 93 : Resume Thread List */ + jvmtiError (JNICALL *ResumeThreadList) (jvmtiEnv* env, + jint request_count, + const jthread* request_list, + jvmtiError* results); + + /* 94 : RESERVED */ + void *reserved94; + + /* 95 : RESERVED */ + void *reserved95; + + /* 96 : RESERVED */ + void *reserved96; + + /* 97 : RESERVED */ + void *reserved97; + + /* 98 : RESERVED */ + void *reserved98; + + /* 99 : RESERVED */ + void *reserved99; + + /* 100 : Get All Stack Traces */ + jvmtiError (JNICALL *GetAllStackTraces) (jvmtiEnv* env, + jint max_frame_count, + jvmtiStackInfo** stack_info_ptr, + jint* thread_count_ptr); + + /* 101 : Get Thread List Stack Traces */ + jvmtiError (JNICALL *GetThreadListStackTraces) (jvmtiEnv* env, + jint thread_count, + const jthread* thread_list, + jint max_frame_count, + jvmtiStackInfo** stack_info_ptr); + + /* 102 : Get Thread Local Storage */ + jvmtiError (JNICALL *GetThreadLocalStorage) (jvmtiEnv* env, + jthread thread, + void** data_ptr); + + /* 103 : Set Thread Local Storage */ + jvmtiError (JNICALL *SetThreadLocalStorage) (jvmtiEnv* env, + jthread thread, + const void* data); + + /* 104 : Get Stack Trace */ + jvmtiError (JNICALL *GetStackTrace) (jvmtiEnv* env, + jthread thread, + jint start_depth, + jint max_frame_count, + jvmtiFrameInfo* frame_buffer, + jint* count_ptr); + + /* 105 : RESERVED */ + void *reserved105; + + /* 106 : Get Tag */ + jvmtiError (JNICALL *GetTag) (jvmtiEnv* env, + jobject object, + jlong* tag_ptr); + + /* 107 : Set Tag */ + jvmtiError (JNICALL *SetTag) (jvmtiEnv* env, + jobject object, + jlong tag); + + /* 108 : Force Garbage Collection */ + jvmtiError (JNICALL *ForceGarbageCollection) (jvmtiEnv* env); + + /* 109 : Iterate Over Objects Reachable From Object */ + jvmtiError (JNICALL *IterateOverObjectsReachableFromObject) (jvmtiEnv* env, + jobject object, + jvmtiObjectReferenceCallback object_reference_callback, + const void* user_data); + + /* 110 : Iterate Over Reachable Objects */ + jvmtiError (JNICALL *IterateOverReachableObjects) (jvmtiEnv* env, + jvmtiHeapRootCallback heap_root_callback, + jvmtiStackReferenceCallback stack_ref_callback, + jvmtiObjectReferenceCallback object_ref_callback, + const void* user_data); + + /* 111 : Iterate Over Heap */ + jvmtiError (JNICALL *IterateOverHeap) (jvmtiEnv* env, + jvmtiHeapObjectFilter object_filter, + jvmtiHeapObjectCallback heap_object_callback, + const void* user_data); + + /* 112 : Iterate Over Instances Of Class */ + jvmtiError (JNICALL *IterateOverInstancesOfClass) (jvmtiEnv* env, + jclass klass, + jvmtiHeapObjectFilter object_filter, + jvmtiHeapObjectCallback heap_object_callback, + const void* user_data); + + /* 113 : RESERVED */ + void *reserved113; + + /* 114 : Get Objects With Tags */ + jvmtiError (JNICALL *GetObjectsWithTags) (jvmtiEnv* env, + jint tag_count, + const jlong* tags, + jint* count_ptr, + jobject** object_result_ptr, + jlong** tag_result_ptr); + + /* 115 : Follow References */ + jvmtiError (JNICALL *FollowReferences) (jvmtiEnv* env, + jint heap_filter, + jclass klass, + jobject initial_object, + const jvmtiHeapCallbacks* callbacks, + const void* user_data); + + /* 116 : Iterate Through Heap */ + jvmtiError (JNICALL *IterateThroughHeap) (jvmtiEnv* env, + jint heap_filter, + jclass klass, + const jvmtiHeapCallbacks* callbacks, + const void* user_data); + + /* 117 : RESERVED */ + void *reserved117; + + /* 118 : RESERVED */ + void *reserved118; + + /* 119 : RESERVED */ + void *reserved119; + + /* 120 : Set JNI Function Table */ + jvmtiError (JNICALL *SetJNIFunctionTable) (jvmtiEnv* env, + const jniNativeInterface* function_table); + + /* 121 : Get JNI Function Table */ + jvmtiError (JNICALL *GetJNIFunctionTable) (jvmtiEnv* env, + jniNativeInterface** function_table); + + /* 122 : Set Event Callbacks */ + jvmtiError (JNICALL *SetEventCallbacks) (jvmtiEnv* env, + const jvmtiEventCallbacks* callbacks, + jint size_of_callbacks); + + /* 123 : Generate Events */ + jvmtiError (JNICALL *GenerateEvents) (jvmtiEnv* env, + jvmtiEvent event_type); + + /* 124 : Get Extension Functions */ + jvmtiError (JNICALL *GetExtensionFunctions) (jvmtiEnv* env, + jint* extension_count_ptr, + jvmtiExtensionFunctionInfo** extensions); + + /* 125 : Get Extension Events */ + jvmtiError (JNICALL *GetExtensionEvents) (jvmtiEnv* env, + jint* extension_count_ptr, + jvmtiExtensionEventInfo** extensions); + + /* 126 : Set Extension Event Callback */ + jvmtiError (JNICALL *SetExtensionEventCallback) (jvmtiEnv* env, + jint extension_event_index, + jvmtiExtensionEvent callback); + + /* 127 : Dispose Environment */ + jvmtiError (JNICALL *DisposeEnvironment) (jvmtiEnv* env); + + /* 128 : Get Error Name */ + jvmtiError (JNICALL *GetErrorName) (jvmtiEnv* env, + jvmtiError error, + char** name_ptr); + + /* 129 : Get JLocation Format */ + jvmtiError (JNICALL *GetJLocationFormat) (jvmtiEnv* env, + jvmtiJlocationFormat* format_ptr); + + /* 130 : Get System Properties */ + jvmtiError (JNICALL *GetSystemProperties) (jvmtiEnv* env, + jint* count_ptr, + char*** property_ptr); + + /* 131 : Get System Property */ + jvmtiError (JNICALL *GetSystemProperty) (jvmtiEnv* env, + const char* property, + char** value_ptr); + + /* 132 : Set System Property */ + jvmtiError (JNICALL *SetSystemProperty) (jvmtiEnv* env, + const char* property, + const char* value); + + /* 133 : Get Phase */ + jvmtiError (JNICALL *GetPhase) (jvmtiEnv* env, + jvmtiPhase* phase_ptr); + + /* 134 : Get Current Thread CPU Timer Information */ + jvmtiError (JNICALL *GetCurrentThreadCpuTimerInfo) (jvmtiEnv* env, + jvmtiTimerInfo* info_ptr); + + /* 135 : Get Current Thread CPU Time */ + jvmtiError (JNICALL *GetCurrentThreadCpuTime) (jvmtiEnv* env, + jlong* nanos_ptr); + + /* 136 : Get Thread CPU Timer Information */ + jvmtiError (JNICALL *GetThreadCpuTimerInfo) (jvmtiEnv* env, + jvmtiTimerInfo* info_ptr); + + /* 137 : Get Thread CPU Time */ + jvmtiError (JNICALL *GetThreadCpuTime) (jvmtiEnv* env, + jthread thread, + jlong* nanos_ptr); + + /* 138 : Get Timer Information */ + jvmtiError (JNICALL *GetTimerInfo) (jvmtiEnv* env, + jvmtiTimerInfo* info_ptr); + + /* 139 : Get Time */ + jvmtiError (JNICALL *GetTime) (jvmtiEnv* env, + jlong* nanos_ptr); + + /* 140 : Get Potential Capabilities */ + jvmtiError (JNICALL *GetPotentialCapabilities) (jvmtiEnv* env, + jvmtiCapabilities* capabilities_ptr); + + /* 141 : RESERVED */ + void *reserved141; + + /* 142 : Add Capabilities */ + jvmtiError (JNICALL *AddCapabilities) (jvmtiEnv* env, + const jvmtiCapabilities* capabilities_ptr); + + /* 143 : Relinquish Capabilities */ + jvmtiError (JNICALL *RelinquishCapabilities) (jvmtiEnv* env, + const jvmtiCapabilities* capabilities_ptr); + + /* 144 : Get Available Processors */ + jvmtiError (JNICALL *GetAvailableProcessors) (jvmtiEnv* env, + jint* processor_count_ptr); + + /* 145 : Get Class Version Numbers */ + jvmtiError (JNICALL *GetClassVersionNumbers) (jvmtiEnv* env, + jclass klass, + jint* minor_version_ptr, + jint* major_version_ptr); + + /* 146 : Get Constant Pool */ + jvmtiError (JNICALL *GetConstantPool) (jvmtiEnv* env, + jclass klass, + jint* constant_pool_count_ptr, + jint* constant_pool_byte_count_ptr, + unsigned char** constant_pool_bytes_ptr); + + /* 147 : Get Environment Local Storage */ + jvmtiError (JNICALL *GetEnvironmentLocalStorage) (jvmtiEnv* env, + void** data_ptr); + + /* 148 : Set Environment Local Storage */ + jvmtiError (JNICALL *SetEnvironmentLocalStorage) (jvmtiEnv* env, + const void* data); + + /* 149 : Add To Bootstrap Class Loader Search */ + jvmtiError (JNICALL *AddToBootstrapClassLoaderSearch) (jvmtiEnv* env, + const char* segment); + + /* 150 : Set Verbose Flag */ + jvmtiError (JNICALL *SetVerboseFlag) (jvmtiEnv* env, + jvmtiVerboseFlag flag, + jboolean value); + + /* 151 : Add To System Class Loader Search */ + jvmtiError (JNICALL *AddToSystemClassLoaderSearch) (jvmtiEnv* env, + const char* segment); + + /* 152 : Retransform Classes */ + jvmtiError (JNICALL *RetransformClasses) (jvmtiEnv* env, + jint class_count, + const jclass* classes); + + /* 153 : Get Owned Monitor Stack Depth Info */ + jvmtiError (JNICALL *GetOwnedMonitorStackDepthInfo) (jvmtiEnv* env, + jthread thread, + jint* monitor_info_count_ptr, + jvmtiMonitorStackDepthInfo** monitor_info_ptr); + + /* 154 : Get Object Size */ + jvmtiError (JNICALL *GetObjectSize) (jvmtiEnv* env, + jobject object, + jlong* size_ptr); + + /* 155 : Get Local Instance */ + jvmtiError (JNICALL *GetLocalInstance) (jvmtiEnv* env, + jthread thread, + jint depth, + jobject* value_ptr); + +} jvmtiInterface_1; + +struct _jvmtiEnv { + const struct jvmtiInterface_1_ *functions; +#ifdef __cplusplus + + + jvmtiError Allocate(jlong size, + unsigned char** mem_ptr) { + return functions->Allocate(this, size, mem_ptr); + } + + jvmtiError Deallocate(unsigned char* mem) { + return functions->Deallocate(this, mem); + } + + jvmtiError GetThreadState(jthread thread, + jint* thread_state_ptr) { + return functions->GetThreadState(this, thread, thread_state_ptr); + } + + jvmtiError GetCurrentThread(jthread* thread_ptr) { + return functions->GetCurrentThread(this, thread_ptr); + } + + jvmtiError GetAllThreads(jint* threads_count_ptr, + jthread** threads_ptr) { + return functions->GetAllThreads(this, threads_count_ptr, threads_ptr); + } + + jvmtiError SuspendThread(jthread thread) { + return functions->SuspendThread(this, thread); + } + + jvmtiError SuspendThreadList(jint request_count, + const jthread* request_list, + jvmtiError* results) { + return functions->SuspendThreadList(this, request_count, request_list, results); + } + + jvmtiError ResumeThread(jthread thread) { + return functions->ResumeThread(this, thread); + } + + jvmtiError ResumeThreadList(jint request_count, + const jthread* request_list, + jvmtiError* results) { + return functions->ResumeThreadList(this, request_count, request_list, results); + } + + jvmtiError StopThread(jthread thread, + jobject exception) { + return functions->StopThread(this, thread, exception); + } + + jvmtiError InterruptThread(jthread thread) { + return functions->InterruptThread(this, thread); + } + + jvmtiError GetThreadInfo(jthread thread, + jvmtiThreadInfo* info_ptr) { + return functions->GetThreadInfo(this, thread, info_ptr); + } + + jvmtiError GetOwnedMonitorInfo(jthread thread, + jint* owned_monitor_count_ptr, + jobject** owned_monitors_ptr) { + return functions->GetOwnedMonitorInfo(this, thread, owned_monitor_count_ptr, owned_monitors_ptr); + } + + jvmtiError GetOwnedMonitorStackDepthInfo(jthread thread, + jint* monitor_info_count_ptr, + jvmtiMonitorStackDepthInfo** monitor_info_ptr) { + return functions->GetOwnedMonitorStackDepthInfo(this, thread, monitor_info_count_ptr, monitor_info_ptr); + } + + jvmtiError GetCurrentContendedMonitor(jthread thread, + jobject* monitor_ptr) { + return functions->GetCurrentContendedMonitor(this, thread, monitor_ptr); + } + + jvmtiError RunAgentThread(jthread thread, + jvmtiStartFunction proc, + const void* arg, + jint priority) { + return functions->RunAgentThread(this, thread, proc, arg, priority); + } + + jvmtiError SetThreadLocalStorage(jthread thread, + const void* data) { + return functions->SetThreadLocalStorage(this, thread, data); + } + + jvmtiError GetThreadLocalStorage(jthread thread, + void** data_ptr) { + return functions->GetThreadLocalStorage(this, thread, data_ptr); + } + + jvmtiError GetTopThreadGroups(jint* group_count_ptr, + jthreadGroup** groups_ptr) { + return functions->GetTopThreadGroups(this, group_count_ptr, groups_ptr); + } + + jvmtiError GetThreadGroupInfo(jthreadGroup group, + jvmtiThreadGroupInfo* info_ptr) { + return functions->GetThreadGroupInfo(this, group, info_ptr); + } + + jvmtiError GetThreadGroupChildren(jthreadGroup group, + jint* thread_count_ptr, + jthread** threads_ptr, + jint* group_count_ptr, + jthreadGroup** groups_ptr) { + return functions->GetThreadGroupChildren(this, group, thread_count_ptr, threads_ptr, group_count_ptr, groups_ptr); + } + + jvmtiError GetStackTrace(jthread thread, + jint start_depth, + jint max_frame_count, + jvmtiFrameInfo* frame_buffer, + jint* count_ptr) { + return functions->GetStackTrace(this, thread, start_depth, max_frame_count, frame_buffer, count_ptr); + } + + jvmtiError GetAllStackTraces(jint max_frame_count, + jvmtiStackInfo** stack_info_ptr, + jint* thread_count_ptr) { + return functions->GetAllStackTraces(this, max_frame_count, stack_info_ptr, thread_count_ptr); + } + + jvmtiError GetThreadListStackTraces(jint thread_count, + const jthread* thread_list, + jint max_frame_count, + jvmtiStackInfo** stack_info_ptr) { + return functions->GetThreadListStackTraces(this, thread_count, thread_list, max_frame_count, stack_info_ptr); + } + + jvmtiError GetFrameCount(jthread thread, + jint* count_ptr) { + return functions->GetFrameCount(this, thread, count_ptr); + } + + jvmtiError PopFrame(jthread thread) { + return functions->PopFrame(this, thread); + } + + jvmtiError GetFrameLocation(jthread thread, + jint depth, + jmethodID* method_ptr, + jlocation* location_ptr) { + return functions->GetFrameLocation(this, thread, depth, method_ptr, location_ptr); + } + + jvmtiError NotifyFramePop(jthread thread, + jint depth) { + return functions->NotifyFramePop(this, thread, depth); + } + + jvmtiError ForceEarlyReturnObject(jthread thread, + jobject value) { + return functions->ForceEarlyReturnObject(this, thread, value); + } + + jvmtiError ForceEarlyReturnInt(jthread thread, + jint value) { + return functions->ForceEarlyReturnInt(this, thread, value); + } + + jvmtiError ForceEarlyReturnLong(jthread thread, + jlong value) { + return functions->ForceEarlyReturnLong(this, thread, value); + } + + jvmtiError ForceEarlyReturnFloat(jthread thread, + jfloat value) { + return functions->ForceEarlyReturnFloat(this, thread, value); + } + + jvmtiError ForceEarlyReturnDouble(jthread thread, + jdouble value) { + return functions->ForceEarlyReturnDouble(this, thread, value); + } + + jvmtiError ForceEarlyReturnVoid(jthread thread) { + return functions->ForceEarlyReturnVoid(this, thread); + } + + jvmtiError FollowReferences(jint heap_filter, + jclass klass, + jobject initial_object, + const jvmtiHeapCallbacks* callbacks, + const void* user_data) { + return functions->FollowReferences(this, heap_filter, klass, initial_object, callbacks, user_data); + } + + jvmtiError IterateThroughHeap(jint heap_filter, + jclass klass, + const jvmtiHeapCallbacks* callbacks, + const void* user_data) { + return functions->IterateThroughHeap(this, heap_filter, klass, callbacks, user_data); + } + + jvmtiError GetTag(jobject object, + jlong* tag_ptr) { + return functions->GetTag(this, object, tag_ptr); + } + + jvmtiError SetTag(jobject object, + jlong tag) { + return functions->SetTag(this, object, tag); + } + + jvmtiError GetObjectsWithTags(jint tag_count, + const jlong* tags, + jint* count_ptr, + jobject** object_result_ptr, + jlong** tag_result_ptr) { + return functions->GetObjectsWithTags(this, tag_count, tags, count_ptr, object_result_ptr, tag_result_ptr); + } + + jvmtiError ForceGarbageCollection() { + return functions->ForceGarbageCollection(this); + } + + jvmtiError IterateOverObjectsReachableFromObject(jobject object, + jvmtiObjectReferenceCallback object_reference_callback, + const void* user_data) { + return functions->IterateOverObjectsReachableFromObject(this, object, object_reference_callback, user_data); + } + + jvmtiError IterateOverReachableObjects(jvmtiHeapRootCallback heap_root_callback, + jvmtiStackReferenceCallback stack_ref_callback, + jvmtiObjectReferenceCallback object_ref_callback, + const void* user_data) { + return functions->IterateOverReachableObjects(this, heap_root_callback, stack_ref_callback, object_ref_callback, user_data); + } + + jvmtiError IterateOverHeap(jvmtiHeapObjectFilter object_filter, + jvmtiHeapObjectCallback heap_object_callback, + const void* user_data) { + return functions->IterateOverHeap(this, object_filter, heap_object_callback, user_data); + } + + jvmtiError IterateOverInstancesOfClass(jclass klass, + jvmtiHeapObjectFilter object_filter, + jvmtiHeapObjectCallback heap_object_callback, + const void* user_data) { + return functions->IterateOverInstancesOfClass(this, klass, object_filter, heap_object_callback, user_data); + } + + jvmtiError GetLocalObject(jthread thread, + jint depth, + jint slot, + jobject* value_ptr) { + return functions->GetLocalObject(this, thread, depth, slot, value_ptr); + } + + jvmtiError GetLocalInstance(jthread thread, + jint depth, + jobject* value_ptr) { + return functions->GetLocalInstance(this, thread, depth, value_ptr); + } + + jvmtiError GetLocalInt(jthread thread, + jint depth, + jint slot, + jint* value_ptr) { + return functions->GetLocalInt(this, thread, depth, slot, value_ptr); + } + + jvmtiError GetLocalLong(jthread thread, + jint depth, + jint slot, + jlong* value_ptr) { + return functions->GetLocalLong(this, thread, depth, slot, value_ptr); + } + + jvmtiError GetLocalFloat(jthread thread, + jint depth, + jint slot, + jfloat* value_ptr) { + return functions->GetLocalFloat(this, thread, depth, slot, value_ptr); + } + + jvmtiError GetLocalDouble(jthread thread, + jint depth, + jint slot, + jdouble* value_ptr) { + return functions->GetLocalDouble(this, thread, depth, slot, value_ptr); + } + + jvmtiError SetLocalObject(jthread thread, + jint depth, + jint slot, + jobject value) { + return functions->SetLocalObject(this, thread, depth, slot, value); + } + + jvmtiError SetLocalInt(jthread thread, + jint depth, + jint slot, + jint value) { + return functions->SetLocalInt(this, thread, depth, slot, value); + } + + jvmtiError SetLocalLong(jthread thread, + jint depth, + jint slot, + jlong value) { + return functions->SetLocalLong(this, thread, depth, slot, value); + } + + jvmtiError SetLocalFloat(jthread thread, + jint depth, + jint slot, + jfloat value) { + return functions->SetLocalFloat(this, thread, depth, slot, value); + } + + jvmtiError SetLocalDouble(jthread thread, + jint depth, + jint slot, + jdouble value) { + return functions->SetLocalDouble(this, thread, depth, slot, value); + } + + jvmtiError SetBreakpoint(jmethodID method, + jlocation location) { + return functions->SetBreakpoint(this, method, location); + } + + jvmtiError ClearBreakpoint(jmethodID method, + jlocation location) { + return functions->ClearBreakpoint(this, method, location); + } + + jvmtiError SetFieldAccessWatch(jclass klass, + jfieldID field) { + return functions->SetFieldAccessWatch(this, klass, field); + } + + jvmtiError ClearFieldAccessWatch(jclass klass, + jfieldID field) { + return functions->ClearFieldAccessWatch(this, klass, field); + } + + jvmtiError SetFieldModificationWatch(jclass klass, + jfieldID field) { + return functions->SetFieldModificationWatch(this, klass, field); + } + + jvmtiError ClearFieldModificationWatch(jclass klass, + jfieldID field) { + return functions->ClearFieldModificationWatch(this, klass, field); + } + + jvmtiError GetLoadedClasses(jint* class_count_ptr, + jclass** classes_ptr) { + return functions->GetLoadedClasses(this, class_count_ptr, classes_ptr); + } + + jvmtiError GetClassLoaderClasses(jobject initiating_loader, + jint* class_count_ptr, + jclass** classes_ptr) { + return functions->GetClassLoaderClasses(this, initiating_loader, class_count_ptr, classes_ptr); + } + + jvmtiError GetClassSignature(jclass klass, + char** signature_ptr, + char** generic_ptr) { + return functions->GetClassSignature(this, klass, signature_ptr, generic_ptr); + } + + jvmtiError GetClassStatus(jclass klass, + jint* status_ptr) { + return functions->GetClassStatus(this, klass, status_ptr); + } + + jvmtiError GetSourceFileName(jclass klass, + char** source_name_ptr) { + return functions->GetSourceFileName(this, klass, source_name_ptr); + } + + jvmtiError GetClassModifiers(jclass klass, + jint* modifiers_ptr) { + return functions->GetClassModifiers(this, klass, modifiers_ptr); + } + + jvmtiError GetClassMethods(jclass klass, + jint* method_count_ptr, + jmethodID** methods_ptr) { + return functions->GetClassMethods(this, klass, method_count_ptr, methods_ptr); + } + + jvmtiError GetClassFields(jclass klass, + jint* field_count_ptr, + jfieldID** fields_ptr) { + return functions->GetClassFields(this, klass, field_count_ptr, fields_ptr); + } + + jvmtiError GetImplementedInterfaces(jclass klass, + jint* interface_count_ptr, + jclass** interfaces_ptr) { + return functions->GetImplementedInterfaces(this, klass, interface_count_ptr, interfaces_ptr); + } + + jvmtiError GetClassVersionNumbers(jclass klass, + jint* minor_version_ptr, + jint* major_version_ptr) { + return functions->GetClassVersionNumbers(this, klass, minor_version_ptr, major_version_ptr); + } + + jvmtiError GetConstantPool(jclass klass, + jint* constant_pool_count_ptr, + jint* constant_pool_byte_count_ptr, + unsigned char** constant_pool_bytes_ptr) { + return functions->GetConstantPool(this, klass, constant_pool_count_ptr, constant_pool_byte_count_ptr, constant_pool_bytes_ptr); + } + + jvmtiError IsInterface(jclass klass, + jboolean* is_interface_ptr) { + return functions->IsInterface(this, klass, is_interface_ptr); + } + + jvmtiError IsArrayClass(jclass klass, + jboolean* is_array_class_ptr) { + return functions->IsArrayClass(this, klass, is_array_class_ptr); + } + + jvmtiError IsModifiableClass(jclass klass, + jboolean* is_modifiable_class_ptr) { + return functions->IsModifiableClass(this, klass, is_modifiable_class_ptr); + } + + jvmtiError GetClassLoader(jclass klass, + jobject* classloader_ptr) { + return functions->GetClassLoader(this, klass, classloader_ptr); + } + + jvmtiError GetSourceDebugExtension(jclass klass, + char** source_debug_extension_ptr) { + return functions->GetSourceDebugExtension(this, klass, source_debug_extension_ptr); + } + + jvmtiError RetransformClasses(jint class_count, + const jclass* classes) { + return functions->RetransformClasses(this, class_count, classes); + } + + jvmtiError RedefineClasses(jint class_count, + const jvmtiClassDefinition* class_definitions) { + return functions->RedefineClasses(this, class_count, class_definitions); + } + + jvmtiError GetObjectSize(jobject object, + jlong* size_ptr) { + return functions->GetObjectSize(this, object, size_ptr); + } + + jvmtiError GetObjectHashCode(jobject object, + jint* hash_code_ptr) { + return functions->GetObjectHashCode(this, object, hash_code_ptr); + } + + jvmtiError GetObjectMonitorUsage(jobject object, + jvmtiMonitorUsage* info_ptr) { + return functions->GetObjectMonitorUsage(this, object, info_ptr); + } + + jvmtiError GetFieldName(jclass klass, + jfieldID field, + char** name_ptr, + char** signature_ptr, + char** generic_ptr) { + return functions->GetFieldName(this, klass, field, name_ptr, signature_ptr, generic_ptr); + } + + jvmtiError GetFieldDeclaringClass(jclass klass, + jfieldID field, + jclass* declaring_class_ptr) { + return functions->GetFieldDeclaringClass(this, klass, field, declaring_class_ptr); + } + + jvmtiError GetFieldModifiers(jclass klass, + jfieldID field, + jint* modifiers_ptr) { + return functions->GetFieldModifiers(this, klass, field, modifiers_ptr); + } + + jvmtiError IsFieldSynthetic(jclass klass, + jfieldID field, + jboolean* is_synthetic_ptr) { + return functions->IsFieldSynthetic(this, klass, field, is_synthetic_ptr); + } + + jvmtiError GetMethodName(jmethodID method, + char** name_ptr, + char** signature_ptr, + char** generic_ptr) { + return functions->GetMethodName(this, method, name_ptr, signature_ptr, generic_ptr); + } + + jvmtiError GetMethodDeclaringClass(jmethodID method, + jclass* declaring_class_ptr) { + return functions->GetMethodDeclaringClass(this, method, declaring_class_ptr); + } + + jvmtiError GetMethodModifiers(jmethodID method, + jint* modifiers_ptr) { + return functions->GetMethodModifiers(this, method, modifiers_ptr); + } + + jvmtiError GetMaxLocals(jmethodID method, + jint* max_ptr) { + return functions->GetMaxLocals(this, method, max_ptr); + } + + jvmtiError GetArgumentsSize(jmethodID method, + jint* size_ptr) { + return functions->GetArgumentsSize(this, method, size_ptr); + } + + jvmtiError GetLineNumberTable(jmethodID method, + jint* entry_count_ptr, + jvmtiLineNumberEntry** table_ptr) { + return functions->GetLineNumberTable(this, method, entry_count_ptr, table_ptr); + } + + jvmtiError GetMethodLocation(jmethodID method, + jlocation* start_location_ptr, + jlocation* end_location_ptr) { + return functions->GetMethodLocation(this, method, start_location_ptr, end_location_ptr); + } + + jvmtiError GetLocalVariableTable(jmethodID method, + jint* entry_count_ptr, + jvmtiLocalVariableEntry** table_ptr) { + return functions->GetLocalVariableTable(this, method, entry_count_ptr, table_ptr); + } + + jvmtiError GetBytecodes(jmethodID method, + jint* bytecode_count_ptr, + unsigned char** bytecodes_ptr) { + return functions->GetBytecodes(this, method, bytecode_count_ptr, bytecodes_ptr); + } + + jvmtiError IsMethodNative(jmethodID method, + jboolean* is_native_ptr) { + return functions->IsMethodNative(this, method, is_native_ptr); + } + + jvmtiError IsMethodSynthetic(jmethodID method, + jboolean* is_synthetic_ptr) { + return functions->IsMethodSynthetic(this, method, is_synthetic_ptr); + } + + jvmtiError IsMethodObsolete(jmethodID method, + jboolean* is_obsolete_ptr) { + return functions->IsMethodObsolete(this, method, is_obsolete_ptr); + } + + jvmtiError SetNativeMethodPrefix(const char* prefix) { + return functions->SetNativeMethodPrefix(this, prefix); + } + + jvmtiError SetNativeMethodPrefixes(jint prefix_count, + char** prefixes) { + return functions->SetNativeMethodPrefixes(this, prefix_count, prefixes); + } + + jvmtiError CreateRawMonitor(const char* name, + jrawMonitorID* monitor_ptr) { + return functions->CreateRawMonitor(this, name, monitor_ptr); + } + + jvmtiError DestroyRawMonitor(jrawMonitorID monitor) { + return functions->DestroyRawMonitor(this, monitor); + } + + jvmtiError RawMonitorEnter(jrawMonitorID monitor) { + return functions->RawMonitorEnter(this, monitor); + } + + jvmtiError RawMonitorExit(jrawMonitorID monitor) { + return functions->RawMonitorExit(this, monitor); + } + + jvmtiError RawMonitorWait(jrawMonitorID monitor, + jlong millis) { + return functions->RawMonitorWait(this, monitor, millis); + } + + jvmtiError RawMonitorNotify(jrawMonitorID monitor) { + return functions->RawMonitorNotify(this, monitor); + } + + jvmtiError RawMonitorNotifyAll(jrawMonitorID monitor) { + return functions->RawMonitorNotifyAll(this, monitor); + } + + jvmtiError SetJNIFunctionTable(const jniNativeInterface* function_table) { + return functions->SetJNIFunctionTable(this, function_table); + } + + jvmtiError GetJNIFunctionTable(jniNativeInterface** function_table) { + return functions->GetJNIFunctionTable(this, function_table); + } + + jvmtiError SetEventCallbacks(const jvmtiEventCallbacks* callbacks, + jint size_of_callbacks) { + return functions->SetEventCallbacks(this, callbacks, size_of_callbacks); + } + + jvmtiError SetEventNotificationMode(jvmtiEventMode mode, + jvmtiEvent event_type, + jthread event_thread, + ...) { + return functions->SetEventNotificationMode(this, mode, event_type, event_thread); + } + + jvmtiError GenerateEvents(jvmtiEvent event_type) { + return functions->GenerateEvents(this, event_type); + } + + jvmtiError GetExtensionFunctions(jint* extension_count_ptr, + jvmtiExtensionFunctionInfo** extensions) { + return functions->GetExtensionFunctions(this, extension_count_ptr, extensions); + } + + jvmtiError GetExtensionEvents(jint* extension_count_ptr, + jvmtiExtensionEventInfo** extensions) { + return functions->GetExtensionEvents(this, extension_count_ptr, extensions); + } + + jvmtiError SetExtensionEventCallback(jint extension_event_index, + jvmtiExtensionEvent callback) { + return functions->SetExtensionEventCallback(this, extension_event_index, callback); + } + + jvmtiError GetPotentialCapabilities(jvmtiCapabilities* capabilities_ptr) { + return functions->GetPotentialCapabilities(this, capabilities_ptr); + } + + jvmtiError AddCapabilities(const jvmtiCapabilities* capabilities_ptr) { + return functions->AddCapabilities(this, capabilities_ptr); + } + + jvmtiError RelinquishCapabilities(const jvmtiCapabilities* capabilities_ptr) { + return functions->RelinquishCapabilities(this, capabilities_ptr); + } + + jvmtiError GetCapabilities(jvmtiCapabilities* capabilities_ptr) { + return functions->GetCapabilities(this, capabilities_ptr); + } + + jvmtiError GetCurrentThreadCpuTimerInfo(jvmtiTimerInfo* info_ptr) { + return functions->GetCurrentThreadCpuTimerInfo(this, info_ptr); + } + + jvmtiError GetCurrentThreadCpuTime(jlong* nanos_ptr) { + return functions->GetCurrentThreadCpuTime(this, nanos_ptr); + } + + jvmtiError GetThreadCpuTimerInfo(jvmtiTimerInfo* info_ptr) { + return functions->GetThreadCpuTimerInfo(this, info_ptr); + } + + jvmtiError GetThreadCpuTime(jthread thread, + jlong* nanos_ptr) { + return functions->GetThreadCpuTime(this, thread, nanos_ptr); + } + + jvmtiError GetTimerInfo(jvmtiTimerInfo* info_ptr) { + return functions->GetTimerInfo(this, info_ptr); + } + + jvmtiError GetTime(jlong* nanos_ptr) { + return functions->GetTime(this, nanos_ptr); + } + + jvmtiError GetAvailableProcessors(jint* processor_count_ptr) { + return functions->GetAvailableProcessors(this, processor_count_ptr); + } + + jvmtiError AddToBootstrapClassLoaderSearch(const char* segment) { + return functions->AddToBootstrapClassLoaderSearch(this, segment); + } + + jvmtiError AddToSystemClassLoaderSearch(const char* segment) { + return functions->AddToSystemClassLoaderSearch(this, segment); + } + + jvmtiError GetSystemProperties(jint* count_ptr, + char*** property_ptr) { + return functions->GetSystemProperties(this, count_ptr, property_ptr); + } + + jvmtiError GetSystemProperty(const char* property, + char** value_ptr) { + return functions->GetSystemProperty(this, property, value_ptr); + } + + jvmtiError SetSystemProperty(const char* property, + const char* value) { + return functions->SetSystemProperty(this, property, value); + } + + jvmtiError GetPhase(jvmtiPhase* phase_ptr) { + return functions->GetPhase(this, phase_ptr); + } + + jvmtiError DisposeEnvironment() { + return functions->DisposeEnvironment(this); + } + + jvmtiError SetEnvironmentLocalStorage(const void* data) { + return functions->SetEnvironmentLocalStorage(this, data); + } + + jvmtiError GetEnvironmentLocalStorage(void** data_ptr) { + return functions->GetEnvironmentLocalStorage(this, data_ptr); + } + + jvmtiError GetVersionNumber(jint* version_ptr) { + return functions->GetVersionNumber(this, version_ptr); + } + + jvmtiError GetErrorName(jvmtiError error, + char** name_ptr) { + return functions->GetErrorName(this, error, name_ptr); + } + + jvmtiError SetVerboseFlag(jvmtiVerboseFlag flag, + jboolean value) { + return functions->SetVerboseFlag(this, flag, value); + } + + jvmtiError GetJLocationFormat(jvmtiJlocationFormat* format_ptr) { + return functions->GetJLocationFormat(this, format_ptr); + } + +#endif /* __cplusplus */ +}; + + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#endif /* !_JAVA_JVMTI_H_ */ + diff --git a/Java-Visualizer/java/include/jvmticmlr.h b/Java-Visualizer/java/include/jvmticmlr.h new file mode 100644 index 00000000..a9c88f36 --- /dev/null +++ b/Java-Visualizer/java/include/jvmticmlr.h @@ -0,0 +1,115 @@ +/* + * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +/* + * This header file defines the data structures sent by the VM + * through the JVMTI CompiledMethodLoad callback function via the + * "void * compile_info" parameter. The memory pointed to by the + * compile_info parameter may not be referenced after returning from + * the CompiledMethodLoad callback. These are VM implementation + * specific data structures that may evolve in future releases. A + * JVMTI agent should interpret a non-NULL compile_info as a pointer + * to a region of memory containing a list of records. In a typical + * usage scenario, a JVMTI agent would cast each record to a + * jvmtiCompiledMethodLoadRecordHeader, a struct that represents + * arbitrary information. This struct contains a kind field to indicate + * the kind of information being passed, and a pointer to the next + * record. If the kind field indicates inlining information, then the + * agent would cast the record to a jvmtiCompiledMethodLoadInlineRecord. + * This record contains an array of PCStackInfo structs, which indicate + * for every pc address what are the methods on the invocation stack. + * The "methods" and "bcis" fields in each PCStackInfo struct specify a + * 1-1 mapping between these inlined methods and their bytecode indices. + * This can be used to derive the proper source lines of the inlined + * methods. + */ + +#ifndef _JVMTI_CMLR_H_ +#define _JVMTI_CMLR_H_ + +enum { + JVMTI_CMLR_MAJOR_VERSION_1 = 0x00000001, + JVMTI_CMLR_MINOR_VERSION_0 = 0x00000000, + + JVMTI_CMLR_MAJOR_VERSION = 0x00000001, + JVMTI_CMLR_MINOR_VERSION = 0x00000000 + + /* + * This comment is for the "JDK import from HotSpot" sanity check: + * version: 1.0.0 + */ +}; + +typedef enum { + JVMTI_CMLR_DUMMY = 1, + JVMTI_CMLR_INLINE_INFO = 2 +} jvmtiCMLRKind; + +/* + * Record that represents arbitrary information passed through JVMTI + * CompiledMethodLoadEvent void pointer. + */ +typedef struct _jvmtiCompiledMethodLoadRecordHeader { + jvmtiCMLRKind kind; /* id for the kind of info passed in the record */ + jint majorinfoversion; /* major and minor info version values. Init'ed */ + jint minorinfoversion; /* to current version value in jvmtiExport.cpp. */ + + struct _jvmtiCompiledMethodLoadRecordHeader* next; +} jvmtiCompiledMethodLoadRecordHeader; + +/* + * Record that gives information about the methods on the compile-time + * stack at a specific pc address of a compiled method. Each element in + * the methods array maps to same element in the bcis array. + */ +typedef struct _PCStackInfo { + void* pc; /* the pc address for this compiled method */ + jint numstackframes; /* number of methods on the stack */ + jmethodID* methods; /* array of numstackframes method ids */ + jint* bcis; /* array of numstackframes bytecode indices */ +} PCStackInfo; + +/* + * Record that contains inlining information for each pc address of + * an nmethod. + */ +typedef struct _jvmtiCompiledMethodLoadInlineRecord { + jvmtiCompiledMethodLoadRecordHeader header; /* common header for casting */ + jint numpcs; /* number of pc descriptors in this nmethod */ + PCStackInfo* pcinfo; /* array of numpcs pc descriptors */ +} jvmtiCompiledMethodLoadInlineRecord; + +/* + * Dummy record used to test that we can pass records with different + * information through the void pointer provided that they can be cast + * to a jvmtiCompiledMethodLoadRecordHeader. + */ + +typedef struct _jvmtiCompiledMethodLoadDummyRecord { + jvmtiCompiledMethodLoadRecordHeader header; /* common header for casting */ + char message[50]; +} jvmtiCompiledMethodLoadDummyRecord; + +#endif diff --git a/Java-Visualizer/java/include/linux/jawt_md.h b/Java-Visualizer/java/include/linux/jawt_md.h new file mode 100644 index 00000000..825142ca --- /dev/null +++ b/Java-Visualizer/java/include/linux/jawt_md.h @@ -0,0 +1,61 @@ +/* + * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +#ifndef _JAVASOFT_JAWT_MD_H_ +#define _JAVASOFT_JAWT_MD_H_ + +#include +#include +#include +#include "jawt.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * X11-specific declarations for AWT native interface. + * See notes in jawt.h for an example of use. + */ +typedef struct jawt_X11DrawingSurfaceInfo { + Drawable drawable; + Display* display; + VisualID visualID; + Colormap colormapID; + int depth; + /* + * Since 1.4 + * Returns a pixel value from a set of RGB values. + * This is useful for paletted color (256 color) modes. + */ + int (JNICALL *GetAWTColor)(JAWT_DrawingSurface* ds, + int r, int g, int b); +} JAWT_X11DrawingSurfaceInfo; + +#ifdef __cplusplus +} +#endif + +#endif /* !_JAVASOFT_JAWT_MD_H_ */ diff --git a/Java-Visualizer/java/include/linux/jni_md.h b/Java-Visualizer/java/include/linux/jni_md.h new file mode 100644 index 00000000..9438dc32 --- /dev/null +++ b/Java-Visualizer/java/include/linux/jni_md.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) 1996, 2000, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +#ifndef _JAVASOFT_JNI_MD_H_ +#define _JAVASOFT_JNI_MD_H_ + +#define JNIEXPORT +#define JNIIMPORT +#define JNICALL + +typedef int jint; +#ifdef _LP64 /* 64-bit Solaris */ +typedef long jlong; +#else +typedef long long jlong; +#endif + +typedef signed char jbyte; + +#endif /* !_JAVASOFT_JNI_MD_H_ */ diff --git a/Java-Visualizer/java/jre/COPYRIGHT b/Java-Visualizer/java/jre/COPYRIGHT new file mode 100644 index 00000000..9fe10bfc --- /dev/null +++ b/Java-Visualizer/java/jre/COPYRIGHT @@ -0,0 +1,70 @@ +Copyright © 1993, 2015, Oracle and/or its affiliates. +All rights reserved. + +This software and related documentation are provided under a +license agreement containing restrictions on use and +disclosure and are protected by intellectual property laws. +Except as expressly permitted in your license agreement or +allowed by law, you may not use, copy, reproduce, translate, +broadcast, modify, license, transmit, distribute, exhibit, +perform, publish, or display any part, in any form, or by +any means. Reverse engineering, disassembly, or +decompilation of this software, unless required by law for +interoperability, is prohibited. + +The information contained herein is subject to change +without notice and is not warranted to be error-free. If +you find any errors, please report them to us in writing. + +If this is software or related software documentation that +is delivered to the U.S. Government or anyone licensing it +on behalf of the U.S. Government, the following notice is +applicable: + +U.S. GOVERNMENT RIGHTS Programs, software, databases, and +related documentation and technical data delivered to U.S. +Government customers are "commercial computer software" or +"commercial technical data" pursuant to the applicable +Federal Acquisition Regulation and agency-specific +supplemental regulations. As such, the use, duplication, +disclosure, modification, and adaptation shall be subject to +the restrictions and license terms set forth in the +applicable Government contract, and, to the extent +applicable by the terms of the Government contract, the +additional rights set forth in FAR 52.227-19, Commercial +Computer Software License (December 2007). Oracle America, +Inc., 500 Oracle Parkway, Redwood City, CA 94065. + +This software or hardware is developed for general use in a +variety of information management applications. It is not +developed or intended for use in any inherently dangerous +applications, including applications which may create a risk +of personal injury. If you use this software or hardware in +dangerous applications, then you shall be responsible to +take all appropriate fail-safe, backup, redundancy, and +other measures to ensure its safe use. Oracle Corporation +and its affiliates disclaim any liability for any damages +caused by use of this software or hardware in dangerous +applications. + +Oracle and Java are registered trademarks of Oracle and/or +its affiliates. Other names may be trademarks of their +respective owners. + +AMD, Opteron, the AMD logo, and the AMD Opteron logo are +trademarks or registered trademarks of Advanced Micro +Devices. Intel and Intel Xeon are trademarks or registered +trademarks of Intel Corporation. All SPARC trademarks are +used under license and are trademarks or registered +trademarks of SPARC International, Inc. UNIX is a +registered trademark licensed through X/Open Company, Ltd. + +This software or hardware and documentation may provide +access to or information on content, products, and services +from third parties. Oracle Corporation and its affiliates +are not responsible for and expressly disclaim all +warranties of any kind with respect to third-party content, +products, and services. Oracle Corporation and its +affiliates will not be responsible for any loss, costs, or +damages incurred due to your access to or use of third-party +content, products, or services. diff --git a/Java-Visualizer/java/jre/LICENSE b/Java-Visualizer/java/jre/LICENSE new file mode 100644 index 00000000..39e216aa --- /dev/null +++ b/Java-Visualizer/java/jre/LICENSE @@ -0,0 +1 @@ +Please refer to http://java.com/license diff --git a/Java-Visualizer/java/jre/README b/Java-Visualizer/java/jre/README new file mode 100644 index 00000000..cdb30f2c --- /dev/null +++ b/Java-Visualizer/java/jre/README @@ -0,0 +1 @@ +Please refer to http://java.com/licensereadme diff --git a/Java-Visualizer/java/jre/THIRDPARTYLICENSEREADME-JAVAFX.txt b/Java-Visualizer/java/jre/THIRDPARTYLICENSEREADME-JAVAFX.txt new file mode 100644 index 00000000..ff9bbd0f --- /dev/null +++ b/Java-Visualizer/java/jre/THIRDPARTYLICENSEREADME-JAVAFX.txt @@ -0,0 +1,1531 @@ +DO NOT TRANSLATE OR LOCALIZE + +*************************************************************************** + +%%The following software may be included in this product: +Microsoft DirectShow - Base Classes + +Use of any of this software is governed by the terms of the license below: + +MSDN - Information on Terms of Use + +Updated: February 13, 2008 + +ON THIS PAGE + + * ACCEPTANCE OF TERMS + * PRIVACY AND PROTECTION OF PERSONAL INFORMATION + * NOTICE SPECIFIC TO APIs AVAILABLE ON THIS WEB SITE + * NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE + * NOTICE SPECIFIC TO DOCUMENTATION AVAILABLE ON THIS WEB SITE + * NOTICES REGARDING SOFTWARE, DOCUMENTATION, APIS AND SERVICES AVAILABLE ON +THIS WEB SITE + * RESERVATION OF RIGHTS + * MEMBER ACCOUNT, PASSWORD, AND SECURITY + * NO UNLAWFUL OR PROHIBITED USE + * USE OF SERVICES + * MATERIALS PROVIDED TO MICROSOFT OR POSTED AT ANY MICROSOFT WEB SITE + * NOTICES AND PROCEDURE FOR MAKING CLAIMS OF COPYRIGHT INFRINGEMENT + * LINKS TO THIRD PARTY SITES + * UNSOLICITED IDEA SUBMISSION POLICY + * COPYRIGHT NOTICE & FAQ + * TRADEMARKS + +ACCEPTANCE OF TERMS. + +Microsoft provides you with access to a variety of resources on this website +(“Web Siteâ€), including documentation and other product information +(collectively the “Documentationâ€), download areas, communication forums, and +other services (collectively "Services"), software, including developer tools +and sample code (collectively “Softwareâ€), and Application Program Interface +information (“APIsâ€). The Documentation, Services, Software, and APIs +(including any updates, enhancements, new features, and/or the addition of any +new Web properties to the Web Site), are subject to the following Terms of Use +("TOU"), unless we have provided those items to you under more specific terms, +in which case, those more specific terms will apply to the relevant item. +Microsoft reserves the right to update the TOU at any time without notice to +you. The most current version of the TOU can be reviewed by clicking on the +"Terms of Use" hypertext link located at the bottom of our Web pages. + +Top of page +PRIVACY AND PROTECTION OF PERSONAL INFORMATION. + +See the Privacy Statement disclosures relating to the collection and use of your +information. + +Top of page +NOTICE SPECIFIC TO APIS AVAILABLE ON THIS WEB SITE. + +Microsoft publishes information on a number of APIs on this Web Site. Microsoft +will not assert any of its patent rights on account of your products calling +these APIs in order to receive services from the Microsoft product that exposes +the APIs. + +Top of page +NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE. + +All Software is the copyrighted work of Microsoft and/or its suppliers. Use of +the Software is governed by the terms of the end user license agreement, if any, +which accompanies or is included with the Software ("License Agreement"). + +If Microsoft makes Software available on this Web Site without a License +Agreement, you may use such Software to design, develop and test your programs +to run on Microsoft products and services. + +If Microsoft makes any code marked as “sample†available on this Web Site +without a License Agreement, then that code is licensed to you under the terms +of the Microsoft Limited Public License. + +The Software is made available for download solely for use by end users +according to the License Agreement or these TOU. Any reproduction or +redistribution of the Software not in accordance with the License Agreement or +these TOU is expressly prohibited. + +WITHOUT LIMITING THE FOREGOING, COPYING OR REPRODUCTION OF THE SOFTWARE TO ANY +OTHER SERVER OR LOCATION FOR FURTHER REPRODUCTION OR REDISTRIBUTION IS EXPRESSLY +PROHIBITED, UNLESS SUCH REPRODUCTION OR REDISTRIBUTION IS EXPRESSLY PERMITTED BY +THE LICENSE AGREEMENT ACCOMPANYING SUCH SOFTWARE. + +FOR YOUR CONVENIENCE, MICROSOFT MAY MAKE AVAILABLE ON THIS WEB SITE, TOOLS AND +UTILITIES FOR USE AND/OR DOWNLOAD. MICROSOFT DOES NOT MAKE ANY ASSURANCES WITH +REGARD TO THE ACCURACY OF THE RESULTS OR OUTPUT THAT DERIVES FROM SUCH USE OF +ANY SUCH TOOLS AND UTILITIES. PLEASE RESPECT THE INTELLECTUAL PROPERTY RIGHTS OF +OTHERS WHEN USING THE TOOLS AND UTILITIES MADE AVAILABLE ON THIS WEB SITE. + +RESTRICTED RIGHTS LEGEND. Any Software which is downloaded from the Web Site for +or on behalf of the United States of America, its agencies and/or +instrumentalities ("U.S. Government"), is provided with Restricted Rights... Use, +duplication, or disclosure by the U.S. Government is subject to restrictions as +set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and +Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) +of the Commercial Computer Software - Restricted Rights at 48 CFR 52.227-19, as +applicable. Manufacturer is Microsoft Corporation, One Microsoft Way, Redmond, +WA 98052-6399. + +Top of page +NOTICE SPECIFIC TO DOCUMENTATION AVAILABLE ON THIS WEB SITE. + +All Documentation is the copyrighted work of Microsoft and/or its suppliers. Use +of the Documentation is governed by the terms of the license agreement, if any, +which accompanies or is included with the Documentation ("Documentation License +Agreement"). + +If Documentation is made available to you on this Web Site without a +Documentation License Agreement, then You may annotate, translate, and make a +reasonable number of copies of the Documentation for your internal use in +designing, developing, and testing your software, products and services, and you +may distribute a reasonable amount of portions of the Documentation as necessary +to document your software, products, and services. You may not publish any such +annotations or translations. You must preserve the below copyright notice in +all copies of the Documentation and ensure that both the copyright notice and +this permission notice appear in those copies. Accredited educational +institutions, such as K-12, universities, private/public colleges, and state +community colleges, may download and reproduce the Documentation for +distribution in the classroom. Distribution outside the classroom requires +express written permission. Use for any other purpose is expressly prohibited + +The Documentation does not include the design or layout of the Microsoft.com Web +site or any other Microsoft owned, operated, licensed or controlled site. +Elements of Microsoft Web sites are protected by trade dress, trademark, unfair +competition, and other laws and may not be copied or imitated in whole or in +part. No logo, graphic, sound or image from any Microsoft Web site may be copied +or retransmitted unless expressly permitted by Microsoft. + +THE DOCUMENTATION AND RELATED GRAPHICS PUBLISHED ON THE WEB SITE COULD INCLUDE +TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED +TO THE INFORMATION IN THIS WEB SITE. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS +MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) +DESCRIBED IN THIS WEB SITE AT ANY TIME. + +Top of page +NOTICES REGARDING SOFTWARE, DOCUMENTATION, APIS AND SERVICES AVAILABLE ON THIS +WEB SITE. + +THE SOFTWARE, DOCUMENTATION, APIS, AND SERVICES ARE WARRANTED, IF AT ALL, ONLY +ACCORDING TO THE TERMS OF ASEPARATE AGREEMENT THAT COVERS THE APPLICABLE +SOFTWARE, DOCUMENTATION, APIS, OR SERVICES. EXCEPT AS WARRANTED IN THAT SEPARATE +AGREEMENT (IF ANY), MICROSOFT CORPORATION HEREBY DISCLAIMS ALL WARRANTIES AND +CONDITIONS WITH REGARD TO THE SOFTWARE, DOCUMENTATION, APIS, AND SERVICES, +INCLUDING ALL WARRANTIES AND CONDITIONS OF MERCHANTABILITY, WHETHER EXPRESS, +IMPLIED OR STATUTORY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. + +IN NO EVENT SHALL MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS BE LIABLE FOR ANY +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING +FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF SOFTWARE, DOCUMENTATION, APIS, PROVISION OF OR FAILURE TO PROVIDE +SERVICES, OR INFORMATION AVAILABLE FROM ANY OF THE FOREGOING SOFTWARE, +DOCUMENTATION, APIS OR SERVICES. + +Top of page +RESERVATION OF RIGHTS. + +Microsoft reserves all rights not expressly granted under these TOU, and no +other rights are granted under these TOU by implication or estoppel or otherwise. + +Top of page +MEMBER ACCOUNT, PASSWORD, AND SECURITY. + +If any of the Services requires you to open an account, you must complete the +registration process by providing us with current, complete and accurate +information as prompted by the applicable registration form. You also will +choose a password and a user name. You are entirely responsible for maintaining +the confidentiality of your password and account. Furthermore, you are entirely +responsible for any and all activities that occur under your account. You agree +to notify Microsoft immediately of any unauthorized use of your account or any +other breach of security. Microsoft will not be liable for any loss that you may +incur as a result of someone else using your password or account, either with or +without your knowledge. However, you could be held liable for losses incurred by +Microsoft or another party due to someone else using your account or password. +You may not use anyone else's account at any time, without the permission of the +account holder. + +Top of page +NO UNLAWFUL OR PROHIBITED USE. + +As a condition of your use of the Services, you will not use the Services for +any purpose that is unlawful or prohibited by these terms, conditions, and +notices. You may not use the Services in any manner that could damage, disable, +overburden, or impair any Microsoft server, or the network(s) connected to any +Microsoft server, or interfere with any other party's use and enjoyment of any +Services. You may not attempt to gain unauthorized access to any Services, other +accounts, computer systems or networks connected to any Microsoft server or to +any of the Services, through hacking, password mining or any other means. You +may not obtain or attempt to obtain any materials or information through any +means not intentionally made available through the Services. + +Top of page +USE OF SERVICES. + +The Services may contain e-mail services, bulletin board services, chat areas, +news groups, forums, communities, personal web pages, calendars, photo albums, +file cabinets and/or other message or communication facilities designed to +enable you to communicate with others (each a "Communication Service" and +collectively "Communication Services"). You agree to use the Communication +Services only to post, send and receive messages and material that are proper +and, when applicable, related to the particular Communication Service. By way of +example, and not as a limitation, you agree that when using the Communication +Services, you will not: + + * Use the Communication Services in connection with surveys, contests, +pyramid schemes, chain letters, junk email, spamming or any duplicative or +unsolicited messages (commercial or otherwise). + * Defame, abuse, harass, stalk, threaten or otherwise violate the legal +rights (such as rights of privacy and publicity) of others. + * Publish, post, upload, distribute or disseminate any inappropriate, +profane, defamatory, obscene, indecent or unlawful topic, name, material or +information. + * Upload, or otherwise make available, files that contain images, +photographs, software or other material protected by intellectual property laws, +including, by way of example, and not as limitation, copyright or trademark laws +(or by rights of privacy or publicity) unless you own or control the rights +thereto or have received all necessary consent to do the same. + * Use any material or information, including images or photographs, which +are made available through the Services in any manner that infringes any +copyright, trademark, patent, trade secret, or other proprietary right of any party. + * Upload files that contain viruses, Trojan horses, worms, time bombs, +cancelbots, corrupted files, or any other similar software or programs that may +damage the operation of another's computer or property of another. + * Advertise or offer to sell or buy any goods or services for any business +purpose, unless such Communication Services specifically allows such messages. + * Download any file posted by another user of a Communication Service that +you know, or reasonably should know, cannot be legally reproduced, displayed, +performed, and/or distributed in such manner. + * Falsify or delete any copyright management information, such as author +attributions, legal or other proper notices or proprietary designations or +labels of the origin or source of software or other material contained in a file +that is uploaded. + * Restrict or inhibit any other user from using and enjoying the +Communication Services. + * Violate any code of conduct or other guidelines which may be applicable +for any particular Communication Service. + * Harvest or otherwise collect information about others, including e-mail +addresses. + * Violate any applicable laws or regulations. + * Create a false identity for the purpose of misleading others. + * Use, download or otherwise copy, or provide (whether or not for a fee) to +a person or entity any directory of users of the Services or other user or usage +information or any portion thereof. + +Microsoft has no obligation to monitor the Communication Services. However, +Microsoft reserves the right to review materials posted to the Communication +Services and to remove any materials in its sole discretion. Microsoft reserves +the right to terminate your access to any or all of the Communication Services +at any time, without notice, for any reason whatsoever. + +Microsoft reserves the right at all times to disclose any information as +Microsoft deems necessary to satisfy any applicable law, regulation, legal +process or governmental request, or to edit, refuse to post or to remove any +information or materials, in whole or in part, in Microsoft's sole discretion. + +Always use caution when giving out any personally identifiable information about +yourself or your children in any Communication Services. Microsoft does not +control or endorse the content, messages or information found in any +Communication Services and, therefore, Microsoft specifically disclaims any +liability with regard to the Communication Services and any actions resulting +from your participation in any Communication Services. Managers and hosts are +not authorized Microsoft spokespersons, and their views do not necessarily +reflect those of Microsoft. + +Materials uploaded to the Communication Services may be subject to posted +limitations on usage, reproduction and/or dissemination; you are responsible for +adhering to such limitations if you download the materials. + +Top of page +MATERIALS PROVIDED TO MICROSOFT OR POSTED AT ANY MICROSOFT WEB SITE. + +Microsoft does not claim ownership of the materials you provide to Microsoft +(including feedback and suggestions) or post, upload, input or submit to any +Services or its associated services for review by the general public, or by the +members of any public or private community, (each a "Submission" and +collectively "Submissions"). However, by posting, uploading, inputting, +providing or submitting ("Posting") your Submission you are granting Microsoft, +its affiliated companies, necessary sublicensees (including third parties whose +products , technologies and services use or interface with any specific parts of +a Microsoft software or service that includes the Submission) , without charge, +the right to use, share and commercialize your Submission in any way and for +any purpose. You will not give any Submission that is subject to a license that +requires Microsoft to license its software or documentation to third parties +because we include your Submission in them. + +Microsoft is under no obligation to post or use any Submission you may provide, +and Microsoft may remove any Submission at any time in its sole discretion. + +By Posting a Submission you warrant and represent that you own or otherwise +control all of the rights to your Submission as described in these TOU +including, without limitation, all the rights necessary for you to Post the +Submissions. + +In addition to the warranty and representation set forth above, by Posting a +Submission that contains images, photographs, pictures or that are otherwise +graphical in whole or in part ("Images"), you warrant and represent that (a) you +are the copyright owner of such Images, or that the copyright owner of such +Images has granted you permission to use such Images or any content and/or +images contained in such Images consistent with the manner and purpose of your +use and as otherwise permitted by these TOU, (b) you have the rights necessary +to grant the licenses and sublicenses described in these TOU, and (c) that each +person depicted in such Images, if any, has provided consent to the use of the +Images as set forth in these TOU, including, by way of example, and not as a +limitation, the distribution, public display and reproduction of such Images. By +Posting Images, you are granting (a) to all members of your private community +(for each such Images available to members of such private community), and/or +(b) to the general public (for each such Images available anywhere on the +Services or Web Site, other than a private community), permission to use your +Images in connection with the use, as permitted by these TOU, of any of the +Services or Web Site, (including, by way of example, and not as a limitation, +making prints and gift items which include such Images), and including, without +limitation, a non-exclusive, world-wide, royalty-free license to: copy, +distribute, transmit, publicly display, publicly perform, reproduce, edit, +translate and reformat your Images without having your name attached to such +Images, and the right to sublicense such rights to any supplier of the Services. +The licenses granted in the preceding sentences for a Images will terminate at +the time you completely remove such Images from the Services or Web Site, +provided that such termination shall not affect any licenses granted in +connection with such Images prior to the time you completely remove such Images. +No compensation will be paid with respect to the use of your Images. + +Top of page +NOTICES AND PROCEDURE FOR MAKING CLAIMS OF COPYRIGHT INFRINGEMENT. + +Pursuant to Title 17, United States Code, Section 512(c)(2), notifications of +claimed copyright infringement should be sent to Service Provider's Designated +Agent. ALL INQUIRIES NOT RELEVANT TO THE FOLLOWING PROCEDURE WILL NOT RECEIVE A +RESPONSE. + +See Notice and Procedure for Making Claims of Copyright Infringement. + +Top of page +LINKS TO THIRD PARTY SITES. + +THE LINKS IN THIS AREA WILL LET YOU LEAVE MICROSOFT'S SITE. THE LINKED SITES ARE +NOT UNDER THE CONTROL OF MICROSOFT AND MICROSOFT IS NOT RESPONSIBLE FOR THE +CONTENTS OF ANY LINKED SITE OR ANY LINK CONTAINED IN A LINKED SITE, OR ANY +CHANGES OR UPDATES TO SUCH SITES. MICROSOFT IS NOT RESPONSIBLE FOR WEBCASTING OR +ANY OTHER FORM OF TRANSMISSION RECEIVED FROM ANY LINKED SITE. MICROSOFT IS +PROVIDING THESE LINKS TO YOU ONLY AS A CONVENIENCE, AND THE INCLUSION OF ANY +LINK DOES NOT IMPLY ENDORSEMENT BY MICROSOFT OF THE SITE. + +Top of page +UNSOLICITED IDEA SUBMISSION POLICY. + +MICROSOFT OR ANY OF ITS EMPLOYEES DO NOT ACCEPT OR CONSIDER UNSOLICITED IDEAS, +INCLUDING IDEAS FOR NEW ADVERTISING CAMPAIGNS, NEW PROMOTIONS, NEW PRODUCTS OR +TECHNOLOGIES, PROCESSES, MATERIALS, MARKETING PLANS OR NEW PRODUCT NAMES. PLEASE +DO NOT SEND ANY ORIGINAL CREATIVE ARTWORK, SAMPLES, DEMOS, OR OTHER WORKS... THE +SOLE PURPOSE OF THIS POLICY IS TO AVOID POTENTIAL MISUNDERSTANDINGS OR DISPUTES +WHEN MICROSOFT'S PRODUCTS OR MARKETING STRATEGIES MIGHT SEEM SIMILAR TO IDEAS +SUBMITTED TO MICROSOFT. SO, PLEASE DO NOT SEND YOUR UNSOLICITED IDEAS TO +MICROSOFT OR ANYONE AT MICROSOFT. IF, DESPITE OUR REQUEST THAT YOU NOT SEND US +YOUR IDEAS AND MATERIALS, YOU STILL SEND THEM, PLEASE UNDERSTAND THAT MICROSOFT +MAKES NO ASSURANCES THAT YOUR IDEAS AND MATERIALS WILL BE TREATED AS +CONFIDENTIAL OR PROPRIETARY. + +Top of page +COPYRIGHT NOTICE & FAQ. + +© 2008 Microsoft Corporation. All rights reserved. + +The following is provided for informational purposes only and should not be +construed as legal advice. If you need legal advice, contact a lawyer. + +What is copyright? + +Copyright law protects original works, such as websites, books, music, +paintings, photos and video. A work is “original†if it contains some elements +you created and did not borrow from others. Typically, when you create an +original work, you own the copyright. As the copyright owner, you can control +how others use your work. For example, if you write a movie script, you have the +right to, and can prevent others from, copying your script, sharing it with +others (“distributing itâ€), making a movie or book from your script (a +“derivative workâ€), or publicly performing your script as a play or movie. You +also have the ability to sell or give away these rights. In other words, you +could sell the right to make a movie based on your script to a movie studio. + +If you use someone else’s copyrighted materials without permission, that use +generally violates the copyright owner's exclusive rights, and is copyright +infringement. So if you create a new work and include parts of other people’s +works in it (such as an existing photo, lengthy quotes from a book or a loop +from a song), you must own or have permission to use the elements you borrow. +For example, if your script is based on an existing popular series, you should +obtain permission to use the elements you borrow from the series. + +Copyright law is different from the law of personal property. If you buy a +physical object, such as a movie on DVD, you own the physical object. You do +not, however, obtain ownership of the “copyrights†(the rights to make copies, +distribute, make derivatives and publicly perform or display) in the content of +the movie. The fact that you have obtained physical possession of a DVD does not +automatically grant you the right to copy or share it. + +If you make your own movie, it may include many copyrighted works in it. So, if +you decide to make a movie based on your script, you must either create all +elements of it on your own, or have permission to use the elements you borrow. +Especially keep in mind that photos or artwork hanging on the walls of your sets +and music on the soundtrack (even if you own the CD or MP3) may be copyrighted. +You should not include copyrighted works such as these in your movie without +authorization. + +A few other things to keep in mind are: + + 1. Just because a work does not include a copyright notice (e.g., © 2006 +Microsoft Corporation) does not mean the work is in the public domain. Copyright +notices are generally not required for works to be protected by copyright. + 2. Just because a work is easily available on the internet or elsewhere does +not mean you may use the work freely. Look for terms of use, such as Creative +Commons, that explain how works you find on the Internet may be used. + +Isn't it in the public domain? + +Just because a work is freely available, does not mean it is in the “public +domain.†Copyright is for a limited term; it does not last forever. In the +copyright context, “public domain†means the copyright term has expired. Once a +work is in the public domain, it may be freely used without permission from the +copyright owner. + +Determining the term of copyright can be complex, particularly because copyright +laws vary from country to country. Also, even if the copyright on a work has +expired, you should be careful about how you use a public domain work. For +example, a book may be in the public domain, but it might not be ok to scan the +book cover to cover and post it on the internet. This is because the particular +version of the book may contain new copyrightable material that is not in the +public domain, such as cover art or footnotes. + +What about fair use? + +In limited situations, you can use copyrighted works without permission from the +copyright holder. It can be difficult to figure out whether use of copyrighted +works without permission is legal, though, because the laws in this area are +often vague and vary from country to country. + +The copyright law in the United States has a doctrine called “fair useâ€. Fair +use provides a defense to copyright infringement in some circumstances. For +example, fair use allows documentary filmmakers to use very short clips of +copyrighted movies, music and news footage without permission from the copyright +owner. Fair use is a difficult concept because determining whether something is +a fair use involves weighing four factors. Unfortunately, weighing the fair use +factors rarely results in a clear-cut answer. + +Rather than applying a fair use test, many other countries have specific +exceptions to copyright infringement. The number and type of exceptions vary by +country, but they frequently allow copyrighted materials to be used without +permission from the copyright holder for activities such as nonprofit research, +teaching, news reporting, or private study. + +If you incorrectly decide that something is a fair use or falls into an +exception to copyright infringement, you could be held criminally and civilly +liable and have to pay damages. We suggest you talk to a lawyer if you have +questions regarding fair uses of copyrighted works. + +What happens if you upload copyrighted materials to one of our websites without +permission? + +By law, we are required to take down videos, music, photographs or other content +you upload onto a website hosted by Microsoft if we learn that it infringes +someone else’s copyright. If you believe that we have mistakenly taken down +content you uploaded that you own or have permission to upload, you can also let +us know that. Finally, if you upload infringing content repeatedly, we will +terminate your account and you could face criminal and civil penalties. So +please, respect other people’s copyrights. + +What if my stuff is on a Microsoft website without my permission? + +If you believe that anything on a website hosted by Microsoft infringes your +copyright, let us know. Just provide us with the information requested here and +we will see that your copyrighted works are taken down. + +What if I don't want my website crawled? + +Microsoft search services (MSN Search and Windows Live Search) follow the Robots +Exclusion Standards. This means that you can control which pages Microsoft +search engines index and how often Microsoft bots access your website. To learn +how to do so, or for more information regarding Microsoft’s webcrawling and site +indexing practices, please visit http://search.msn.com/docs/siteowner.aspx. + +Top of page +TRADEMARKS. + +Trademark information is available at +http://www.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx. + +Any rights not expressly granted herein are reserved. + +Send your questions to the appropriate contact as listed below: + + * Microsoft Web properties, contact homepage@microsoft.com. + * MSN Web properties, contact webmaster@msn.com. + * Hotmail, contact support@hotmail.com; for spam/privacy issues, contact +abuse@hotmail.com or hotmailprivacy@hotmail.com. + * Piracy questions can be routed to piracy@microsoft.com or by calling +1-800-R-U-LEGIT. + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Microsoft Public License (Ms-PL) +Mon, 2007-10-15 19:23 — nelson + +This license governs use of the accompanying software. If you use the software, you +accept this license. If you do not accept the license, do not use the software. + +1. Definitions +The terms "reproduce," "reproduction," "derivative works," and "distribution" +have the +same meaning here as under U.S. copyright law. +A "contribution" is the original software, or any additions or changes to the +software. +A "contributor" is any person that distributes its contribution under this license. +"Licensed patents" are a contributor's patent claims that read directly on its +contribution. + +2. Grant of Rights +(A) Copyright Grant- Subject to the terms of this license, including the license +conditions and limitations in section 3, each contributor grants you a +non-exclusive, worldwide, royalty-free copyright license to reproduce its +contribution, prepare derivative works of its contribution, and distribute its +contribution or any derivative works that you create. +(B) Patent Grant- Subject to the terms of this license, including the license +conditions and limitations in section 3, each contributor grants you a +non-exclusive, worldwide, royalty-free license under its licensed patents to +make, have made, use, sell, offer for sale, import, and/or otherwise dispose of +its contribution in the software or derivative works of the contribution in the +software. + +3. Conditions and Limitations +(A) No Trademark License- This license does not grant you rights to use any +contributors' name, logo, or trademarks. +(B) If you bring a patent claim against any contributor over patents that you +claim are infringed by the software, your patent license from such contributor +to the software ends automatically. +(C) If you distribute any portion of the software, you must retain all +copyright, patent, trademark, and attribution notices that are present in the +software. +(D) If you distribute any portion of the software in source code form, you may +do so only under this license by including a complete copy of this license with +your distribution. If you distribute any portion of the software in compiled or +object code form, you may only do so under a license that complies with this +license. +(E) The software is licensed "as-is." You bear the risk of using it. The +contributors give no express warranties, guarantees or conditions. You may have +additional consumer rights under your local laws which this license cannot +change. To the extent permitted under your local laws, the contributors exclude +the implied warranties of merchantability, fitness for a particular purpose and +non-infringement. + +*************************************************************************** + +%%The following software may be included in this product: +Apache Batik + +Use of any of this software is governed by the terms of the license below: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution..." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*************************************************************************** + +%%The following software may be included in this product: +ASM + +Use of any of this software is governed by the terms of the license below: + +Copyright (c) 2000-2005 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +*************************************************************************** + +%%The following software may be included in this product: +JPEG + +Use of any of this software is governed by the terms of the license below: + +Taken from code...... + +LEGAL ISSUES +============ + +In plain English: + +1. We don't promise that this software works. (But if you find any bugs, + please let us know!) +2. You can use this software for whatever you want. You don't have to pay us. +3. You may not pretend that you wrote this software. If you use it in a + program, you must acknowledge somewhere in your documentation that + you've used the IJG code. + +In legalese: + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-1998, Thomas G. Lane. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +ansi2knr.c is included in this distribution by permission of L. Peter Deutsch, +sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA. +ansi2knr.c is NOT covered by the above copyright and conditions, but instead +by the usual distribution terms of the Free Software Foundation; principally, +that you must include source code if you redistribute it. (See the file +ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part +of any program generated from the IJG code, this does not limit you more than +the foregoing paragraphs do. + +The Unix configuration script "configure" was produced with GNU Autoconf. +It is copyright by the Free Software Foundation but is freely distributable. +The same holds for its supporting scripts (config.guess, config.sub, +ltconfig, ltmain.sh). Another support script, install-sh, is copyright +by M.I.T. but is also freely distributable. + +It appears that the arithmetic coding option of the JPEG spec is covered by +patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot +legally be used without obtaining one or more licenses. For this reason, +support for arithmetic coding has been removed from the free JPEG software. +(Since arithmetic coding provides only a marginal gain over the unpatented +Huffman mode, it is unlikely that very many implementations will support it.) +So far as we are aware, there are no patent restrictions on the remaining +code. + +The IJG distribution formerly included code to read and write GIF files. +To avoid entanglement with the Unisys LZW patent, GIF reading support has +been removed altogether, and the GIF writer has been simplified to produce +"uncompressed GIFs". This technique does not use the LZW algorithm; the +resulting GIF files are larger than usual, but are readable by all standard +GIF decoders. + +We are required to state that + "The Graphics Interchange Format(c) is the Copyright property of + CompuServe Incorporated. GIF(sm) is a Service Mark property of + CompuServe Incorporated." + +Additional License(s) + +"copyright" + +*************************************************************************** + +MD5 License +"THE BEER-WARE LICENSE" (Revision 42): + wrote this file. As long as you retain this +notice you can do whatever you want with this stuff. If we meet some +day, and you think this stuff is worth it, you can buy me a beer in +return. Poul-Henning Kamp + + + + + +*************************************************************************** + + +%%The following software may be included in this product: +ANTLR Java runtime binary only jar + +Use of any of this software is governed by the terms of the license below: + +ANTLR 3 License + +[The BSD License] +Copyright (c) 2003-2007, Terence Parr +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + * Neither the name of the author nor the names of its contributors may be +used to endorse or promote products derived from this software without specific +prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +*************************************************************************** + +%%The following software may be included in this product: +gstreamer + +You are receiving a copy of the GStreamer library in object code in the +JavaFX runtime or JavaFX SDK. A +copy of the Oracle modified GStreamer library in source code is located +at http://oss.oracle.com/projects/gstreamer-mods/ . The terms of the +Oracle license do NOT apply to the GStreamer program; it is licensed under +the following license, separately from the Oracle programs you receive. If +you do not wish to install this program, you may not wish to install +the JavaFX Runtime or JavaFX SDK. + +Use of any of this software is governed by the terms of the license below: + +GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 +Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. +[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and +change it. By contrast, the GNU General Public Licenses are intended to guarantee +your freedom to share and change free software--to make sure the software is free +for all its users. +This license, the Lesser General Public License, applies to some specially +designated software packages--typically libraries--of the Free Software Foundation +and other authors who decide to use it. You can use it too, but we suggest you first +think carefully about whether this license or the ordinary General Public License is +the better strategy to use in any particular case, based on the explanations below. +When we speak of free software, we are referring to freedom of use, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish); that +you receive source code or can get it if you want it; that you can change the +software and use pieces of it in new free programs; and that you are informed that +you can do these things. +To protect your rights, we need to make restrictions that forbid distributors to +deny you these rights or to ask you to surrender these rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +library or if you modify it. +For example, if you distribute copies of the library, whether gratis or for a fee, +you must give the recipients all the rights that we gave you. You must make sure +that they, too, receive or can get the source code. If you link other code with the +library, you must provide complete object files to the recipients, so that they can +relink them with the library after making changes to the library and recompiling it. +And you must show them these terms so they know their rights. +We protect your rights with a two-step method: (1) we copyright the library, and (2) +we offer you this license, which gives you legal permission to copy, distribute +and/or modify the library. +To protect each distributor, we want to make it very clear that there is no warranty +for the free library. Also, if the library is modified by someone else and passed +on, the recipients should know that what they have is not the original version, so +that the original author's reputation will not be affected by problems that might be +introduced by others. +Finally, software patents pose a constant threat to the existence of any free +program. We wish to make sure that a company cannot effectively restrict the users +of a free program by obtaining a restrictive license from a patent holder. +Therefore, we insist that any patent license obtained for a version of the library +must be consistent with the full freedom of use specified in this license. +Most GNU software, including some libraries, is covered by the ordinary GNU General +Public License. This license, the GNU Lesser General Public License, applies to +certain designated libraries, and is quite different from the ordinary General +Public License. We use this license for certain libraries in order to permit linking +those libraries into non-free programs. +When a program is linked with a library, whether statically or using a shared +library, the combination of the two is legally speaking a combined work, a +derivative of the original library. The ordinary General Public License therefore +permits such linking only if the entire combination fits its criteria of freedom. +The Lesser General Public License permits more lax criteria for linking other code +with the library. +We call this license the "Lesser" General Public License because it does Less to +protect the user's freedom than the ordinary General Public License. It also +provides other free software developers Less of an advantage over competing non-free +programs. These disadvantages are the reason we use the ordinary General Public +License for many libraries. However, the Lesser license provides advantages in +certain special circumstances. +For example, on rare occasions, there may be a special need to encourage the widest +possible use of a certain library, so that it becomes a de-facto standard. To +achieve this, non-free programs must be allowed to use the library. A more frequent +case is that a free library does the same job as widely used non-free libraries. In +this case, there is little to gain by limiting the free library to free software +only, so we use the Lesser General Public License. +In other cases, permission to use a particular library in non-free programs enables +a greater number of people to use a large body of free software. For example, +permission to use the GNU C Library in non-free programs enables many more people to +use the whole GNU operating system, as well as its variant, the GNU/Linux operating +system. +Although the Lesser General Public License is Less protective of the users' freedom, +it does ensure that the user of a program that is linked with the Library has the +freedom and the wherewithal to run that program using a modified version of the +Library. +The precise terms and conditions for copying, distribution and modification follow. +Pay close attention to the difference between a "work based on the library" and a +"work that uses the library". The former contains code derived from the library, +whereas the latter must be combined with the library in order to run. +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which +contains a notice placed by the copyright holder or other authorized party saying it +may be distributed under the terms of this Lesser General Public License (also +called "this License"). Each licensee is addressed as "you". +A "library" means a collection of software functions and/or data prepared so as to +be conveniently linked with application programs (which use some of those functions +and data) to form executables. +The "Library", below, refers to any such software library or work which has been +distributed under these terms. A "work based on the Library" means either the +Library or any derivative work under copyright law: that is to say, a work +containing the Library or a portion of it, either verbatim or with modifications +and/or translated straightforwardly into another language. (Hereinafter, translation +is included without limitation in the term "modification".) +"Source code" for a work means the preferred form of the work for making +modifications to it. For a library, complete source code means all the source code +for all modules it contains, plus any associated interface definition files, plus +the scripts used to control compilation and installation of the library. +Activities other than copying, distribution and modification are not covered by this +License; they are outside its scope. The act of running a program using the Library +is not restricted, and output from such a program is covered only if its contents +constitute a work based on the Library (independent of the use of the Library in a +tool for writing it). Whether that is true depends on what the Library does and what +the program that uses the Library does. +1. You may copy and distribute verbatim copies of the Library's complete source code +as you receive it, in any medium, provided that you conspicuously and appropriately +publish on each copy an appropriate copyright notice and disclaimer of warranty; +keep intact all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the Library. +You may charge a fee for the physical act of transferring a copy, and you may at +your option offer warranty protection in exchange for a fee. +2. You may modify your copy or copies of the Library or any portion of it, thus +forming a work based on the Library, and copy and distribute such modifications or +work under the terms of Section 1 above, provided that you also meet all of these +conditions: +a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you +changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third +parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to +be supplied by an application program that uses the facility, other than as an +argument passed when the facility is invoked, then you must make a good faith effort +to ensure that, in the event an application does not supply such function or table, +the facility still operates, and performs whatever part of its purpose remains +meaningful. (For example, a function in a library to compute square roots has a purpose that is +entirely well-defined independent of the application. Therefore, Subsection 2d +requires that any application-supplied function or table used by this function must +be optional: if the application does not supply it, the square root function must +still compute square roots.) +These requirements apply to the modified work as a whole. If identifiable sections +of that work are not derived from the Library, and can be reasonably considered +independent and separate works in themselves, then this License, and its terms, do +not apply to those sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based on the +Library, the distribution of the whole must be on the terms of this License, whose +permissions for other licensees extend to the entire whole, and thus to each and +every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to +work written entirely by you; rather, the intent is to exercise the right to control +the distribution of derivative or collective works based on the Library. +In addition, mere aggregation of another work not based on the Library with the +Library (or with a work based on the Library) on a volume of a storage or +distribution medium does not bring the other work under the scope of this License. +3. You may opt to apply the terms of the ordinary GNU General Public License instead +of this License to a given copy of the Library. To do this, you must alter all the +notices that refer to this License, so that they refer to the ordinary GNU General +Public License, version 2, instead of to this License. (If a newer version than +version 2 of the ordinary GNU General Public License has appeared, then you can +specify that version instead if you wish.) Do not make any other change in these +notices. +Once this change is made in a given copy, it is irreversible for that copy, so the +ordinary GNU General Public License applies to all subsequent copies and derivative +works made from that copy. +This option is useful when you wish to copy part of the code of the Library into a +program that is not a library. +4. You may copy and distribute the Library (or a portion or derivative of it, under +Section 2) in object code or executable form under the terms of Sections 1 and 2 +above provided that you accompany it with the complete corresponding machine- +readable source code, which must be distributed under the terms of Sections 1 and 2 +above on a medium customarily used for software interchange. +If distribution of object code is made by offering access to copy from a designated +place, then offering equivalent access to copy the source code from the same place +satisfies the requirement to distribute the source code, even though third parties +are not compelled to copy the source along with the object code. +5. A program that contains no derivative of any portion of the Library, but is +designed to work with the Library by being compiled or linked with it, is called a +"work that uses the Library". Such a work, in isolation, is not a derivative work of +the Library, and therefore falls outside the scope of this License. +However, linking a "work that uses the Library" with the Library creates an +executable that is a derivative of the Library (because it contains portions of the +Library), rather than a "work that uses the library". The executable is therefore +covered by this License. Section 6 states terms for distribution of such +executables. +When a "work that uses the Library" uses material from a header file that is part of +the Library, the object code for the work may be a derivative work of the Library +even though the source code is not. Whether this is true is especially significant +if the work can be linked without the Library, or if the work is itself a library. +The threshold for this to be true is not precisely defined by law. +If such an object file uses only numerical parameters, data structure layouts and +accessors, and small macros and small inline functions (ten lines or less in +length), then the use of the object file is unrestricted, regardless of whether it +is legally a derivative work. (Executables containing this object code plus portions +of the Library will still fall under Section 6.) +Otherwise, if the work is a derivative of the Library, you may distribute the object +code for the work under the terms of Section 6. Any executables containing that work +also fall under Section 6, whether or not they are linked directly with the Library +itself. +6. As an exception to the Sections above, you may also combine or link a "work that +uses the Library" with the Library to produce a work containing portions of the +Library, and distribute that work under terms of your choice, provided that the +terms permit modification of the work for the customer's own use and reverse +engineering for debugging such modifications. +You must give prominent notice with each copy of the work that the Library is used +in it and that the Library and its use are covered by this License. You must supply +a copy of this License. If the work during execution displays copyright notices, you +must include the copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one of these +things: +a) Accompany the work with the complete corresponding machine-readable source code +for the Library including whatever changes were used in the work (which must be +distributed under Sections 1 and 2 above); and, if the work is an executable linked +with the Library, with the complete machine-readable "work that uses the Library", +as object code and/or source code, so that the user can modify the Library and then +relink to produce a modified executable containing the modified Library. (It is +understood that the user who changes the contents of definitions files in the +Library will not necessarily be able to recompile the application to use the +modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable +mechanism is one that (1) uses at run time a copy of the library already present on +the user's computer system, rather than copying library functions into the +executable, and (2) will operate properly with a modified version of the library, if +the user installs one, as long as the modified version is interface-compatible with +the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give +the same user the materials specified in Subsection 6a, above, for a charge no more +than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated +place, offer equivalent access to copy the above specified materials from the same +place. e) Verify that the user has already received a copy of these materials or that you +have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must +include any data and utility programs needed for reproducing the executable from it. +However, as a special exception, the materials to be distributed need not include +anything that is normally distributed (in either source or binary form) with the +major components (compiler, kernel, and so on) of the operating system on which the +executable runs, unless that component itself accompanies the executable. +It may happen that this requirement contradicts the license restrictions of other +proprietary libraries that do not normally accompany the operating system. Such a +contradiction means you cannot use both them and the Library together in an +executable that you distribute. +7. You may place library facilities that are a work based on the Library side-by- +side in a single library together with other library facilities not covered by this +License, and distribute such a combined library, provided that the separate +distribution of the work based on the Library and of the other library facilities is +otherwise permitted, and provided that you do these two things: +a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. +13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the +Free Software Foundation. +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. +NO WARRANTY +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH +YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE +OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). +To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. one line to give the library's name and an idea of what it does. Copyright (C) year name of author +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 Also add information on how to contact you by electronic and paper mail. +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: +Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. +signature of Ty Coon, 1 April 1990 Ty Coon, President of Vice That's all there is to it! + +*************************************************************************** + +%%The following software may be included in this product: +JFXtras Core v 0.5 + +Use of any of this software is governed by the terms of the license below: +Copyright (c) 2008-2009, JFXtras Group +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of JFXtras nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + +*************************************************************************** + +%%The following software may be included in this product: +Webkit + +You are receiving a copy of the WebKit library in object code in the +JavaFX runtime or JavaFX SDK. +A copy of the Oracle modified WebKit library in source code is located +at http://oss.oracle.com/projects/webkit-java-mods/ . The terms of the +Oracle license do NOT apply to the WebKit program; it is licensed under +the following license separately from the Oracle programs you receive. +If you do not wish to install this program, you may not wish to install +the JavaFX runtime or JavaFX SDK. + +Use of any of this software is governed by the terms of the license below: + +GNU LIBRARY GENERAL PUBLIC LICENSE +Version 2, June 1991 +Copyright (C) 1991 Free Software Foundation, Inc. +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] +Preamble +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. +This license, the Library General Public License, applies to some specially designated Free Software Foundation software, and to any other libraries whose authors decide to use it. You can use it for your libraries, too. +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library, or if you modify it. +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link a program with the library, you must provide complete object files to the recipients so that they can relink them with the library, after making changes to the library and recompiling it. And you must show them these terms so they know their rights. +Our method of protecting your rights has two steps: (1) copyright the library, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the library. +Also, for each distributor's protection, we want to make certain that everyone understands that there is no warranty for this free library. If the library is modified by someone else and passed on, we want its recipients to know that what they have is not the original version, so that any problems introduced by others will not reflect on the original authors' reputations. +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that companies distributing free software will individually obtain patent licenses, thus in effect transforming the program into proprietary software. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License, which was designed for utility programs. This license, the GNU Library General Public License, applies to certain designated libraries. This license is quite different from the ordinary one; be sure to read it in full, and don't assume that anything in it is the same as in the ordinary license. +The reason we have a separate public license for some libraries is that they blur the distinction we usually make between modifying or adding to a program and simply using it. Linking a program with a library, without changing the library, is in some sense simply using the library, and is analogous to running a utility program or application program. However, in a textual and legal sense, the linked executable is a combined work, a derivative of the original library, and the ordinary General Public License treats it as such. +Because of this blurred distinction, using the ordinary General Public License for libraries did not effectively promote software sharing, because most developers did not use the libraries. We concluded that weaker conditions might promote sharing better. +However, unrestricted linking of non-free programs would deprive the users of those programs of all benefit from the free status of the libraries themselves. This Library General Public License is intended to permit developers of non-free programs to use free libraries, while preserving your freedom as a user of such programs to change the free libraries that are incorporated in them. (We have not seen how to achieve this as regards changes in header files, but we have achieved it as regards changes in the actual functions of the Library.) The hope is that this will lead to faster development of free libraries. +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, while the latter only works together with the library. +Note that it is possible for a library to be covered by the ordinary General Public License rather than by this special one. +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +0. This License Agreement applies to any software library which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Library General Public License (also called "this License"). Each licensee is addressed as "you". +A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. +The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) +"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. +1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. +2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: +a) The modified work must itself be a software library. +b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. +c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. +d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. +In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. +3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. +Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. +This option is useful when you wish to copy part of the code of the Library into a program that is not a library. +4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. +If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. +5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. +However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. +When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. +If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) +Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. +6. As an exception to the Sections above, you may also compile or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. +You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: +a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) +b) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. +c) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. +d) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. +For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. +It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. +7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: +a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. +b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. +8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. +13. The Free Software Foundation may publish revised and/or new versions of the Library General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. +NO WARRANTY +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + + +*************************************************************************** + +%%The following software may be included in this product: +zlib + + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.2, October 3rd, 2004 + + Copyright (C) 1995-2004 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly jloup@gzip.org + Mark Adler madler@alumni.caltech.edu + +*/ + +*************************************************************************** + +%%The following software may be included in this product: +libpng + +This copy of the libpng notices is provided for your convenience. In case of +any discrepancy between this copy and the notices in the file png.h that is +included in the libpng distribution, the latter shall prevail. + +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: + +If you modify libpng you may insert additional notices immediately following +this sentence. + +This code is released under the libpng license. + +libpng versions 1.2.6, August 15, 2004, through 1.5.0, January 6, 2011, are +Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-1.2.5 +with the following individual added to the list of Contributing Authors + + Cosmin Truta + +libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are +Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-1.0.6 +with the following individuals added to the list of Contributing Authors + + Simon-Pierre Cadieux + Eric S. Raymond + Gilles Vollant + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of the + library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is with + the user. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-0.96, +with the following individuals added to the list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996, 1997 Andreas Dilger +Distributed according to the same disclaimer and license as libpng-0.88, +with the following individuals added to the list of Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing Authors +and Group 42, Inc. disclaim all warranties, expressed or implied, +including, without limitation, the warranties of merchantability and of +fitness for any purpose. The Contributing Authors and Group 42, Inc. +assume no liability for direct, indirect, incidental, special, exemplary, +or consequential damages, which may result from the use of the PNG +Reference Library, even if advised of the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + +1. The origin of this source code must not be misrepresented. + +2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + +3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, without +fee, and encourage the use of this source code as a component to +supporting the PNG file format in commercial products. If you use this +source code in a product, acknowledgment is not required but would be +appreciated. + + +A "png_get_copyright" function is available, for convenient use in "about" +boxes and the like: + + printf("%s",png_get_copyright(NULL)); + +Also, the PNG logo (in PNG format, of course) is supplied in the +files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). + +Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a +certification mark of the Open Source Initiative. + +Glenn Randers-Pehrson +glennrp at users.sourceforge.net +January 6, 2011 + +*************************************************************************** + +%%The following software may be included in this product: +libxml + +The MIT License +Copyright (c) +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +*************************************************************************** + +%%The following software may be included in this product: +libxslt + +The MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Java-Visualizer/java/jre/THIRDPARTYLICENSEREADME.txt b/Java-Visualizer/java/jre/THIRDPARTYLICENSEREADME.txt new file mode 100644 index 00000000..81a54fdb --- /dev/null +++ b/Java-Visualizer/java/jre/THIRDPARTYLICENSEREADME.txt @@ -0,0 +1,3417 @@ +DO NOT TRANSLATE OR LOCALIZE. +----------------------------- + +%% This notice is provided with respect to ASM Bytecode Manipulation +Framework v3.1, which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (c) 2000-2005 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +-------------------------------------------------------------------------------- + +%% This notice is provided with respect to CodeViewer 1.0, which is included +with JDK 7. + +--- begin of LICENSE --- + +Copyright 1999 by CoolServlets.com. + +Any errors or suggested improvements to this class can be reported as +instructed on CoolServlets.com. We hope you enjoy this program... your +comments will encourage further development! This software is distributed +under the terms of the BSD License. Redistribution and use in source and +binary forms, with or without modification, are permitted provided that the +following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +Neither name of CoolServlets.com nor the names of its contributors may be +used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY COOLSERVLETS.COM AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Cryptix AES 3.2.0, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Cryptix General License + +Copyright (c) 1995-2005 The Cryptix Foundation Limited. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +THIS SOFTWARE IS PROVIDED BY THE CRYPTIX FOUNDATION LIMITED AND +CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE CRYPTIX FOUNDATION LIMITED OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to CUP Parser Generator for +Java 0.10k, which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright 1996-1999 by Scott Hudson, Frank Flannery, C. Scott Ananian + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided +that the above copyright notice appear in all copies and that both the +copyright notice and this permission notice and warranty disclaimer appear in +supporting documentation, and that the names of the authors or their +employers not be used in advertising or publicity pertaining to distribution of +the software without specific, written prior permission. + +The authors and their employers disclaim all warranties with regard to +this software, including all implied warranties of merchantability and fitness. +In no event shall the authors or their employers be liable for any special, +indirect or consequential damages or any damages whatsoever resulting from +loss of use, data or profits, whether in an action of contract, negligence or +other tortious action, arising out of or in connection with the use or +performance of this software. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Document Object Model (DOM) Level 2 +& 3, which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +W3C SOFTWARE NOTICE AND LICENSE + +http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + +This work (and included software, documentation such as READMEs, or other +related items) is being provided by the copyright holders under the following +license. By obtaining, using and/or copying this work, you (the licensee) +agree that you have read, understood, and will comply with the following terms +and conditions. + +Permission to copy, modify, and distribute this software and its +documentation, with or without modification, for any purpose and without fee +or royalty is hereby granted, provided that you include the following on ALL +copies of the software and documentation or portions thereof, including +modifications: + + 1.The full text of this NOTICE in a location viewable to users of the + redistributed or derivative work. + + 2.Any pre-existing intellectual property disclaimers, notices, or terms and + conditions. If none exist, the W3C Software Short Notice should be included + (hypertext is preferred, text is permitted) within the body of any + redistributed or derivative code. + + 3.Notice of any changes or modifications to the files, including the date + changes were made. (We recommend you provide URIs to the location from + which the code is derived.) + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS +MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR +PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY +THIRD PARTY PATENTS,COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL +OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR +DOCUMENTATION. The name and trademarks of copyright holders may NOT be used +in advertising or publicity pertaining to the software without specific, +written prior permission. Title to copyright in this software and any +associated documentation will at all times remain with copyright holders. + +____________________________________ + +This formulation of W3C's notice and license became active on December 31 +2002. This version removes the copyright ownership notice such that this +license can be used with materials other than those owned by the W3C, reflects +that ERCIM is now a host of the W3C, includes references to this specific +dated version of the license, and removes the ambiguous grant of "use". +Otherwise, this version is the same as the previous version and is written so +as to preserve the Free Software Foundation's assessment of GPL compatibility +and OSI's certification under the Open Source Definition. Please see our +Copyright FAQ for common questions about using materials from our site, +including specific terms and conditions for packages like libwww, Amaya, and +Jigsaw. Other questions about this notice can be directed to +site-policy@w3.org. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Elliptic Curve Cryptography, which +is included with JRE 7, JDK 7, and OpenJDK 7. + +You are receiving a copy of the Elliptic Curve Cryptography library in source +form with the JDK 7 and OpenJDK7 source distributions, and as object code in +the JRE 7 & JDK 7 runtimes. + +In the case of the JRE 7 & JDK 7 runtimes, the terms of the Oracle license do +NOT apply to the Elliptic Curve Cryptography library; it is licensed under the +following license, separately from Oracle's JDK & JRE. If you do not wish to +install the Elliptic Curve Cryptography library, you may delete the library +named libsunec.so (on Solaris and Linux systems) or sunec.dll (on Windows +systems) from the JRE bin directory reserved for native libraries. + + +--- begin of LICENSE --- + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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 + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to FontConfig 2.5, which is +included with JRE 7, JDK 7, and OpenJDK 7 source distributions on +Linux and Solaris. + +--- begin of LICENSE --- + +Copyright © 2001,2003 Keith Packard + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that the +above copyright notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting documentation, and that +the name of Keith Packard not be used in advertising or publicity pertaining +to distribution of the software without specific, written prior permission. +Keith Packard makes no representations about the suitability of this software +for any purpose. It is provided "as is" without express or implied warranty. + +KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL KEITH +PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to IAIK PKCS#11 Wrapper, +which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +IAIK PKCS#11 Wrapper License + +Copyright (c) 2002 Graz University of Technology. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: + + "This product includes software developed by IAIK of Graz University of + Technology." + + Alternately, this acknowledgment may appear in the software itself, if and + wherever such third-party acknowledgments normally appear. + +4. The names "Graz University of Technology" and "IAIK of Graz University of + Technology" must not be used to endorse or promote products derived from this + software without prior written permission. + +5. Products derived from this software may not be called "IAIK PKCS Wrapper", + nor may "IAIK" appear in their name, without prior written permission of + Graz University of Technology. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +LICENSOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to ICU4C 4.0.1 and ICU4J 4.4, which +is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (c) 1995-2010 International Business Machines Corporation and others + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, and/or sell copies of the +Software, and to permit persons to whom the Software is furnished to do so, +provided that the above copyright notice(s) and this permission notice appear +in all copies of the Software and that both the above copyright notice(s) and +this permission notice appear in supporting documentation. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN +NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE +LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization of the copyright holder. +All trademarks and registered trademarks mentioned herein are the property of +their respective owners. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to IJG JPEG 6b, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +This software is copyright (C) 1991-1998, Thomas G. Lane. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + +--- end of LICENSE --- + +-------------------------------------------------------------------------------- + +%% This notice is provided with respect to JOpt-Simple v3.0, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + + Copyright (c) 2004-2009 Paul R. Holser, Jr. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- end of LICENSE --- + +-------------------------------------------------------------------------------- + +%% This notice is provided with respect to Kerberos functionality, which +which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + + (C) Copyright IBM Corp. 1999 All Rights Reserved. + Copyright 1997 The Open Group Research Institute. All rights reserved. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Kerberos functionality from +FundsXpress, INC., which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + + Copyright (C) 1998 by the FundsXpress, INC. + + All rights reserved. + + Export of this software from the United States of America may require + a specific license from the United States Government. It is the + responsibility of any person or organization contemplating export to + obtain such a license before exporting. + + WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + distribute this software and its documentation for any purpose and + without fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, and that + the name of FundsXpress. not be used in advertising or publicity pertaining + to distribution of the software without specific, written prior + permission. FundsXpress makes no representations about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Kronos OpenGL headers, which is +included with JDK 7 and OpenJDK 7 source distributions. + +--- begin of LICENSE --- + + Copyright (c) 2007 The Khronos Group Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and/or associated documentation files (the "Materials"), to + deal in the Materials without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Materials, and to permit persons to whom the Materials are + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Materials. + + THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS IN THE + MATERIALS. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% Portions Copyright Eastman Kodak Company 1992 + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to libpng 1.6.16, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +This copy of the libpng notices is provided for your convenience. In case of +any discrepancy between this copy and the notices in the file png.h that is +included in the libpng distribution, the latter shall prevail. + +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: + +If you modify libpng you may insert additional notices immediately following +this sentence. + +This code is released under the libpng license. + +libpng versions 1.2.6, August 15, 2004, through 1.6.16, December 22, 2014, are +Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-1.2.5 +with the following individual added to the list of Contributing Authors + + Cosmin Truta + +libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are +Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-1.0.6 +with the following individuals added to the list of Contributing Authors + + Simon-Pierre Cadieux + Eric S. Raymond + Gilles Vollant + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of the + library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is with + the user. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are +distributed according to the same disclaimer and license as libpng-0.96, +with the following individuals added to the list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996, 1997 Andreas Dilger +Distributed according to the same disclaimer and license as libpng-0.88, +with the following individuals added to the list of Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing Authors +and Group 42, Inc. disclaim all warranties, expressed or implied, +including, without limitation, the warranties of merchantability and of +fitness for any purpose. The Contributing Authors and Group 42, Inc. +assume no liability for direct, indirect, incidental, special, exemplary, +or consequential damages, which may result from the use of the PNG +Reference Library, even if advised of the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + +1. The origin of this source code must not be misrepresented. + +2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + +3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, without +fee, and encourage the use of this source code as a component to +supporting the PNG file format in commercial products. If you use this +source code in a product, acknowledgment is not required but would be +appreciated. + + +A "png_get_copyright" function is available, for convenient use in "about" +boxes and the like: + + printf("%s",png_get_copyright(NULL)); + +Also, the PNG logo (in PNG format, of course) is supplied in the +files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). + +Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a +certification mark of the Open Source Initiative. + +Glenn Randers-Pehrson +glennrp at users.sourceforge.net +December 22, 2014 + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to libungif 4.1.3, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +The GIFLIB distribution is Copyright (c) 1997 Eric S. Raymond + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Little CMS 2.0, which is +included with OpenJDK 7. + +--- begin of LICENSE --- + +Little CMS +Copyright (c) 1998-2010 Marti Maria Saguer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% Lucida is a registered trademark or trademark of Bigelow & Holmes in the +U.S. and other countries. + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Mesa 3D Graphics Library v4.1, +which is included with JRE 7, JDK 7, and OpenJDK 7 source distributions. + +--- begin of LICENSE --- + + Mesa 3-D graphics library + Version: 4.1 + + Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to PC/SC Lite for Suse Linux v.1.1.1, +which is included with JRE 7, JDK 7, and OpenJDK 7 on Linux and Solaris. + +--- begin of LICENSE --- + +Copyright (c) 1999-2004 David Corcoran +Copyright (c) 1999-2004 Ludovic Rousseau +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by: + David Corcoran + http://www.linuxnet.com (MUSCLE) +4. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +Changes to this license can be made only by the copyright author with +explicit written consent. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Relax NG Object/Parser v.20050510, +which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (c) Kohsuke Kawaguchi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: The above copyright +notice and this permission notice shall be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to RelaxNGCC v1.12, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (c) 2000-2003 Daisuke Okajima and Kohsuke Kawaguchi. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: + + "This product includes software developed by Daisuke Okajima + and Kohsuke Kawaguchi (http://relaxngcc.sf.net/)." + +Alternately, this acknowledgment may appear in the software itself, if and +wherever such third-party acknowledgments normally appear. + +4. The names of the copyright holders must not be used to endorse or promote + products derived from this software without prior written permission. For + written permission, please contact the copyright holders. + +5. Products derived from this software may not be called "RELAXNGCC", nor may + "RELAXNGCC" appear in their name, without prior written permission of the + copyright holders. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.IN NO EVENT SHALL THE APACHE +SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Mozilla Rhino v1.7R3, which +is included with JRE 7, JDK 7, and OpenJDK 7 + +--- begin of LICENSE --- + + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + +7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + +9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + +11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + +12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + +EXHIBIT A - Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is ______________________________________. + + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to SAX 2.0.1, which is included +with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + + SAX is free! + + In fact, it's not possible to own a license to SAX, since it's been placed in + the public domain. + + No Warranty + + Because SAX is released to the public domain, there is no warranty for the + design or for the software implementation, to the extent permitted by + applicable law. Except when otherwise stated in writing the copyright holders + and/or other parties provide SAX "as is" without warranty of any kind, either + expressed or implied, including, but not limited to, the implied warranties + of merchantability and fitness for a particular purpose. The entire risk as + to the quality and performance of SAX is with you. Should SAX prove + defective, you assume the cost of all necessary servicing, repair or + correction. + + In no event unless required by applicable law or agreed to in writing will + any copyright holder, or any other party who may modify and/or redistribute + SAX, be liable to you for damages, including any general, special, incidental + or consequential damages arising out of the use or inability to use SAX + (including but not limited to loss of data or data being rendered inaccurate + or losses sustained by you or third parties or a failure of the SAX to + operate with any other programs), even if such holder or other party has been + advised of the possibility of such damages. + + Copyright Disclaimers + + This page includes statements to that effect by David Megginson, who would + have been able to claim copyright for the original work. SAX 1.0 + + Version 1.0 of the Simple API for XML (SAX), created collectively by the + membership of the XML-DEV mailing list, is hereby released into the public + domain. + + No one owns SAX: you may use it freely in both commercial and non-commercial + applications, bundle it with your software distribution, include it on a + CD-ROM, list the source code in a book, mirror the documentation at your own + web site, or use it in any other way you see fit. + + David Megginson, sax@megginson.com + 1998-05-11 + + SAX 2.0 + + I hereby abandon any property rights to SAX 2.0 (the Simple API for XML), and + release all of the SAX 2.0 source code, compiled code, and documentation + contained in this distribution into the Public Domain. SAX comes with NO + WARRANTY or guarantee of fitness for any purpose. + + David Megginson, david@megginson.com + 2000-05-05 + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to SoftFloat version 2b, which is +included with JRE 7, JDK 7, and OpenJDK 7 on Linux/ARM. + +--- begin of LICENSE --- + +Use of any of this software is governed by the terms of the license below: + +SoftFloat was written by me, John R. Hauser. This work was made possible in +part by the International Computer Science Institute, located at Suite 600, +1947 Center Street, Berkeley, California 94704. Funding was partially +provided by the National Science Foundation under grant MIP-9311980. The +original version of this code was written as part of a project to build +a fixed-point vector processor in collaboration with the University of +California at Berkeley, overseen by Profs. Nelson Morgan and John Wawrzynek. + +THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort +has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT +TIMES RESULT IN INCORRECT BEHAVIOR. USE OF THIS SOFTWARE IS RESTRICTED TO +PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ALL +LOSSES, COSTS, OR OTHER PROBLEMS THEY INCUR DUE TO THE SOFTWARE, AND WHO +FURTHERMORE EFFECTIVELY INDEMNIFY JOHN HAUSER AND THE INTERNATIONAL COMPUTER +SCIENCE INSTITUTE (possibly via similar legal warning) AGAINST ALL LOSSES, +COSTS, OR OTHER PROBLEMS INCURRED BY THEIR CUSTOMERS AND CLIENTS DUE TO THE +SOFTWARE. + +Derivative works are acceptable, even for commercial purposes, provided +that the minimal documentation requirements stated in the source code are +satisfied. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Sparkle v.1.5, +which is included with JRE 7 on Mac OS X. + +--- begin of LICENSE --- + +Copyright (c) 2012 Sparkle.org and Andy Matuschak + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% Portions licensed from Taligent, Inc. + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Thai Dictionary, which is +included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Copyright (C) 1982 The Royal Institute, Thai Royal Government. + +Copyright (C) 1998 National Electronics and Computer Technology Center, +National Science and Technology Development Agency, +Ministry of Science Technology and Environment, +Thai Royal Government. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Unicode 6.0.0, CLDR v1.4.1, & CLDR +v1.9, which is included with JRE 7, JDK 7, and OpenJDK 7. + +--- begin of LICENSE --- + +Unicode Terms of Use + +For the general privacy policy governing access to this site, see the Unicode +Privacy Policy. For trademark usage, see the Unicode® Consortium Name and +Trademark Usage Policy. + +A. Unicode Copyright. + 1. Copyright © 1991-2011 Unicode, Inc. All rights reserved. + + 2. Certain documents and files on this website contain a legend indicating + that "Modification is permitted." Any person is hereby authorized, + without fee, to modify such documents and files to create derivative + works conforming to the Unicode® Standard, subject to Terms and + Conditions herein. + + 3. Any person is hereby authorized, without fee, to view, use, reproduce, + and distribute all documents and files solely for informational + purposes in the creation of products supporting the Unicode Standard, + subject to the Terms and Conditions herein. + + 4. Further specifications of rights and restrictions pertaining to the use + of the particular set of data files known as the "Unicode Character + Database" can be found in Exhibit 1. + + 5. Each version of the Unicode Standard has further specifications of + rights and restrictions of use. For the book editions (Unicode 5.0 and + earlier), these are found on the back of the title page. The online + code charts carry specific restrictions. All other files, including + online documentation of the core specification for Unicode 6.0 and + later, are covered under these general Terms of Use. + + 6. No license is granted to "mirror" the Unicode website where a fee is + charged for access to the "mirror" site. + + 7. Modification is not permitted with respect to this document. All copies + of this document must be verbatim. + +B. Restricted Rights Legend. Any technical data or software which is licensed + to the United States of America, its agencies and/or instrumentalities + under this Agreement is commercial technical data or commercial computer + software developed exclusively at private expense as defined in FAR 2.101, + or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, + duplication, or disclosure by the Government is subject to restrictions as + set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov + 1995) and this Agreement. For Software, in accordance with FAR 12-212 or + DFARS 227-7202, as applicable, use, duplication or disclosure by the + Government is subject to the restrictions set forth in this Agreement. + +C. Warranties and Disclaimers. + 1. This publication and/or website may include technical or typographical + errors or other inaccuracies . Changes are periodically added to the + information herein; these changes will be incorporated in new editions + of the publication and/or website. Unicode may make improvements and/or + changes in the product(s) and/or program(s) described in this + publication and/or website at any time. + + 2. If this file has been purchased on magnetic or optical media from + Unicode, Inc. the sole and exclusive remedy for any claim will be + exchange of the defective media within ninety (90) days of original + purchase. + + 3. EXCEPT AS PROVIDED IN SECTION C.2, THIS PUBLICATION AND/OR SOFTWARE IS + PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, + OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. + UNICODE AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR + OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH + ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE. + +D. Waiver of Damages. In no event shall Unicode or its licensors be liable for + any special, incidental, indirect or consequential damages of any kind, or + any damages whatsoever, whether or not Unicode was advised of the + possibility of the damage, including, without limitation, those resulting + from the following: loss of use, data or profits, in connection with the + use, modification or distribution of this information or its derivatives. + +E.Trademarks & Logos. + 1. The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, + Inc. “The Unicode Consortium†and “Unicode, Inc.†are trade names of + Unicode, Inc. Use of the information and materials found on this + website indicates your acknowledgement of Unicode, Inc.’s exclusive + worldwide rights in the Unicode Word Mark, the Unicode Logo, and the + Unicode trade names. + + 2. The Unicode Consortium Name and Trademark Usage Policy (“Trademark + Policyâ€) are incorporated herein by reference and you agree to abide by + the provisions of the Trademark Policy, which may be changed from time + to time in the sole discretion of Unicode, Inc. + + 3. All third party trademarks referenced herein are the property of their + respective owners. + +Miscellaneous. + 1. Jurisdiction and Venue. This server is operated from a location in the + State of California, United States of America. Unicode makes no + representation that the materials are appropriate for use in other + locations. If you access this server from other locations, you are + responsible for compliance with local laws. This Agreement, all use of + this site and any claims and damages resulting from use of this site are + governed solely by the laws of the State of California without regard to + any principles which would apply the laws of a different jurisdiction. + The user agrees that any disputes regarding this site shall be resolved + solely in the courts located in Santa Clara County, California. The user + agrees said courts have personal jurisdiction and agree to waive any + right to transfer the dispute to any other forum. + + 2. Modification by Unicode. Unicode shall have the right to modify this + Agreement at any time by posting it to this site. The user may not + assign any part of this Agreement without Unicode’s prior written + consent. + + 3. Taxes. The user agrees to pay any taxes arising from access to this + website or use of the information herein, except for those based on + Unicode’s net income. + + 4. Severability. If any provision of this Agreement is declared invalid or + unenforceable, the remaining provisions of this Agreement shall remain + in effect. + + 5. Entire Agreement. This Agreement constitutes the entire agreement + between the parties. + +EXHIBIT 1 +UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + +Unicode Data Files include all data files under the directories +http://www.unicode.org/Public/, http://www.unicode.org/reports/, and +http://www.unicode.org/cldr/data/. Unicode Data Files do not include PDF +online code charts under the directory http://www.unicode.org/Public/. +Software includes any source code published in the Unicode Standard or under +the directories http://www.unicode.org/Public/, +http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. + +NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, +INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA +FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO +BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT +AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR +SOFTWARE. + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 1991-2011 Unicode, Inc. All rights reserved. Distributed under the +Terms of Use in http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the Unicode data files and any associated documentation (the "Data Files") +or Unicode software and any associated documentation (the "Software") to deal +in the Data Files or Software without restriction, including without +limitation the rights to use, copy, modify, merge, publish, distribute, and/or +sell copies of the Data Files or Software, and to permit persons to whom the +Data Files or Software are furnished to do so, provided that (a) the above +copyright notice(s) and this permission notice appear with all copies of the +Data Files or Software, (b) both the above copyright notice(s) and this +permission notice appear in associated documentation, and (c) there is clear +notice in each modified Data File or in the Software as well as in the +documentation associated with the Data File(s) or Software that the data or +software has been modified. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD +PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN +THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR +PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS +ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE +DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in these Data Files or Software without prior written authorization of the +copyright holder. + +Unicode and the Unicode logo are trademarks of Unicode, Inc. in the United +States and other countries. All third party trademarks referenced herein are +the property of their respective owners. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to UPX v3.01, which is included +with JRE 7 on Windows. + +--- begin of LICENSE --- + +Use of any of this software is governed by the terms of the license below: + + + ooooo ooo ooooooooo. ooooooo ooooo + `888' `8' `888 `Y88. `8888 d8' + 888 8 888 .d88' Y888..8P + 888 8 888ooo88P' `8888' + 888 8 888 .8PY888. + `88. .8' 888 d8' `888b + `YbodP' o888o o888o o88888o + + + The Ultimate Packer for eXecutables + Copyright (c) 1996-2000 Markus Oberhumer & Laszlo Molnar + http://wildsau.idv.uni-linz.ac.at/mfx/upx.html + http://www.nexus.hu/upx + http://upx.tsx.org + + +PLEASE CAREFULLY READ THIS LICENSE AGREEMENT, ESPECIALLY IF YOU PLAN +TO MODIFY THE UPX SOURCE CODE OR USE A MODIFIED UPX VERSION. + + +ABSTRACT +======== + + UPX and UCL are copyrighted software distributed under the terms + of the GNU General Public License (hereinafter the "GPL"). + + The stub which is imbedded in each UPX compressed program is part + of UPX and UCL, and contains code that is under our copyright. The + terms of the GNU General Public License still apply as compressing + a program is a special form of linking with our stub. + + As a special exception we grant the free usage of UPX for all + executables, including commercial programs. + See below for details and restrictions. + + +COPYRIGHT +========= + + UPX and UCL are copyrighted software. All rights remain with the authors. + + UPX is Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer + UPX is Copyright (C) 1996-2000 Laszlo Molnar + + UCL is Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer + + +GNU GENERAL PUBLIC LICENSE +========================== + + UPX and the UCL library are free software; you can redistribute them + and/or modify them 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. + + UPX and UCL are distributed in the hope that they 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; see the file COPYING. + + +SPECIAL EXCEPTION FOR COMPRESSED EXECUTABLES +============================================ + + The stub which is imbedded in each UPX compressed program is part + of UPX and UCL, and contains code that is under our copyright. The + terms of the GNU General Public License still apply as compressing + a program is a special form of linking with our stub. + + Hereby Markus F.X.J. Oberhumer and Laszlo Molnar grant you special + permission to freely use and distribute all UPX compressed programs + (including commercial ones), subject to the following restrictions: + + 1. You must compress your program with a completely unmodified UPX + version; either with our precompiled version, or (at your option) + with a self compiled version of the unmodified UPX sources as + distributed by us. + 2. This also implies that the UPX stub must be completely unmodfied, i.e. + the stub imbedded in your compressed program must be byte-identical + to the stub that is produced by the official unmodified UPX version. + 3. The decompressor and any other code from the stub must exclusively get + used by the unmodified UPX stub for decompressing your program at + program startup. No portion of the stub may get read, copied, + called or otherwise get used or accessed by your program. + + +ANNOTATIONS +=========== + + - You can use a modified UPX version or modified UPX stub only for + programs that are compatible with the GNU General Public License. + + - We grant you special permission to freely use and distribute all UPX + compressed programs. But any modification of the UPX stub (such as, + but not limited to, removing our copyright string or making your + program non-decompressible) will immediately revoke your right to + use and distribute a UPX compressed program. + + - UPX is not a software protection tool; by requiring that you use + the unmodified UPX version for your proprietary programs we + make sure that any user can decompress your program. This protects + both you and your users as nobody can hide malicious code - + any program that cannot be decompressed is highly suspicious + by definition. + + - You can integrate all or part of UPX and UCL into projects that + are compatible with the GNU GPL, but obviously you cannot grant + any special exceptions beyond the GPL for our code in your project. + + - We want to actively support manufacturers of virus scanners and + similar security software. Please contact us if you would like to + incorporate parts of UPX or UCL into such a product. + + + +Markus F.X.J. Oberhumer Laszlo Molnar +markus.oberhumer@jk.uni-linz.ac.at ml1050@cdata.tvnet.hu + +Linz, Austria, 25 Feb 2000 + +Additional License(s) + +The UPX license file is at http://upx.sourceforge.net/upx-license.html. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to Xfree86-VidMode Extension 1.0, +which is included with JRE 7, JDK 7, and OpenJDK 7 on Linux and Solaris. + +--- begin of LICENSE --- + +Version 1.1 of XFree86 ProjectLicence. + +Copyright (C) 1994-2004 The XFree86 Project, Inc. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicence, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so,subject to the following conditions: + + 1. Redistributions of source code must retain the above copyright + notice,this list of conditions, and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution, and in the same place + and form as other copyright, license and disclaimer information. + + 3. The end-user documentation included with the redistribution, if any,must + include the following acknowledgment: "This product includes + software developed by The XFree86 Project, Inc (http://www.xfree86.org/) and + its contributors", in the same place and form as other third-party + acknowledgments. Alternately, this acknowledgment may appear in the software + itself, in the same form and location as other such third-party + acknowledgments. + + 4. Except as contained in this notice, the name of The XFree86 Project,Inc + shall not be used in advertising or otherwise to promote the sale, use + or other dealings in this Software without prior written authorization from + The XFree86 Project, Inc. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL,SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to X Window System 6.8.2, which is +included with JRE 7, JDK 7, and OpenJDK 7 on Linux and Solaris. + +--- begin of LICENSE --- + + Licenses +The X.Org Foundation March 2004 + +1. Introduction + +The X.org Foundation X Window System distribution is a compilation of code and +documentation from many sources. This document is intended primarily as a +guide to the licenses used in the distribution: you must check each file +and/or package for precise redistribution terms. None-the-less, this summary +may be useful to many users. No software incorporating the XFree86 1.1 license +has been incorporated. + +This document is based on the compilation from XFree86. + +2. XFree86 License + +XFree86 code without an explicit copyright is covered by the following +copyright/license: + +Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the XFree86 Project shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from the XFree86 Project. + +3. Other Licenses + +Portions of code are covered by the following licenses/copyrights. See +individual files for the copyright dates. + +3.1. X/MIT Copyrights + +3.1.1. X Consortium + +Copyright (C) X Consortium + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X +CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the X Consortium shall not be +used in advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from the X Consortium. + +X Window System is a trademark of X Consortium, Inc. + +3.1.2. The Open Group + +Copyright The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that the +above copyright notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting documentation. + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from The Open Group. 3.2. +Berkeley-based copyrights: + +o +3.2.1. General + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. 3.2.2. UCB/LBL + +Copyright (c) 1993 The Regents of the University of California. All rights +reserved. + +This software was developed by the Computer Systems Engineering group at +Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and contributed to +Berkeley. + +All advertising materials mentioning features or use of this software must +display the following acknowledgement: This product includes software +developed by the University of California, Lawrence Berkeley Laboratory. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: This product includes software + developed by the University of California, Berkeley and its contributors. + + 4. Neither the name of the University nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3.2.3. The +NetBSD Foundation, Inc. + +Copyright (c) 2003 The NetBSD Foundation, Inc. All rights reserved. + +This code is derived from software contributed to The NetBSD Foundation by Ben +Collver + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: This product includes software + developed by the NetBSD Foundation, Inc. and its contributors. + + 4. Neither the name of The NetBSD Foundation nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3.2.4. Theodore +Ts'o. + +Copyright Theodore Ts'o, 1994, 1995, 1996, 1997, 1998, 1999. All rights +reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + and the entire permission notice in its entirety, including the disclaimer + of warranties. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. he name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE, ALL OF WHICH ARE HEREBY DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. 3.2.5. Theo de Raadt and Damien Miller + +Copyright (c) 1995,1999 Theo de Raadt. All rights reserved. Copyright (c) +2001-2002 Damien Miller. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. 3.2.6. Todd C. Miller + +Copyright (c) 1998 Todd C. Miller + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright +notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION +OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 3.2.7. Thomas +Winischhofer + +Copyright (C) 2001-2004 Thomas Winischhofer + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESSED OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. 3.3. NVIDIA Corp + +Copyright (c) 1996 NVIDIA, Corp. All rights reserved. + +NOTICE TO USER: The source code is copyrighted under U.S. and international +laws. NVIDIA, Corp. of Sunnyvale, California owns the copyright and as design +patents pending on the design and interface of the NV chips. Users and +possessors of this source code are hereby granted a nonexclusive, royalty-free +copyright and design patent license to use this code in individual and +commercial software. + +Any use of this source code must include, in the user documentation and +internal comments to the code, notices to the end user as follows: + +Copyright (c) 1996 NVIDIA, Corp. NVIDIA design patents pending in the U.S. and +foreign countries. + +NVIDIA, CORP. MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE +CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED +WARRANTY OF ANY KIND. NVIDIA, CORP. DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA, CORP. BE LIABLE +FOR ANY SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOURCE CODE. 3.4. GLX Public +License + +GLX PUBLIC LICENSE (Version 1.0 (2/11/99)) ("License") + +Subject to any third party claims, Silicon Graphics, Inc. ("SGI") hereby +grants permission to Recipient (defined below), under Recipient's copyrights +in the Original Software (defined below), to use, copy, modify, merge, +publish, distribute, sublicense and/or sell copies of Subject Software +(defined below), and to permit persons to whom the Subject Software is +furnished in accordance with this License to do the same, subject to all of +the following terms and conditions, which Recipient accepts by engaging in any +such use, copying, modifying, merging, publishing, distributing, sublicensing +or selling: + +1. Definitions. + + (a) "Original Software" means source code of computer software code which + is described in Exhibit A as Original Software. + + (b) "Modifications" means any addition to or deletion from the substance + or structure of either the Original Software or any previous + Modifications. When Subject Software is released as a series of files, a + Modification means (i) any addition to or deletion from the contents of a + file containing Original Software or previous Modifications and (ii) any + new file that contains any part of the Original Code or previous + Modifications. + + (c) "Subject Software" means the Original Software or Modifications or the + combination of the Original Software and Modifications, or portions of any + of the foregoing. + + (d) "Recipient" means an individual or a legal entity exercising rights + under, and complying with all of the terms of, this License. For legal + entities, "Recipient" includes any entity which controls, is controlled + by, or is under common control with Recipient. For purposes of this + definition, "control" of an entity means (a) the power, direct or + indirect, to direct or manage such entity, or (b) ownership of fifty + percent (50%) or more of the outstanding shares or beneficial ownership of + such entity. + +2. Redistribution of Source Code Subject to These Terms. Redistributions of +Subject Software in source code form must retain the notice set forth in +Exhibit A, below, in every file. A copy of this License must be included in +any documentation for such Subject Software where the recipients' rights +relating to Subject Software are described. Recipient may distribute the +source code version of Subject Software under a license of Recipient's choice, +which may contain terms different from this License, provided that (i) +Recipient is in compliance with the terms of this License, and (ii) the +license terms include this Section 2 and Sections 3, 4, 7, 8, 10, 12 and 13 of +this License, which terms may not be modified or superseded by any other terms +of such license. If Recipient distributes the source code version under a +different license Recipient must make it absolutely clear that any terms which +differ from this License are offered by Recipient alone, not by SGI. Recipient +hereby agrees to indemnify SGI for any liability incurred by SGI as a result +of any such terms Recipient offers. + +3. Redistribution in Executable Form. The notice set forth in Exhibit A must +be conspicuously included in any notice in an executable version of Subject +Software, related documentation or collateral in which Recipient describes the +user's rights relating to the Subject Software. Recipient may distribute the +executable version of Subject Software under a license of Recipient's choice, +which may contain terms different from this License, provided that (i) +Recipient is in compliance with the terms of this License, and (ii) the +license terms include this Section 3 and Sections 4, 7, 8, 10, 12 and 13 of +this License, which terms may not be modified or superseded by any other terms +of such license. If Recipient distributes the executable version under a +different license Recipient must make it absolutely clear that any terms which +differ from this License are offered by Recipient alone, not by SGI. Recipient +hereby agrees to indemnify SGI for any liability incurred by SGI as a result +of any such terms Recipient offers. + +4. Termination. This License and the rights granted hereunder will terminate +automatically if Recipient fails to comply with terms herein and fails to cure +such breach within 30 days of the breach. Any sublicense to the Subject +Software which is properly granted shall survive any termination of this +License absent termination by the terms of such sublicense. Provisions which, +by their nature, must remain in effect beyond the termination of this License +shall survive. + +5. No Trademark Rights. This License does not grant any rights to use any +trade name, trademark or service mark whatsoever. No trade name, trademark or +service mark of SGI may be used to endorse or promote products derived from +the Subject Software without prior written permission of SGI. + +6. No Other Rights. This License does not grant any rights with respect to the +OpenGL API or to any software or hardware implementation thereof or to any +other software whatsoever, nor shall any other rights or licenses not +expressly granted hereunder arise by implication, estoppel or otherwise with +respect to the Subject Software. Title to and ownership of the Original +Software at all times remains with SGI. All rights in the Original Software +not expressly granted under this License are reserved. + +7. Compliance with Laws; Non-Infringement. Recipient shall comply with all +applicable laws and regulations in connection with use and distribution of the +Subject Software, including but not limited to, all export and import control +laws and regulations of the U.S. government and other countries. Recipient may +not distribute Subject Software that (i) in any way infringes (directly or +contributorily) the rights (including patent, copyright, trade secret, +trademark or other intellectual property rights of any kind) of any other +person or entity or (ii) breaches any representation or warranty, express, +implied or statutory, which under any applicable law it might be deemed to +have been distributed. + +8. Claims of Infringement. If Recipient at any time has knowledge of any one +or more third party claims that reproduction, modification, use, distribution, +import or sale of Subject Software (including particular functionality or code +incorporated in Subject Software) infringes the third party's intellectual +property rights, Recipient must place in a well-identified web page bearing +the title "LEGAL" a description of each such claim and a description of the +party making each such claim in sufficient detail that a user of the Subject +Software will know whom to contact regarding the claim. Also, upon gaining +such knowledge of any such claim, Recipient must conspicuously include the URL +for such web page in the Exhibit A notice required under Sections 2 and 3, +above, and in the text of any related documentation, license agreement or +collateral in which Recipient describes end user's rights relating to the +Subject Software. If Recipient obtains such knowledge after it makes Subject +Software available to any other person or entity, Recipient shall take other +steps (such as notifying appropriate mailing lists or newsgroups) reasonably +calculated to inform those who received the Subject Software that new +knowledge has been obtained. + +9. DISCLAIMER OF WARRANTY. SUBJECT SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, +WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT +LIMITATION, WARRANTIES THAT THE SUBJECT SOFTWARE IS FREE OF DEFECTS, +MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON- INFRINGING. SGI ASSUMES NO +RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD ANY SOFTWARE +PROVE DEFECTIVE IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR ANY +SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN +ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SUBJECT SOFTWARE IS AUTHORIZED +HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +10. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, +WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT LIABILITY), +CONTRACT, OR OTHERWISE, SHALL SGI OR ANY SGI LICENSOR BE LIABLE FOR ANY +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY +CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK +STOPPAGE, LOSS OF DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER +COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF +THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY +TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SGI's NEGLIGENCE TO +THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT +ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO +THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO RECIPIENT. + +11. Indemnity. Recipient shall be solely responsible for damages arising, +directly or indirectly, out of its utilization of rights under this License. +Recipient will defend, indemnify and hold harmless Silicon Graphics, Inc. from +and against any loss, liability, damages, costs or expenses (including the +payment of reasonable attorneys fees) arising out of Recipient's use, +modification, reproduction and distribution of the Subject Software or out of +any representation or warranty made by Recipient. + +12. U.S. Government End Users. The Subject Software is a "commercial item" +consisting of "commercial computer software" as such terms are defined in +title 48 of the Code of Federal Regulations and all U.S. Government End Users +acquire only the rights set forth in this License and are subject to the terms +of this License. + +13. Miscellaneous. This License represents the complete agreement concerning +subject matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed so as to achieve as nearly as +possible the same economic effect as the original provision and the remainder +of this License will remain in effect. This License shall be governed by and +construed in accordance with the laws of the United States and the State of +California as applied to agreements entered into and to be performed entirely +within California between California residents. Any litigation relating to +this License shall be subject to the exclusive jurisdiction of the Federal +Courts of the Northern District of California (or, absent subject matter +jurisdiction in such courts, the courts of the State of California), with +venue lying exclusively in Santa Clara County, California, with the losing +party responsible for costs, including without limitation, court costs and +reasonable attorneys fees and expenses. The application of the United Nations +Convention on Contracts for the International Sale of Goods is expressly +excluded. Any law or regulation which provides that the language of a contract +shall be construed against the drafter shall not apply to this License. + +Exhibit A + +The contents of this file are subject to Sections 2, 3, 4, 7, 8, 10, 12 and 13 +of the GLX Public License Version 1.0 (the "License"). You may not use this +file except in compliance with those sections of the License. You may obtain a +copy of the License at Silicon Graphics, Inc., attn: Legal Services, 2011 N. +Shoreline Blvd., Mountain View, CA 94043 or at +http://www.sgi.com/software/opensource/glx/license.html. + +Software distributed under the License is distributed on an "AS IS" basis. ALL +WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED +WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE OR OF NON- +INFRINGEMENT. See the License for the specific language governing rights and +limitations under the License. + +The Original Software is GLX version 1.2 source code, released February, 1999. +The developer of the Original Software is Silicon Graphics, Inc. Those +portions of the Subject Software created by Silicon Graphics, Inc. are +Copyright (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved. 3.5. CID +Font Code Public License + +CID FONT CODE PUBLIC LICENSE (Version 1.0 (3/31/99))("License") + +Subject to any applicable third party claims, Silicon Graphics, Inc. ("SGI") +hereby grants permission to Recipient (defined below), under SGI's copyrights +in the Original Software (defined below), to use, copy, modify, merge, +publish, distribute, sublicense and/or sell copies of Subject Software +(defined below) in both source code and executable form, and to permit persons +to whom the Subject Software is furnished in accordance with this License to +do the same, subject to all of the following terms and conditions, which +Recipient accepts by engaging in any such use, copying, modifying, merging, +publication, distributing, sublicensing or selling: + +1. Definitions. + + a. "Original Software" means source code of computer software code that is + described in Exhibit A as Original Software. + + b. "Modifications" means any addition to or deletion from the substance or + structure of either the Original Software or any previous Modifications. + When Subject Software is released as a series of files, a Modification + means (i) any addition to or deletion from the contents of a file + containing Original Software or previous Modifications and (ii) any new + file that contains any part of the Original Code or previous + Modifications. + + c. "Subject Software" means the Original Software or Modifications or the + combination of the Original Software and Modifications, or portions of any + of the foregoing. + + d. "Recipient" means an individual or a legal entity exercising rights + under the terms of this License. For legal entities, "Recipient" includes + any entity that controls, is controlled by, or is under common control + with Recipient. For purposes of this definition, "control" of an entity + means (i) the power, direct or indirect, to direct or manage such entity, + or (ii) ownership of fifty percent (50%) or more of the outstanding shares + or beneficial ownership of such entity. + + e. "Required Notice" means the notice set forth in Exhibit A to this + License. + + f. "Accompanying Technology" means any software or other technology that + is not a Modification and that is distributed or made publicly available + by Recipient with the Subject Software. Separate software files that do + not contain any Original Software or any previous Modification shall not + be deemed a Modification, even if such software files are aggregated as + part of a product, or in any medium of storage, with any file that does + contain Original Software or any previous Modification. + +2. License Terms. All distribution of the Subject Software must be made +subject to the terms of this License. A copy of this License and the Required +Notice must be included in any documentation for Subject Software where +Recipient's rights relating to Subject Software and/or any Accompanying +Technology are described. Distributions of Subject Software in source code +form must also include the Required Notice in every file distributed. In +addition, a ReadMe file entitled "Important Legal Notice" must be distributed +with each distribution of one or more files that incorporate Subject Software. +That file must be included with distributions made in both source code and +executable form. A copy of the License and the Required Notice must be +included in that file. Recipient may distribute Accompanying Technology under +a license of Recipient's choice, which may contain terms different from this +License, provided that (i) Recipient is in compliance with the terms of this +License, (ii) such other license terms do not modify or supersede the terms of +this License as applicable to the Subject Software, (iii) Recipient hereby +indemnifies SGI for any liability incurred by SGI as a result of the +distribution of Accompanying Technology or the use of other license terms. + +3. Termination. This License and the rights granted hereunder will terminate +automatically if Recipient fails to comply with terms herein and fails to cure +such breach within 30 days of the breach. Any sublicense to the Subject +Software that is properly granted shall survive any termination of this +License absent termination by the terms of such sublicense. Provisions which, +by their nature, must remain in effect beyond the termination of this License +shall survive. + +4. Trademark Rights. This License does not grant any rights to use any trade +name, trademark or service mark whatsoever. No trade name, trademark or +service mark of SGI may be used to endorse or promote products derived from or +incorporating any Subject Software without prior written permission of SGI. + +5. No Other Rights. No rights or licenses not expressly granted hereunder +shall arise by implication, estoppel or otherwise. Title to and ownership of +the Original Software at all times remains with SGI. All rights in the +Original Software not expressly granted under this License are reserved. + +6. Compliance with Laws; Non-Infringement. Recipient shall comply with all +applicable laws and regulations in connection with use and distribution of the +Subject Software, including but not limited to, all export and import control +laws and regulations of the U.S. government and other countries. Recipient may +not distribute Subject Software that (i) in any way infringes (directly or +contributorily) the rights (including patent, copyright, trade secret, +trademark or other intellectual property rights of any kind) of any other +person or entity, or (ii) breaches any representation or warranty, express, +implied or statutory, which under any applicable law it might be deemed to +have been distributed. + +7. Claims of Infringement. If Recipient at any time has knowledge of any one +or more third party claims that reproduction, modification, use, distribution, +import or sale of Subject Software (including particular functionality or code +incorporated in Subject Software) infringes the third party's intellectual +property rights, Recipient must place in a well-identified web page bearing +the title "LEGAL" a description of each such claim and a description of the +party making each such claim in sufficient detail that a user of the Subject +Software will know whom to contact regarding the claim. Also, upon gaining +such knowledge of any such claim, Recipient must conspicuously include the URL +for such web page in the Required Notice, and in the text of any related +documentation, license agreement or collateral in which Recipient describes +end user's rights relating to the Subject Software. If Recipient obtains such +knowledge after it makes Subject Software available to any other person or +entity, Recipient shall take other steps (such as notifying appropriate +mailing lists or newsgroups) reasonably calculated to provide such knowledge +to those who received the Subject Software. + +8. DISCLAIMER OF WARRANTY. SUBJECT SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, +WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT +LIMITATION, WARRANTIES THAT THE SUBJECT SOFTWARE IS FREE OF DEFECTS, +MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. SGI ASSUMES NO +RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD ANY SOFTWARE +PROVE DEFECTIVE IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR ANY +SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN +ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SUBJECT SOFTWARE IS AUTHORIZED +HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +9. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, +WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT LIABILITY), +CONTRACT, OR OTHERWISE, SHALL SGI OR ANY SGI LICENSOR BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SUBJECT SOFTWARE OR +THE USE OR OTHER DEALINGS IN THE SUBJECT SOFTWARE. SOME JURISDICTIONS DO NOT +ALLOW THE EXCLUSION OR LIMITATION OF CERTAIN DAMAGES, SO THIS EXCLUSION AND +LIMITATION MAY NOT APPLY TO RECIPIENT TO THE EXTENT SO DISALLOWED. + +10. Indemnity. Recipient shall be solely responsible for damages arising, +directly or indirectly, out of its utilization of rights under this License. +Recipient will defend, indemnify and hold SGI and its successors and assigns +harmless from and against any loss, liability, damages, costs or expenses +(including the payment of reasonable attorneys fees) arising out of +(Recipient's use, modification, reproduction and distribution of the Subject +Software or out of any representation or warranty made by Recipient. + +11. U.S. Government End Users. The Subject Software is a "commercial item" +consisting of "commercial computer software" as such terms are defined in +title 48 of the Code of Federal Regulations and all U.S. Government End Users +acquire only the rights set forth in this License and are subject to the terms +of this License. + +12. Miscellaneous. This License represents the complete agreement concerning +subject matter hereof. If any provision of this License is held to be +unenforceable by any judicial or administrative authority having proper +jurisdiction with respect thereto, such provision shall be reformed so as to +achieve as nearly as possible the same economic effect as the original +provision and the remainder of this License will remain in effect. This +License shall be governed by and construed in accordance with the laws of the +United States and the State of California as applied to agreements entered +into and to be performed entirely within California between California +residents. Any litigation relating to this License shall be subject to the +exclusive jurisdiction of the Federal Courts of the Northern District of +California (or, absent subject matter jurisdiction in such courts, the courts +of the State of California), with venue lying exclusively in Santa Clara +County, California, with the losing party responsible for costs, including +without limitation, court costs and reasonable attorneys fees and expenses. +The application of the United Nations Convention on Contracts for the +International Sale of Goods is expressly excluded. Any law or regulation that +provides that the language of a contract shall be construed against the +drafter shall not apply to this License. + +Exhibit A + +Copyright (c) 1994-1999 Silicon Graphics, Inc. + +The contents of this file are subject to the CID Font Code Public License +Version 1.0 (the "License"). You may not use this file except in compliance +with the License. You may obtain a copy of the License at Silicon Graphics, +Inc., attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043 +or at http://www.sgi.com/software/opensource/cid/license.html + +Software distributed under the License is distributed on an "AS IS" basis. ALL +WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED +WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE OR OF +NON-INFRINGEMENT. See the License for the specific language governing rights +and limitations under the License. + +The Original Software (as defined in the License) is CID font code that was +developed by Silicon Graphics, Inc. Those portions of the Subject Software (as +defined in the License) that were created by Silicon Graphics, Inc. are +Copyright (c) 1994-1999 Silicon Graphics, Inc. All Rights Reserved. + +[NOTE: When using this text in connection with Subject Software delivered +solely in object code form, Recipient may replace the words "this file" with +"this software" in both the first and second sentences.] 3.6. Bitstream Vera +Fonts Copyright + +The fonts have a generous copyright, allowing derivative works (as long as +"Bitstream" or "Vera" are not in the names), and full redistribution (so long +as they are not *sold* by themselves). They can be be bundled, redistributed +and sold with any software. + +The fonts are distributed under the following copyright: + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a +trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license ("Fonts") and associated documentation +files (the "Font Software"), to reproduce and distribute the Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, and/or sell copies of the Font Software, and to permit persons to +whom the Font Software is furnished to do so, subject to the following +conditions: + +The above copyright and trademark notices and this permission notice shall be +included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular the +designs of glyphs or characters in the Fonts may be modified and additional +glyphs or characters may be added to the Fonts, only if the fonts are renamed +to names not containing either the words "Bitstream" or the word "Vera". + +This License becomes null and void to the extent applicable to Fonts or Font +Software that has been modified and is distributed under the "Bitstream Vera" +names. + +The Font Software may be sold as part of a larger software package but no copy +of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, +SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO +USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome Foundation, +and Bitstream Inc., shall not be used in advertising or otherwise to promote +the sale, use or other dealings in this Font Software without prior written +authorization from the Gnome Foundation or Bitstream Inc., respectively. For +further information, contact: fonts at gnome dot org. 3.7. Bigelow & Holmes +Inc and URW++ GmbH Luxi font license + +Luxi fonts copyright (c) 2001 by Bigelow & Holmes Inc. Luxi font instruction +code copyright (c) 2001 by URW++ GmbH. All Rights Reserved. Luxi is a +registered trademark of Bigelow & Holmes Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of these Fonts and associated documentation files (the "Font Software"), to +deal in the Font Software, including without limitation the rights to use, +copy, merge, publish, distribute, sublicense, and/or sell copies of the Font +Software, and to permit persons to whom the Font Software is furnished to do +so, subject to the following conditions: + +The above copyright and trademark notices and this permission notice shall be +included in all copies of one or more of the Font Software. + +The Font Software may not be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may not be modified nor may +additional glyphs or characters be added to the Fonts. This License becomes +null and void when the Fonts or Font Software have been modified. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BIGELOW & HOLMES INC. OR URW++ +GMBH. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY +GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR +INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT +SOFTWARE. + +Except as contained in this notice, the names of Bigelow & Holmes Inc. and +URW++ GmbH. shall not be used in advertising or otherwise to promote the sale, +use or other dealings in this Font Software without prior written +authorization from Bigelow & Holmes Inc. and URW++ GmbH. + +For further information, contact: + +info@urwpp.de or design@bigelowandholmes.com + + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to zlib v1.2.3, which is included +with JRE 7, JDK 7, and OpenJDK 7 + +--- begin of LICENSE --- + + version 1.2.3, July 18th, 2005 + + Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + +%% This notice is provided with respect to the following which is +included with JRE 7, JDK 7, and OpenJDK 7, except where noted: + + Apache Derby 10.8.3.0 [included with JDK 7 only] + Apache Jakarta BCEL 5.2 + Apache Jakarta Regexp 1.4 + Apache Santuario XMLSec-Java 1.4.2 + Apache Xalan-Java 2.7.1 + Apache Xerces2 Java 2.11.0 + Apache XML Resolver 1.1 + + +--- begin of LICENSE --- + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--- end of LICENSE --- + +------------------------------------------------------------------------------- + diff --git a/Java-Visualizer/java/jre/Welcome.html b/Java-Visualizer/java/jre/Welcome.html new file mode 100644 index 00000000..622dea92 --- /dev/null +++ b/Java-Visualizer/java/jre/Welcome.html @@ -0,0 +1,28 @@ + + + +Welcome to the Java(TM) Platform + + + + +

Welcome to the JavaTM Platform

+

Welcome to the JavaTM Standard Edition Runtime + Environment. This provides complete runtime support for Java applications. +

The runtime environment includes the JavaTM + Plug-in product which supports the Java environment inside web browsers. +

References

+

+See the Java Plug-in product +documentation for more information on using the Java Plug-in product. +

See the Java Platform web site for + more information on the Java Platform. +


+ +Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. + +

+ + diff --git a/Java-Visualizer/java/jre/bin/ControlPanel b/Java-Visualizer/java/jre/bin/ControlPanel new file mode 120000 index 00000000..194ee989 --- /dev/null +++ b/Java-Visualizer/java/jre/bin/ControlPanel @@ -0,0 +1 @@ +jcontrol \ No newline at end of file diff --git a/Java-Visualizer/java/jre/bin/java b/Java-Visualizer/java/jre/bin/java new file mode 100755 index 00000000..5d76208e Binary files /dev/null and b/Java-Visualizer/java/jre/bin/java differ diff --git a/Java-Visualizer/java/jre/bin/java_vm b/Java-Visualizer/java/jre/bin/java_vm new file mode 100755 index 00000000..a4b98ae6 Binary files /dev/null and b/Java-Visualizer/java/jre/bin/java_vm differ diff --git a/Java-Visualizer/java/jre/bin/javaws b/Java-Visualizer/java/jre/bin/javaws new file mode 100755 index 00000000..1a775c3c Binary files /dev/null and b/Java-Visualizer/java/jre/bin/javaws differ diff --git a/Java-Visualizer/java/jre/bin/jcontrol b/Java-Visualizer/java/jre/bin/jcontrol new file mode 100755 index 00000000..4baa9409 --- /dev/null +++ b/Java-Visualizer/java/jre/bin/jcontrol @@ -0,0 +1,247 @@ +#!/bin/bash +# +# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# +# Shell Script to run the Java Plug-in control panel. +# +# Parse the command-line options +# -r means make associate with the container (i.e browser) +# -u means remove the association with the container +# -c provides the location of the container install +# -j provides the location of the jre install +# if neither -r or -u are specified, run the ControlPanel UI + +USAGE='usage: ControlPanel [ (-u scheme | -r scheme) -c cpath -j jrepath ]' +JLERROR='ControlPanel: Error: Invalid JRE location: ' +CLERROR='ControlPanel: Error: Invalid container location: ' +IPERROR='ControlPanel: Error: Insufficient permission' +ISERROR='ControlPanel: Error: Invalid scheme: ' +XLERROR='ControlPanel: Error: Invalid link or copy: ' + +check_container_dir() { + + if [ ! -d ${1} ]; then + echo "${CLERROR}${2}" + exit 1 + fi + if [ ! -w ${1} ]; then + echo "${IPERROR}" + exit 1 + fi +} + +link_logic() { + if [ ${mode} = "reg" ]; then + ln -s ${1} ${2} + else + rm -f ${2} + fi +} + +# +# Get the absolute path to a symbolic link's reference. +# +# Parameters: +# $* : path - the path to the file (link) to dereference (can have spaces in +# the path). +# +# Output: +# This function writes the path to the link reference to stdout. +# +# Note: This function is not capable of detecting that one or more directories +# in the path is also a link and unravelling that. +# +dereference() { + path="$*" + result= + + # + # Make sure the path is absolute + # + parent="`cd \`dirname \"${path}\"\`; pwd`" + child="`basename \"${path}\"`" + + # + # if parent == child, then path == /, and is already absolute + # + if [ "${parent}" != "${child}" ]; then + path="${parent}/${child}" + fi + + if [ -h "${path}" ]; then + path=`ls -l "${path}" | sed -e "s#^.*${path} -> ##"` + + # make sure the path is still absolute (starts with '/') + if expr "${path}" : '[^/]' > /dev/null; then + path="${parent}/${path}" + fi + fi + + echo ${path} +} + +# +# Check for all the parts required to launch the control panel relative to the +# given path. +# +# +# Parameters: +# $* : path - the path to examine, presumably the resolved path to this +# script (can have spaces in the path). +# +# Output: +# If successful, this function outputs the absolute path to a directory +# containing the Java binary, and ../lib/deploy.jar; otherwise it outputs +# an empty string. (Output is to stdout.) +# +# Note: the assumption is that this function returns either: +# +# /jre/bin, or +# /bin +# +# However, as long as the directory pointed by the path returned by this +# function contains: +# +# ./java +# ../lib/deploy.jar +# +# it should be possible to successfully launch the JCP from the given +# information. +# +check_parts() { + result="`cd \`dirname \"$*\"\`; pwd`" + + # if this is a JDK, we need the JRE subdir + if [ -d "${result}/../jre/bin" ]; then + result="`cd \`dirname \"$*\"\`/../jre/bin; pwd`" + fi + + if [ ! -x "${result}/java" ] || [ ! -f "${result}/../lib/deploy.jar" ]; then + result= + fi + + echo ${result} +} + +# +# Launch the Java Control Panel. +# +# Parameters: +# $* : path - the path of this script (can have spaces in the path). +# +launch_jcp() { + path="$*" + while [ -h ${path} ]; do + path="`dereference ${path}`" + done + + java_home="`check_parts ${path}`" + if [ -n "${java_home}" ]; then + # launch the JCP using paths relative to + ${java_home}/java -Djavaplugin.user.profile=${USER_JPI_PROFILE} \ + -Xbootclasspath/a:${java_home}/../lib/deploy.jar \ + ${_JAVA_VM_OPTIONS} \ + com.sun.deploy.panel.ControlPanel + else + echo "${XLERROR}${java_home}" + exit 1 + fi +} + +# +# Manage the process of registering/unregistering the Java Plug-in with a given +# container (browser). +# +manage_container() { + # Do the "right" thing based on the provided scheme. + plugin_stem=${java_home}/plugin/${proc} + if [ ! -d ${plugin_stem} ]; then + echo "${JLERROR}${java_home}" + exit 1 + fi + + case ${scheme} in + ns4 | ns4E ) + plugin_location="${plugin_stem}/ns4" + if [ ${mode} = "reg" ]; then + echo "${plugin_location}" + fi + ;; + ns4L ) + plugin_location="${plugin_stem}/ns4" + filename=`ls ${plugin_location}` + container_target="${container_home}/plugins" + check_container_dir ${container_target} ${container_home} + link_logic ${plugin_location}/${filename} ${container_target}/${filename} + ;; + ns610 | ns610L ) + plugin_location="${plugin_stem}/ns610" + filename=`ls ${plugin_location}` + container_target="${container_home}/plugins" + check_container_dir ${container_target} ${container_home} + link_logic ${plugin_location}/${filename} ${container_target}/${filename} + ;; + * ) + echo ${ISERROR}${scheme} + exit 1 + esac +} + +while getopts ":r:u:c:j:" opt; do + case $opt in + r ) mode="reg";scheme=${OPTARG} + ;; + u ) mode="unreg";scheme=${OPTARG} + ;; + c ) container_home=${OPTARG} + ;; + j ) java_home=${OPTARG} + ;; + : ) echo ${USAGE} + exit 1 + ;; + \? ) echo ${USAGE} + exit 1 + ;; + esac +done + +os=`uname -s` +if [ "${os}" = "Linux" ]; then + case "`uname -m`" in + i[3-9]86 | ia32 | ia64 | x86_64) + proc=i386 + ;; + sparc*) + proc=sparc + ;; + arm*) + proc=arm + ;; + ppc*) + proc=ppc + ;; + *) + proc="`uname -m`" + ;; + esac +else + proc=`uname -p` +fi + +if [ -z "${scheme}" ] && + [ -z "${java_home}" ] && [ -z "${container_home}" ] +then + # just run the control panel + launch_jcp $0 +elif [ -n "${scheme}" ] && + [ -n "${java_home}" ] && [ -n "${container_home}" ] +then + # try to register/unregister the plugin + manage_container +else + # one or more missing args + echo ${USAGE} + exit 1 +fi diff --git a/Java-Visualizer/java/jre/bin/keytool b/Java-Visualizer/java/jre/bin/keytool new file mode 100755 index 00000000..5e6dd4d2 Binary files /dev/null and b/Java-Visualizer/java/jre/bin/keytool differ diff --git a/Java-Visualizer/java/jre/bin/orbd b/Java-Visualizer/java/jre/bin/orbd new file mode 100755 index 00000000..eff1927a Binary files /dev/null and b/Java-Visualizer/java/jre/bin/orbd differ diff --git a/Java-Visualizer/java/jre/bin/pack200 b/Java-Visualizer/java/jre/bin/pack200 new file mode 100755 index 00000000..5576247b Binary files /dev/null and b/Java-Visualizer/java/jre/bin/pack200 differ diff --git a/Java-Visualizer/java/jre/bin/policytool b/Java-Visualizer/java/jre/bin/policytool new file mode 100755 index 00000000..69129f65 Binary files /dev/null and b/Java-Visualizer/java/jre/bin/policytool differ diff --git a/Java-Visualizer/java/jre/bin/rmid b/Java-Visualizer/java/jre/bin/rmid new file mode 100755 index 00000000..d9d10210 Binary files /dev/null and b/Java-Visualizer/java/jre/bin/rmid differ diff --git a/Java-Visualizer/java/jre/bin/rmiregistry b/Java-Visualizer/java/jre/bin/rmiregistry new file mode 100755 index 00000000..a0d92bb8 Binary files /dev/null and b/Java-Visualizer/java/jre/bin/rmiregistry differ diff --git a/Java-Visualizer/java/jre/bin/servertool b/Java-Visualizer/java/jre/bin/servertool new file mode 100755 index 00000000..5e2b2e34 Binary files /dev/null and b/Java-Visualizer/java/jre/bin/servertool differ diff --git a/Java-Visualizer/java/jre/bin/tnameserv b/Java-Visualizer/java/jre/bin/tnameserv new file mode 100755 index 00000000..7fc55a68 Binary files /dev/null and b/Java-Visualizer/java/jre/bin/tnameserv differ diff --git a/Java-Visualizer/java/jre/bin/unpack200 b/Java-Visualizer/java/jre/bin/unpack200 new file mode 100755 index 00000000..0ec85cb0 Binary files /dev/null and b/Java-Visualizer/java/jre/bin/unpack200 differ diff --git a/Java-Visualizer/java/jre/lib/alt-rt.jar b/Java-Visualizer/java/jre/lib/alt-rt.jar new file mode 100755 index 00000000..1f8c9d4b Binary files /dev/null and b/Java-Visualizer/java/jre/lib/alt-rt.jar differ diff --git a/Java-Visualizer/java/jre/lib/amd64/fxavcodecplugin-52.so b/Java-Visualizer/java/jre/lib/amd64/fxavcodecplugin-52.so new file mode 100755 index 00000000..30a05dd5 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/fxavcodecplugin-52.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/fxavcodecplugin-53.so b/Java-Visualizer/java/jre/lib/amd64/fxavcodecplugin-53.so new file mode 100755 index 00000000..37314e3e Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/fxavcodecplugin-53.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/fxplugins.so b/Java-Visualizer/java/jre/lib/amd64/fxplugins.so new file mode 100755 index 00000000..8693ad58 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/fxplugins.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/headless/libmawt.so b/Java-Visualizer/java/jre/lib/amd64/headless/libmawt.so new file mode 100755 index 00000000..2330d88a Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/headless/libmawt.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/jli/libjli.so b/Java-Visualizer/java/jre/lib/amd64/jli/libjli.so new file mode 100755 index 00000000..e0fc90ee Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/jli/libjli.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/jvm.cfg b/Java-Visualizer/java/jre/lib/amd64/jvm.cfg new file mode 100755 index 00000000..14e27e4e --- /dev/null +++ b/Java-Visualizer/java/jre/lib/amd64/jvm.cfg @@ -0,0 +1,39 @@ +# Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# List of JVMs that can be used as an option to java, javac, etc. +# Order is important -- first in this list is the default JVM. +# NOTE that this both this file and its format are UNSUPPORTED and +# WILL GO AWAY in a future release. +# +# You may also select a JVM in an arbitrary location with the +# "-XXaltjvm=" option, but that too is unsupported +# and may not be available in a future release. +# +-server KNOWN +-client IGNORE +-hotspot ERROR +-classic WARN +-native ERROR +-green ERROR diff --git a/Java-Visualizer/java/jre/lib/amd64/libJdbcOdbc.so b/Java-Visualizer/java/jre/lib/amd64/libJdbcOdbc.so new file mode 100755 index 00000000..7e2eaf23 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libJdbcOdbc.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libattach.so b/Java-Visualizer/java/jre/lib/amd64/libattach.so new file mode 100755 index 00000000..92630e70 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libattach.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libawt.so b/Java-Visualizer/java/jre/lib/amd64/libawt.so new file mode 100755 index 00000000..a157b1e4 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libawt.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libdcpr.so b/Java-Visualizer/java/jre/lib/amd64/libdcpr.so new file mode 100755 index 00000000..015dd582 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libdcpr.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libdeploy.so b/Java-Visualizer/java/jre/lib/amd64/libdeploy.so new file mode 100755 index 00000000..4d5f72cf Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libdeploy.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libdt_socket.so b/Java-Visualizer/java/jre/lib/amd64/libdt_socket.so new file mode 100755 index 00000000..2b989a82 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libdt_socket.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libfontmanager.so b/Java-Visualizer/java/jre/lib/amd64/libfontmanager.so new file mode 100755 index 00000000..491bddb6 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libfontmanager.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libglass.so b/Java-Visualizer/java/jre/lib/amd64/libglass.so new file mode 100755 index 00000000..35cd25c5 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libglass.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libgstplugins-lite.so b/Java-Visualizer/java/jre/lib/amd64/libgstplugins-lite.so new file mode 100755 index 00000000..3a73fab3 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libgstplugins-lite.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libgstreamer-lite.so b/Java-Visualizer/java/jre/lib/amd64/libgstreamer-lite.so new file mode 100755 index 00000000..4b24f125 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libgstreamer-lite.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libhprof.so b/Java-Visualizer/java/jre/lib/amd64/libhprof.so new file mode 100755 index 00000000..d35d10e9 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libhprof.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libinstrument.so b/Java-Visualizer/java/jre/lib/amd64/libinstrument.so new file mode 100755 index 00000000..d941b1e3 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libinstrument.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libj2gss.so b/Java-Visualizer/java/jre/lib/amd64/libj2gss.so new file mode 100755 index 00000000..baea86b7 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libj2gss.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libj2pcsc.so b/Java-Visualizer/java/jre/lib/amd64/libj2pcsc.so new file mode 100755 index 00000000..1c206bfe Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libj2pcsc.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libj2pkcs11.so b/Java-Visualizer/java/jre/lib/amd64/libj2pkcs11.so new file mode 100755 index 00000000..96277831 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libj2pkcs11.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjaas_unix.so b/Java-Visualizer/java/jre/lib/amd64/libjaas_unix.so new file mode 100755 index 00000000..372bda4a Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjaas_unix.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjava.so b/Java-Visualizer/java/jre/lib/amd64/libjava.so new file mode 100755 index 00000000..c082738e Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjava.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjava_crw_demo.so b/Java-Visualizer/java/jre/lib/amd64/libjava_crw_demo.so new file mode 100755 index 00000000..939aeec4 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjava_crw_demo.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjavafx-font.so b/Java-Visualizer/java/jre/lib/amd64/libjavafx-font.so new file mode 100755 index 00000000..da3d114a Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjavafx-font.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjavafx-iio.so b/Java-Visualizer/java/jre/lib/amd64/libjavafx-iio.so new file mode 100755 index 00000000..d7c1447f Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjavafx-iio.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjavaplugin_jni.so b/Java-Visualizer/java/jre/lib/amd64/libjavaplugin_jni.so new file mode 100755 index 00000000..769d42a4 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjavaplugin_jni.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjawt.so b/Java-Visualizer/java/jre/lib/amd64/libjawt.so new file mode 100755 index 00000000..175d11ab Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjawt.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjdwp.so b/Java-Visualizer/java/jre/lib/amd64/libjdwp.so new file mode 100755 index 00000000..b727097c Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjdwp.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjfr.so b/Java-Visualizer/java/jre/lib/amd64/libjfr.so new file mode 100755 index 00000000..9b80cf86 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjfr.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjfxmedia.so b/Java-Visualizer/java/jre/lib/amd64/libjfxmedia.so new file mode 100755 index 00000000..ac825732 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjfxmedia.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjfxwebkit.so b/Java-Visualizer/java/jre/lib/amd64/libjfxwebkit.so new file mode 100755 index 00000000..865974ad Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjfxwebkit.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjpeg.so b/Java-Visualizer/java/jre/lib/amd64/libjpeg.so new file mode 100755 index 00000000..173ca1a8 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjpeg.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjsdt.so b/Java-Visualizer/java/jre/lib/amd64/libjsdt.so new file mode 100755 index 00000000..51e9f890 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjsdt.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjsig.so b/Java-Visualizer/java/jre/lib/amd64/libjsig.so new file mode 100755 index 00000000..a9c7b208 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjsig.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjsound.so b/Java-Visualizer/java/jre/lib/amd64/libjsound.so new file mode 100755 index 00000000..dac6defa Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjsound.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libjsoundalsa.so b/Java-Visualizer/java/jre/lib/amd64/libjsoundalsa.so new file mode 100755 index 00000000..6ba361d4 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libjsoundalsa.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libkcms.so b/Java-Visualizer/java/jre/lib/amd64/libkcms.so new file mode 100755 index 00000000..34e4795d Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libkcms.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libmanagement.so b/Java-Visualizer/java/jre/lib/amd64/libmanagement.so new file mode 100755 index 00000000..baf3184f Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libmanagement.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libmlib_image.so b/Java-Visualizer/java/jre/lib/amd64/libmlib_image.so new file mode 100755 index 00000000..406b9f9a Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libmlib_image.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libnet.so b/Java-Visualizer/java/jre/lib/amd64/libnet.so new file mode 100755 index 00000000..f7af20f7 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libnet.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libnio.so b/Java-Visualizer/java/jre/lib/amd64/libnio.so new file mode 100755 index 00000000..db2535f0 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libnio.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libnpjp2.so b/Java-Visualizer/java/jre/lib/amd64/libnpjp2.so new file mode 100755 index 00000000..f1b57e63 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libnpjp2.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libnpt.so b/Java-Visualizer/java/jre/lib/amd64/libnpt.so new file mode 100755 index 00000000..3cf61e38 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libnpt.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libprism-es2.so b/Java-Visualizer/java/jre/lib/amd64/libprism-es2.so new file mode 100755 index 00000000..36d54d19 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libprism-es2.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libsaproc.so b/Java-Visualizer/java/jre/lib/amd64/libsaproc.so new file mode 100755 index 00000000..cfb141e7 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libsaproc.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libsctp.so b/Java-Visualizer/java/jre/lib/amd64/libsctp.so new file mode 100755 index 00000000..119b39fd Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libsctp.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libsplashscreen.so b/Java-Visualizer/java/jre/lib/amd64/libsplashscreen.so new file mode 100755 index 00000000..a784b115 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libsplashscreen.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libsunec.so b/Java-Visualizer/java/jre/lib/amd64/libsunec.so new file mode 100755 index 00000000..9cbc7c11 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libsunec.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libt2k.so b/Java-Visualizer/java/jre/lib/amd64/libt2k.so new file mode 100755 index 00000000..79ebc2a2 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libt2k.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libunpack.so b/Java-Visualizer/java/jre/lib/amd64/libunpack.so new file mode 100755 index 00000000..4e3e10ae Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libunpack.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libverify.so b/Java-Visualizer/java/jre/lib/amd64/libverify.so new file mode 100755 index 00000000..70696723 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libverify.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/libzip.so b/Java-Visualizer/java/jre/lib/amd64/libzip.so new file mode 100755 index 00000000..c3132386 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/libzip.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/server/Xusage.txt b/Java-Visualizer/java/jre/lib/amd64/server/Xusage.txt new file mode 100644 index 00000000..d24ada9c --- /dev/null +++ b/Java-Visualizer/java/jre/lib/amd64/server/Xusage.txt @@ -0,0 +1,24 @@ + -Xmixed mixed mode execution (default) + -Xint interpreted mode execution only + -Xbootclasspath: + set search path for bootstrap classes and resources + -Xbootclasspath/a: + append to end of bootstrap class path + -Xbootclasspath/p: + prepend in front of bootstrap class path + -Xnoclassgc disable class garbage collection + -Xincgc enable incremental garbage collection + -Xloggc: log GC status to a file with time stamps + -Xbatch disable background compilation + -Xms set initial Java heap size + -Xmx set maximum Java heap size + -Xss set java thread stack size + -Xprof output cpu profiling data + -Xfuture enable strictest checks, anticipating future default + -Xrs reduce use of OS signals by Java/VM (see documentation) + -Xcheck:jni perform additional checks for JNI functions + -Xshare:off do not attempt to use shared class data + -Xshare:auto use shared class data if possible (default) + -Xshare:on require using shared class data, otherwise fail. + +The -X options are non-standard and subject to change without notice. diff --git a/Java-Visualizer/java/jre/lib/amd64/server/libjsig.so b/Java-Visualizer/java/jre/lib/amd64/server/libjsig.so new file mode 120000 index 00000000..d3e0c65e --- /dev/null +++ b/Java-Visualizer/java/jre/lib/amd64/server/libjsig.so @@ -0,0 +1 @@ +../libjsig.so \ No newline at end of file diff --git a/Java-Visualizer/java/jre/lib/amd64/server/libjvm.so b/Java-Visualizer/java/jre/lib/amd64/server/libjvm.so new file mode 100755 index 00000000..7289bbb8 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/server/libjvm.so differ diff --git a/Java-Visualizer/java/jre/lib/amd64/xawt/libmawt.so b/Java-Visualizer/java/jre/lib/amd64/xawt/libmawt.so new file mode 100755 index 00000000..49da6475 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/amd64/xawt/libmawt.so differ diff --git a/Java-Visualizer/java/jre/lib/calendars.properties b/Java-Visualizer/java/jre/lib/calendars.properties new file mode 100755 index 00000000..772ebba6 --- /dev/null +++ b/Java-Visualizer/java/jre/lib/calendars.properties @@ -0,0 +1,54 @@ +# Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# + +# +# Japanese imperial calendar +# +# Meiji since 1868-01-01 00:00:00 local time (Gregorian) +# Taisho since 1912-07-30 00:00:00 local time (Gregorian) +# Showa since 1926-12-25 00:00:00 local time (Gregorian) +# Heisei since 1989-01-08 00:00:00 local time (Gregorian) +calendar.japanese.type: LocalGregorianCalendar +calendar.japanese.eras: \ + name=Meiji,abbr=M,since=-3218832000000; \ + name=Taisho,abbr=T,since=-1812153600000; \ + name=Showa,abbr=S,since=-1357603200000; \ + name=Heisei,abbr=H,since=600220800000 + +# +# Taiwanese calendar +# Minguo since 1911-01-01 00:00:00 local time (Gregorian) +calendar.taiwanese.type: LocalGregorianCalendar +calendar.taiwanese.eras: \ + name=MinGuo,since=-1830384000000 + +# +# Thai Buddhist calendar +# Buddhist Era since -542-01-01 00:00:00 local time (Gregorian) +calendar.thai-buddhist.type: LocalGregorianCalendar +calendar.thai-buddhist.eras: \ + name=BuddhistEra,abbr=B.E.,since=-79302585600000 +calendar.thai-buddhist.year-boundary: \ + day1=4-1,since=-79302585600000; \ + day1=1-1,since=-915148800000 diff --git a/Java-Visualizer/java/jre/lib/charsets.jar b/Java-Visualizer/java/jre/lib/charsets.jar new file mode 100644 index 00000000..47ab037f Binary files /dev/null and b/Java-Visualizer/java/jre/lib/charsets.jar differ diff --git a/Java-Visualizer/java/jre/lib/classlist b/Java-Visualizer/java/jre/lib/classlist new file mode 100755 index 00000000..f7ab5ce0 --- /dev/null +++ b/Java-Visualizer/java/jre/lib/classlist @@ -0,0 +1,2327 @@ +java/lang/Object +java/lang/String +java/io/Serializable +java/lang/Comparable +java/lang/CharSequence +java/lang/Class +java/lang/reflect/GenericDeclaration +java/lang/reflect/Type +java/lang/reflect/AnnotatedElement +java/lang/Cloneable +java/lang/ClassLoader +java/lang/System +java/lang/Throwable +java/lang/Error +java/lang/ThreadDeath +java/lang/Exception +java/lang/RuntimeException +java/security/ProtectionDomain +java/security/AccessControlContext +java/lang/ClassNotFoundException +java/lang/NoClassDefFoundError +java/lang/LinkageError +java/lang/ClassCastException +java/lang/ArrayStoreException +java/lang/VirtualMachineError +java/lang/OutOfMemoryError +java/lang/StackOverflowError +java/lang/IllegalMonitorStateException +java/lang/ref/Reference +java/lang/ref/SoftReference +java/lang/ref/WeakReference +java/lang/ref/FinalReference +java/lang/ref/PhantomReference +java/lang/ref/Finalizer +java/lang/Thread +java/lang/Runnable +java/lang/ThreadGroup +java/lang/Thread$UncaughtExceptionHandler +java/util/Properties +java/util/Hashtable +java/util/Map +java/util/Dictionary +java/lang/reflect/AccessibleObject +java/lang/reflect/Field +java/lang/reflect/Member +java/lang/reflect/Method +java/lang/reflect/Constructor +sun/reflect/MagicAccessorImpl +sun/reflect/MethodAccessorImpl +sun/reflect/MethodAccessor +sun/reflect/ConstructorAccessorImpl +sun/reflect/ConstructorAccessor +sun/reflect/DelegatingClassLoader +sun/reflect/ConstantPool +sun/reflect/UnsafeStaticFieldAccessorImpl +sun/reflect/UnsafeFieldAccessorImpl +sun/reflect/FieldAccessorImpl +sun/reflect/FieldAccessor +java/util/Vector +java/util/List +java/util/Collection +java/lang/Iterable +java/util/RandomAccess +java/util/AbstractList +java/util/AbstractCollection +java/lang/StringBuffer +java/lang/AbstractStringBuilder +java/lang/Appendable +java/lang/StackTraceElement +java/nio/Buffer +java/lang/Boolean +java/lang/Character +java/lang/Float +java/lang/Number +java/lang/Double +java/lang/Byte +java/lang/Short +java/lang/Integer +java/lang/Long +java/lang/NullPointerException +java/lang/ArithmeticException +java/io/ObjectStreamField +java/lang/String$CaseInsensitiveComparator +java/util/Comparator +java/lang/RuntimePermission +java/security/BasicPermission +java/security/Permission +java/security/Guard +sun/misc/SoftCache +java/util/AbstractMap +java/lang/ref/ReferenceQueue +java/lang/ref/ReferenceQueue$Null +java/lang/ref/ReferenceQueue$Lock +java/util/HashMap +java/lang/annotation/Annotation +java/util/HashMap$Entry +java/util/Map$Entry +java/security/AccessController +java/lang/reflect/ReflectPermission +sun/reflect/ReflectionFactory$GetReflectionFactoryAction +java/security/PrivilegedAction +java/util/Stack +sun/reflect/ReflectionFactory +java/lang/ref/Reference$Lock +java/lang/ref/Reference$ReferenceHandler +java/lang/ref/Finalizer$FinalizerThread +java/util/Enumeration +java/util/Iterator +java/util/Hashtable$Entry +java/nio/charset/Charset +sun/nio/cs/StandardCharsets +sun/nio/cs/FastCharsetProvider +java/nio/charset/spi/CharsetProvider +sun/nio/cs/StandardCharsets$Aliases +sun/util/PreHashedMap +sun/nio/cs/StandardCharsets$Classes +sun/nio/cs/StandardCharsets$Cache +java/lang/ThreadLocal +java/util/concurrent/atomic/AtomicInteger +sun/misc/Unsafe +java/lang/NoSuchMethodError +java/lang/IncompatibleClassChangeError +sun/reflect/Reflection +java/util/Collections +java/util/Collections$EmptySet +java/util/AbstractSet +java/util/Set +java/util/Collections$EmptyList +java/util/Collections$EmptyMap +java/util/Collections$ReverseComparator +java/util/Collections$SynchronizedMap +java/lang/Class$3 +java/lang/reflect/Modifier +java/lang/reflect/ReflectAccess +sun/reflect/LangReflectAccess +java/util/Arrays +java/lang/Math +sun/nio/cs/US_ASCII +sun/nio/cs/HistoricallyNamedCharset +sun/misc/VM +java/lang/StringCoding +java/lang/ThreadLocal$ThreadLocalMap +java/lang/ThreadLocal$ThreadLocalMap$Entry +java/lang/StringCoding$StringDecoder +sun/nio/cs/US_ASCII$Decoder +java/nio/charset/CharsetDecoder +java/nio/charset/CodingErrorAction +java/nio/ByteBuffer +java/nio/HeapByteBuffer +java/nio/Bits +java/nio/ByteOrder +java/nio/CharBuffer +java/lang/Readable +java/nio/HeapCharBuffer +java/nio/charset/CoderResult +java/nio/charset/CoderResult$1 +java/nio/charset/CoderResult$Cache +java/nio/charset/CoderResult$2 +sun/misc/Version +java/io/FileInputStream +java/io/InputStream +java/io/Closeable +java/io/FileDescriptor +java/io/FileOutputStream +java/io/OutputStream +java/io/Flushable +java/io/BufferedInputStream +java/io/FilterInputStream +java/util/concurrent/atomic/AtomicReferenceFieldUpdater +java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl +sun/reflect/misc/ReflectUtil +java/io/PrintStream +java/io/FilterOutputStream +java/io/BufferedOutputStream +java/io/OutputStreamWriter +java/io/Writer +sun/nio/cs/StreamEncoder +sun/security/action/GetPropertyAction +sun/nio/cs/US_ASCII$Encoder +java/nio/charset/CharsetEncoder +sun/nio/cs/Surrogate$Parser +sun/nio/cs/Surrogate +java/io/BufferedWriter +java/lang/Runtime +java/io/File +java/io/FileSystem +java/io/UnixFileSystem +java/io/ExpiringCache +java/io/ExpiringCache$1 +java/util/LinkedHashMap +java/util/LinkedHashMap$Entry +java/lang/StringBuilder +sun/misc/SharedSecrets +java/lang/ClassLoader$3 +java/lang/StringCoding$StringEncoder +java/io/ExpiringCache$Entry +java/lang/ClassLoader$NativeLibrary +java/lang/Terminator +java/lang/Terminator$1 +sun/misc/SignalHandler +sun/misc/Signal +sun/misc/NativeSignalHandler +java/io/Console +java/io/Console$1 +sun/misc/JavaIOAccess +java/lang/Shutdown +java/util/ArrayList +java/lang/Shutdown$Lock +java/lang/ApplicationShutdownHooks +java/util/IdentityHashMap +sun/misc/OSEnvironment +java/lang/System$2 +sun/misc/JavaLangAccess +java/lang/Compiler +java/lang/Compiler$1 +sun/misc/Launcher +sun/misc/Launcher$Factory +java/net/URLStreamHandlerFactory +sun/misc/Launcher$ExtClassLoader +java/net/URLClassLoader +java/security/SecureClassLoader +sun/security/util/Debug +java/net/URLClassLoader$7 +sun/misc/JavaNetAccess +java/util/StringTokenizer +sun/misc/Launcher$ExtClassLoader$1 +java/security/PrivilegedExceptionAction +sun/misc/MetaIndex +java/io/BufferedReader +java/io/Reader +java/io/FileReader +java/io/InputStreamReader +sun/nio/cs/StreamDecoder +java/lang/reflect/Array +sun/net/www/ParseUtil +java/util/BitSet +java/io/ObjectStreamClass +java/net/URL +java/util/Locale +java/util/concurrent/ConcurrentHashMap +java/util/concurrent/ConcurrentMap +java/util/concurrent/ConcurrentHashMap$Segment +java/util/concurrent/locks/ReentrantLock +java/util/concurrent/locks/Lock +java/util/concurrent/locks/ReentrantLock$NonfairSync +java/util/concurrent/locks/ReentrantLock$Sync +java/util/concurrent/locks/AbstractQueuedSynchronizer +java/util/concurrent/locks/AbstractOwnableSynchronizer +java/util/concurrent/locks/AbstractQueuedSynchronizer$Node +java/util/concurrent/ConcurrentHashMap$HashEntry +java/lang/CharacterDataLatin1 +java/net/Parts +sun/net/www/protocol/file/Handler +java/net/URLStreamHandler +java/lang/Class$1 +sun/reflect/ReflectionFactory$1 +sun/reflect/NativeConstructorAccessorImpl +sun/reflect/DelegatingConstructorAccessorImpl +java/util/HashSet +sun/misc/URLClassPath +sun/net/www/protocol/jar/Handler +sun/misc/Launcher$AppClassLoader +sun/misc/Launcher$AppClassLoader$1 +java/lang/SystemClassLoaderAction +java/net/URLClassLoader$1 +sun/misc/URLClassPath$3 +sun/misc/URLClassPath$JarLoader +sun/misc/URLClassPath$Loader +java/security/PrivilegedActionException +sun/misc/URLClassPath$FileLoader +sun/misc/URLClassPath$FileLoader$1 +sun/misc/Resource +sun/nio/ByteBuffered +java/security/CodeSource +java/security/Permissions +java/security/PermissionCollection +sun/net/www/protocol/file/FileURLConnection +sun/net/www/URLConnection +java/net/URLConnection +java/net/UnknownContentHandler +java/net/ContentHandler +sun/net/www/MessageHeader +java/io/FilePermission +java/io/FilePermission$1 +sun/security/provider/PolicyFile +java/security/Policy +java/security/Policy$UnsupportedEmptyCollection +java/io/FilePermissionCollection +java/security/AllPermission +java/security/UnresolvedPermission +java/security/BasicPermissionCollection +java/security/Principal +java/security/cert/Certificate +java/util/AbstractList$Itr +java/util/IdentityHashMap$KeySet +java/util/IdentityHashMap$KeyIterator +java/util/IdentityHashMap$IdentityHashMapIterator +java/io/DeleteOnExitHook +java/util/LinkedHashSet +java/util/HashMap$KeySet +java/util/LinkedHashMap$KeyIterator +java/util/LinkedHashMap$LinkedHashIterator +java/awt/Frame +java/awt/MenuContainer +java/awt/Window +javax/accessibility/Accessible +java/awt/Container +java/awt/Component +java/awt/image/ImageObserver +java/lang/InterruptedException +java/awt/Label +java/util/logging/Logger +java/util/logging/Handler +java/util/logging/Level +java/util/logging/LogManager +java/util/logging/LogManager$1 +java/beans/PropertyChangeSupport +java/util/logging/LogManager$LogNode +java/util/logging/LoggingPermission +java/util/logging/LogManager$Cleaner +java/util/logging/LogManager$RootLogger +java/util/logging/LogManager$2 +java/util/Properties$LineReader +java/util/Hashtable$Enumerator +java/beans/PropertyChangeEvent +java/util/EventObject +java/awt/Component$AWTTreeLock +sun/awt/NativeLibLoader +sun/security/action/LoadLibraryAction +java/awt/GraphicsEnvironment +java/awt/GraphicsEnvironment$1 +java/lang/ProcessEnvironment +java/lang/ProcessEnvironment$Variable +java/lang/ProcessEnvironment$ExternalData +java/lang/ProcessEnvironment$Value +java/lang/ProcessEnvironment$StringEnvironment +java/util/Collections$UnmodifiableMap +java/awt/Toolkit +java/awt/Toolkit$3 +sun/util/CoreResourceBundleControl +java/util/ResourceBundle$Control +java/util/Arrays$ArrayList +java/util/Collections$UnmodifiableRandomAccessList +java/util/Collections$UnmodifiableList +java/util/Collections$UnmodifiableCollection +java/util/ResourceBundle +java/util/ResourceBundle$1 +java/util/ResourceBundle$RBClassLoader +java/util/ResourceBundle$RBClassLoader$1 +java/util/ResourceBundle$CacheKey +java/util/ResourceBundle$LoaderReference +java/util/ResourceBundle$CacheKeyReference +java/util/ResourceBundle$SingleFormatControl +sun/awt/resources/awt +java/util/ListResourceBundle +java/awt/Toolkit$1 +java/io/FileNotFoundException +java/io/IOException +java/awt/event/KeyEvent +java/awt/event/InputEvent +java/awt/event/ComponentEvent +java/awt/AWTEvent +java/awt/event/NativeLibLoader +java/util/WeakHashMap +java/util/WeakHashMap$Entry +java/awt/Component$DummyRequestFocusController +sun/awt/RequestFocusController +java/awt/LayoutManager +java/awt/LightweightDispatcher +java/awt/event/AWTEventListener +java/util/EventListener +java/awt/Dimension +java/awt/geom/Dimension2D +java/util/concurrent/atomic/AtomicBoolean +java/awt/ComponentOrientation +java/awt/Component$2 +java/lang/NoSuchMethodException +sun/awt/AppContext +sun/awt/AppContext$1 +sun/awt/AppContext$2 +sun/awt/MostRecentKeyValue +java/awt/Cursor +sun/awt/X11GraphicsEnvironment +sun/java2d/SunGraphicsEnvironment +sun/java2d/FontSupport +sun/awt/DisplayChangedListener +java/io/FilenameFilter +sun/awt/X11GraphicsEnvironment$1 +sun/awt/SunToolkit +sun/awt/WindowClosingSupport +sun/awt/WindowClosingListener +sun/awt/ComponentFactory +sun/awt/InputMethodSupport +java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject +java/util/concurrent/locks/Condition +sun/awt/AWTAutoShutdown +sun/awt/SunToolkit$6 +java/awt/Dialog$ModalExclusionType +java/lang/Enum +java/awt/Dialog +java/awt/Dialog$ModalityType +java/awt/ModalEventFilter +java/awt/EventFilter +sun/reflect/UnsafeFieldAccessorFactory +sun/reflect/UnsafeQualifiedStaticObjectFieldAccessorImpl +sun/reflect/UnsafeQualifiedStaticFieldAccessorImpl +sun/awt/SunDisplayChanger +sun/java2d/SunGraphicsEnvironment$1 +java/io/StreamTokenizer +sun/font/FontManager +sun/font/FileFont +sun/font/PhysicalFont +sun/font/Font2D +sun/font/CompositeFont +java/util/HashMap$Values +java/util/HashMap$ValueIterator +java/util/HashMap$HashIterator +java/awt/Font +java/awt/geom/AffineTransform +sun/font/AttributeValues +sun/font/EAttribute +java/text/AttributedCharacterIterator$Attribute +java/lang/Class$4 +sun/reflect/NativeMethodAccessorImpl +sun/reflect/DelegatingMethodAccessorImpl +java/awt/font/TextAttribute +java/lang/Integer$IntegerCache +sun/font/TrueTypeFont +java/awt/font/FontRenderContext +java/awt/RenderingHints +sun/awt/SunHints +sun/awt/SunHints$Key +java/awt/RenderingHints$Key +sun/awt/SunHints$Value +sun/awt/SunHints$LCDContrastKey +sun/font/Type1Font +java/awt/geom/Point2D$Float +java/awt/geom/Point2D +sun/font/StrikeMetrics +java/awt/geom/Rectangle2D$Float +java/awt/geom/Rectangle2D +java/awt/geom/RectangularShape +java/awt/Shape +java/awt/geom/GeneralPath +java/awt/geom/Path2D$Float +java/awt/geom/Path2D +sun/font/CharToGlyphMapper +sun/font/PhysicalStrike +sun/font/FontStrike +sun/font/GlyphList +sun/font/StrikeCache +sun/java2d/Disposer +sun/java2d/Disposer$1 +sun/font/StrikeCache$1 +sun/awt/motif/MFontConfiguration +sun/awt/FontConfiguration +sun/awt/FontDescriptor +java/util/Scanner +java/util/regex/Pattern +java/util/regex/Pattern$Node +java/util/regex/Pattern$LastNode +java/util/regex/Pattern$GroupHead +java/util/regex/Pattern$CharPropertyNames +java/util/regex/Pattern$CharPropertyNames$1 +java/util/regex/Pattern$CharPropertyNames$CharPropertyFactory +java/util/regex/Pattern$CharPropertyNames$2 +java/util/regex/Pattern$CharPropertyNames$5 +java/util/regex/Pattern$CharPropertyNames$3 +java/util/regex/Pattern$CharPropertyNames$6 +java/util/regex/Pattern$CharPropertyNames$CloneableProperty +java/util/regex/Pattern$CharProperty +java/util/regex/Pattern$CharPropertyNames$4 +java/util/regex/Pattern$CharPropertyNames$7 +java/util/regex/Pattern$CharPropertyNames$8 +java/util/regex/Pattern$CharPropertyNames$9 +java/util/regex/Pattern$CharPropertyNames$10 +java/util/regex/Pattern$CharPropertyNames$11 +java/util/regex/Pattern$CharPropertyNames$12 +java/util/regex/Pattern$CharPropertyNames$13 +java/util/regex/Pattern$CharPropertyNames$14 +java/util/regex/Pattern$CharPropertyNames$15 +java/util/regex/Pattern$CharPropertyNames$16 +java/util/regex/Pattern$CharPropertyNames$17 +java/util/regex/Pattern$CharPropertyNames$18 +java/util/regex/Pattern$CharPropertyNames$19 +java/util/regex/Pattern$CharPropertyNames$20 +java/util/regex/Pattern$CharPropertyNames$21 +java/util/regex/Pattern$Curly +java/util/regex/Pattern$Slice +java/util/regex/Pattern$Begin +java/util/regex/Pattern$First +java/util/regex/Pattern$Start +java/util/regex/Pattern$TreeInfo +java/util/regex/Pattern$All +java/util/regex/Pattern$BitClass +java/util/regex/Pattern$BmpCharProperty +java/util/regex/Pattern$6 +java/util/regex/Pattern$CharProperty$1 +sun/nio/ch/FileChannelImpl +java/nio/channels/FileChannel +java/nio/channels/ByteChannel +java/nio/channels/ReadableByteChannel +java/nio/channels/Channel +java/nio/channels/WritableByteChannel +java/nio/channels/GatheringByteChannel +java/nio/channels/ScatteringByteChannel +java/nio/channels/spi/AbstractInterruptibleChannel +java/nio/channels/InterruptibleChannel +sun/nio/ch/Util +sun/nio/ch/IOUtil +sun/nio/ch/FileDispatcher +sun/nio/ch/NativeDispatcher +sun/nio/ch/Reflect +java/nio/MappedByteBuffer +sun/nio/ch/Reflect$1 +sun/nio/ch/NativeThreadSet +java/nio/channels/Channels +java/util/Scanner$1 +sun/misc/LRUCache +java/util/regex/Matcher +java/util/regex/MatchResult +java/text/NumberFormat +java/text/Format +java/text/spi/NumberFormatProvider +java/util/spi/LocaleServiceProvider +sun/util/LocaleServiceProviderPool +sun/util/LocaleServiceProviderPool$1 +java/util/ServiceLoader +java/util/ServiceLoader$LazyIterator +java/util/ServiceLoader$1 +java/util/HashMap$EntrySet +java/util/LinkedHashMap$EntryIterator +sun/misc/Launcher$1 +sun/misc/URLClassPath$2 +java/lang/ClassLoader$2 +sun/misc/URLClassPath$1 +java/net/URLClassLoader$3 +sun/misc/CompoundEnumeration +sun/misc/URLClassPath$JarLoader$1 +sun/misc/FileURLMapper +java/net/URLClassLoader$3$1 +sun/util/resources/LocaleData +sun/util/resources/LocaleData$1 +sun/util/resources/LocaleData$LocaleDataResourceBundleControl +sun/util/LocaleDataMetaInfo +sun/text/resources/FormatData +java/util/ResourceBundle$BundleReference +sun/text/resources/FormatData_en +sun/text/resources/FormatData_en_US +java/text/DecimalFormatSymbols +java/text/spi/DecimalFormatSymbolsProvider +java/util/Currency +java/util/Currency$1 +java/util/spi/CurrencyNameProvider +sun/util/resources/CurrencyNames +sun/util/resources/LocaleNamesBundle +sun/util/resources/OpenListResourceBundle +sun/util/resources/CurrencyNames_en_US +java/text/DecimalFormat +java/text/FieldPosition +java/text/DigitList +java/math/RoundingMode +java/util/regex/Pattern$GroupTail +java/util/regex/Pattern$Ctype +java/util/regex/Pattern$Ques +java/util/regex/Pattern$GroupCurly +java/util/regex/Pattern$5 +java/util/regex/Pattern$Loop +java/util/regex/Pattern$Prolog +java/util/regex/Pattern$BranchConn +java/util/regex/Pattern$Branch +java/nio/channels/spi/AbstractInterruptibleChannel$1 +sun/nio/ch/Interruptible +sun/nio/ch/NativeThread +sun/nio/ch/DirectBuffer +java/nio/DirectByteBuffer +java/nio/DirectByteBuffer$Deallocator +sun/misc/Cleaner +sun/nio/ch/IOStatus +java/util/regex/ASCII +java/io/DataInputStream +java/io/DataInput +java/lang/Short$ShortCache +java/util/HashMap$KeyIterator +sun/font/CompositeFontDescriptor +sun/font/Font2DHandle +sun/font/FontFamily +java/awt/GraphicsDevice +sun/awt/X11GraphicsDevice +sun/awt/X11GraphicsConfig +java/awt/GraphicsConfiguration +java/awt/ImageCapabilities +sun/java2d/x11/X11SurfaceData +sun/java2d/SurfaceData +java/awt/Transparency +sun/java2d/DisposerTarget +sun/java2d/InvalidPipeException +java/lang/IllegalStateException +sun/java2d/NullSurfaceData +sun/java2d/loops/SurfaceType +sun/awt/image/PixelConverter +sun/awt/image/PixelConverter$Xrgb +sun/awt/image/PixelConverter$Argb +sun/awt/image/PixelConverter$ArgbPre +sun/awt/image/PixelConverter$Xbgr +sun/awt/image/PixelConverter$Rgba +sun/awt/image/PixelConverter$RgbaPre +sun/awt/image/PixelConverter$Ushort565Rgb +sun/awt/image/PixelConverter$Ushort555Rgb +sun/awt/image/PixelConverter$Ushort555Rgbx +sun/awt/image/PixelConverter$Ushort4444Argb +sun/awt/image/PixelConverter$ByteGray +sun/awt/image/PixelConverter$UshortGray +sun/awt/image/PixelConverter$Rgbx +sun/awt/image/PixelConverter$Bgrx +sun/awt/image/PixelConverter$ArgbBm +java/awt/image/ColorModel +java/awt/image/DirectColorModel +java/awt/image/PackedColorModel +java/awt/color/ColorSpace +java/awt/color/ICC_Profile +java/awt/color/ICC_ProfileRGB +java/awt/color/ICC_Profile$1 +java/awt/color/ICC_ColorSpace +sun/java2d/pipe/NullPipe +sun/java2d/pipe/PixelDrawPipe +sun/java2d/pipe/PixelFillPipe +sun/java2d/pipe/ShapeDrawPipe +sun/java2d/pipe/TextPipe +sun/java2d/pipe/DrawImagePipe +java/awt/image/IndexColorModel +sun/java2d/pipe/LoopPipe +sun/java2d/pipe/OutlineTextRenderer +sun/java2d/pipe/SolidTextRenderer +sun/java2d/pipe/GlyphListLoopPipe +sun/java2d/pipe/GlyphListPipe +sun/java2d/pipe/AATextRenderer +sun/java2d/pipe/LCDTextRenderer +sun/java2d/pipe/AlphaColorPipe +sun/java2d/pipe/CompositePipe +sun/java2d/pipe/PixelToShapeConverter +sun/java2d/pipe/TextRenderer +sun/java2d/pipe/SpanClipRenderer +sun/java2d/pipe/Region +sun/java2d/pipe/RegionIterator +sun/java2d/pipe/AlphaPaintPipe +sun/java2d/pipe/SpanShapeRenderer$Composite +sun/java2d/pipe/SpanShapeRenderer +sun/java2d/pipe/GeneralCompositePipe +sun/java2d/pipe/DrawImage +sun/java2d/loops/RenderCache +sun/java2d/loops/RenderCache$Entry +sun/java2d/loops/XORComposite +java/awt/Composite +sun/font/X11TextRenderer +sun/java2d/loops/GraphicsPrimitive +sun/java2d/x11/X11PMBlitLoops +sun/java2d/loops/Blit +sun/java2d/loops/GraphicsPrimitiveMgr +sun/java2d/loops/CompositeType +sun/java2d/SunGraphics2D +sun/awt/ConstrainableGraphics +java/awt/Graphics2D +java/awt/Graphics +java/awt/Color +java/awt/Paint +java/awt/AlphaComposite +sun/java2d/loops/BlitBg +sun/java2d/loops/ScaledBlit +sun/java2d/loops/FillRect +sun/java2d/loops/FillSpans +sun/java2d/loops/DrawLine +sun/java2d/loops/DrawRect +sun/java2d/loops/DrawPolygons +sun/java2d/loops/DrawPath +sun/java2d/loops/FillPath +sun/java2d/loops/MaskBlit +sun/java2d/loops/MaskFill +sun/java2d/loops/DrawGlyphList +sun/java2d/loops/DrawGlyphListAA +sun/java2d/loops/DrawGlyphListLCD +sun/java2d/loops/TransformHelper +java/awt/BasicStroke +java/awt/Stroke +sun/misc/PerformanceLogger +sun/misc/PerformanceLogger$TimeData +sun/java2d/pipe/ValidatePipe +sun/java2d/loops/CustomComponent +sun/java2d/loops/GraphicsPrimitiveProxy +sun/java2d/loops/GeneralRenderer +sun/java2d/loops/GraphicsPrimitiveMgr$1 +sun/java2d/loops/GraphicsPrimitiveMgr$2 +sun/java2d/x11/X11PMBlitLoops$DelegateBlitLoop +sun/java2d/x11/X11PMBlitBgLoops +sun/java2d/x11/X11SurfaceData$LazyPipe +sun/awt/X11GraphicsConfig$X11GCDisposerRecord +sun/java2d/DisposerRecord +java/awt/BorderLayout +java/awt/LayoutManager2 +java/awt/Rectangle +java/awt/Toolkit$2 +sun/awt/X11/XToolkit +sun/awt/X11/XConstants +sun/awt/UNIXToolkit +java/util/TreeMap +java/util/NavigableMap +java/util/SortedMap +sun/awt/X11/XlibWrapper +sun/awt/X11/XUtilConstants +sun/awt/X11/XProtocolConstants +sun/awt/X11/XCursorFontConstants +sun/awt/X11/XlibWrapper$1 +sun/awt/X11/XToolkit$4 +sun/awt/X11/XModifierKeymap +sun/awt/X11/XWrapperBase +sun/awt/X11/Native +sun/awt/X11/Native$1 +java/awt/EventQueue +java/util/EmptyStackException +java/lang/reflect/InvocationTargetException +java/awt/EventDispatchThread +java/awt/event/PaintEvent +java/awt/event/MouseEvent +sun/awt/PeerEvent +java/awt/event/InvocationEvent +java/awt/ActiveEvent +sun/awt/X11/XToolkit$1 +sun/awt/X11/XEventDispatcher +sun/awt/SunToolkit$ModalityListenerList +sun/awt/ModalityListener +sun/awt/SunToolkit$1 +java/util/MissingResourceException +java/awt/Queue +sun/awt/PostEventQueue +java/util/LinkedList +java/util/Deque +java/util/Queue +java/util/AbstractSequentialList +sun/awt/X11/AwtScreenData +sun/awt/X11/XWM +sun/awt/X11/MWMConstants +sun/awt/X11/XAtom +java/awt/Insets +sun/awt/X11/XWM$1 +sun/awt/X11/XSetWindowAttributes +sun/awt/X11/XErrorEvent +sun/awt/X11/XNETProtocol +sun/awt/X11/XStateProtocol +sun/awt/X11/XLayerProtocol +sun/awt/X11/XProtocol +sun/awt/X11/WindowPropertyGetter +sun/awt/X11/UnsafeXDisposerRecord +sun/awt/X11/XPropertyCache +sun/awt/X11/XWINProtocol +sun/awt/X11/XAtomList +sun/awt/X11/XToolkit$3 +sun/awt/X11/XAnyEvent +java/awt/Window$WindowDisposerRecord +java/awt/KeyboardFocusManager +java/awt/KeyEventDispatcher +java/awt/KeyEventPostProcessor +java/awt/AWTKeyStroke +java/awt/AWTKeyStroke$1 +java/awt/DefaultKeyboardFocusManager +java/awt/DefaultFocusTraversalPolicy +java/awt/ContainerOrderFocusTraversalPolicy +java/awt/FocusTraversalPolicy +java/util/Collections$UnmodifiableSet +sun/awt/HeadlessToolkit +sun/awt/X11/XKeyboardFocusManagerPeer +java/awt/peer/KeyboardFocusManagerPeer +sun/awt/X11/XKeyboardFocusManagerPeer$1 +sun/awt/X11/XFramePeer +java/awt/peer/FramePeer +java/awt/peer/WindowPeer +java/awt/peer/ContainerPeer +java/awt/peer/ComponentPeer +sun/awt/X11/XDecoratedPeer +sun/awt/X11/XWindowPeer +sun/awt/X11/XPanelPeer +java/awt/peer/PanelPeer +sun/awt/X11/XCanvasPeer +java/awt/peer/CanvasPeer +sun/awt/X11/XComponentPeer +java/awt/dnd/peer/DropTargetPeer +sun/awt/X11/XWindow +sun/awt/X11ComponentPeer +sun/awt/X11/XBaseWindow +sun/awt/X11/XCreateWindowParams +java/lang/Long$LongCache +sun/awt/X11/XBaseWindow$InitialiseState +sun/awt/X11/XBaseWindow$StateLock +sun/awt/X11/AwtGraphicsConfigData +sun/awt/X11/XVisualInfo +java/awt/SystemColor +sun/awt/X11/MotifColorUtilities +java/lang/StrictMath +sun/awt/X11/XRepaintArea +sun/awt/RepaintArea +sun/awt/X11/XWindowAttributesData +java/util/concurrent/locks/LockSupport +sun/awt/X11/WindowDimensions +java/awt/Point +java/util/TreeMap$Entry +sun/nio/cs/UTF_8 +sun/nio/cs/Unicode +sun/nio/cs/UTF_8$Encoder +sun/nio/cs/UTF_8$Decoder +sun/nio/cs/Surrogate$Generator +sun/awt/X11/XPropertyEvent +sun/awt/X11/XDropTargetEventProcessor +sun/awt/X11/XDragSourceContextPeer +sun/awt/X11/XDragSourceProtocolListener +sun/awt/dnd/SunDragSourceContextPeer +java/awt/dnd/peer/DragSourceContextPeer +sun/awt/X11/XAwtState +sun/awt/X11/XBaseWindow$1 +sun/awt/X11/XRootWindow +sun/nio/cs/ISO_8859_1 +sun/nio/cs/ISO_8859_1$Encoder +sun/nio/cs/ISO_8859_1$Decoder +sun/java2d/x11/X11SurfaceData$X11WindowSurfaceData +sun/java2d/loops/RenderLoops +sun/java2d/loops/GraphicsPrimitiveMgr$PrimitiveSpec +sun/java2d/DefaultDisposerRecord +sun/java2d/x11/X11Renderer +sun/awt/X11/XGlobalCursorManager +sun/awt/GlobalCursorManager +java/awt/Cursor$CursorDisposer +java/awt/AWTException +java/awt/HeadlessException +java/lang/UnsupportedOperationException +sun/reflect/UnsafeLongFieldAccessorImpl +sun/reflect/UnsafeIntegerFieldAccessorImpl +sun/awt/X11/XClientMessageEvent +sun/awt/X11/XIconInfo +sun/awt/X11/XAWTIcon32_java_icon16_png +sun/awt/X11/XAWTIcon32_java_icon24_png +sun/awt/X11/XAWTIcon32_java_icon32_png +sun/awt/X11/XAWTIcon32_java_icon48_png +sun/awt/X11/XSizeHints +sun/awt/X11/XContentWindow +sun/awt/X11/XFocusProxyWindow +sun/awt/X11/XWMHints +java/util/LinkedList$ListItr +java/util/ListIterator +sun/awt/SunToolkit$2 +java/awt/image/BufferStrategy +java/awt/dnd/DropTarget +java/awt/dnd/DropTargetListener +java/awt/event/ComponentListener +java/awt/event/FocusListener +java/awt/event/HierarchyListener +java/awt/event/HierarchyBoundsListener +java/awt/event/KeyListener +java/awt/event/MouseListener +java/awt/event/MouseMotionListener +java/awt/event/MouseWheelListener +java/awt/event/InputMethodListener +java/awt/event/ContainerListener +javax/accessibility/AccessibleContext +sun/reflect/UnsafeObjectFieldAccessorImpl +java/awt/peer/LightweightPeer +sun/awt/X11/XLabelPeer +java/awt/peer/LabelPeer +sun/awt/X11/XMapEvent +sun/awt/X11/XQueryTree +sun/awt/X11/XConfigureEvent +sun/awt/X11/PropMwmHints +sun/awt/GlobalCursorManager$NativeUpdater +javax/swing/JFrame +javax/swing/WindowConstants +javax/swing/RootPaneContainer +javax/swing/TransferHandler$HasGetTransferHandler +javax/swing/JLabel +javax/swing/SwingConstants +javax/swing/JComponent +javax/swing/JComponent$1 +javax/swing/SwingUtilities +javax/swing/JRootPane +sun/security/action/GetBooleanAction +javax/swing/event/EventListenerList +javax/swing/JPanel +java/awt/FlowLayout +javax/swing/UIManager +javax/swing/UIManager$LookAndFeelInfo +sun/swing/SwingUtilities2 +sun/swing/SwingUtilities2$LSBCacheEntry +javax/swing/UIManager$LAFState +javax/swing/UIDefaults +javax/swing/MultiUIDefaults +javax/swing/UIManager$1 +javax/swing/plaf/metal/MetalLookAndFeel +javax/swing/plaf/basic/BasicLookAndFeel +javax/swing/LookAndFeel +sun/swing/DefaultLookup +javax/swing/plaf/metal/OceanTheme +javax/swing/plaf/metal/DefaultMetalTheme +javax/swing/plaf/metal/MetalTheme +javax/swing/plaf/ColorUIResource +javax/swing/plaf/UIResource +sun/swing/PrintColorUIResource +javax/swing/plaf/metal/DefaultMetalTheme$FontDelegate +javax/swing/plaf/FontUIResource +sun/swing/SwingLazyValue +javax/swing/UIDefaults$LazyValue +javax/swing/UIDefaults$ActiveValue +javax/swing/plaf/InsetsUIResource +sun/swing/SwingUtilities2$2 +javax/swing/plaf/basic/BasicLookAndFeel$2 +javax/swing/plaf/DimensionUIResource +javax/swing/UIDefaults$LazyInputMap +java/lang/Character$CharacterCache +javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue +javax/swing/plaf/metal/MetalLookAndFeel$FontActiveValue +java/awt/print/PrinterJob +sun/swing/SwingUtilities2$AATextInfo +sun/awt/X11/XAWTXSettings +sun/awt/X11/XMSelectionListener +sun/awt/XSettings +sun/awt/X11/XMSelection +sun/awt/X11/XMSelection$1 +javax/swing/plaf/metal/MetalLookAndFeel$AATextListener +java/beans/PropertyChangeListener +java/beans/PropertyChangeListenerProxy +java/util/EventListenerProxy +sun/awt/EventListenerAggregate +javax/swing/UIDefaults$ProxyLazyValue +javax/swing/plaf/metal/OceanTheme$1 +javax/swing/plaf/metal/OceanTheme$2 +javax/swing/plaf/metal/OceanTheme$3 +javax/swing/plaf/metal/OceanTheme$4 +javax/swing/plaf/metal/OceanTheme$5 +javax/swing/plaf/metal/OceanTheme$6 +javax/swing/RepaintManager +javax/swing/RepaintManager$DisplayChangedHandler +javax/swing/SwingPaintEventDispatcher +sun/awt/PaintEventDispatcher +javax/swing/UIManager$2 +java/awt/PopupMenu +java/awt/Menu +java/awt/MenuItem +java/awt/MenuComponent +java/io/ObjectOutputStream +java/io/ObjectOutput +java/io/DataOutput +java/io/ObjectStreamConstants +java/io/PrintWriter +java/io/ObjectInputStream +java/io/ObjectInput +java/awt/Event +java/awt/im/InputContext +java/awt/event/MouseWheelEvent +java/awt/BufferCapabilities +sun/awt/CausedFocusEvent$Cause +java/awt/PointerInfo +java/awt/Component$BaselineResizeBehavior +java/awt/FontMetrics +java/awt/Image +java/awt/image/ImageProducer +java/awt/image/VolatileImage +java/awt/im/InputMethodRequests +java/awt/event/FocusEvent +java/awt/event/InputMethodEvent +java/awt/event/HierarchyEvent +javax/accessibility/AccessibleStateSet +com/sun/swing/internal/plaf/metal/resources/metal +sun/util/ResourceBundleEnumeration +com/sun/swing/internal/plaf/basic/resources/basic +javax/swing/plaf/basic/BasicPanelUI +javax/swing/plaf/PanelUI +javax/swing/plaf/ComponentUI +sun/reflect/misc/MethodUtil +sun/reflect/misc/MethodUtil$1 +java/util/jar/JarFile +java/util/zip/ZipFile +java/util/zip/ZipConstants +java/util/jar/JavaUtilJarAccessImpl +sun/misc/JavaUtilJarAccess +sun/misc/JarIndex +java/util/zip/ZipEntry +java/util/jar/JarFile$JarFileEntry +java/util/jar/JarEntry +sun/misc/URLClassPath$JarLoader$2 +sun/net/www/protocol/jar/JarURLConnection +java/net/JarURLConnection +sun/net/www/protocol/jar/JarFileFactory +sun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController +java/net/HttpURLConnection +sun/net/www/protocol/jar/URLJarFile +sun/net/www/protocol/jar/URLJarFile$URLJarFileEntry +sun/net/www/protocol/jar/JarURLConnection$JarURLInputStream +java/util/zip/ZipFile$ZipFileInputStream +java/security/AllPermissionCollection +java/lang/IllegalAccessException +javax/swing/JPasswordField +javax/swing/JTextField +javax/swing/text/JTextComponent +javax/swing/Scrollable +javax/swing/JLayeredPane +javax/swing/JRootPane$1 +javax/swing/ArrayTable +javax/swing/JInternalFrame +javax/swing/JRootPane$RootLayout +javax/swing/BufferStrategyPaintManager +javax/swing/RepaintManager$PaintManager +javax/swing/plaf/metal/MetalRootPaneUI +javax/swing/plaf/basic/BasicRootPaneUI +javax/swing/plaf/RootPaneUI +javax/swing/plaf/basic/BasicRootPaneUI$RootPaneInputMap +javax/swing/plaf/ComponentInputMapUIResource +javax/swing/ComponentInputMap +javax/swing/InputMap +javax/swing/plaf/InputMapUIResource +javax/swing/KeyStroke +java/awt/VKCollection +sun/reflect/UnsafeQualifiedStaticIntegerFieldAccessorImpl +javax/swing/plaf/basic/LazyActionMap +javax/swing/plaf/ActionMapUIResource +javax/swing/ActionMap +javax/swing/LayoutFocusTraversalPolicy +javax/swing/SortingFocusTraversalPolicy +javax/swing/InternalFrameFocusTraversalPolicy +javax/swing/SwingContainerOrderFocusTraversalPolicy +javax/swing/SwingDefaultFocusTraversalPolicy +javax/swing/LayoutComparator +javax/swing/plaf/metal/MetalLabelUI +javax/swing/plaf/basic/BasicLabelUI +javax/swing/plaf/LabelUI +javax/swing/plaf/metal/DefaultMetalTheme$FontDelegate$1 +javax/swing/plaf/basic/BasicHTML +sun/awt/NullComponentPeer +java/awt/event/WindowEvent +java/awt/EventQueue$1 +java/awt/EventDispatchThread$1 +java/awt/Conditional +java/awt/EventDispatchThread$HierarchyEventFilter +java/awt/EventFilter$FilterAction +sun/awt/dnd/SunDropTargetEvent +java/awt/event/ActionEvent +java/util/jar/Manifest +java/io/ByteArrayInputStream +java/util/jar/Attributes +java/util/jar/Manifest$FastInputStream +java/util/jar/Attributes$Name +sun/misc/ASCIICaseInsensitiveComparator +java/util/jar/JarVerifier +java/io/ByteArrayOutputStream +sun/misc/ExtensionDependency +java/lang/Package +sun/security/util/ManifestEntryVerifier +java/security/Provider +java/security/Provider$ServiceKey +java/security/Provider$EngineDescription +java/security/Security +java/security/Security$1 +sun/misc/FloatingDecimal +sun/misc/FloatingDecimal$1 +sun/security/provider/NativePRNG +java/security/SecureRandomSpi +sun/security/provider/NativePRNG$1 +sun/security/provider/NativePRNG$RandomIO +sun/misc/BASE64Decoder +sun/misc/CharacterDecoder +sun/security/util/SignatureFileVerifier +java/awt/event/KeyAdapter +java/lang/NumberFormatException +java/lang/IllegalArgumentException +java/io/FileWriter +java/net/Authenticator +java/net/MalformedURLException +javax/swing/text/Element +javax/swing/text/Document +javax/swing/text/PlainDocument +javax/swing/text/AbstractDocument +javax/swing/text/GapContent +javax/swing/text/AbstractDocument$Content +javax/swing/text/GapVector +javax/swing/text/GapContent$MarkVector +javax/swing/text/GapContent$MarkData +javax/swing/text/StyleContext +javax/swing/text/AbstractDocument$AttributeContext +javax/swing/text/StyleConstants +javax/swing/text/StyleConstants$CharacterConstants +javax/swing/text/AttributeSet$CharacterAttribute +javax/swing/text/StyleConstants$FontConstants +javax/swing/text/AttributeSet$FontAttribute +javax/swing/text/StyleConstants$ColorConstants +javax/swing/text/AttributeSet$ColorAttribute +javax/swing/text/StyleConstants$ParagraphConstants +javax/swing/text/AttributeSet$ParagraphAttribute +javax/swing/text/StyleContext$FontKey +javax/swing/text/SimpleAttributeSet +javax/swing/text/MutableAttributeSet +javax/swing/text/AttributeSet +javax/swing/text/SimpleAttributeSet$EmptyAttributeSet +javax/swing/text/StyleContext$NamedStyle +javax/swing/text/Style +javax/swing/text/StyleContext$SmallAttributeSet +javax/swing/text/AbstractDocument$BidiRootElement +javax/swing/text/AbstractDocument$BranchElement +javax/swing/text/AbstractDocument$AbstractElement +javax/swing/tree/TreeNode +javax/swing/text/AbstractDocument$1 +javax/swing/text/AbstractDocument$BidiElement +javax/swing/text/AbstractDocument$LeafElement +javax/swing/text/GapContent$StickyPosition +javax/swing/text/Position +javax/swing/text/StyleContext$KeyEnumeration +javax/swing/text/GapContent$InsertUndo +javax/swing/undo/AbstractUndoableEdit +javax/swing/undo/UndoableEdit +javax/swing/text/AbstractDocument$DefaultDocumentEvent +javax/swing/event/DocumentEvent +javax/swing/undo/CompoundEdit +javax/swing/event/DocumentEvent$EventType +javax/swing/text/Segment +java/text/CharacterIterator +javax/swing/text/Utilities +javax/swing/text/SegmentCache +javax/swing/text/SegmentCache$CachedSegment +javax/swing/event/UndoableEditEvent +javax/swing/text/AbstractDocument$ElementEdit +javax/swing/event/DocumentEvent$ElementChange +java/net/Socket +java/net/InetAddress +java/net/InetAddress$Cache +java/net/InetAddress$Cache$Type +java/net/InetAddressImplFactory +java/net/Inet4AddressImpl +java/net/InetAddressImpl +java/net/InetAddress$1 +sun/net/spi/nameservice/NameService +sun/net/util/IPAddressUtil +java/util/RandomAccessSubList +java/util/SubList +java/util/SubList$1 +java/util/AbstractList$ListItr +java/net/Inet4Address +java/net/InetSocketAddress +java/net/SocketAddress +java/net/SocksSocketImpl +java/net/SocksConsts +java/net/PlainSocketImpl +java/net/SocketImpl +java/net/SocketOptions +java/net/SocketException +java/net/SocksSocketImpl$5 +java/net/ProxySelector +sun/net/spi/DefaultProxySelector +sun/net/spi/DefaultProxySelector$1 +sun/net/NetProperties +sun/net/NetProperties$1 +sun/net/spi/DefaultProxySelector$NonProxyInfo +java/net/Inet6Address +java/net/URI +java/net/URI$Parser +java/net/Proxy +java/net/Proxy$Type +java/net/ConnectException +javax/swing/JMenu +javax/swing/MenuElement +javax/swing/JMenuItem +javax/swing/AbstractButton +java/awt/ItemSelectable +javax/swing/event/MenuListener +javax/swing/JCheckBoxMenuItem +javax/swing/Icon +javax/swing/JButton +java/awt/event/WindowListener +java/net/URLClassLoader$2 +javax/swing/ImageIcon +javax/swing/ImageIcon$1 +java/awt/MediaTracker +sun/misc/SoftCache$ValueCell +sun/awt/image/URLImageSource +sun/awt/image/InputStreamImageSource +sun/awt/image/ImageFetchable +sun/awt/image/ToolkitImage +java/awt/Image$1 +sun/awt/image/SurfaceManager$ImageAccessor +sun/awt/image/SurfaceManager +sun/awt/image/NativeLibLoader +java/awt/ImageMediaEntry +java/awt/MediaEntry +sun/awt/image/ImageRepresentation +java/awt/image/ImageConsumer +sun/awt/image/ImageWatched +sun/awt/image/ImageWatched$Link +sun/awt/image/ImageWatched$WeakLink +sun/awt/image/ImageConsumerQueue +sun/awt/image/ImageFetcher +sun/awt/image/FetcherInfo +sun/awt/image/ImageFetcher$1 +sun/awt/image/GifImageDecoder +sun/awt/image/ImageDecoder +sun/awt/image/GifFrame +java/awt/image/Raster +java/awt/image/DataBufferByte +java/awt/image/DataBuffer +java/awt/image/PixelInterleavedSampleModel +java/awt/image/ComponentSampleModel +java/awt/image/SampleModel +sun/awt/image/ByteInterleavedRaster +sun/awt/image/ByteComponentRaster +sun/awt/image/SunWritableRaster +java/awt/image/WritableRaster +java/awt/image/BufferedImage +java/awt/image/WritableRenderedImage +java/awt/image/RenderedImage +sun/awt/image/IntegerComponentRaster +sun/awt/image/BytePackedRaster +java/awt/Canvas +sun/font/FontDesignMetrics +sun/font/FontStrikeDesc +sun/font/CompositeStrike +sun/font/FontStrikeDisposer +sun/font/StrikeCache$SoftDisposerRef +sun/font/StrikeCache$DisposableStrike +sun/font/TrueTypeFont$TTDisposerRecord +sun/font/TrueTypeFont$1 +java/io/RandomAccessFile +java/nio/ByteBufferAsIntBufferB +java/nio/IntBuffer +sun/font/TrueTypeFont$DirectoryEntry +java/nio/ByteBufferAsShortBufferB +java/nio/ShortBuffer +sun/nio/cs/UTF_16 +sun/nio/cs/UTF_16$Decoder +sun/nio/cs/UnicodeDecoder +sun/font/FileFontStrike +sun/font/TrueTypeGlyphMapper +sun/font/CMap +sun/font/CMap$NullCMapClass +sun/font/CMap$CMapFormat4 +java/nio/ByteBufferAsCharBufferB +sun/font/FontDesignMetrics$KeyReference +sun/awt/image/PNGImageDecoder +sun/awt/image/PNGFilterInputStream +java/util/zip/InflaterInputStream +java/util/zip/Inflater +sun/awt/EventQueueItem +sun/awt/SunToolkit$3 +sun/awt/X11/XExposeEvent +sun/reflect/UnsafeBooleanFieldAccessorImpl +sun/awt/event/IgnorePaintEvent +java/awt/image/DataBufferInt +java/awt/image/SinglePixelPackedSampleModel +sun/awt/image/IntegerInterleavedRaster +sun/awt/image/OffScreenImage +sun/awt/image/BufImgSurfaceData +sun/java2d/opengl/GLXGraphicsConfig +sun/java2d/opengl/OGLGraphicsConfig +sun/java2d/x11/X11SurfaceData$X11PixmapSurfaceData +sun/awt/image/WritableRasterNative +sun/awt/image/DataBufferNative +sun/java2d/SurfaceManagerFactory +sun/java2d/opengl/GLXSurfaceData +sun/java2d/opengl/OGLSurfaceData +sun/font/CompositeGlyphMapper +sun/java2d/loops/FontInfo +java/util/Date +sun/util/calendar/CalendarSystem +sun/util/calendar/Gregorian +sun/util/calendar/BaseCalendar +sun/util/calendar/AbstractCalendar +java/util/TimeZone +java/lang/InheritableThreadLocal +sun/util/calendar/ZoneInfo +sun/util/calendar/ZoneInfoFile +sun/util/calendar/ZoneInfoFile$1 +java/util/TimeZone$1 +sun/util/calendar/Gregorian$Date +sun/util/calendar/BaseCalendar$Date +sun/util/calendar/CalendarDate +sun/util/calendar/CalendarUtils +java/util/TimeZone$DisplayNames +sun/util/TimeZoneNameUtility +sun/util/resources/TimeZoneNames +sun/util/resources/TimeZoneNamesBundle +sun/util/resources/TimeZoneNames_en +java/util/spi/TimeZoneNameProvider +java/lang/ProcessBuilder +java/lang/ProcessImpl +java/lang/UNIXProcess +java/lang/Process +java/lang/UNIXProcess$1 +java/net/ServerSocket +java/util/Random +java/util/concurrent/atomic/AtomicLong +java/lang/InternalError +java/io/StringReader +java/lang/SecurityException +java/io/FilterReader +java/lang/reflect/Proxy +java/lang/reflect/InvocationHandler +java/lang/NoSuchFieldException +java/lang/InstantiationException +java/lang/ArrayIndexOutOfBoundsException +java/lang/IndexOutOfBoundsException +javax/swing/JDialog +sun/awt/X11/XClipboard +sun/awt/datatransfer/SunClipboard +java/awt/datatransfer/Clipboard +java/awt/datatransfer/SystemFlavorMap +java/awt/datatransfer/FlavorMap +java/awt/datatransfer/FlavorTable +java/awt/datatransfer/SystemFlavorMap$1 +sun/net/ProgressMonitor +sun/net/DefaultProgressMeteringPolicy +sun/net/ProgressMeteringPolicy +java/awt/datatransfer/SystemFlavorMap$2 +java/awt/datatransfer/MimeType +java/io/Externalizable +java/awt/datatransfer/MimeTypeParameterList +sun/awt/datatransfer/DataTransferer +java/util/Collections$SynchronizedSet +java/util/Collections$SynchronizedCollection +java/awt/datatransfer/DataFlavor +java/awt/datatransfer/DataFlavor$1 +sun/awt/datatransfer/DataTransferer$CharsetComparator +sun/awt/datatransfer/DataTransferer$IndexedComparator +sun/nio/cs/UTF_16LE +sun/nio/cs/UTF_16BE +sun/awt/datatransfer/DataTransferer$DataFlavorComparator +java/rmi/Remote +sun/awt/datatransfer/DataTransferer$1 +sun/awt/X11/XDataTransferer +sun/awt/datatransfer/ToolkitThreadBlockedHandler +javax/imageio/ImageTypeSpecifier +sun/awt/X11/XSelection +sun/security/action/GetIntegerAction +sun/awt/X11/XSelection$IncrementalTransferHandler +sun/awt/X11/XSelection$SelectionEventHandler +java/awt/datatransfer/Transferable +java/io/EOFException +java/util/Vector$1 +java/util/zip/ZipFile$1 +java/util/zip/ZipFile$2 +java/util/jar/JarFile$1 +java/util/PropertyResourceBundle +java/util/ResourceBundle$Control$1 +java/util/Hashtable$EntrySet +java/lang/IllegalAccessError +java/text/MessageFormat +java/text/MessageFormat$Field +java/text/Format$Field +java/lang/CloneNotSupportedException +sun/reflect/MethodAccessorGenerator +sun/reflect/AccessorGenerator +sun/reflect/ClassFileConstants +java/lang/Void +sun/reflect/ByteVectorFactory +sun/reflect/ByteVectorImpl +sun/reflect/ByteVector +sun/reflect/ClassFileAssembler +sun/reflect/UTF8 +sun/reflect/Label +sun/reflect/Label$PatchInfo +sun/reflect/MethodAccessorGenerator$1 +sun/reflect/ClassDefiner +sun/reflect/ClassDefiner$1 +sun/reflect/BootstrapConstructorAccessorImpl +java/awt/event/ActionListener +javax/swing/Timer +javax/swing/Timer$DoPostEvent +javax/swing/TimerQueue +javax/swing/TimerQueue$1 +javax/swing/ToolTipManager +java/awt/event/MouseAdapter +javax/swing/ToolTipManager$insideTimerAction +javax/swing/ToolTipManager$outsideTimerAction +javax/swing/ToolTipManager$stillInsideTimerAction +sun/swing/UIAction +javax/swing/Action +javax/swing/ToolTipManager$MoveBeforeEnterListener +java/awt/event/MouseMotionAdapter +java/util/Hashtable$ValueCollection +javax/swing/event/CaretListener +javax/swing/JToolBar +javax/swing/JSplitPane +javax/swing/border/Border +javax/swing/JToggleButton +javax/swing/border/EmptyBorder +javax/swing/border/AbstractBorder +javax/swing/DefaultButtonModel +javax/swing/ButtonModel +javax/swing/AbstractButton$Handler +javax/swing/event/ChangeListener +java/awt/event/ItemListener +javax/swing/plaf/metal/MetalButtonUI +javax/swing/plaf/basic/BasicButtonUI +javax/swing/plaf/ButtonUI +javax/swing/plaf/metal/MetalBorders +javax/swing/plaf/BorderUIResource$CompoundBorderUIResource +javax/swing/border/CompoundBorder +javax/swing/plaf/metal/MetalBorders$ButtonBorder +javax/swing/plaf/basic/BasicBorders$MarginBorder +javax/swing/plaf/basic/BasicButtonListener +java/awt/AWTEventMulticaster +java/awt/event/WindowFocusListener +java/awt/event/WindowStateListener +java/awt/event/AdjustmentListener +java/awt/event/TextListener +javax/swing/event/AncestorListener +java/beans/VetoableChangeListener +javax/swing/ButtonGroup +javax/swing/JToggleButton$ToggleButtonModel +javax/swing/plaf/metal/MetalToggleButtonUI +javax/swing/plaf/basic/BasicToggleButtonUI +javax/swing/plaf/metal/MetalBorders$ToggleButtonBorder +java/awt/CardLayout +javax/swing/Box +javax/swing/plaf/metal/MetalBorders$TextFieldBorder +javax/swing/plaf/metal/MetalBorders$Flush3DBorder +javax/swing/BoxLayout +javax/swing/JMenuBar +javax/swing/DefaultSingleSelectionModel +javax/swing/SingleSelectionModel +javax/swing/plaf/basic/BasicMenuBarUI +javax/swing/plaf/MenuBarUI +javax/swing/plaf/basic/DefaultMenuLayout +javax/swing/plaf/metal/MetalBorders$MenuBarBorder +javax/swing/plaf/basic/BasicMenuBarUI$Handler +javax/swing/KeyboardManager +javax/swing/event/MenuEvent +javax/swing/JMenu$MenuChangeListener +javax/swing/JMenuItem$MenuItemFocusListener +javax/swing/plaf/basic/BasicMenuUI +javax/swing/plaf/basic/BasicMenuItemUI +javax/swing/plaf/MenuItemUI +javax/swing/plaf/metal/MetalBorders$MenuItemBorder +javax/swing/plaf/metal/MetalIconFactory +javax/swing/plaf/metal/MetalIconFactory$MenuArrowIcon +javax/swing/plaf/basic/BasicMenuUI$Handler +javax/swing/event/MenuKeyListener +javax/swing/plaf/basic/BasicMenuItemUI$Handler +javax/swing/event/MenuDragMouseListener +javax/swing/event/MouseInputListener +javax/swing/event/ChangeEvent +java/awt/event/ContainerEvent +javax/swing/plaf/metal/MetalIconFactory$MenuItemArrowIcon +javax/swing/JPopupMenu +javax/swing/plaf/basic/BasicPopupMenuUI +javax/swing/plaf/PopupMenuUI +javax/swing/plaf/basic/BasicLookAndFeel$AWTEventHelper +java/awt/event/AWTEventListenerProxy +java/awt/Toolkit$SelectiveAWTEventListener +java/awt/Toolkit$ToolkitEventMulticaster +javax/swing/plaf/basic/BasicLookAndFeel$1 +javax/swing/plaf/metal/MetalBorders$PopupMenuBorder +javax/swing/plaf/basic/BasicPopupMenuUI$BasicPopupMenuListener +javax/swing/event/PopupMenuListener +javax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener +javax/swing/plaf/basic/BasicPopupMenuUI$MouseGrabber +javax/swing/MenuSelectionManager +javax/swing/plaf/basic/BasicPopupMenuUI$MenuKeyboardHelper +javax/swing/plaf/basic/BasicPopupMenuUI$MenuKeyboardHelper$1 +java/awt/event/FocusAdapter +javax/swing/JMenu$WinListener +java/awt/event/WindowAdapter +javax/swing/JPopupMenu$Separator +javax/swing/JSeparator +javax/swing/plaf/metal/MetalPopupMenuSeparatorUI +javax/swing/plaf/metal/MetalSeparatorUI +javax/swing/plaf/basic/BasicSeparatorUI +javax/swing/plaf/SeparatorUI +javax/swing/JComboBox +javax/swing/event/ListDataListener +javax/swing/event/CaretEvent +javax/swing/text/TabExpander +javax/swing/JScrollBar +java/awt/Adjustable +javax/swing/event/MouseInputAdapter +javax/swing/JScrollBar$ModelListener +javax/swing/DefaultBoundedRangeModel +javax/swing/BoundedRangeModel +javax/swing/plaf/metal/MetalScrollBarUI +javax/swing/plaf/basic/BasicScrollBarUI +javax/swing/plaf/ScrollBarUI +javax/swing/plaf/metal/MetalBumps +javax/swing/plaf/metal/MetalScrollButton +javax/swing/plaf/basic/BasicArrowButton +javax/swing/plaf/basic/BasicScrollBarUI$TrackListener +javax/swing/plaf/basic/BasicScrollBarUI$ArrowButtonListener +javax/swing/plaf/basic/BasicScrollBarUI$ModelListener +javax/swing/plaf/metal/MetalScrollBarUI$ScrollBarListener +javax/swing/plaf/basic/BasicScrollBarUI$PropertyChangeHandler +javax/swing/plaf/basic/BasicScrollBarUI$Handler +javax/swing/plaf/basic/BasicScrollBarUI$ScrollListener +javax/swing/CellRendererPane +java/util/HashMap$EntryIterator +javax/swing/border/MatteBorder +sun/font/StandardGlyphVector +java/awt/font/GlyphVector +sun/font/StandardGlyphVector$GlyphStrike +sun/font/CoreMetrics +sun/font/FontLineMetrics +java/awt/font/LineMetrics +javax/swing/ComboBoxModel +javax/swing/ListModel +javax/swing/ListCellRenderer +javax/swing/DefaultComboBoxModel +javax/swing/MutableComboBoxModel +javax/swing/AbstractListModel +javax/swing/JComboBox$1 +javax/swing/AncestorNotifier +javax/swing/plaf/metal/MetalComboBoxUI +javax/swing/plaf/basic/BasicComboBoxUI +javax/swing/plaf/ComboBoxUI +javax/swing/plaf/metal/MetalComboBoxUI$MetalComboBoxLayoutManager +javax/swing/plaf/basic/BasicComboBoxUI$ComboBoxLayoutManager +javax/swing/plaf/basic/BasicComboPopup +javax/swing/plaf/basic/ComboPopup +javax/swing/plaf/basic/BasicComboPopup$EmptyListModelClass +javax/swing/border/LineBorder +javax/swing/plaf/basic/BasicComboPopup$1 +javax/swing/JList +javax/swing/DropMode +javax/swing/DefaultListSelectionModel +javax/swing/ListSelectionModel +javax/swing/plaf/basic/BasicListUI +javax/swing/plaf/ListUI +javax/swing/plaf/basic/BasicListUI$ListTransferHandler +javax/swing/TransferHandler +javax/swing/TransferHandler$TransferAction +javax/swing/DefaultListCellRenderer$UIResource +javax/swing/DefaultListCellRenderer +javax/swing/TransferHandler$SwingDropTarget +java/awt/dnd/DropTargetContext +javax/swing/TransferHandler$DropHandler +javax/swing/TransferHandler$TransferSupport +javax/swing/plaf/basic/BasicListUI$Handler +javax/swing/event/ListSelectionListener +javax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag +javax/swing/plaf/basic/BasicComboPopup$Handler +javax/swing/JScrollPane +javax/swing/ScrollPaneConstants +javax/swing/ScrollPaneLayout$UIResource +javax/swing/ScrollPaneLayout +javax/swing/JViewport +javax/swing/ViewportLayout +javax/swing/plaf/basic/BasicViewportUI +javax/swing/plaf/ViewportUI +javax/swing/JScrollPane$ScrollBar +javax/swing/JViewport$ViewListener +java/awt/event/ComponentAdapter +javax/swing/plaf/metal/MetalScrollPaneUI +javax/swing/plaf/basic/BasicScrollPaneUI +javax/swing/plaf/ScrollPaneUI +javax/swing/plaf/metal/MetalBorders$ScrollPaneBorder +javax/swing/plaf/basic/BasicScrollPaneUI$Handler +javax/swing/plaf/metal/MetalScrollPaneUI$1 +javax/swing/plaf/basic/BasicComboBoxRenderer$UIResource +javax/swing/plaf/basic/BasicComboBoxRenderer +javax/swing/plaf/metal/MetalComboBoxEditor$UIResource +javax/swing/plaf/metal/MetalComboBoxEditor +javax/swing/plaf/basic/BasicComboBoxEditor +javax/swing/ComboBoxEditor +javax/swing/plaf/basic/BasicComboBoxEditor$BorderlessTextField +javax/swing/JTextField$NotifyAction +javax/swing/text/TextAction +javax/swing/AbstractAction +javax/swing/text/JTextComponent$MutableCaretEvent +javax/swing/plaf/metal/MetalTextFieldUI +javax/swing/plaf/basic/BasicTextFieldUI +javax/swing/plaf/basic/BasicTextUI +javax/swing/text/ViewFactory +javax/swing/plaf/TextUI +javax/swing/plaf/basic/BasicTextUI$BasicCursor +javax/swing/text/DefaultEditorKit +javax/swing/text/EditorKit +javax/swing/text/DefaultEditorKit$InsertContentAction +javax/swing/text/DefaultEditorKit$DeletePrevCharAction +javax/swing/text/DefaultEditorKit$DeleteNextCharAction +javax/swing/text/DefaultEditorKit$ReadOnlyAction +javax/swing/text/DefaultEditorKit$DeleteWordAction +javax/swing/text/DefaultEditorKit$WritableAction +javax/swing/text/DefaultEditorKit$CutAction +javax/swing/text/DefaultEditorKit$CopyAction +javax/swing/text/DefaultEditorKit$PasteAction +javax/swing/text/DefaultEditorKit$VerticalPageAction +javax/swing/text/DefaultEditorKit$PageAction +javax/swing/text/DefaultEditorKit$InsertBreakAction +javax/swing/text/DefaultEditorKit$BeepAction +javax/swing/text/DefaultEditorKit$NextVisualPositionAction +javax/swing/text/DefaultEditorKit$BeginWordAction +javax/swing/text/DefaultEditorKit$EndWordAction +javax/swing/text/DefaultEditorKit$PreviousWordAction +javax/swing/text/DefaultEditorKit$NextWordAction +javax/swing/text/DefaultEditorKit$BeginLineAction +javax/swing/text/DefaultEditorKit$EndLineAction +javax/swing/text/DefaultEditorKit$BeginParagraphAction +javax/swing/text/DefaultEditorKit$EndParagraphAction +javax/swing/text/DefaultEditorKit$BeginAction +javax/swing/text/DefaultEditorKit$EndAction +javax/swing/text/DefaultEditorKit$DefaultKeyTypedAction +javax/swing/text/DefaultEditorKit$InsertTabAction +javax/swing/text/DefaultEditorKit$SelectWordAction +javax/swing/text/DefaultEditorKit$SelectLineAction +javax/swing/text/DefaultEditorKit$SelectParagraphAction +javax/swing/text/DefaultEditorKit$SelectAllAction +javax/swing/text/DefaultEditorKit$UnselectAction +javax/swing/text/DefaultEditorKit$ToggleComponentOrientationAction +javax/swing/text/DefaultEditorKit$DumpModelAction +javax/swing/plaf/basic/BasicTextUI$TextTransferHandler +javax/swing/text/Position$Bias +javax/swing/plaf/basic/BasicTextUI$RootView +javax/swing/text/View +javax/swing/plaf/basic/BasicTextUI$UpdateHandler +javax/swing/event/DocumentListener +javax/swing/plaf/basic/BasicTextUI$DragListener +javax/swing/plaf/basic/BasicComboBoxEditor$UIResource +javax/swing/plaf/basic/BasicTextUI$BasicCaret +javax/swing/text/DefaultCaret +javax/swing/text/Caret +javax/swing/text/DefaultCaret$Handler +java/awt/datatransfer/ClipboardOwner +javax/swing/plaf/basic/BasicTextUI$BasicHighlighter +javax/swing/text/DefaultHighlighter +javax/swing/text/LayeredHighlighter +javax/swing/text/Highlighter +javax/swing/text/Highlighter$Highlight +javax/swing/text/DefaultHighlighter$DefaultHighlightPainter +javax/swing/text/LayeredHighlighter$LayerPainter +javax/swing/text/Highlighter$HighlightPainter +javax/swing/text/DefaultHighlighter$SafeDamager +javax/swing/text/FieldView +javax/swing/text/PlainView +javax/swing/text/JTextComponent$DefaultKeymap +javax/swing/text/Keymap +javax/swing/text/JTextComponent$KeymapWrapper +javax/swing/text/JTextComponent$KeymapActionMap +javax/swing/plaf/basic/BasicTextUI$FocusAction +javax/swing/plaf/basic/BasicTextUI$TextActionWrapper +javax/swing/JTextArea +javax/swing/JEditorPane +javax/swing/JTextField$ScrollRepainter +javax/swing/plaf/metal/MetalComboBoxEditor$1 +javax/swing/plaf/metal/MetalComboBoxEditor$EditorBorder +javax/swing/plaf/metal/MetalComboBoxUI$MetalPropertyChangeListener +javax/swing/plaf/basic/BasicComboBoxUI$PropertyChangeHandler +javax/swing/plaf/basic/BasicComboBoxUI$Handler +javax/swing/plaf/metal/MetalComboBoxButton +javax/swing/plaf/metal/MetalComboBoxIcon +javax/swing/plaf/metal/MetalComboBoxButton$1 +javax/swing/plaf/basic/BasicComboBoxUI$DefaultKeySelectionManager +javax/swing/JComboBox$KeySelectionManager +javax/swing/JToolBar$DefaultToolBarLayout +javax/swing/plaf/metal/MetalToolBarUI +javax/swing/plaf/basic/BasicToolBarUI +javax/swing/plaf/ToolBarUI +javax/swing/plaf/metal/MetalBorders$ToolBarBorder +javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1 +javax/swing/plaf/metal/MetalBorders$RolloverButtonBorder +javax/swing/plaf/metal/MetalBorders$RolloverMarginBorder +javax/swing/plaf/basic/BasicBorders$RadioButtonBorder +javax/swing/plaf/basic/BasicBorders$ButtonBorder +javax/swing/plaf/basic/BasicBorders$RolloverMarginBorder +javax/swing/plaf/metal/MetalToolBarUI$MetalDockingListener +javax/swing/plaf/basic/BasicToolBarUI$DockingListener +javax/swing/plaf/basic/BasicToolBarUI$Handler +javax/swing/border/EtchedBorder +javax/swing/JToolBar$Separator +javax/swing/plaf/basic/BasicToolBarSeparatorUI +java/applet/Applet +java/awt/Panel +com/sun/awt/AWTUtilities +javax/swing/KeyboardManager$ComponentKeyStrokePair +sun/awt/EmbeddedFrame +sun/awt/im/InputMethodContext +java/awt/im/spi/InputMethodContext +sun/awt/im/InputContext +sun/awt/im/InputMethodManager +sun/awt/im/ExecutableInputMethodManager +sun/awt/X11/XInputMethodDescriptor +sun/awt/X11InputMethodDescriptor +java/awt/im/spi/InputMethodDescriptor +sun/awt/im/InputMethodLocator +sun/awt/im/ExecutableInputMethodManager$2 +sun/misc/Service +sun/misc/Service$LazyIterator +java/util/TreeSet +java/util/NavigableSet +java/util/SortedSet +javax/swing/SizeRequirements +javax/swing/plaf/basic/BasicGraphicsUtils +java/awt/event/AdjustmentEvent +java/awt/MenuBar +sun/awt/X11/XComponentPeer$2 +java/awt/SequencedEvent +java/beans/PropertyVetoException +java/awt/DefaultKeyboardFocusManager$TypeAheadMarker +java/awt/KeyboardFocusManager$HeavyweightFocusRequest +java/awt/KeyboardFocusManager$LightweightFocusRequest +sun/awt/KeyboardFocusManagerPeerImpl +sun/awt/SunToolkit$7 +java/awt/Window$1DisposeAction +java/awt/LightweightDispatcher$2 +sun/awt/X11/XReparentEvent +sun/awt/X11/XWindowAttributes +sun/awt/X11/XFocusChangeEvent +sun/awt/X11/XComponentPeer$1 +sun/awt/X11/XUnmapEvent +java/io/StringWriter +javax/swing/JWindow +java/io/UnsupportedEncodingException +java/net/UnknownHostException +java/nio/channels/SocketChannel +java/nio/channels/spi/AbstractSelectableChannel +java/nio/channels/SelectableChannel +java/net/SocketImplFactory +javax/swing/UnsupportedLookAndFeelException +java/lang/UnsatisfiedLinkError +javax/swing/Box$Filler +javax/swing/JComponent$2 +sun/net/www/MimeTable +java/net/FileNameMap +sun/net/www/MimeTable$1 +sun/net/www/MimeEntry +java/net/URLConnection$1 +java/text/SimpleDateFormat +java/text/DateFormat +java/text/DateFormat$Field +java/util/Calendar +java/util/GregorianCalendar +sun/util/resources/CalendarData +sun/util/resources/CalendarData_en +java/text/DateFormatSymbols +java/text/spi/DateFormatSymbolsProvider +java/text/DontCareFieldPosition +java/text/DontCareFieldPosition$1 +java/text/Format$FieldDelegate +javax/swing/plaf/BorderUIResource +javax/swing/BorderFactory +javax/swing/border/BevelBorder +javax/swing/plaf/metal/MetalIconFactory$TreeFolderIcon +javax/swing/plaf/metal/MetalIconFactory$FolderIcon16 +java/util/zip/ZipInputStream +java/io/PushbackInputStream +java/util/zip/CRC32 +java/util/zip/Checksum +java/lang/Thread$State +javax/swing/SwingUtilities$SharedOwnerFrame +javax/swing/JTable +javax/swing/event/TableModelListener +javax/swing/event/TableColumnModelListener +javax/swing/event/CellEditorListener +javax/swing/event/RowSorterListener +javax/swing/BufferStrategyPaintManager$BufferInfo +java/awt/Component$BltSubRegionBufferStrategy +sun/awt/SubRegionShowable +java/awt/Component$BltBufferStrategy +sun/awt/image/SunVolatileImage +sun/awt/image/BufferedImageGraphicsConfig +sun/print/PrinterGraphicsConfig +sun/java2d/x11/X11VolatileSurfaceManager +sun/awt/image/VolatileSurfaceManager +java/awt/print/PrinterGraphics +java/awt/PrintGraphics +java/awt/GraphicsCallback$PaintCallback +java/awt/GraphicsCallback +sun/awt/SunGraphicsCallback +javax/swing/JRadioButton +java/lang/ClassFormatError +javax/swing/JTabbedPane +javax/swing/JTabbedPane$ModelListener +javax/swing/plaf/metal/MetalTabbedPaneUI +javax/swing/plaf/basic/BasicTabbedPaneUI +javax/swing/plaf/TabbedPaneUI +javax/swing/plaf/metal/MetalTabbedPaneUI$TabbedPaneLayout +javax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneLayout +javax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout +javax/swing/plaf/basic/BasicTabbedPaneUI$Handler +sun/swing/ImageIconUIResource +javax/swing/GrayFilter +java/awt/image/RGBImageFilter +java/awt/image/ImageFilter +java/awt/image/FilteredImageSource +org/w3c/dom/Node +org/xml/sax/SAXException +javax/xml/parsers/ParserConfigurationException +org/xml/sax/EntityResolver +java/security/NoSuchAlgorithmException +java/security/GeneralSecurityException +java/util/zip/GZIPInputStream +java/util/zip/DeflaterOutputStream +org/xml/sax/InputSource +javax/xml/parsers/DocumentBuilderFactory +javax/xml/parsers/FactoryFinder +javax/xml/parsers/SecuritySupport +javax/xml/parsers/SecuritySupport$2 +javax/xml/parsers/SecuritySupport$5 +javax/xml/parsers/SecuritySupport$1 +javax/xml/parsers/SecuritySupport$4 +javax/xml/parsers/DocumentBuilder +org/w3c/dom/Document +org/xml/sax/helpers/DefaultHandler +org/xml/sax/DTDHandler +org/xml/sax/ContentHandler +org/xml/sax/ErrorHandler +org/xml/sax/SAXNotSupportedException +org/xml/sax/Locator +org/xml/sax/SAXNotRecognizedException +org/xml/sax/SAXParseException +org/w3c/dom/NodeList +org/w3c/dom/events/EventTarget +org/w3c/dom/traversal/DocumentTraversal +org/w3c/dom/events/DocumentEvent +org/w3c/dom/ranges/DocumentRange +org/w3c/dom/Entity +org/w3c/dom/Element +org/w3c/dom/CharacterData +org/w3c/dom/CDATASection +org/w3c/dom/Text +org/xml/sax/AttributeList +org/w3c/dom/DOMException +org/w3c/dom/Notation +org/w3c/dom/DocumentType +org/w3c/dom/Attr +org/w3c/dom/EntityReference +org/w3c/dom/ProcessingInstruction +org/w3c/dom/Comment +org/w3c/dom/DocumentFragment +org/w3c/dom/events/Event +org/w3c/dom/events/MutationEvent +org/w3c/dom/traversal/TreeWalker +org/w3c/dom/ranges/Range +org/w3c/dom/traversal/NodeIterator +org/w3c/dom/events/EventException +org/w3c/dom/NamedNodeMap +java/lang/StringIndexOutOfBoundsException +java/awt/GridLayout +javax/swing/plaf/metal/MetalRadioButtonUI +javax/swing/plaf/basic/BasicRadioButtonUI +javax/swing/plaf/basic/BasicBorders +javax/swing/plaf/metal/MetalIconFactory$RadioButtonIcon +java/awt/event/ItemEvent +java/awt/CardLayout$Card +javax/swing/JCheckBox +javax/swing/event/ListSelectionEvent +javax/swing/plaf/metal/MetalCheckBoxUI +javax/swing/plaf/metal/MetalIconFactory$CheckBoxIcon +java/lang/ExceptionInInitializerError +com/sun/java/swing/plaf/windows/WindowsTabbedPaneUI +javax/swing/JProgressBar +javax/swing/JProgressBar$ModelListener +javax/swing/plaf/metal/MetalProgressBarUI +javax/swing/plaf/basic/BasicProgressBarUI +javax/swing/plaf/ProgressBarUI +javax/swing/plaf/BorderUIResource$LineBorderUIResource +javax/swing/plaf/basic/BasicProgressBarUI$Handler +javax/swing/tree/TreeModel +javax/swing/table/TableCellRenderer +javax/swing/table/JTableHeader +javax/swing/event/TreeExpansionListener +javax/swing/table/AbstractTableModel +javax/swing/table/TableModel +javax/swing/table/DefaultTableCellRenderer +javax/swing/JTree +javax/swing/tree/TreeSelectionModel +javax/swing/tree/DefaultTreeCellRenderer +javax/swing/tree/TreeCellRenderer +javax/swing/table/TableCellEditor +javax/swing/CellEditor +javax/swing/JToolTip +javax/swing/table/TableColumn +javax/swing/table/DefaultTableColumnModel +javax/swing/table/TableColumnModel +javax/swing/table/DefaultTableModel +javax/swing/event/TableModelEvent +sun/swing/table/DefaultTableCellHeaderRenderer +javax/swing/plaf/basic/BasicTableHeaderUI +javax/swing/plaf/TableHeaderUI +javax/swing/plaf/basic/BasicTableHeaderUI$1 +javax/swing/plaf/basic/BasicTableHeaderUI$MouseInputHandler +javax/swing/DefaultCellEditor +javax/swing/tree/TreeCellEditor +javax/swing/AbstractCellEditor +javax/swing/plaf/basic/BasicTableUI +javax/swing/plaf/TableUI +javax/swing/plaf/basic/BasicTableUI$TableTransferHandler +javax/swing/plaf/basic/BasicTableUI$Handler +javax/swing/tree/DefaultTreeSelectionModel +javax/swing/tree/TreePath +javax/swing/plaf/metal/MetalTreeUI +javax/swing/plaf/basic/BasicTreeUI +javax/swing/plaf/TreeUI +javax/swing/plaf/basic/BasicTreeUI$Actions +javax/swing/plaf/basic/BasicTreeUI$TreeTransferHandler +javax/swing/plaf/metal/MetalTreeUI$LineListener +javax/swing/plaf/basic/BasicTreeUI$Handler +javax/swing/event/TreeModelListener +javax/swing/event/TreeSelectionListener +javax/swing/event/SwingPropertyChangeSupport +javax/swing/tree/VariableHeightLayoutCache +javax/swing/tree/AbstractLayoutCache +javax/swing/tree/RowMapper +javax/swing/plaf/basic/BasicTreeUI$NodeDimensionsHandler +javax/swing/tree/AbstractLayoutCache$NodeDimensions +javax/swing/JTree$TreeModelHandler +javax/swing/tree/VariableHeightLayoutCache$TreeStateNode +javax/swing/tree/DefaultMutableTreeNode +javax/swing/tree/MutableTreeNode +javax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration +javax/swing/event/TableColumnModelEvent +java/text/ParseException +java/text/NumberFormat$Field +javax/swing/event/UndoableEditListener +javax/swing/filechooser/FileFilter +javax/swing/tree/DefaultTreeModel +javax/swing/tree/DefaultTreeCellEditor +javax/swing/tree/DefaultTreeCellEditor$1 +javax/swing/tree/DefaultTreeCellEditor$DefaultTextField +javax/swing/DefaultCellEditor$1 +javax/swing/DefaultCellEditor$EditorDelegate +javax/swing/tree/DefaultTreeCellEditor$EditorContainer +javax/swing/JTree$TreeSelectionRedirector +javax/swing/event/TreeModelEvent +javax/swing/plaf/metal/MetalSplitPaneUI +javax/swing/plaf/basic/BasicSplitPaneUI +javax/swing/plaf/SplitPaneUI +javax/swing/plaf/basic/BasicSplitPaneDivider +javax/swing/plaf/basic/BasicBorders$SplitPaneBorder +javax/swing/plaf/metal/MetalSplitPaneDivider +javax/swing/plaf/basic/BasicSplitPaneDivider$DividerLayout +javax/swing/plaf/basic/BasicSplitPaneDivider$MouseHandler +javax/swing/plaf/basic/BasicBorders$SplitPaneDividerBorder +javax/swing/plaf/basic/BasicSplitPaneUI$BasicHorizontalLayoutManager +javax/swing/plaf/basic/BasicSplitPaneUI$1 +javax/swing/plaf/basic/BasicSplitPaneUI$Handler +javax/swing/plaf/metal/MetalSplitPaneDivider$1 +javax/swing/plaf/basic/BasicSplitPaneDivider$OneTouchActionHandler +javax/swing/plaf/metal/MetalSplitPaneDivider$2 +javax/swing/border/TitledBorder +javax/swing/plaf/basic/BasicTextAreaUI +java/util/Collections$UnmodifiableCollection$1 +java/io/InterruptedIOException +java/net/NoRouteToHostException +java/net/BindException +javax/swing/tree/PathPlaceHolder +javax/swing/event/TreeSelectionEvent +javax/swing/JList$3 +javax/swing/JList$ListSelectionHandler +javax/swing/JSlider +javax/swing/JSlider$ModelListener +javax/swing/plaf/metal/MetalSliderUI +javax/swing/plaf/basic/BasicSliderUI +javax/swing/plaf/SliderUI +javax/swing/plaf/basic/BasicSliderUI$Actions +javax/swing/plaf/metal/MetalIconFactory$HorizontalSliderThumbIcon +javax/swing/plaf/metal/MetalIconFactory$VerticalSliderThumbIcon +javax/swing/plaf/basic/BasicSliderUI$TrackListener +javax/swing/plaf/basic/BasicSliderUI$Handler +javax/swing/plaf/basic/BasicSliderUI$ScrollListener +javax/swing/plaf/metal/MetalSliderUI$MetalPropertyListener +javax/swing/plaf/basic/BasicSliderUI$PropertyChangeHandler +sun/java2d/HeadlessGraphicsEnvironment +java/util/Hashtable$KeySet +java/awt/FontFormatException +sun/font/Type1Font$1 +java/nio/channels/FileChannel$MapMode +sun/nio/ch/FileChannelImpl$Unmapper +sun/nio/ch/Util$3 +java/nio/DirectByteBufferR +java/nio/charset/Charset$3 +sun/nio/cs/AbstractCharsetProvider +sun/nio/cs/SingleByteDecoder +java/lang/CharacterData00 +javax/swing/DefaultListModel +javax/swing/event/ListDataEvent +javax/sound/sampled/DataLine +javax/sound/sampled/Line +javax/sound/sampled/Line$Info +javax/sound/sampled/DataLine$Info +javax/sound/sampled/Control$Type +javax/sound/sampled/FloatControl$Type +javax/sound/sampled/LineUnavailableException +javax/sound/sampled/UnsupportedAudioFileException +javax/swing/JRadioButtonMenuItem +javax/swing/JMenuItem$AccessibleJMenuItem +javax/swing/AbstractButton$AccessibleAbstractButton +javax/accessibility/AccessibleAction +javax/accessibility/AccessibleValue +javax/accessibility/AccessibleText +javax/accessibility/AccessibleExtendedComponent +javax/accessibility/AccessibleComponent +javax/swing/JComponent$AccessibleJComponent +java/awt/Container$AccessibleAWTContainer +java/awt/Component$AccessibleAWTComponent +javax/accessibility/AccessibleRelationSet +javax/accessibility/AccessibleState +javax/accessibility/AccessibleBundle +javax/swing/plaf/basic/BasicCheckBoxMenuItemUI +javax/swing/plaf/metal/MetalIconFactory$CheckBoxMenuItemIcon +javax/swing/JCheckBoxMenuItem$AccessibleJCheckBoxMenuItem +javax/swing/plaf/basic/BasicRadioButtonMenuItemUI +javax/swing/plaf/metal/MetalIconFactory$RadioButtonMenuItemIcon +sun/awt/image/ImageDecoder$1 +javax/swing/JTabbedPane$Page +java/net/DatagramSocket +java/net/MulticastSocket +java/net/DatagramPacket +sun/net/InetAddressCachePolicy +sun/net/InetAddressCachePolicy$1 +sun/net/InetAddressCachePolicy$2 +java/net/InetAddress$CacheEntry +java/net/PlainDatagramSocketImpl +java/net/DatagramSocketImpl +java/net/NetworkInterface +java/net/InterfaceAddress +java/text/Collator +java/text/spi/CollatorProvider +sun/text/resources/CollationData +sun/text/resources/CollationData_en +sun/util/EmptyListResourceBundle +java/text/RuleBasedCollator +java/text/CollationRules +java/text/RBCollationTables +java/text/RBTableBuilder +java/text/RBCollationTables$BuildAPI +sun/text/IntHashtable +sun/text/UCompactIntArray +sun/text/normalizer/NormalizerImpl +sun/text/normalizer/ICUData +sun/text/normalizer/NormalizerDataReader +sun/text/normalizer/ICUBinary$Authenticate +sun/text/normalizer/ICUBinary +sun/text/normalizer/NormalizerImpl$FCDTrieImpl +sun/text/normalizer/Trie$DataManipulate +sun/text/normalizer/NormalizerImpl$NormTrieImpl +sun/text/normalizer/NormalizerImpl$AuxTrieImpl +sun/text/normalizer/IntTrie +sun/text/normalizer/Trie +sun/text/normalizer/CharTrie +sun/text/normalizer/CharTrie$FriendAgent +sun/text/normalizer/UnicodeSet +sun/text/normalizer/UnicodeMatcher +sun/text/normalizer/NormalizerImpl$DecomposeArgs +java/text/MergeCollation +java/text/PatternEntry$Parser +java/text/PatternEntry +java/text/EntryPair +sun/text/ComposedCharIter +sun/text/normalizer/UTF16 +sun/net/www/protocol/http/Handler +java/io/ObjectInputStream$BlockDataInputStream +java/io/ObjectInputStream$PeekInputStream +java/io/ObjectInputStream$HandleTable +java/io/ObjectInputStream$ValidationList +java/io/Bits +java/io/ObjectStreamClass$Caches +java/io/ObjectStreamClass$WeakClassKey +java/io/ObjectStreamClass$EntryFuture +java/io/ObjectStreamClass$2 +sun/reflect/SerializationConstructorAccessorImpl +java/io/ObjectStreamClass$FieldReflectorKey +java/io/ObjectStreamClass$FieldReflector +java/io/ObjectStreamClass$1 +java/io/DataOutputStream +java/io/ObjectStreamClass$MemberSignature +java/io/ObjectStreamClass$3 +java/io/ObjectStreamClass$4 +java/io/ObjectStreamClass$5 +java/security/MessageDigest +java/security/MessageDigestSpi +sun/security/jca/GetInstance +sun/security/jca/Providers +sun/security/jca/ProviderList +sun/security/jca/ProviderConfig +sun/security/jca/ProviderList$3 +sun/security/jca/ProviderList$1 +sun/security/jca/ProviderList$2 +sun/security/jca/ProviderConfig$1 +sun/security/jca/ProviderConfig$3 +java/security/Provider$Service +java/security/Provider$UString +sun/security/provider/SHA +sun/security/provider/DigestBase +sun/security/jca/GetInstance$Instance +java/security/MessageDigest$Delegate +sun/security/provider/ByteArrayAccess +java/io/ObjectStreamClass$ClassDataSlot +sun/reflect/UnsafeQualifiedStaticLongFieldAccessorImpl +java/security/SignatureException +java/security/InvalidKeyException +java/security/KeyException +java/security/Signature +java/security/SignatureSpi +java/io/ObjectOutputStream$BlockDataOutputStream +sun/security/provider/DSAPublicKey +java/security/interfaces/DSAPublicKey +java/security/interfaces/DSAKey +java/security/PublicKey +java/security/Key +sun/security/x509/X509Key +java/io/ObjectOutputStream$HandleTable +java/io/ObjectOutputStream$ReplaceTable +sun/security/x509/AlgorithmId +sun/security/util/DerEncoder +sun/security/util/BitArray +sun/security/util/DerOutputStream +sun/security/util/DerValue +java/math/BigInteger +java/security/interfaces/DSAParams +sun/security/util/DerInputStream +sun/security/util/DerInputBuffer +sun/security/util/ObjectIdentifier +java/security/AlgorithmParameters +java/security/AlgorithmParametersSpi +sun/security/provider/DSAParameters +sun/security/util/ByteArrayLexOrder +sun/security/util/ByteArrayTagOrder +sun/security/util/DerIndefLenConverter +java/io/InvalidClassException +java/io/ObjectStreamException +java/io/ObjectInputStream$GetFieldImpl +java/io/ObjectInputStream$GetField +sun/security/jca/ServiceId +sun/security/jca/ProviderList$ServiceList +sun/security/jca/ProviderList$ServiceList$1 +java/security/Signature$Delegate +java/security/interfaces/DSAPrivateKey +java/security/PrivateKey +sun/security/provider/DSA$SHA1withDSA +sun/security/provider/DSA +java/security/spec/DSAParameterSpec +java/security/spec/AlgorithmParameterSpec +java/math/MutableBigInteger +java/math/SignedMutableBigInteger +java/awt/EventQueue$1AWTInvocationLock +java/awt/Component$FlipBufferStrategy +java/awt/SentEvent +sun/awt/X11/XDestroyWindowEvent +sun/awt/X11/XDropTargetRegistry +sun/awt/X11/XEmbeddedFramePeer +sun/awt/X11/XDragAndDropProtocols +sun/awt/X11/XDropTargetContextPeer +sun/awt/dnd/SunDropTargetContextPeer +java/awt/dnd/peer/DropTargetContextPeer +sun/awt/X11/XDropTargetContextPeer$XDropTargetProtocolListenerImpl +sun/awt/X11/XDropTargetProtocolListener +sun/awt/X11/XDnDDragSourceProtocol +sun/awt/X11/XDragSourceProtocol +sun/awt/X11/MotifDnDDragSourceProtocol +sun/awt/X11/XDnDDropTargetProtocol +sun/awt/X11/XDropTargetProtocol +sun/awt/X11/MotifDnDDropTargetProtocol +sun/awt/X11/XDnDConstants +sun/awt/X11/MotifDnDConstants +javax/swing/JTable$2 +javax/swing/JTable$Resizable3 +javax/swing/JTable$Resizable2 +javax/swing/JTable$5 +javax/swing/event/AncestorEvent +sun/font/FontDesignMetrics$MetricsKey +java/awt/geom/Line2D$Float +java/awt/geom/Line2D +com/sun/java/swing/plaf/gtk/GTKLookAndFeel +javax/swing/plaf/synth/SynthLookAndFeel +javax/swing/plaf/synth/DefaultSynthStyleFactory +javax/swing/plaf/synth/SynthStyleFactory +sun/swing/BakedArrayList +javax/swing/plaf/synth/SynthLookAndFeel$Handler +javax/swing/plaf/synth/SynthDefaultLookup +com/sun/java/swing/plaf/gtk/GTKEngine +com/sun/java/swing/plaf/gtk/GTKEngine$Settings +com/sun/java/swing/plaf/gtk/GTKStyleFactory +com/sun/java/swing/plaf/gtk/PangoFonts +com/sun/java/swing/plaf/gtk/GTKLookAndFeel$WeakPCL +javax/swing/plaf/synth/Region +javax/swing/plaf/synth/SynthLookAndFeel$AATextListener +com/sun/java/swing/plaf/gtk/GTKRegion +com/sun/java/swing/plaf/gtk/GTKStyle +com/sun/java/swing/plaf/gtk/GTKConstants +javax/swing/plaf/synth/SynthStyle +javax/swing/plaf/synth/SynthGraphicsUtils +com/sun/java/swing/plaf/gtk/GTKGraphicsUtils +com/sun/java/swing/plaf/gtk/GTKStyle$GTKStockIcon +sun/swing/plaf/synth/SynthIcon +com/sun/java/swing/plaf/gtk/GTKColorType +javax/swing/plaf/synth/ColorType +com/sun/java/swing/plaf/gtk/resources/gtk +com/sun/swing/internal/plaf/synth/resources/synth +com/sun/java/swing/plaf/gtk/GTKStyle$GTKLazyValue +com/sun/java/swing/plaf/gtk/GTKLookAndFeel$1FontLazyValue +com/sun/java/swing/plaf/gtk/GTKLookAndFeel$2 +com/sun/java/swing/plaf/gtk/GTKLookAndFeel$3 +javax/swing/plaf/synth/SynthPanelUI +javax/swing/plaf/synth/SynthConstants +javax/swing/plaf/synth/SynthContext +javax/swing/plaf/synth/SynthBorder +javax/swing/plaf/synth/SynthRootPaneUI +javax/swing/plaf/synth/SynthLabelUI +javax/swing/plaf/synth/SynthButtonUI +javax/swing/plaf/synth/SynthToggleButtonUI +javax/swing/plaf/basic/BasicBorders$FieldBorder +javax/swing/plaf/synth/SynthMenuBarUI +javax/swing/plaf/synth/SynthMenuUI +javax/swing/plaf/synth/SynthUI +com/sun/java/swing/plaf/gtk/GTKIconFactory +com/sun/java/swing/plaf/gtk/GTKIconFactory$MenuArrowIcon +com/sun/java/swing/plaf/gtk/GTKIconFactory$DelegatingIcon +com/sun/java/swing/plaf/gtk/GTKConstants$ArrowType +javax/swing/plaf/basic/BasicIconFactory +javax/swing/plaf/basic/BasicIconFactory$MenuItemCheckIcon +javax/swing/plaf/synth/SynthMenuItemUI +javax/swing/plaf/synth/SynthPopupMenuUI +javax/swing/plaf/synth/SynthSeparatorUI +javax/swing/plaf/synth/SynthScrollBarUI +javax/swing/plaf/synth/SynthArrowButton +javax/swing/plaf/synth/SynthArrowButton$SynthArrowButtonUI +javax/swing/plaf/synth/SynthComboBoxUI +javax/swing/plaf/synth/SynthComboPopup +javax/swing/plaf/synth/SynthListUI +javax/swing/plaf/synth/SynthListUI$SynthListCellRenderer +javax/swing/plaf/synth/SynthViewportUI +javax/swing/plaf/synth/SynthScrollPaneUI +javax/swing/plaf/synth/SynthScrollPaneUI$ViewportBorder +javax/swing/plaf/synth/SynthComboBoxUI$SynthComboBoxRenderer +javax/swing/plaf/synth/SynthComboBoxUI$SynthComboBoxEditor +javax/swing/plaf/synth/SynthTextFieldUI +javax/swing/plaf/synth/SynthToolBarUI +javax/swing/plaf/synth/SynthToolBarUI$SynthToolBarLayoutManager +com/sun/java/swing/plaf/gtk/GTKIconFactory$ToolBarHandleIcon +com/sun/java/swing/plaf/gtk/GTKConstants$Orientation +sun/awt/X11/XTranslateCoordinates +com/sun/java/swing/plaf/gtk/GTKPainter +javax/swing/plaf/synth/SynthPainter +javax/swing/plaf/synth/SynthPainter$1 +com/sun/java/swing/plaf/gtk/GTKConstants$PositionType +com/sun/java/swing/plaf/gtk/GTKConstants$ShadowType +java/io/ObjectInputStream$HandleTable$HandleList +sun/java2d/pipe/ShapeSpanIterator +sun/java2d/pipe/SpanIterator +sun/dc/path/PathConsumer +sun/dc/pr/PathStroker +sun/dc/pr/PathDasher +java/awt/geom/LineIterator +java/awt/geom/PathIterator +sun/applet/Main +sun/applet/AppletMessageHandler +sun/applet/resources/MsgAppletViewer +sun/applet/AppletSecurity +sun/awt/AWTSecurityManager +java/lang/SecurityManager +java/security/DomainCombiner +sun/applet/AppletSecurity$1 +java/lang/SecurityManager$1 +java/security/SecurityPermission +java/util/PropertyPermission +sun/applet/AppletViewer +java/applet/AppletContext +java/awt/print/Printable +sun/security/util/SecurityConstants +java/awt/AWTPermission +java/net/NetPermission +java/net/SocketPermission +javax/security/auth/AuthPermission +java/lang/Thread$1 +java/util/logging/LogManager$5 +sun/applet/StdAppletViewerFactory +sun/applet/AppletViewerFactory +sun/applet/AppletViewer$UserActionListener +sun/applet/AppletViewerPanel +sun/applet/AppletPanel +java/applet/AppletStub +sun/misc/MessageUtils +sun/applet/AppletPanel$10 +java/security/Policy$1 +sun/security/provider/PolicyFile$1 +sun/security/provider/PolicyFile$3 +sun/security/util/PropertyExpander +sun/security/provider/PolicyParser +sun/security/util/PolicyUtil +sun/security/provider/PolicyParser$GrantEntry +sun/security/provider/PolicyParser$PermissionEntry +sun/security/provider/PolicyFile$PolicyEntry +sun/security/provider/PolicyFile$6 +sun/security/provider/PolicyFile$7 +java/net/SocketPermissionCollection +java/util/PropertyPermissionCollection +sun/applet/AppletPanel$9 +sun/applet/AppletClassLoader +sun/applet/AppletThreadGroup +sun/applet/AppContextCreator +sun/applet/AppletPanel$1 +sun/awt/X11/XMenuBarPeer +java/awt/peer/MenuBarPeer +java/awt/peer/MenuComponentPeer +sun/awt/X11/XBaseMenuWindow +sun/awt/X11/XMenuPeer +java/awt/peer/MenuPeer +java/awt/peer/MenuItemPeer +sun/awt/X11/XMenuItemPeer +java/awt/MenuShortcut +sun/awt/X11/XMenuWindow +sun/awt/X11/XMenuItemPeer$TextMetrics +sun/awt/AppContext$3 +sun/awt/X11/XMenuBarPeer$MappingData +sun/awt/X11/XBaseMenuWindow$MappingData +sun/applet/AppletViewer$1 +sun/applet/AppletViewer$1AppletEventListener +sun/applet/AppletListener +sun/applet/AppletEventMulticaster +sun/misc/Queue +sun/misc/QueueElement +sun/applet/AppletEvent +sun/applet/AppletClassLoader$1 +sun/awt/X11/XBaseMenuWindow$3 +java/awt/DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent +sun/awt/CausedFocusEvent +sun/awt/X11/XWindow$1 +java/net/URLClassLoader$4 +sun/applet/AppletClassLoader$2 +javax/swing/JApplet +java/lang/ClassLoader$1 +sun/security/provider/PolicyFile$5 +java/security/PermissionsEnumerator +java/util/Collections$1 +sun/applet/AppletPanel$11 +sun/applet/AppletPanel$8 +sun/applet/AppletPanel$2 +sun/applet/AppletPanel$3 +sun/applet/AppletPanel$6 +javax/swing/BufferStrategyPaintManager$1 +# 1179679078424670 diff --git a/Java-Visualizer/java/jre/lib/cmm/CIEXYZ.pf b/Java-Visualizer/java/jre/lib/cmm/CIEXYZ.pf new file mode 100644 index 00000000..db3ba20a Binary files /dev/null and b/Java-Visualizer/java/jre/lib/cmm/CIEXYZ.pf differ diff --git a/Java-Visualizer/java/jre/lib/cmm/GRAY.pf b/Java-Visualizer/java/jre/lib/cmm/GRAY.pf new file mode 100644 index 00000000..e31a4a77 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/cmm/GRAY.pf differ diff --git a/Java-Visualizer/java/jre/lib/cmm/LINEAR_RGB.pf b/Java-Visualizer/java/jre/lib/cmm/LINEAR_RGB.pf new file mode 100644 index 00000000..eadae048 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/cmm/LINEAR_RGB.pf differ diff --git a/Java-Visualizer/java/jre/lib/cmm/PYCC.pf b/Java-Visualizer/java/jre/lib/cmm/PYCC.pf new file mode 100644 index 00000000..1c49e0bb Binary files /dev/null and b/Java-Visualizer/java/jre/lib/cmm/PYCC.pf differ diff --git a/Java-Visualizer/java/jre/lib/cmm/sRGB.pf b/Java-Visualizer/java/jre/lib/cmm/sRGB.pf new file mode 100644 index 00000000..7f9d18d0 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/cmm/sRGB.pf differ diff --git a/Java-Visualizer/java/jre/lib/content-types.properties b/Java-Visualizer/java/jre/lib/content-types.properties new file mode 100755 index 00000000..559de96f --- /dev/null +++ b/Java-Visualizer/java/jre/lib/content-types.properties @@ -0,0 +1,280 @@ +#sun.net.www MIME content-types table +# +# Property fields: +# +# ::= 'description' '=' +# ::= 'file_extensions' '=' +# ::= 'icon' '=' +# ::= 'browser' | 'application' | 'save' | 'unknown' +# ::= 'application' '=' +# + +# +# The "we don't know anything about this data" type(s). +# Used internally to mark unrecognized types. +# +content/unknown: description=Unknown Content +unknown/unknown: description=Unknown Data Type + +# +# The template we should use for temporary files when launching an application +# to view a document of given type. +# +temp.file.template: /tmp/%s + +# +# The "real" types. +# +application/octet-stream: \ + description=Generic Binary Stream;\ + file_extensions=.saveme,.dump,.hqx,.arc,.o,.a,.bin,.exe,.z,.gz + +application/oda: \ + description=ODA Document;\ + file_extensions=.oda + +application/pdf: \ + description=Adobe PDF Format;\ + file_extensions=.pdf + +application/postscript: \ + description=Postscript File;\ + file_extensions=.eps,.ai,.ps;\ + icon=ps;\ + action=application;\ + application=imagetool %s + +application/x-dvi: \ + description=TeX DVI File;\ + file_extensions=.dvi;\ + action=application;\ + application=xdvi %s + +application/x-hdf: \ + description=Hierarchical Data Format;\ + file_extensions=.hdf;\ + action=save + +application/x-latex: \ + description=LaTeX Source;\ + file_extensions=.latex + +application/x-netcdf: \ + description=Unidata netCDF Data Format;\ + file_extensions=.nc,.cdf;\ + action=save + +application/x-tex: \ + description=TeX Source;\ + file_extensions=.tex + +application/x-texinfo: \ + description=Gnu Texinfo;\ + file_extensions=.texinfo,.texi + +application/x-troff: \ + description=Troff Source;\ + file_extensions=.t,.tr,.roff;\ + action=application;\ + application=xterm -title troff -e sh -c \"nroff %s | col | more -w\" + +application/x-troff-man: \ + description=Troff Manpage Source;\ + file_extensions=.man;\ + action=application;\ + application=xterm -title troff -e sh -c \"nroff -man %s | col | more -w\" + +application/x-troff-me: \ + description=Troff ME Macros;\ + file_extensions=.me;\ + action=application;\ + application=xterm -title troff -e sh -c \"nroff -me %s | col | more -w\" + +application/x-troff-ms: \ + description=Troff MS Macros;\ + file_extensions=.ms;\ + action=application;\ + application=xterm -title troff -e sh -c \"nroff -ms %s | col | more -w\" + +application/x-wais-source: \ + description=Wais Source;\ + file_extensions=.src,.wsrc + +application/zip: \ + description=Zip File;\ + file_extensions=.zip;\ + icon=zip;\ + action=save + +application/x-bcpio: \ + description=Old Binary CPIO Archive;\ + file_extensions=.bcpio; action=save + +application/x-cpio: \ + description=Unix CPIO Archive;\ + file_extensions=.cpio; action=save + +application/x-gtar: \ + description=Gnu Tar Archive;\ + file_extensions=.gtar;\ + icon=tar;\ + action=save + +application/x-shar: \ + description=Shell Archive;\ + file_extensions=.sh,.shar;\ + action=save + +application/x-sv4cpio: \ + description=SVR4 CPIO Archive;\ + file_extensions=.sv4cpio; action=save + +application/x-sv4crc: \ + description=SVR4 CPIO with CRC;\ + file_extensions=.sv4crc; action=save + +application/x-tar: \ + description=Tar Archive;\ + file_extensions=.tar;\ + icon=tar;\ + action=save + +application/x-ustar: \ + description=US Tar Archive;\ + file_extensions=.ustar;\ + action=save + +audio/basic: \ + description=Basic Audio;\ + file_extensions=.snd,.au;\ + icon=audio;\ + action=application;\ + application=audiotool %s + +audio/x-aiff: \ + description=Audio Interchange Format File;\ + file_extensions=.aifc,.aif,.aiff;\ + icon=aiff + +audio/x-wav: \ + description=Wav Audio;\ + file_extensions=.wav;\ + icon=wav + +image/gif: \ + description=GIF Image;\ + file_extensions=.gif;\ + icon=gif;\ + action=browser + +image/ief: \ + description=Image Exchange Format;\ + file_extensions=.ief + +image/jpeg: \ + description=JPEG Image;\ + file_extensions=.jfif,.jfif-tbnl,.jpe,.jpg,.jpeg;\ + icon=jpeg;\ + action=browser;\ + application=imagetool %s + +image/tiff: \ + description=TIFF Image;\ + file_extensions=.tif,.tiff;\ + icon=tiff + +image/vnd.fpx: \ + description=FlashPix Image;\ + file_extensions=.fpx,.fpix + +image/x-cmu-rast: \ + description=CMU Raster Image;\ + file_extensions=.ras + +image/x-portable-anymap: \ + description=PBM Anymap Format;\ + file_extensions=.pnm + +image/x-portable-bitmap: \ + description=PBM Bitmap Format;\ + file_extensions=.pbm + +image/x-portable-graymap: \ + description=PBM Graymap Format;\ + file_extensions=.pgm + +image/x-portable-pixmap: \ + description=PBM Pixmap Format;\ + file_extensions=.ppm + +image/x-rgb: \ + description=RGB Image;\ + file_extensions=.rgb + +image/x-xbitmap: \ + description=X Bitmap Image;\ + file_extensions=.xbm,.xpm + +image/x-xwindowdump: \ + description=X Window Dump Image;\ + file_extensions=.xwd + +image/png: \ + description=PNG Image;\ + file_extensions=.png;\ + icon=png;\ + action=browser + +image/bmp: \ + description=Bitmap Image;\ + file_extensions=.bmp; + +text/html: \ + description=HTML Document;\ + file_extensions=.htm,.html;\ + icon=html + +text/plain: \ + description=Plain Text;\ + file_extensions=.text,.c,.cc,.c++,.h,.pl,.txt,.java,.el;\ + icon=text;\ + action=browser + +text/tab-separated-values: \ + description=Tab Separated Values Text;\ + file_extensions=.tsv + +text/x-setext: \ + description=Structure Enhanced Text;\ + file_extensions=.etx + +video/mpeg: \ + description=MPEG Video Clip;\ + file_extensions=.mpg,.mpe,.mpeg;\ + icon=mpeg;\ + action=application;\ + application=mpeg_play %s + +video/quicktime: \ + description=QuickTime Video Clip;\ + file_extensions=.mov,.qt + +application/x-troff-msvideo: \ + description=AVI Video;\ + file_extensions=.avi;\ + icon=avi + +video/x-sgi-movie: \ + description=SGI Movie;\ + file_extensions=.movie,.mv + +message/rfc822: \ + description=Internet Email Message;\ + file_extensions=.mime + +application/xml: \ + description=XML document;\ + file_extensions=.xml + + + diff --git a/Java-Visualizer/java/jre/lib/currency.data b/Java-Visualizer/java/jre/lib/currency.data new file mode 100755 index 00000000..1f8cf4ba Binary files /dev/null and b/Java-Visualizer/java/jre/lib/currency.data differ diff --git a/Java-Visualizer/java/jre/lib/deploy.jar b/Java-Visualizer/java/jre/lib/deploy.jar new file mode 100755 index 00000000..6f49576a Binary files /dev/null and b/Java-Visualizer/java/jre/lib/deploy.jar differ diff --git a/Java-Visualizer/java/jre/lib/deploy/MixedCodeMainDialog.ui b/Java-Visualizer/java/jre/lib/deploy/MixedCodeMainDialog.ui new file mode 100644 index 00000000..8e480666 --- /dev/null +++ b/Java-Visualizer/java/jre/lib/deploy/MixedCodeMainDialog.ui @@ -0,0 +1,154 @@ + + + Title + FALSE + FALSE + 500 + 220 + FALSE + + + + + + + + + + Header + 400 + TRUE + + + + + + 75 + 10 + + + + + + appLabel + + + + + + 75 + 45 + + + + + + appTitle + + + 170 + 45 + + + + + + mixcode_s.png + + + 10 + 10 + + + + + + cautionshield.icns + + + 10 + 170 + + + + + + message + 480 + true + + + 10 + 90 + + + + + + info + 150 + true + + + + + + 60 + 165 + + + + + + 90 + + + block + + + + + 275 + 170 + + + + + + 90 + + + dontblock + + + + + 380 + 170 + + + + + + + + help + + + + + + + + 55 + 185 + + + + + + + + + + diff --git a/Java-Visualizer/java/jre/lib/deploy/MixedCodeMainDialogJs.ui b/Java-Visualizer/java/jre/lib/deploy/MixedCodeMainDialogJs.ui new file mode 100644 index 00000000..2e0a0bee --- /dev/null +++ b/Java-Visualizer/java/jre/lib/deploy/MixedCodeMainDialogJs.ui @@ -0,0 +1,210 @@ + + + Title + FALSE + FALSE + 505 + 255 + FALSE + + + + + + + + + + Header + 400 + TRUE + + + + + + 75 + 10 + + + + + + websitelabel + + + + + + 75 + 55 + + + + + + websiteText + + + 175 + 55 + + + + + + appLabel + + + + + + 75 + 80 + + + + + + appTitle + + + 175 + 80 + + + + + + publisherLabel + + + + + + 75 + 95 + + + + + + publisherText + + + 175 + 95 + + + + + + mixcode_s.png + + + 10 + 10 + + + + + + cautionshield.icns + + + 10 + 200 + + + + + + message + 480 + true + + + 10 + 120 + + + + + + always + + + 10 + 175 + + + + + + info + 150 + true + + + + + + 60 + 195 + + + + + + 90 + + + block + + + + + 275 + 205 + + + + + + 115 + + + dontblock + + + + + 375 + 205 + + + + + + + + help + + + + + + + + 55 + 215 + + + + + + + + + + diff --git a/Java-Visualizer/java/jre/lib/deploy/cautionshield.icns b/Java-Visualizer/java/jre/lib/deploy/cautionshield.icns new file mode 100644 index 00000000..d703fc95 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/deploy/cautionshield.icns differ diff --git a/Java-Visualizer/java/jre/lib/deploy/ffjcext.zip b/Java-Visualizer/java/jre/lib/deploy/ffjcext.zip new file mode 100644 index 00000000..323ce6c4 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/deploy/ffjcext.zip differ diff --git a/Java-Visualizer/java/jre/lib/deploy/java-icon.ico b/Java-Visualizer/java/jre/lib/deploy/java-icon.ico new file mode 100644 index 00000000..f98f7808 Binary files /dev/null and b/Java-Visualizer/java/jre/lib/deploy/java-icon.ico differ diff --git a/Java-Visualizer/java/jre/lib/deploy/messages.properties b/Java-Visualizer/java/jre/lib/deploy/messages.properties new file mode 100644 index 00000000..408b2a81 --- /dev/null +++ b/Java-Visualizer/java/jre/lib/deploy/messages.properties @@ -0,0 +1,57 @@ +# +# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# + +error.internal.badmsg=internal error, unknown message +error.badinst.nojre=Bad installation. No JRE found in configuration file +error.launch.execv=Error encountered while invoking Java Web Start (execv) +error.launch.sysexec=Error encountered while invoking Java Web Start (SysExec) +error.listener.failed=Splash: sysCreateListenerSocket failed +error.accept.failed=Splash: accept failed +error.recv.failed=Splash: recv failed +error.invalid.port=Splash: didn't revive a valid port +error.read=Read past end of buffer +error.xmlparsing=XML Parsing error: wrong kind of token found +error.splash.exit=Java Web Start splash screen process exiting .....\n +# "Last WinSock Error" means the error message for the last operation that failed. +error.winsock=\tLast WinSock Error: +error.winsock.load=Couldn't load winsock.dll +error.winsock.start=WSAStartup failed +error.badinst.nohome=Bad installation: JAVAWS_HOME not set +error.splash.noimage=Splash: couldn't load splash screen image +error.splash.socket=Splash: server socket failed +error.splash.cmnd=Splash: unrecognized command +error.splash.port=Splash: port not specified +error.splash.send=Splash: send failed +error.splash.timer=Splash: couldn't create shutdown timer +error.splash.x11.open=Splash: Can't open X11 display +error.splash.x11.connect=Splash: X11 connection failed +# Javaws usage: '\' is a joining of two sentence,which are connected including +# the invisible character '\n'. +message.javaws.usage=\n\ +Usage:\tjavaws [run-options] \n\ + \tjavaws [control-options] \n\ + \n\ +where run-options include: \n\ + -verbose \tdisplay additional output \n\ + -offline \trun the application in offline mode \n\ + -system \trun the application from the system cache only\n\ + -Xnosplash \trun without showing a splash screen \n\ + -J

About This Content

+ +

January 22, 2008

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor\'s license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content.

+ + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/eclipse_update_120.jpg b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/eclipse_update_120.jpg new file mode 100644 index 00000000..bfdf708a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/eclipse_update_120.jpg differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/epl-v10.html new file mode 100644 index 00000000..ed4b1966 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/epl-v10.html @@ -0,0 +1,328 @@ + + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/feature.properties new file mode 100644 index 00000000..e30ac0ea --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/feature.properties @@ -0,0 +1,113 @@ +providerName=Eclipse.org + +copyright=\ +Copyright (c) 2000, 2008 IBM Corporation and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + IBM Corporation - initial API and implementation\n +################ end of copyright property #################################### + +licenseURL=license.html + +license=\ +ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\ +March 17, 2005\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\ +is provided to you under the terms and conditions of the Eclipse Public\n\ +License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\ +Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse.org CVS\n\ +repository ("Repository") in CVS modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +Features may also include other Features ("Included Features"). Files named\n\ +"feature.xml" may contain a list of the names and version numbers of\n\ +Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Eclipse Update Manager, you must agree to a license ("Feature Update\n\ +License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties". Such Abouts,\n\ +Feature Licenses and Feature Update Licenses contain the terms and\n\ +conditions (or references to such terms and conditions) that govern your\n\ +use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use,\n\ +and re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/feature.xml new file mode 100644 index 00000000..b627f5a8 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/feature.xml @@ -0,0 +1,304 @@ + + + + %copyright + + + %license + + Babel Language Pack for eclipse in Japanese + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/license.html new file mode 100644 index 00000000..c6af966b --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_ja_4.4.0.v20140623020002/license.html @@ -0,0 +1,79 @@ + + + + +Eclipse.org Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

March 17, 2005

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS + modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Eclipse Update Manager, you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/about.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/about.html new file mode 100644 index 00000000..c80c773f --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/about.html @@ -0,0 +1,22 @@ + + + +About + + + +

About This Content

+ +

January 22, 2008

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor\'s license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content.

+ + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/eclipse_update_120.jpg b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/eclipse_update_120.jpg new file mode 100644 index 00000000..bfdf708a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/eclipse_update_120.jpg differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/epl-v10.html new file mode 100644 index 00000000..ed4b1966 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/epl-v10.html @@ -0,0 +1,328 @@ + + + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +
+ +

Eclipse Public License - v 1.0 +

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER +THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, +REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE +OF THIS AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) +in the case of the initial Contributor, the initial code and documentation +distributed under this Agreement, and
+b) in the case of each subsequent Contributor:

+ +

i) +changes to the Program, and

+ +

ii) +additions to the Program;

+ +

where +such changes and/or additions to the Program originate from and are distributed +by that particular Contributor. A Contribution 'originates' from a Contributor +if it was added to the Program by such Contributor itself or anyone acting on +such Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in conjunction +with the Program under their own license agreement, and (ii) are not derivative +works of the Program.

+ +

"Contributor" means any person or +entity that distributes the Program.

+ +

"Licensed Patents " mean patent +claims licensable by a Contributor which are necessarily infringed by the use +or sale of its Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions +distributed in accordance with this Agreement.

+ +

"Recipient" means anyone who +receives the Program under this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) +Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly +display, publicly perform, distribute and sublicense the Contribution of such +Contributor, if any, and such derivative works, in source code and object code +form.

+ +

b) +Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free +patent license under Licensed Patents to make, use, sell, offer to sell, import +and otherwise transfer the Contribution of such Contributor, if any, in source +code and object code form. This patent license shall apply to the combination +of the Contribution and the Program if, at the time the Contribution is added +by the Contributor, such addition of the Contribution causes such combination +to be covered by the Licensed Patents. The patent license shall not apply to +any other combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) +Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor +that the Program does not infringe the patent or other intellectual property +rights of any other entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of intellectual +property rights or otherwise. As a condition to exercising the rights and +licenses granted hereunder, each Recipient hereby assumes sole responsibility +to secure any other intellectual property rights needed, if any. For example, +if a third party patent license is required to allow Recipient to distribute +the Program, it is Recipient's responsibility to acquire that license before +distributing the Program.

+ +

d) +Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the +Program in object code form under its own license agreement, provided that: +

+ +

a) +it complies with the terms and conditions of this Agreement; and

+ +

b) +its license agreement:

+ +

i) +effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose;

+ +

ii) +effectively excludes on behalf of all Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits;

+ +

iii) +states that any provisions which differ from this Agreement are offered by that +Contributor alone and not by any other party; and

+ +

iv) +states that source code for the Program is available from such Contributor, and +informs licensees how to obtain it in a reasonable manner on or through a +medium customarily used for software exchange.

+ +

When the Program is made available in source +code form:

+ +

a) +it must be made available under this Agreement; and

+ +

b) a +copy of this Agreement must be included with each copy of the Program.

+ +

Contributors may not remove or alter any +copyright notices contained within the Program.

+ +

Each Contributor must identify itself as the +originator of its Contribution, if any, in a manner that reasonably allows +subsequent Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may +accept certain responsibilities with respect to end users, business partners +and the like. While this license is intended to facilitate the commercial use +of the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create potential +liability for other Contributors. Therefore, if a Contributor includes the +Program in a commercial product offering, such Contributor ("Commercial +Contributor") hereby agrees to defend and indemnify every other +Contributor ("Indemnified Contributor") against any losses, damages and +costs (collectively "Losses") arising from claims, lawsuits and other +legal actions brought by a third party against the Indemnified Contributor to +the extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may participate +in any such claim at its own expense.

+ +

For example, a Contributor might include the +Program in a commercial product offering, Product X. That Contributor is then a +Commercial Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance claims and +warranties are such Commercial Contributor's responsibility alone. Under this +section, the Commercial Contributor would have to defend claims against the +other Contributors related to those performance claims and warranties, and if a +court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and distributing the +Program and assumes all risks associated with its exercise of rights under this +Agreement , including but not limited to the risks and costs of program errors, +compliance with applicable laws, damage to or loss of data, programs or +equipment, and unavailability or interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS +AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF +THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid +or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without +further action by the parties hereto, such provision shall be reformed to the +minimum extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Program itself (excluding combinations of the Program with +other software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the date +such litigation is filed.

+ +

All Recipient's rights under this Agreement +shall terminate if it fails to comply with any of the material terms or +conditions of this Agreement and does not cure such failure in a reasonable +period of time after becoming aware of such noncompliance. If all Recipient's +rights under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute +copies of this Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The Agreement +Steward reserves the right to publish new versions (including revisions) of +this Agreement from time to time. No one other than the Agreement Steward has +the right to modify this Agreement. The Eclipse Foundation is the initial +Agreement Steward. The Eclipse Foundation may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved.

+ +

This Agreement is governed by the laws of the +State of New York and the intellectual property laws of the United States of +America. No party to this Agreement will bring a legal action under this +Agreement more than one year after the cause of action arose. Each party waives +its rights to a jury trial in any resulting litigation.

+ +

 

+ +
+ + + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/feature.properties new file mode 100644 index 00000000..e30ac0ea --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/feature.properties @@ -0,0 +1,113 @@ +providerName=Eclipse.org + +copyright=\ +Copyright (c) 2000, 2008 IBM Corporation and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + IBM Corporation - initial API and implementation\n +################ end of copyright property #################################### + +licenseURL=license.html + +license=\ +ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\ +March 17, 2005\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\ +is provided to you under the terms and conditions of the Eclipse Public\n\ +License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\ +Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse.org CVS\n\ +repository ("Repository") in CVS modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +Features may also include other Features ("Included Features"). Files named\n\ +"feature.xml" may contain a list of the names and version numbers of\n\ +Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Eclipse Update Manager, you must agree to a license ("Feature Update\n\ +License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties". Such Abouts,\n\ +Feature Licenses and Feature Update Licenses contain the terms and\n\ +conditions (or references to such terms and conditions) that govern your\n\ +use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use,\n\ +and re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/feature.xml new file mode 100644 index 00000000..6cf88ae8 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/feature.xml @@ -0,0 +1,307 @@ + + + + %copyright + + + %license + + Babel Language Pack for eclipse in Chinese (Simplified) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/license.html new file mode 100644 index 00000000..c6af966b --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.babel.nls_eclipse_zh_4.4.0.v20140623020002/license.html @@ -0,0 +1,79 @@ + + + + +Eclipse.org Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

March 17, 2005

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS + modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Eclipse Update Manager, you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/META-INF/MANIFEST.MF new file mode 100644 index 00000000..b484438a --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: mpersson +Created-By: Apache Maven 3.1.1 +Build-Jdk: 1.8.0_20 + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/feature.properties new file mode 100644 index 00000000..e97bdbc9 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/feature.properties @@ -0,0 +1,169 @@ +############################################################################### +# Copyright (c) 2010, 2013 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=Eclipse e4 Rich Client Platform + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse.org + +# "description" property - description of the feature +description=The bundles required by org.eclipse.rcp version 4.0 + +# "copyright" property - text of the "Feature Update Copyright" +copyright=\ +Copyright (c) 2010, 2013 IBM Corporation and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + IBM Corporation - initial API and implementation\n +################ end of copyright property #################################### + + +########### end of license property ########################################## +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/feature.xml new file mode 100644 index 00000000..ca87da9b --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/feature.xml @@ -0,0 +1,778 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.e4.rcp_1.3.100.v20141007-2033/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..fbc03281 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..c14ffea2 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/ECLIPSE_.SF @@ -0,0 +1,23 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: ONfUdE3UMt3UB4CLrWOm9oqISeA= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo= + +Name: epl-v10.html +SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc= + +Name: META-INF/eclipse.inf +SHA1-Digest: QdryQvJlVywlE0MGLuwYCkmkyWk= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: I934+CaWkrkViZctlra2wjfaTDY= + +Name: about.html +SHA1-Digest: iNWxM6jy8QeiF5+ti/F31diQ6JI= + +Name: feature.xml +SHA1-Digest: PB1jNfy4qo2qZCygQ6kKeIkB1TI= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/MANIFEST.MF new file mode 100644 index 00000000..003bb851 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/MANIFEST.MF @@ -0,0 +1,21 @@ +Manifest-Version: 1.0 +Created-By: 1.6.0 (IBM Corporation) + +Name: epl-v10.html +SHA1-Digest: jYDaDJLBJpthCwPMgGFVYASJjIU= + +Name: META-INF/eclipse.inf +SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: IUvFEhzXTiL4nQHPYCcJlfFz5Ek= + +Name: about.html +SHA1-Digest: IQUr+Vpivv+x5SKEmMJMFXmH/q4= + +Name: feature.xml +SHA1-Digest: WC1l61dTMM+y3lJlul6bA8bNUGY= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/eclipse.inf b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/eclipse.inf new file mode 100644 index 00000000..92ffed24 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/META-INF/eclipse.inf @@ -0,0 +1,2 @@ +#Processed using Jarprocessor +pack200.conditioned = true diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/about.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/about.html new file mode 100644 index 00000000..4c79781a --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 25, 2008

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/feature.properties new file mode 100644 index 00000000..12a40255 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/feature.properties @@ -0,0 +1,141 @@ +############################################################################ +# Copyright (c) 2013 Composent Inc., IBM Corp. and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +############################################################################ +featureName=ECF Core API +providerName=Eclipse.org - ECF + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/feature.xml new file mode 100644 index 00000000..ac4da109 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/feature.xml @@ -0,0 +1,49 @@ + + + + + + This feature provides the ECF core (org.eclipse.ecf) and ECF identity (org.eclipse.ecf.identity) bundles. These two bundles are required for all other parts of ECF. + + + + Copyright (c) 2009 Composent, Inc. and others. All rights +reserved. +This program and the accompanying materials are made available +under the terms of the Eclipse Public License v1.0 which accompanies +this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: Composent, Inc. - initial API and implementation + + + + %license + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.feature_1.1.0.v20140827-1444/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..a67664c7 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..388a1a32 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF @@ -0,0 +1,23 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: HB0yb0Ki73hPSpnF9NGQEUaao2M= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo= + +Name: epl-v10.html +SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc= + +Name: META-INF/eclipse.inf +SHA1-Digest: QdryQvJlVywlE0MGLuwYCkmkyWk= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: bz1Iv23Qjd0iC7VzzSmCEqO8ZEQ= + +Name: about.html +SHA1-Digest: iNWxM6jy8QeiF5+ti/F31diQ6JI= + +Name: feature.xml +SHA1-Digest: XBkGBb7mroRv4A/0DYR/sxRK94g= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF new file mode 100644 index 00000000..0ec08fd8 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF @@ -0,0 +1,21 @@ +Manifest-Version: 1.0 +Created-By: 1.6.0 (IBM Corporation) + +Name: epl-v10.html +SHA1-Digest: jYDaDJLBJpthCwPMgGFVYASJjIU= + +Name: META-INF/eclipse.inf +SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: l4rJD3Y43/fmcb2YbfdeNlOdNFY= + +Name: about.html +SHA1-Digest: IQUr+Vpivv+x5SKEmMJMFXmH/q4= + +Name: feature.xml +SHA1-Digest: MMwkppflaWO3K7UUfPnICpuFfkA= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf new file mode 100644 index 00000000..92ffed24 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf @@ -0,0 +1,2 @@ +#Processed using Jarprocessor +pack200.conditioned = true diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/about.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/about.html new file mode 100644 index 00000000..4c79781a --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 25, 2008

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/feature.properties new file mode 100644 index 00000000..36695e82 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/feature.properties @@ -0,0 +1,141 @@ +############################################################################ +# Copyright (c) 2014 Composent Inc., IBM Corp. and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +############################################################################ +featureName=ECF Core SSL API +providerName=Eclipse.org - ECF + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/feature.xml new file mode 100644 index 00000000..226a4df7 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/feature.xml @@ -0,0 +1,41 @@ + + + + + + This feature provides the ECF core SSL fragment. On Equinox-based frameworks, this fragment exposes the Equinox TrustManager to ECF FileTransfer and other ECF-based communications. + + + + Copyright (c) 2009 Composent, Inc. and others. All rights +reserved. +This program and the accompanying materials are made available +under the terms of the Eclipse Public License v1.0 which accompanies +this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: Composent, Inc. - initial API and implementation + + + + %license + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.core.ssl.feature_1.0.0.v20140827-1444/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..5123827f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..52c54128 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/ECLIPSE_.SF @@ -0,0 +1,26 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: lhxGvLGOKwX0UTD39Tv9Hyom7Cs= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo= + +Name: epl-v10.html +SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc= + +Name: asl-v20.txt +SHA1-Digest: f16Q6xxWp4CWPk9xW6xYHqbOlpk= + +Name: META-INF/eclipse.inf +SHA1-Digest: QdryQvJlVywlE0MGLuwYCkmkyWk= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: X1z3RA6an2VucwqIpFyrbDbzDJw= + +Name: about.html +SHA1-Digest: pnbJaVHHwy0kIfiHBxqdkDSo+cc= + +Name: feature.xml +SHA1-Digest: 6Ky7Hdq3auBFwHYQaQ8+wktrQts= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/MANIFEST.MF new file mode 100644 index 00000000..6acf89a4 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Created-By: 1.6.0 (IBM Corporation) + +Name: epl-v10.html +SHA1-Digest: jYDaDJLBJpthCwPMgGFVYASJjIU= + +Name: asl-v20.txt +SHA1-Digest: K4uBUimqimHkg/tLoFiLi2xJGJA= + +Name: META-INF/eclipse.inf +SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: /pVCLziyU5DF/vS50Y2ykM+XIag= + +Name: about.html +SHA1-Digest: 5udVdLN8Q/7jP29GQDWRCktWEi0= + +Name: feature.xml +SHA1-Digest: bBtoGdIbqTYQcnBx9QXpg/PcLts= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/eclipse.inf b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/eclipse.inf new file mode 100644 index 00000000..92ffed24 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/META-INF/eclipse.inf @@ -0,0 +1,2 @@ +#Processed using Jarprocessor +pack200.conditioned = true diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/about.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/about.html new file mode 100644 index 00000000..10358062 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/about.html @@ -0,0 +1,306 @@ + + + + +About + + +

About This Content

+ +

June 25, 2008

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ +

Third Party Content

+ +

The Content includes items that have been sourced from third parties as set out below. If you +did not receive this Content directly from the Eclipse Foundation, the following is provided +for informational purposes only, and you should look to the Redistributor's license for +terms and conditions of use.

+ +

Apache HttpClient v3.0.1

+ +

This plugin is based on software developed by the Apache Httpclient project at http://jakarta.apache.org/commons/httpclient/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Apache Commons Codec v1.3

+ +

This plugin is based on software developed by the Apache Commons Codec project at http://jakarta.apache.org/commons/codec/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Apache Commons Logging v1.1

+ +

This plugin is based on software developed by the Apache Commons Codec project at http://jakarta.apache.org/commons/logging/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

IRCLib API v1.10

+ +

This plugin is based on software developed by Christoph Schwering at +http://moepii.sourceforge.net/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

JmDNS API v2.0

+ +

This plugin is based on software developed by JmDNS project team at +http://jmdns.sourceforge.net. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Jive Software Smack API v2.1.1

+ +

This plugin is based on software developed by Jive Software project team at +http://www.igniterealtime.org/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ + +

Your use of the this plugin and the components listed above is subject to the terms and conditions of the Apache License v2.0 +which is available at http://www.apache.org/licenses/LICENSE-2.0. +

+

+More specifically:

+ +

+ +

+Apache License
+Version 2.0, January 2004
+http://www.apache.org/licenses/ + +

+

+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +

+

1. Definitions.

+

+ "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. +

+

+ "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. +

+

+ "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + +

+

+ "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. +

+

+ "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. +

+

+ "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. +

+

+ "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). +

+ +

+ "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. +

+

+ "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." +

+

+ "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. +

+

2. Grant of Copyright License. +Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. +

+

3. Grant of Patent License. +Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +

+

4. Redistribution. +You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: +

    +
  1. You must give any other recipients of the Work or + Derivative Works a copy of this License; and +

  2. + +
  3. You must cause any modified files to carry prominent notices + stating that You changed the files; and +

  4. + +
  5. You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and +

  6. + +
  7. If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License.
  8. + +
+ You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. +

+

5. Submission of Contributions. +Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. +

+

6. Trademarks. +This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. +

+

7. Disclaimer of Warranty. +Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. +

+

8. Limitation of Liability. +In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. +

+

9. Accepting Warranty or Additional Liability. +While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +

+

+END OF TERMS AND CONDITIONS +

+ \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/asl-v20.txt b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/asl-v20.txt new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/asl-v20.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/feature.properties new file mode 100644 index 00000000..d5a40401 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/feature.properties @@ -0,0 +1,141 @@ +############################################################################ +# Copyright (c) 2009 Composent Inc., EclipseSource Inc., IBM Corp. and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +############################################################################ +featureName=ECF Platform +providerName=Eclipse.org + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/feature.xml new file mode 100644 index 00000000..5ac9eb9c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/feature.xml @@ -0,0 +1,48 @@ + + + + + + This feature provides the ECF Filetransfer API bundle. This API is used +by the Eclipse platform to support P2 filetransfer and is required for any of the ECF FileTransfer providers. + + + + Copyright (c) 2004, 2007 Composent, Inc. and others. All rights +reserved. +This program and the accompanying materials are made available +under the terms of the Eclipse Public License v1.0 which accompanies +this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: Composent, Inc. - initial API and implementation + + + + %license + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.feature_3.9.0.v20140827-1444/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..a9b31456 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..25710332 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/ECLIPSE_.SF @@ -0,0 +1,26 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: 2F3/2bP8W1C6jPs/WMzQA9zH0t8= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo= + +Name: epl-v10.html +SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc= + +Name: asl-v20.txt +SHA1-Digest: f16Q6xxWp4CWPk9xW6xYHqbOlpk= + +Name: META-INF/eclipse.inf +SHA1-Digest: QdryQvJlVywlE0MGLuwYCkmkyWk= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: F+SAdwj3UMmS5PBOKuGZIzneLmU= + +Name: about.html +SHA1-Digest: WrZ/OOBqBC2SqXiHdQDjnLJPa48= + +Name: feature.xml +SHA1-Digest: 8Z4EHk8mPwEwaKWPKb/OKdIVlTk= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/MANIFEST.MF new file mode 100644 index 00000000..5f0a364c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Created-By: 1.6.0 (IBM Corporation) + +Name: epl-v10.html +SHA1-Digest: jYDaDJLBJpthCwPMgGFVYASJjIU= + +Name: asl-v20.txt +SHA1-Digest: K4uBUimqimHkg/tLoFiLi2xJGJA= + +Name: META-INF/eclipse.inf +SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: WdSXP3YVTs3kTMduP39usRHEJLQ= + +Name: about.html +SHA1-Digest: aQPT3v0kycJNeZF4b7lBtpB80yk= + +Name: feature.xml +SHA1-Digest: dITr97bGprSlxwtF/pLKMHsAS6s= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/eclipse.inf b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/eclipse.inf new file mode 100644 index 00000000..92ffed24 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/META-INF/eclipse.inf @@ -0,0 +1,2 @@ +#Processed using Jarprocessor +pack200.conditioned = true diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/about.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/about.html new file mode 100644 index 00000000..6fe3d508 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/about.html @@ -0,0 +1,275 @@ + + + + +About + + +

About This Content

+ +

May 4, 2012

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). + Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the + Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available + at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is + being redistributed by another party ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the Redistributor's license + that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise + indicated below, the terms and conditions of the EPL still apply to any source code in the Content + and such source code may be obtained at http://www.eclipse.org.

+ +

Third Party Content

+

The Content includes items that have been sourced from third parties as set out below. If you + did not receive this Content directly from the Eclipse Foundation, the following is provided + for informational purposes only, and you should look to the Redistributor's license for + terms and conditions of use.

+ +

Apache HttpComponents v4.1.2

+ +

This plugin is based on software developed by the Apache HttpComponents project at http://hc.apache.org/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Apache Commons Codec v1.3

+ +

This plugin is based on software developed by the Apache Commons Codec project at http://jakarta.apache.org/commons/codec/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Apache Commons Logging v1.1

+ +

This plugin is based on software developed by the Apache Commons Codec project at http://jakarta.apache.org/commons/logging/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ + +

Your use of the this plugin and the components listed above is subject to the terms and conditions of the Apache License v2.0 +which is available at http://www.apache.org/licenses/LICENSE-2.0. +

+

+More specifically:

+ +

+ +

+Apache License
+Version 2.0, January 2004
+http://www.apache.org/licenses/ + +

+

+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +

+

1. Definitions.

+

+ "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. +

+

+ "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. +

+

+ "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + +

+

+ "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. +

+

+ "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. +

+

+ "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. +

+

+ "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). +

+ +

+ "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. +

+

+ "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." +

+

+ "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. +

+

2. Grant of Copyright License. +Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. +

+

3. Grant of Patent License. +Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +

+

4. Redistribution. +You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: +

    +
  1. You must give any other recipients of the Work or + Derivative Works a copy of this License; and +

  2. + +
  3. You must cause any modified files to carry prominent notices + stating that You changed the files; and +

  4. + +
  5. You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and +

  6. + +
  7. If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License.
  8. + +
+ You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. +

+

5. Submission of Contributions. +Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. +

+

6. Trademarks. +This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. +

+

7. Disclaimer of Warranty. +Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. +

+

8. Limitation of Liability. +In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. +

+

9. Accepting Warranty or Additional Liability. +While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +

+

+END OF TERMS AND CONDITIONS +

+ \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/asl-v20.txt b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/asl-v20.txt new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/asl-v20.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/feature.properties new file mode 100644 index 00000000..f4ddde67 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/feature.properties @@ -0,0 +1,141 @@ +############################################################################ +# Copyright (c) 2008 Composent Inc., IBM Corp. and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +############################################################################ +featureName=ECF Apache Httpclient4 FileTransfer Provider +providerName=Eclipse.org + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/feature.xml new file mode 100644 index 00000000..c8e80602 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/feature.xml @@ -0,0 +1,66 @@ + + + + + + This feature provides the Apache HttpComponents/HttpClient4-based FileTransfer provider used by the Eclipse platform to support P2 filetransfer. + + + + Copyright (c) 2011 Composent, Inc. and others. All rights reserved. +This program and the accompanying materials are made available +under the terms of the Eclipse Public License v1.0 which accompanies +this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: Composent, Inc. - initial API and implementation + + + + %license + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.feature_3.9.1.v20140827-1444/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..ea9578d6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..f5207408 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF @@ -0,0 +1,26 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: iXc45DBtbHsy+jRIdAFZeRcoevI= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo= + +Name: epl-v10.html +SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc= + +Name: asl-v20.txt +SHA1-Digest: f16Q6xxWp4CWPk9xW6xYHqbOlpk= + +Name: META-INF/eclipse.inf +SHA1-Digest: QdryQvJlVywlE0MGLuwYCkmkyWk= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: Ae7kZIEdKXlWXoMOrwaGtIma7Mg= + +Name: about.html +SHA1-Digest: WrZ/OOBqBC2SqXiHdQDjnLJPa48= + +Name: feature.xml +SHA1-Digest: Y6jRiF1hf01q+LWhhABMD+oZWgI= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF new file mode 100644 index 00000000..e2538bfc --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Created-By: 1.6.0 (IBM Corporation) + +Name: epl-v10.html +SHA1-Digest: jYDaDJLBJpthCwPMgGFVYASJjIU= + +Name: asl-v20.txt +SHA1-Digest: K4uBUimqimHkg/tLoFiLi2xJGJA= + +Name: META-INF/eclipse.inf +SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: bbVZLIotGUTQwWUqqNwufsCZtPA= + +Name: about.html +SHA1-Digest: aQPT3v0kycJNeZF4b7lBtpB80yk= + +Name: feature.xml +SHA1-Digest: fNTfk6iWX8XVRIAMFvzf6eMJMrE= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf new file mode 100644 index 00000000..92ffed24 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf @@ -0,0 +1,2 @@ +#Processed using Jarprocessor +pack200.conditioned = true diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/about.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/about.html new file mode 100644 index 00000000..6fe3d508 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/about.html @@ -0,0 +1,275 @@ + + + + +About + + +

About This Content

+ +

May 4, 2012

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). + Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the + Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available + at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is + being redistributed by another party ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the Redistributor's license + that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise + indicated below, the terms and conditions of the EPL still apply to any source code in the Content + and such source code may be obtained at http://www.eclipse.org.

+ +

Third Party Content

+

The Content includes items that have been sourced from third parties as set out below. If you + did not receive this Content directly from the Eclipse Foundation, the following is provided + for informational purposes only, and you should look to the Redistributor's license for + terms and conditions of use.

+ +

Apache HttpComponents v4.1.2

+ +

This plugin is based on software developed by the Apache HttpComponents project at http://hc.apache.org/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Apache Commons Codec v1.3

+ +

This plugin is based on software developed by the Apache Commons Codec project at http://jakarta.apache.org/commons/codec/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Apache Commons Logging v1.1

+ +

This plugin is based on software developed by the Apache Commons Codec project at http://jakarta.apache.org/commons/logging/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ + +

Your use of the this plugin and the components listed above is subject to the terms and conditions of the Apache License v2.0 +which is available at http://www.apache.org/licenses/LICENSE-2.0. +

+

+More specifically:

+ +

+ +

+Apache License
+Version 2.0, January 2004
+http://www.apache.org/licenses/ + +

+

+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +

+

1. Definitions.

+

+ "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. +

+

+ "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. +

+

+ "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + +

+

+ "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. +

+

+ "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. +

+

+ "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. +

+

+ "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). +

+ +

+ "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. +

+

+ "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." +

+

+ "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. +

+

2. Grant of Copyright License. +Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. +

+

3. Grant of Patent License. +Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +

+

4. Redistribution. +You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: +

    +
  1. You must give any other recipients of the Work or + Derivative Works a copy of this License; and +

  2. + +
  3. You must cause any modified files to carry prominent notices + stating that You changed the files; and +

  4. + +
  5. You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and +

  6. + +
  7. If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License.
  8. + +
+ You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. +

+

5. Submission of Contributions. +Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. +

+

6. Trademarks. +This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. +

+

7. Disclaimer of Warranty. +Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. +

+

8. Limitation of Liability. +In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. +

+

9. Accepting Warranty or Additional Liability. +While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +

+

+END OF TERMS AND CONDITIONS +

+ \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/asl-v20.txt b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/asl-v20.txt new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/asl-v20.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/feature.properties new file mode 100644 index 00000000..7d047ca6 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/feature.properties @@ -0,0 +1,141 @@ +############################################################################ +# Copyright (c) 2014 Composent Inc., IBM Corp. and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +############################################################################ +featureName=ECF Apache Httpclient4 FileTransfer SSL Provider +providerName=Eclipse.org + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/feature.xml new file mode 100644 index 00000000..8d113e87 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/feature.xml @@ -0,0 +1,39 @@ + + + + + + This feature provides the SSL support for the Apache HttpComponents/HttpClient4-based FileTransfer provider used by the Eclipse platform to support P2 filetransfer. + + + + Copyright (c) 2014 Composent, Inc. and others. All rights reserved. +This program and the accompanying materials are made available +under the terms of the Eclipse Public License v1.0 which accompanies +this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: Composent, Inc. - initial API and implementation + + + + %license + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.httpclient4.ssl.feature_1.0.0.v20140827-1444/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..006d5a1b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..6b547da4 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/ECLIPSE_.SF @@ -0,0 +1,23 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: CO70xyEVEWtPg3wfKSa9fsLTSrQ= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo= + +Name: epl-v10.html +SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc= + +Name: META-INF/eclipse.inf +SHA1-Digest: QdryQvJlVywlE0MGLuwYCkmkyWk= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: D0vWOEAlNT73T0wYG2ZGJM25o+M= + +Name: about.html +SHA1-Digest: pnbJaVHHwy0kIfiHBxqdkDSo+cc= + +Name: feature.xml +SHA1-Digest: higDVKiBkLXbMpzIGfn0FvyMksY= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF new file mode 100644 index 00000000..c0d75d32 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/MANIFEST.MF @@ -0,0 +1,21 @@ +Manifest-Version: 1.0 +Created-By: 1.6.0 (IBM Corporation) + +Name: epl-v10.html +SHA1-Digest: jYDaDJLBJpthCwPMgGFVYASJjIU= + +Name: META-INF/eclipse.inf +SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: OhMaw67tG2Lk7v8mZSuatj8bsGw= + +Name: about.html +SHA1-Digest: 5udVdLN8Q/7jP29GQDWRCktWEi0= + +Name: feature.xml +SHA1-Digest: 1zSTdISUENerF/6MQuVZ60ZPsoY= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf new file mode 100644 index 00000000..92ffed24 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/META-INF/eclipse.inf @@ -0,0 +1,2 @@ +#Processed using Jarprocessor +pack200.conditioned = true diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/about.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/about.html new file mode 100644 index 00000000..10358062 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/about.html @@ -0,0 +1,306 @@ + + + + +About + + +

About This Content

+ +

June 25, 2008

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ +

Third Party Content

+ +

The Content includes items that have been sourced from third parties as set out below. If you +did not receive this Content directly from the Eclipse Foundation, the following is provided +for informational purposes only, and you should look to the Redistributor's license for +terms and conditions of use.

+ +

Apache HttpClient v3.0.1

+ +

This plugin is based on software developed by the Apache Httpclient project at http://jakarta.apache.org/commons/httpclient/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Apache Commons Codec v1.3

+ +

This plugin is based on software developed by the Apache Commons Codec project at http://jakarta.apache.org/commons/codec/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Apache Commons Logging v1.1

+ +

This plugin is based on software developed by the Apache Commons Codec project at http://jakarta.apache.org/commons/logging/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

IRCLib API v1.10

+ +

This plugin is based on software developed by Christoph Schwering at +http://moepii.sourceforge.net/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

JmDNS API v2.0

+ +

This plugin is based on software developed by JmDNS project team at +http://jmdns.sourceforge.net. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ +

Jive Software Smack API v2.1.1

+ +

This plugin is based on software developed by Jive Software project team at +http://www.igniterealtime.org/. +A copy of this library is distributed within this plugin and +therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained +in the file asl-v20.txt and +at http://www.apache.org/licenses/LICENSE-2.0. +

+ + +

Your use of the this plugin and the components listed above is subject to the terms and conditions of the Apache License v2.0 +which is available at http://www.apache.org/licenses/LICENSE-2.0. +

+

+More specifically:

+ +

+ +

+Apache License
+Version 2.0, January 2004
+http://www.apache.org/licenses/ + +

+

+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +

+

1. Definitions.

+

+ "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. +

+

+ "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. +

+

+ "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + +

+

+ "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. +

+

+ "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. +

+

+ "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. +

+

+ "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). +

+ +

+ "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. +

+

+ "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." +

+

+ "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. +

+

2. Grant of Copyright License. +Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. +

+

3. Grant of Patent License. +Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +

+

4. Redistribution. +You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: +

    +
  1. You must give any other recipients of the Work or + Derivative Works a copy of this License; and +

  2. + +
  3. You must cause any modified files to carry prominent notices + stating that You changed the files; and +

  4. + +
  5. You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and +

  6. + +
  7. If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License.
  8. + +
+ You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. +

+

5. Submission of Contributions. +Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. +

+

6. Trademarks. +This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. +

+

7. Disclaimer of Warranty. +Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. +

+

8. Limitation of Liability. +In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. +

+

9. Accepting Warranty or Additional Liability. +While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +

+

+END OF TERMS AND CONDITIONS +

+ \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/feature.properties new file mode 100644 index 00000000..4f92cbec --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/feature.properties @@ -0,0 +1,141 @@ +############################################################################ +# Copyright (c) 2014 Composent Inc., and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +############################################################################ +featureName=ECF Filetransfer SSL Feature +providerName=Eclipse.org + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/feature.xml new file mode 100644 index 00000000..d2c08d09 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/feature.xml @@ -0,0 +1,41 @@ + + + + + + This feature provides the SSL support for the ECF FileTransfer API used by the Eclipse platform to support P2 filetransfer. + + + + Copyright (c) 2014 Composent, Inc. and others. All rights +reserved. +This program and the accompanying materials are made available +under the terms of the Eclipse Public License v1.0 which accompanies +this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + +Contributors: Composent, Inc. - initial API and implementation + + + + %license + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.ecf.filetransfer.ssl.feature_1.0.0.v20140827-1444/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..7814cae8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..4596b9c2 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/ECLIPSE_.SF @@ -0,0 +1,20 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: Wji+TS134jJ3PCkT7POd/95WcOw= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo= + +Name: epl-v10.html +SHA1-Digest: 5M5yOPanU8Bh0NNt4hucpomfnos= + +Name: META-INF/eclipse.inf +SHA1-Digest: QdryQvJlVywlE0MGLuwYCkmkyWk= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: 5XchuBQgQ9KUynr7Q+KGjF7TdBY= + +Name: feature.xml +SHA1-Digest: O0FNuxdtOnR2kcBcjP3tG4FWD9Y= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/MANIFEST.MF new file mode 100644 index 00000000..129d7693 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Created-By: 1.6.0 (IBM Corporation) + +Name: epl-v10.html +SHA1-Digest: NWZsVPJAYSVwfmPtqxLykU2FynY= + +Name: META-INF/eclipse.inf +SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: MNkUPAK/1AoBLAk1ZEwVh8fJUII= + +Name: feature.xml +SHA1-Digest: ReGZx/HN3alr7ZESC2xcpddEIlg= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/eclipse.inf b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/eclipse.inf new file mode 100644 index 00000000..92ffed24 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/META-INF/eclipse.inf @@ -0,0 +1,2 @@ +#Processed using Jarprocessor +pack200.conditioned = true diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/epl-v10.html new file mode 100644 index 00000000..3998fceb --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/feature.properties new file mode 100644 index 00000000..e255f959 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/feature.properties @@ -0,0 +1,153 @@ +# /** +# * Copyright (c) 2002-2011 IBM Corporation and others. +# * All rights reserved. This program and the accompanying materials +# * are made available under the terms of the Eclipse Public License v1.0 +# * which accompanies this distribution, and is available at +# * http://www.eclipse.org/legal/epl-v10.html +# * +# * Contributors: +# * IBM - Initial API and implementation +# */ + +# NLS_MESSAGEFORMAT_VAR + +# "featureName" property - name of the feature +featureName=EMF Common + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse Modeling Project + +# "description" property - description of the feature +description=Common platform-independent utilities used throughout EMF, including collection classes, notifiers, adapters, and commands. + +ModelingUpdateSiteName=Eclipse Modeling Project Updates +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/feature.xml new file mode 100644 index 00000000..6cb35a98 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/feature.xml @@ -0,0 +1,42 @@ + + + + + + + %description + + + + Copyright (c) 2014 Dennis Huebner and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + + + + %license + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.common_2.10.1.v20140901-1043/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..9987f1f0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..7917fdb6 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/ECLIPSE_.SF @@ -0,0 +1,20 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: QRsVRtVBo2UoMUdmnQKmomPbvMA= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo= + +Name: epl-v10.html +SHA1-Digest: 5M5yOPanU8Bh0NNt4hucpomfnos= + +Name: META-INF/eclipse.inf +SHA1-Digest: QdryQvJlVywlE0MGLuwYCkmkyWk= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: jN3Dv9Vjs8IClt/qy/v5vOdZnu8= + +Name: feature.xml +SHA1-Digest: gGmB0p2EDtWXsWZMYVOybvddcMQ= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/MANIFEST.MF new file mode 100644 index 00000000..69fd4560 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Created-By: 1.6.0 (IBM Corporation) + +Name: epl-v10.html +SHA1-Digest: NWZsVPJAYSVwfmPtqxLykU2FynY= + +Name: META-INF/eclipse.inf +SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: V6M6iN+0ZM9W2bU7zyMOlBuMVig= + +Name: feature.xml +SHA1-Digest: 6wfaDiGt9+KXgOu7Ud0YMvwxzHQ= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/eclipse.inf b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/eclipse.inf new file mode 100644 index 00000000..92ffed24 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/META-INF/eclipse.inf @@ -0,0 +1,2 @@ +#Processed using Jarprocessor +pack200.conditioned = true diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/epl-v10.html new file mode 100644 index 00000000..3998fceb --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/feature.properties new file mode 100644 index 00000000..7d169928 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/feature.properties @@ -0,0 +1,153 @@ +# /** +# * Copyright (c) 2002-2011 IBM Corporation and others. +# * All rights reserved. This program and the accompanying materials +# * are made available under the terms of the Eclipse Public License v1.0 +# * which accompanies this distribution, and is available at +# * http://www.eclipse.org/legal/epl-v10.html +# * +# * Contributors: +# * IBM - Initial API and implementation +# */ + +# NLS_MESSAGEFORMAT_VAR + +# "featureName" property - name of the feature +featureName=EMF - Eclipse Modeling Framework Core Runtime + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse Modeling Project + +# "description" property - description of the feature +description=The core runtime for EMF, including EMF's common utilities, Ecore, XML/XMI persistence, and the change model. + +ModelingUpdateSiteName=Eclipse Modeling Project Updates +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/feature.xml new file mode 100644 index 00000000..6a074769 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/feature.xml @@ -0,0 +1,57 @@ + + + + + + + %description + + + + Copyright (c) 2014 Dennis Huebner and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Eclipse Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/epl-v10.html + + + + %license + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.emf.ecore_2.10.1.v20140901-1043/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..4b2c59bc Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..0615fa4b --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/ECLIPSE_.SF @@ -0,0 +1,17 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: 0NRLlGKe1I/cGNiPUioJBWKB5oo= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: CK6C39Qwjr9eoerDbxB/fXgiDQE= + +Name: epl-v10.html +SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: b19iu1OhUY0a1x1V+ckZ76lTDvU= + +Name: feature.xml +SHA1-Digest: 8SnTQIJB9ZiJ5sFPgzLAMi3o3Fc= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/MANIFEST.MF new file mode 100644 index 00000000..a6178b8d --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/META-INF/MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Build-Jdk: 1.7.0_51 +Built-By: e4Build +Archiver-Version: Plexus Archiver +Created-By: Apache Maven + +Name: epl-v10.html +SHA1-Digest: jYDaDJLBJpthCwPMgGFVYASJjIU= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: 63WaEQdtC0l7fuhtuumJ2MF+85U= + +Name: feature.xml +SHA1-Digest: 76hOjGj7+D0CT3dQZz0g6c6L+Nk= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/feature.properties new file mode 100644 index 00000000..0079c393 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/feature.properties @@ -0,0 +1,166 @@ +############################################################################### +# Copyright (c) 2010, 2013 EclipseSource Inc. and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# EclipseSource - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=Equinox p2, headless functionalities + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse.org - Equinox + +description=Provides a minimal headless provisioning system. + +# "copyright" property - text of the "Feature Update Copyright" +copyright=\ +Copyright (c) 2010, 2013 EclipseSource Inc. and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + EclipseSource - initial API and implementation\n +################ end of copyright property #################################### + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/feature.xml new file mode 100644 index 00000000..c0e31dee --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/feature.xml @@ -0,0 +1,212 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.core.feature_1.3.0.v20140523-0116/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..f33d577e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..b660e1b0 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/ECLIPSE_.SF @@ -0,0 +1,17 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: akF0fULPgPDWAi4z+y+ECb5FZQ4= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: CK6C39Qwjr9eoerDbxB/fXgiDQE= + +Name: epl-v10.html +SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc= + +Name: license.html +SHA1-Digest: leexLIIUuWA4wkAPsn1Q3CxJw/0= + +Name: feature.properties +SHA1-Digest: xsxQhtZ9fybCnhVcLIwaJ5xIXLU= + +Name: feature.xml +SHA1-Digest: fGNPCdSOmUmXc8jBLHKkU3kKPRg= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/MANIFEST.MF new file mode 100644 index 00000000..24033283 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/META-INF/MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Build-Jdk: 1.7.0_51 +Built-By: e4Build +Archiver-Version: Plexus Archiver +Created-By: Apache Maven + +Name: epl-v10.html +SHA1-Digest: jYDaDJLBJpthCwPMgGFVYASJjIU= + +Name: license.html +SHA1-Digest: Z5WKoRSIDCgQNswUpOU/oSPE2a0= + +Name: feature.properties +SHA1-Digest: 9/k03P6Dw382UhlfOV2/Ttwk3d8= + +Name: feature.xml +SHA1-Digest: ayklDefC3qy95zAnhH02y1R6W6s= + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/feature.properties new file mode 100644 index 00000000..62b1ef20 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/feature.properties @@ -0,0 +1,163 @@ +############################################################################### +# Copyright (c) 2011, 2012 EclipseSource Inc. and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# EclipseSource - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=Equinox p2, minimal support for RCP applications + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse.org - Equinox + +description=Provides the minimal set of p2 bundles to use in RCP applications. + +# "copyright" property - text of the "Feature Update Copyright" +copyright=\ +Copyright (c) 2011, 2013 EclipseSource Inc. and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n +################ end of copyright property #################################### + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/feature.xml new file mode 100644 index 00000000..132d4368 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/feature.xml @@ -0,0 +1,59 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.equinox.p2.rcp.feature_1.2.0.v20140523-0116/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/META-INF/MANIFEST.MF new file mode 100644 index 00000000..b484438a --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: mpersson +Created-By: Apache Maven 3.1.1 +Build-Jdk: 1.8.0_20 + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/feature.properties new file mode 100644 index 00000000..f6cd38ca --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/feature.properties @@ -0,0 +1,166 @@ +############################################################################### +# Copyright (c) 2008, 2013 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=Eclipse Help System + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse.org + +# "description" property - description of the feature +description=Eclipse help system. + +# "copyright" property - text of the "Feature Update Copyright" +copyright=\ +Copyright (c) 2008, 2013 IBM Corporation and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + IBM Corporation - initial API and implementation\n +################ end of copyright property #################################### +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/feature.xml new file mode 100644 index 00000000..51ac7fc8 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/feature.xml @@ -0,0 +1,196 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.help_2.0.102.v20141007-2301/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/META-INF/MANIFEST.MF new file mode 100644 index 00000000..b484438a --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: mpersson +Created-By: Apache Maven 3.1.1 +Build-Jdk: 1.8.0_20 + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/epl-v10.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/epl-v10.html new file mode 100644 index 00000000..fd391227 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/epl-v10.html @@ -0,0 +1,261 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/feature.properties b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/feature.properties new file mode 100644 index 00000000..bccc0264 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/feature.properties @@ -0,0 +1,169 @@ +############################################################################### +# Copyright (c) 2000, 2013 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +# feature.properties +# contains externalized strings for feature.xml +# "%foo" in feature.xml corresponds to the key "foo" in this file +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file should be translated. + +# "featureName" property - name of the feature +featureName=Eclipse RCP + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse.org + +# "updateSiteName" property - label for the update site +updateSiteName=The Eclipse Project Updates + +# "description" property - description of the feature +description=Rich Client Platform + +# "copyright" property - text of the "Feature Update Copyright" +copyright=\ +Copyright (c) 2000, 2013 Eclipse contributors and others.\n\ +All rights reserved. This program and the accompanying materials\n\ +are made available under the terms of the Eclipse Public License v1.0\n\ +which accompanies this distribution, and is available at\n\ +http://www.eclipse.org/legal/epl-v10.html\n\ +\n\ +Contributors:\n\ + IBM Corporation - initial API and implementation\n +################ end of copyright property #################################### +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ########################################## diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/feature.xml b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/feature.xml new file mode 100644 index 00000000..d8478ddb --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/feature.xml @@ -0,0 +1,70 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/license.html b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/license.html new file mode 100644 index 00000000..c3d34c3c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/features/org.eclipse.rcp_4.4.0.v20141007-2301/license.html @@ -0,0 +1,107 @@ + + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

April 9, 2014

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code + repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and +Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology + in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the + Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern + the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to + another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, + possession, or use, and re-export of encryption software, to see if this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/icon.xpm b/Java-Visualizer/java/lib/missioncontrol/icon.xpm new file mode 100644 index 00000000..c00bb792 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/icon.xpm @@ -0,0 +1,1858 @@ +/* XPM */ +static char * D:\mission_control_48_xpm[] = { +"48 48 1807 2", +" c None", +". c #003879", +"+ c #00295C", +"@ c #00295E", +"# c #002E6D", +"$ c #002F6D", +"% c #0B3770", +"& c #284D7A", +"* c #284C7A", +"= c #274C79", +"- c #254B79", +"; c #183D6B", +"> c #032D62", +", c #003878", +"' c #003D83", +") c #00285D", +"! c #003987", +"~ c #0150C2", +"{ c #015EE0", +"] c #0664E3", +"^ c #0F6CE4", +"/ c #1873E6", +"( c #2179E7", +"_ c #297FE8", +": c #2E82E9", +"< c #2F83E9", +"[ c #2C81E9", +"} c #2C82E9", +"| c #2E83E9", +"1 c #2A82E9", +"2 c #267EE8", +"3 c #2079E7", +"4 c #1874E6", +"5 c #126FE5", +"6 c #106EE5", +"7 c #0F6DE5", +"8 c #0B6AE4", +"9 c #0867E4", +"0 c #0465E3", +"a c #156FE5", +"b c #BBD7F8", +"c c #DFEEFC", +"d c #DFEDFB", +"e c #DDECFA", +"f c #D9E8F9", +"g c #CDE1F4", +"h c #A9C1DB", +"i c #56759A", +"j c #083065", +"k c #003E87", +"l c #003C81", +"m c #00295F", +"n c #004CB7", +"o c #0460E2", +"p c #287DE8", +"q c #5EA5F0", +"r c #7DBDF4", +"s c #86C4F6", +"t c #86C6F6", +"u c #81C4F6", +"v c #79C0F5", +"w c #72BDF5", +"x c #6EBAF4", +"y c #6DB9F4", +"z c #68B7F3", +"A c #62B4F3", +"B c #5DB1F2", +"C c #5BB0F2", +"D c #5AAFF2", +"E c #58AEF2", +"F c #56ADF2", +"G c #56ADF1", +"H c #57AEF2", +"I c #59AFF2", +"J c #57ADF2", +"K c #57ADF1", +"L c #53AAF1", +"M c #4EA7F1", +"N c #53A8F1", +"O c #D4E8FB", +"P c #FEFFFF", +"Q c #FDFEFE", +"R c #FCFCFD", +"S c #FAFBFB", +"T c #F6F8F9", +"U c #F1F2F4", +"V c #E7EAEE", +"W c #CED9E5", +"X c #8AA4C0", +"Y c #123766", +"Z c #003F8B", +"` c #014DBA", +" . c #176EE5", +".. c #6CACF1", +"+. c #96CCF7", +"@. c #89CAF7", +"#. c #76C5F6", +"$. c #66BFF5", +"%. c #56B9F4", +"&. c #49B2F3", +"*. c #40ADF2", +"=. c #38A9F1", +"-. c #35A8F1", +";. c #34A7F1", +">. c #32A6F1", +",. c #33A6F1", +"'. c #32A5F1", +"). c #30A5F1", +"!. c #31A5F1", +"~. c #3E97D8", +"{. c #4497D5", +"]. c #3DABF1", +"^. c #3CABF1", +"/. c #3AAAF1", +"(. c #3CABF2", +"_. c #52B5F4", +":. c #DDF0FD", +"<. c #FFFFFF", +"[. c #FEFEFE", +"}. c #FDFDFD", +"|. c #FBFBFB", +"1. c #F7F8F8", +"2. c #F3F4F4", +"3. c #EDEEEE", +"4. c #E5E6E7", +"5. c #DADBDD", +"6. c #C2CAD2", +"7. c #7892AF", +"8. c #052F66", +"9. c #003F8C", +"0. c #003C8F", +"a. c #0E67E3", +"b. c #7CB6F3", +"c. c #97CEF7", +"d. c #7BC6F6", +"e. c #5FBDF5", +"f. c #48B3F3", +"g. c #32A9F2", +"h. c #24A2F1", +"i. c #1C9DF0", +"j. c #189BF0", +"k. c #179AF0", +"l. c #179BF0", +"m. c #199BF0", +"n. c #1C97E8", +"o. c #525A83", +"p. c #B82D25", +"q. c #E13322", +"r. c #C13834", +"s. c #955062", +"t. c #686992", +"u. c #3D84C3", +"v. c #2DA2EC", +"w. c #CEEBFC", +"x. c #DBDCDD", +"y. c #D0D1D3", +"z. c #C1C3C6", +"A. c #9EABB8", +"B. c #35567E", +"C. c #003D89", +"D. c #00306D", +"E. c #0155CC", +"F. c #448FEB", +"G. c #98CDF7", +"H. c #7CC6F6", +"I. c #5BBCF5", +"J. c #3AADF2", +"K. c #21A1F0", +"L. c #1399EF", +"M. c #0E95EF", +"N. c #0C94EF", +"O. c #0B94EF", +"P. c #0C95EF", +"Q. c #0D95EF", +"R. c #2F6DAC", +"S. c #973437", +"T. c #E43B25", +"U. c #EF3B25", +"V. c #EF3622", +"W. c #EE3220", +"X. c #ED2E1D", +"Y. c #ED291B", +"Z. c #EB261C", +"`. c #F1B2B0", +" + c #C3C4C6", +".+ c #B2B4B6", +"++ c #9A9FA6", +"@+ c #6B86A4", +"#+ c #00377D", +"$+ c #003274", +"%+ c #0560E0", +"&+ c #74B2F0", +"*+ c #89C9F6", +"=+ c #66C0F5", +"-+ c #42B1F3", +";+ c #21A1F1", +">+ c #1097EF", +",+ c #0A93EF", +"'+ c #0892EF", +")+ c #0993EF", +"!+ c #0992EF", +"~+ c #0B93EF", +"{+ c #1A80CF", +"]+ c #714157", +"^+ c #D63925", +"/+ c #EF4229", +"(+ c #EF3C26", +"_+ c #EF3723", +":+ c #EE3320", +"<+ c #ED2F1E", +"[+ c #ED2A1C", +"}+ c #EC271B", +"|+ c #F7A7A3", +"1+ c #F3F3F4", +"2+ c #E5E6E6", +"3+ c #C2C4C6", +"4+ c #B2B3B6", +"5+ c #9FA2A5", +"6+ c #A8ABAF", +"7+ c #7F94AA", +"8+ c #06397E", +"9+ c #003783", +"0+ c #136CE3", +"a+ c #85BFF3", +"b+ c #79C5F5", +"c+ c #56BBF4", +"d+ c #30A9F2", +"e+ c #169AF0", +"f+ c #0A94EF", +"g+ c #0B95EF", +"h+ c #0D8CE5", +"i+ c #4C527E", +"j+ c #BD372A", +"k+ c #EE482D", +"l+ c #EF432A", +"m+ c #EF3E27", +"n+ c #EF3924", +"o+ c #EF3521", +"p+ c #ED311F", +"q+ c #ED2C1D", +"r+ c #EC281B", +"s+ c #F69F9B", +"t+ c #9FA1A5", +"u+ c #A9ABAE", +"v+ c #97999C", +"w+ c #506072", +"x+ c #083E85", +"y+ c #2276E6", +"z+ c #7FBEF4", +"A+ c #6EC0F4", +"B+ c #44B2F3", +"C+ c #22A1F0", +"D+ c #0D98EF", +"E+ c #109DF0", +"F+ c #0891EF", +"G+ c #2D67A6", +"H+ c #9D393A", +"I+ c #E84B30", +"J+ c #F04B2F", +"K+ c #F0452C", +"L+ c #EF4028", +"M+ c #EF3A25", +"N+ c #EE321F", +"O+ c #ED2D1D", +"P+ c #EC291C", +"Q+ c #F69994", +"R+ c #F6F5F5", +"S+ c #D0D1D2", +"T+ c #C2C3C6", +"U+ c #A8AAAD", +"V+ c #959799", +"W+ c #5C5E62", +"X+ c #3D4A59", +"Y+ c #063D89", +"Z+ c #2A7DE8", +"`+ c #75B9F3", +" @ c #58B6F3", +".@ c #30A9F1", +"+@ c #159AF0", +"@@ c #0E99EF", +"#@ c #18AAF0", +"$@ c #0791EF", +"%@ c #0690EE", +"&@ c #177BCA", +"*@ c #764255", +"=@ c #DA4830", +"-@ c #F15235", +";@ c #F04D30", +">@ c #F0472D", +",@ c #EC2A1C", +"'@ c #F5928C", +")@ c #F7F1F1", +"!@ c #C99FA0", +"~@ c #974143", +"{@ c #B1504E", +"]@ c #EDEDEE", +"^@ c #A6A8AB", +"/@ c #929496", +"(@ c #5C5E61", +"_@ c #444547", +":@ c #26313D", +"<@ c #033A84", +"[@ c #003883", +"}@ c #3484E9", +"|@ c #68B2F2", +"1@ c #46AEF2", +"2@ c #24A2F0", +"3@ c #1197EF", +"4@ c #1FB4F1", +"5@ c #0D9AEF", +"6@ c #0A89E2", +"7@ c #505079", +"8@ c #C44332", +"9@ c #F05A3A", +"0@ c #F15436", +"a@ c #F04E32", +"b@ c #F0492E", +"c@ c #EF3824", +"d@ c #EF3421", +"e@ c #ED301F", +"f@ c #EC2C1D", +"g@ c #F58C85", +"h@ c #E0C6C7", +"i@ c #861F20", +"j@ c #A81C16", +"k@ c #DD4338", +"l@ c #ECD7D5", +"m@ c #E4E6E6", +"n@ c #9FA1A4", +"o@ c #A4A6A9", +"p@ c #909194", +"q@ c #434446", +"r@ c #28282A", +"s@ c #102848", +"t@ c #013D90", +"u@ c #023983", +"v@ c #428DEB", +"w@ c #60ADF1", +"x@ c #3BA8F1", +"y@ c #20A0F0", +"z@ c #1198EF", +"A@ c #0C96EF", +"B@ c #1EB1F1", +"C@ c #1BB1F1", +"D@ c #0791EE", +"E@ c #30639F", +"F@ c #A4423E", +"G@ c #EB5D3F", +"H@ c #F15D3D", +"I@ c #F15637", +"J@ c #F15033", +"K@ c #F0452B", +"L@ c #EC2D1D", +"M@ c #F4867D", +"N@ c #FFFEFE", +"O@ c #DDC2C3", +"P@ c #A72923", +"Q@ c #E33220", +"R@ c #EE493B", +"S@ c #ECD7D6", +"T@ c #E4E5E6", +"U@ c #CFD1D2", +"V@ c #A3A5A8", +"W@ c #8E8F92", +"X@ c #5C5D61", +"Y@ c #282729", +"Z@ c #112A44", +"`@ c #0152BA", +" # c #003E92", +".# c #083E86", +"+# c #4D96ED", +"@# c #6BAFEF", +"## c #3BA8F0", +"$# c #1499F0", +"%# c #21ABF0", +"&# c #23B6F1", +"*# c #2A8FC8", +"=# c #7E4655", +"-# c #E05B3F", +";# c #F26544", +"># c #F25F3E", +",# c #F15839", +"'# c #EF4129", +")# c #EB2F1E", +"!# c #F38076", +"~# c #DABCBD", +"{# c #A72720", +"]# c #ED3622", +"^# c #EE4B3D", +"/# c #ECD9D8", +"(# c #CFD0D2", +"_# c #C2C3C5", +":# c #B1B3B6", +"<# c #A1A3A5", +"[# c #8B8D90", +"}# c #5C5D60", +"|# c #434346", +"1# c #282728", +"2# c #10334E", +"3# c #016ED1", +"4# c #0050B4", +"5# c #003C8D", +"6# c #0E4489", +"7# c #579AEC", +"8# c #84BAEE", +"9# c #43ABF0", +"0# c #27A4F1", +"a# c #26A6F0", +"b# c #39AEE3", +"c# c #6C667A", +"d# c #CD553E", +"e# c #F46E4C", +"f# c #F26745", +"g# c #F26140", +"h# c #F15A3A", +"i# c #EB301F", +"j# c #F37A70", +"k# c #FFFDFC", +"l# c #D7B6B7", +"m# c #A5251F", +"n# c #EE4B3E", +"o# c #B1B3B5", +"p# c #9EA1A4", +"q# c #898A8D", +"r# c #434345", +"s# c #0F3957", +"t# c #0185E4", +"u# c #006CD0", +"v# c #004AA8", +"w# c #003A88", +"x# c #0A4087", +"y# c #639DE8", +"z# c #8DBEEE", +"A# c #4DB0F1", +"B# c #2CA6EF", +"C# c #647F9F", +"D# c #B65547", +"E# c #EF7350", +"F# c #F4704C", +"G# c #F36946", +"H# c #F26342", +"I# c #F15C3C", +"J# c #F05033", +"K# c #F0442B", +"L# c #EF3F28", +"M# c #EF3522", +"N# c #EC311F", +"O# c #F27469", +"P# c #FFFCFC", +"Q# c #D4B1B2", +"R# c #A3231D", +"S# c #EC3623", +"T# c #EE4C3E", +"U# c #9EA0A4", +"V# c #9D9FA2", +"W# c #86888B", +"X# c #272728", +"Y# c #0E3E60", +"Z# c #008BE9", +"`# c #0088E8", +" $ c #0065C4", +".$ c #00449B", +"+$ c #003884", +"@$ c #064280", +"#$ c #599AE2", +"$$ c #8CBEED", +"%$ c #6296C4", +"&$ c #93565B", +"*$ c #E57152", +"=$ c #F57A55", +"-$ c #F4724E", +";$ c #F36A47", +">$ c #F26441", +",$ c #F25E3E", +"'$ c #F15234", +")$ c #F04C30", +"!$ c #F0462C", +"~$ c #EF3B26", +"{$ c #EC3220", +"]$ c #F27063", +"^$ c #FFFAFA", +"/$ c #D0AAAB", +"($ c #A1211B", +"_$ c #ED3723", +":$ c #EE4E41", +"<$ c #ECDAD8", +"[$ c #B1B2B5", +"}$ c #9B9DA0", +"|$ c #848689", +"1$ c #424345", +"2$ c #292728", +"3$ c #0E4369", +"4$ c #008BEB", +"5$ c #008EED", +"6$ c #0084DF", +"7$ c #005EB6", +"8$ c #003F8E", +"9$ c #003782", +"0$ c #015370", +"a$ c #468BD0", +"b$ c #9F7179", +"c$ c #D76B51", +"d$ c #F5845F", +"e$ c #F57C57", +"f$ c #F4744F", +"g$ c #F46C48", +"h$ c #F26542", +"i$ c #F25E3D", +"j$ c #F15939", +"k$ c #F04E31", +"l$ c #F0482D", +"m$ c #EF3D26", +"n$ c #ED3421", +"o$ c #F16C5E", +"p$ c #FEF9F8", +"q$ c #CDA4A4", +"r$ c #9F1F1A", +"s$ c #EC3723", +"t$ c #EE4F41", +"u$ c #ECDBDA", +"v$ c #C1C3C5", +"w$ c #9A9C9F", +"x$ c #828387", +"y$ c #5B5D60", +"z$ c #302628", +"A$ c #9A1616", +"B$ c #366EB6", +"C$ c #008EE9", +"D$ c #007CCE", +"E$ c #0057A7", +"F$ c #003B84", +"G$ c #003780", +"H$ c #145061", +"I$ c #B17771", +"J$ c #F4916F", +"K$ c #F58661", +"L$ c #F57D58", +"M$ c #F47650", +"N$ c #F46E49", +"O$ c #F36743", +"P$ c #F1603D", +"Q$ c #F15A38", +"R$ c #F15433", +"S$ c #F04F32", +"T$ c #F04A2F", +"U$ c #EF442B", +"V$ c #EF3F27", +"W$ c #EE3522", +"X$ c #EE4938", +"Y$ c #FEF6F5", +"Z$ c #C99E9E", +"`$ c #9E1E19", +" % c #808285", +".% c #5B5C60", +"+% c #312628", +"@% c #AA1717", +"#% c #FB1A19", +"$% c #7D4C72", +"%% c #0093ED", +"&% c #0091E1", +"*% c #007CC4", +"=% c #0056A1", +"-% c #003980", +";% c #003680", +">% c #274474", +",% c #DA9785", +"'% c #F6906A", +")% c #F57F57", +"!% c #F57750", +"~% c #F47049", +"{% c #F36843", +"]% c #F2613D", +"^% c #F15B38", +"/% c #F15534", +"(% c #F14F30", +"_% c #F04A2C", +":% c #EF4128", +"<% c #EF3623", +"[% c #F7AAA2", +"}% c #FCFCFC", +"|% c #F9F9FA", +"1% c #FAFAFA", +"2% c #C59697", +"3% c #9D1D17", +"4% c #DADBDC", +"5% c #C1C2C5", +"6% c #9EA0A3", +"7% c #95989B", +"8% c #7D7F82", +"9% c #424245", +"0% c #342627", +"a% c #B21717", +"b% c #FC1A19", +"c% c #FF2826", +"d% c #CA2B30", +"e% c #01A0ED", +"f% c #009FE2", +"g% c #0083C2", +"h% c #00579F", +"i% c #00397F", +"j% c #274372", +"k% c #D98E7A", +"l% c #F68B62", +"m% c #F67B51", +"n% c #F47047", +"o% c #F46942", +"p% c #F2623D", +"q% c #F25C38", +"r% c #F05633", +"s% c #F15030", +"t% c #F04B2D", +"u% c #F0462A", +"v% c #EF4227", +"w% c #EF3C25", +"x% c #ED3320", +"y% c #EE4A3A", +"z% c #FAF5F4", +"A% c #F8F9F9", +"B% c #F6F6F6", +"C% c #F4F4F4", +"D% c #B98788", +"E% c #9B1C17", +"F% c #EB3723", +"G% c #EE5244", +"H% c #ECDDDC", +"I% c #CFD0D1", +"J% c #B0B2B5", +"K% c #939598", +"L% c #7B7D81", +"M% c #5B5C5F", +"N% c #424244", +"O% c #362627", +"P% c #B91717", +"Q% c #FF1C1A", +"R% c #FF4642", +"S% c #EE211B", +"T% c #2995C2", +"U% c #00B4E8", +"V% c #008EC5", +"W% c #00599E", +"X% c #00387E", +"Y% c #274270", +"Z% c #D98870", +"`% c #F6885B", +" & c #F57C4F", +".& c #F46B41", +"+& c #F2633B", +"@& c #F25D37", +"#& c #F15733", +"$& c #F1512F", +"%& c #F04C2D", +"&& c #F0472A", +"*& c #EF3E25", +"=& c #EF3822", +"-& c #EF3420", +";& c #EB301E", +">& c #F17B6D", +",& c #F4F3EF", +"'& c #F1F0ED", +")& c #ECEBE9", +"!& c #B37E7E", +"~& c #9B1C16", +"{& c #EC483A", +"]& c #ECDDDB", +"^& c #E4E5E5", +"/& c #919397", +"(& c #7A7C7F", +"_& c #382627", +":& c #C01717", +"<& c #FD1919", +"[& c #FF201B", +"}& c #FF6461", +"|& c #FD241E", +"1& c #666F7E", +"2& c #00C4EC", +"3& c #0094C6", +"4& c #00509B", +"5& c #00357B", +"6& c #26416F", +"7& c #D88369", +"8& c #F68656", +"9& c #F67C4D", +"0& c #F46E43", +"a& c #F26037", +"b& c #F25832", +"c& c #F1522F", +"d& c #F14D2C", +"e& c #EF4829", +"f& c #F04327", +"g& c #EF3F25", +"h& c #EF3923", +"i& c #EF3520", +"j& c #EE321E", +"k& c #EC2D1C", +"l& c #EB2A1C", +"m& c #EB8F86", +"n& c #E3E2DF", +"o& c #AB7272", +"p& c #991B16", +"q& c #EC3020", +"r& c #B18685", +"s& c #C2C4C4", +"t& c #DADBDB", +"u& c #CFD0D0", +"v& c #C1C2C3", +"w& c #B0B2B4", +"x& c #9DA0A3", +"y& c #8E9194", +"z& c #78797D", +"A& c #414244", +"B& c #3C2627", +"C& c #C81717", +"D& c #FF221C", +"E& c #FF7C7B", +"F& c #FF271F", +"G& c #B03E3B", +"H& c #00ACE8", +"I& c #005EBD", +"J& c #004097", +"K& c #00347A", +"L& c #00367F", +"M& c #26406E", +"N& c #D88064", +"O& c #F68552", +"P& c #F77E4D", +"Q& c #F57244", +"R& c #F4663D", +"S& c #F25934", +"T& c #F1502D", +"U& c #F04929", +"V& c #EF4426", +"W& c #EE4025", +"X& c #EF3B23", +"Y& c #EF3620", +"Z& c #EE331E", +"`& c #ED2F1D", +" * c #EC2B1B", +".* c #EA271B", +"+* c #E92319", +"@* c #A84140", +"#* c #991B15", +"$* c #EB3722", +"%* c #C65F5A", +"&* c #8F9194", +"** c #696A6D", +"=* c #9C9D9E", +"-* c #B0B2B3", +";* c #9DA0A2", +">* c #8C8E91", +",* c #76787C", +"'* c #5A5C5F", +")* c #402627", +"!* c #CD1718", +"~* c #FF1F1B", +"{* c #FF241E", +"]* c #FF9391", +"^* c #FF2A20", +"/* c #96344B", +"(* c #0059D9", +"_* c #004EBB", +":* c #003F97", +"<* c #003378", +"[* c #00367E", +"}* c #26406D", +"|* c #D97F61", +"1* c #F78550", +"2* c #F7824E", +"3* c #F57648", +"4* c #F46A40", +"5* c #F3603A", +"6* c #F25734", +"7* c #F1502F", +"8* c #F0482B", +"9* c #EF4228", +"0* c #F03D26", +"a* c #EF3A24", +"b* c #EC3120", +"c* c #EF4636", +"d* c #F1755E", +"e* c #A53229", +"f* c #EB3B26", +"g* c #D8362E", +"h* c #827E81", +"i* c #707174", +"j* c #525355", +"k* c #242223", +"l* c #757576", +"m* c #888B8E", +"n* c #737478", +"o* c #5A5B5F", +"p* c #442627", +"q* c #D41718", +"r* c #FF1B1A", +"s* c #FF463F", +"t* c #FF7670", +"u* c #EE2B20", +"v* c #304CA4", +"w* c #004CB8", +"x* c #00357D", +"y* c #264069", +"z* c #D98057", +"A* c #F7874F", +"B* c #F7854F", +"C* c #F77C4B", +"D* c #F57246", +"E* c #F46840", +"F* c #F35F3B", +"G* c #F25736", +"H* c #F15032", +"I* c #F0523C", +"J* c #F58E78", +"K* c #FBBFA1", +"L* c #FAD2AE", +"M* c #A54B3D", +"N* c #971B15", +"O* c #EC442E", +"P* c #F03D2A", +"Q* c #DD3429", +"R* c #775E5F", +"S* c #58595A", +"T* c #464648", +"U* c #323233", +"V* c #181516", +"W* c #151213", +"X* c #5D5C5F", +"Y* c #727477", +"Z* c #5A5B5E", +"`* c #414143", +" = c #492527", +".= c #D91718", +"+= c #FF241D", +"@= c #FF8B87", +"#= c #FF3126", +"$= c #A5323E", +"%= c #015BDF", +"&= c #0057D3", +"*= c #0048AE", +"== c #003A89", +"-= c #003070", +";= c #264068", +">= c #D98152", +",= c #F6884B", +"'= c #F8884F", +")= c #F7814E", +"!= c #F7784B", +"~= c #F57046", +"{= c #F4643F", +"]= c #F25435", +"^= c #F25C3F", +"/= c #F68E6F", +"(= c #FBCBA9", +"_= c #FFF0D2", +":= c #FEDFB9", +"<= c #FACBA1", +"[= c #A34738", +"}= c #981C16", +"|= c #ED4F37", +"1= c #F14B36", +"2= c #EF4831", +"3= c #EB915E", +"4= c #665448", +"5= c #2B2A2B", +"6= c #1C1A1A", +"7= c #151212", +"8= c #141111", +"9= c #403F41", +"0= c #4E2526", +"a= c #DE1718", +"b= c #FE1919", +"c= c #FF1E1B", +"d= c #FF211C", +"e= c #FF261E", +"f= c #FF3C34", +"g= c #FF7C76", +"h= c #F22D22", +"i= c #3B4895", +"j= c #005BDF", +"k= c #0054C8", +"l= c #0044A2", +"m= c #002E6B", +"n= c #00357C", +"o= c #264168", +"p= c #D9814E", +"q= c #F78848", +"r= c #F88A4D", +"s= c #F8804B", +"t= c #F56C40", +"u= c #F4693F", +"v= c #F78B5E", +"w= c #FCC192", +"x= c #FFE8B9", +"y= c #FFECC2", +"z= c #FEEDC8", +"A= c #FDD5A7", +"B= c #F8C090", +"C= c #A14031", +"D= c #971C15", +"E= c #EE563E", +"F= c #F35941", +"G= c #F1563C", +"H= c #F6975E", +"I= c #F7A267", +"J= c #E89A64", +"K= c #443024", +"L= c #4C1E1F", +"M= c #E31717", +"N= c #FF2920", +"O= c #FF827C", +"P= c #FF362B", +"Q= c #B13034", +"R= c #045BDB", +"S= c #005BDC", +"T= c #0051BE", +"U= c #004298", +"V= c #002D68", +"W= c #274067", +"X= c #D97C49", +"Y= c #F5753A", +"Z= c #F67337", +"`= c #F78545", +" - c #FAA864", +".- c #FEC683", +"+- c #FECF92", +"@- c #FED7A0", +"#- c #FEDFAE", +"$- c #FEE2B5", +"%- c #FDC890", +"&- c #F6B37A", +"*- c #9C392A", +"=- c #961A14", +"-- c #EE5A40", +";- c #F46148", +">- c #F57258", +",- c #F8A772", +"'- c #F79D60", +")- c #F7A064", +"!- c #E99B63", +"~- c #443023", +"{- c #161111", +"]- c #4F1212", +"^- c #E51617", +"/- c #FF1A1A", +"(- c #FF231D", +"_- c #FF7E78", +":- c #F72E24", +"<- c #464586", +"[- c #005CE1", +"}- c #0059D8", +"|- c #0053B7", +"1- c #004090", +"2- c #003275", +"3- c #002C67", +"4- c #243C64", +"5- c #C87836", +"6- c #F29122", +"7- c #FCA839", +"8- c #FCB45C", +"9- c #FCBE73", +"0- c #FDC782", +"a- c #FECE8F", +"b- c #FED59B", +"c- c #FED79F", +"d- c #FCB664", +"e- c #F5A15C", +"f- c #9A3222", +"g- c #951A14", +"h- c #ED5B3E", +"i- c #F56549", +"j- c #F67B5C", +"k- c #F9B47E", +"l- c #F7995C", +"m- c #F79C60", +"n- c #F79F63", +"o- c #F7A165", +"p- c #E89864", +"q- c #7E1515", +"r- c #1C1111", +"s- c #4C1112", +"t- c #B81315", +"u- c #F71617", +"v- c #FE1818", +"w- c #FF1D1B", +"x- c #FF251E", +"y- c #FF2B20", +"z- c #FF7771", +"A- c #FF3B32", +"B- c #BC302D", +"C- c #0859D4", +"D- c #005CE0", +"E- c #0055D0", +"F- c #005AB0", +"G- c #003E8A", +"H- c #003173", +"I- c #002C66", +"J- c #1E456B", +"K- c #B7902D", +"L- c #F19A1B", +"M- c #FCA530", +"N- c #FCB052", +"O- c #FDBB6C", +"P- c #FDC37B", +"Q- c #FECA87", +"R- c #FECB88", +"S- c #F9A33B", +"T- c #F18E33", +"U- c #972B19", +"V- c #951912", +"W- c #EE5A3A", +"X- c #F56647", +"Y- c #F67A52", +"Z- c #FAAA6E", +"`- c #F69152", +" ; c #F59152", +".; c #F79B5E", +"+; c #FAC295", +"@; c #F34742", +"#; c #D61415", +"$; c #FA1517", +"%; c #FE1618", +"&; c #FF1818", +"*; c #FF211B", +"=; c #FF2820", +"-; c #FF7D78", +";; c #FB3025", +">; c #514177", +",; c #005BDE", +"'; c #0052C6", +"); c #0067AE", +"!; c #003C87", +"~; c #002D67", +"{; c #1F4B7F", +"]; c #B9A971", +"^; c #F19616", +"/; c #FCA127", +"(; c #FCAB45", +"_; c #FCB563", +":; c #FCBE71", +"<; c #FDBE71", +"[; c #F89222", +"}; c #ED7915", +"|; c #942410", +"1; c #941811", +"2; c #ED5736", +"3; c #F56443", +"4; c #F67541", +"5; c #F7984E", +"6; c #F48443", +"7; c #F58544", +"8; c #F8A166", +"9; c #FAB781", +"0; c #F7985B", +"a; c #FAB683", +"b; c #FDDFBD", +"c; c #F72E2D", +"d; c #FF1517", +"e; c #FF1718", +"f; c #FF1A19", +"g; c #FF281F", +"h; c #FF2D21", +"i; c #FF6D66", +"j; c #FF483D", +"k; c #C62F28", +"l; c #0D57CB", +"m; c #005DCA", +"n; c #0073B5", +"o; c #174177", +"p; c #0D438A", +"q; c #1F4A7E", +"r; c #BBB892", +"s; c #F4B247", +"t; c #FBA024", +"u; c #FCA637", +"v; c #FCAE56", +"w; c #FBB05A", +"x; c #F88C1A", +"y; c #EB6F0D", +"z; c #911E0C", +"A; c #941710", +"B; c #ED5432", +"C; c #F5633E", +"D; c #F67338", +"E; c #F78B3A", +"F; c #F3762F", +"G; c #F27532", +"H; c #F69655", +"I; c #FAB77C", +"J; c #F89F62", +"K; c #F68E4F", +"L; c #F8A86E", +"M; c #FCD2A7", +"N; c #FBC3A1", +"O; c #FA1D1E", +"P; c #FF1516", +"Q; c #FF1717", +"R; c #FF1919", +"S; c #FF2C21", +"T; c #FF2F24", +"U; c #FF857C", +"V; c #FD3B2D", +"W; c #5D3E68", +"X; c #005DE0", +"Y; c #007DDA", +"Z; c #0074C1", +"`; c #00439F", +" > c #194B8C", +".> c #98B2C8", +"+> c #134E9C", +"@> c #BBB68C", +"#> c #F6BB54", +"$> c #FFBD53", +"%> c #FDB146", +"&> c #FCA23E", +"*> c #F88514", +"=> c #EA6B0B", +"-> c #8F1B0A", +";> c #92160E", +">> c #EC512E", +",> c #F56039", +"'> c #F5702B", +")> c #F6832A", +"!> c #F37228", +"~> c #F16A26", +"{> c #F5843B", +"]> c #F9A35B", +"^> c #F89D5B", +"/> c #F58443", +"(> c #F69657", +"_> c #FBC18B", +":> c #FCD0A0", +"<> c #F8977E", +"[> c #FE2424", +"}> c #FF1716", +"|> c #FF1918", +"1> c #FF1B19", +"2> c #FF201A", +"3> c #FF221B", +"4> c #FF251D", +"5> c #FF2E23", +"6> c #FF685F", +"7> c #FF5C4D", +"8> c #CE362B", +"9> c #1353BE", +"0> c #0078E4", +"a> c #0088E4", +"b> c #0076D7", +"c> c #1C60BD", +"d> c #CCD2CF", +"e> c #B2CCDB", +"f> c #1F4A7D", +"g> c #BBB486", +"h> c #F5B64B", +"i> c #FFBC4E", +"j> c #FEB349", +"k> c #F88211", +"l> c #E8660A", +"m> c #8C1909", +"n> c #92150D", +"o> c #EC4D28", +"p> c #F55E33", +"q> c #F56A1C", +"r> c #F57918", +"s> c #F3701B", +"t> c #F1661C", +"u> c #F57F31", +"v> c #F89444", +"w> c #F79245", +"x> c #F37934", +"y> c #F5823F", +"z> c #FAAB6B", +"A> c #FBC087", +"B> c #FCD9AC", +"C> c #F66956", +"D> c #FE302C", +"E> c #FF2622", +"F> c #FF1B18", +"G> c #FF1F19", +"H> c #FF211A", +"I> c #FF241C", +"J> c #FF271E", +"K> c #FF3C2E", +"L> c #FF857B", +"M> c #FF4A38", +"N> c #693C5B", +"O> c #0075E4", +"P> c #0088E5", +"Q> c #0188E3", +"R> c #2E8BDE", +"S> c #E0E1DB", +"T> c #F2EAD0", +"U> c #B1C8D4", +"V> c #0A489B", +"W> c #BBB17F", +"X> c #F4B240", +"Y> c #FDA937", +"Z> c #F87D0E", +"`> c #E66109", +" , c #8B1708", +"., c #92150B", +"+, c #EB4A23", +"@, c #F55C2D", +"#, c #F56615", +"$, c #F5730D", +"%, c #F47510", +"&, c #F16210", +"*, c #F4791E", +"=, c #F78D30", +"-, c #F88F3B", +";, c #F47830", +">, c #F2722C", +",, c #F79247", +"', c #FAAB66", +"), c #FED2A0", +"!, c #FED19F", +"~, c #F64235", +"{, c #FF3831", +"], c #FF372F", +"^, c #FF2C23", +"/, c #FF2119", +"(, c #FF241A", +"_, c #FF261D", +":, c #FF291F", +"<, c #FF2C20", +"[, c #FF3326", +"}, c #FF4131", +"|, c #FF695B", +"1, c #FF6756", +"2, c #D74333", +"3, c #1950B0", +"4, c #015FE0", +"5, c #0179E4", +"6, c #0288E5", +"7, c #0489E3", +"8, c #6BB5E2", +"9, c #F5EFDC", +"0, c #FFF0D0", +"a, c #F2E4C1", +"b, c #8AADCB", +"c, c #014098", +"d, c #1F4878", +"e, c #BBAE76", +"f, c #F29F2B", +"g, c #F67609", +"h, c #E45C08", +"i, c #891507", +"j, c #90130A", +"k, c #EA461D", +"l, c #F55926", +"m, c #F56411", +"n, c #F6770B", +"o, c #F5790A", +"p, c #F05E08", +"q, c #F3720F", +"r, c #F78419", +"s, c #F78823", +"t, c #F57C25", +"u, c #F26C23", +"v, c #F68739", +"w, c #F99D50", +"x, c #FDC78E", +"y, c #FDCD97", +"z, c #FCC389", +"A, c #F72E25", +"B, c #FF3F34", +"C, c #FF4132", +"D, c #FF4130", +"E, c #FF3B2C", +"F, c #FF3425", +"G, c #FF3325", +"H, c #FF3828", +"I, c #FF412F", +"J, c #FF4835", +"K, c #FF4C38", +"L, c #FF8576", +"M, c #FF523C", +"N, c #773C4E", +"O, c #0267DF", +"P, c #0381E3", +"Q, c #0C8AE3", +"R, c #56ACE2", +"S, c #CCE0E2", +"T, c #FFF7DC", +"U, c #FFEFCE", +"V, c #FFE9BD", +"W, c #F3DEAC", +"X, c #387BC2", +"Y, c #1F426C", +"Z, c #B99C5A", +"`, c #EC7008", +" ' c #E15705", +".' c #861305", +"+' c #901208", +"@' c #EA4318", +"#' c #F5571E", +"$' c #F5650E", +"%' c #F77B0A", +"&' c #F67B0A", +"*' c #F15E08", +"=' c #F36E0A", +"-' c #F57C0D", +";' c #F78411", +">' c #F67D16", +",' c #F26915", +"'' c #F57E22", +")' c #F89438", +"!' c #FCBC72", +"~' c #FDC585", +"{' c #FDC984", +"]' c #F7A061", +"^' c #FC372B", +"/' c #FF4635", +"(' c #FF4834", +"_' c #FF4833", +":' c #FF4933", +"<' c #FF4A33", +"[' c #FF4B33", +"}' c #FF4C34", +"|' c #FF4E37", +"1' c #FF5039", +"2' c #FF6752", +"3' c #FF715C", +"4' c #E64232", +"5' c #C4B4A6", +"6' c #CDE0E3", +"7' c #D0E2E3", +"8' c #F5F3E2", +"9' c #FFF7DD", +"0' c #FFF6D5", +"a' c #FFEFC8", +"b' c #FFE7B7", +"c' c #FFE3A3", +"d' c #A4B68F", +"e' c #0659AC", +"f' c #05387C", +"g' c #1E3B5C", +"h' c #B56D19", +"i' c #D55204", +"j' c #851104", +"k' c #8E1206", +"l' c #E93F11", +"m' c #F55417", +"n' c #F6680B", +"o' c #F67C09", +"p' c #F15E07", +"q' c #F36B09", +"r' c #F5780B", +"s' c #F6850C", +"t' c #F6820C", +"u' c #F2670B", +"v' c #F47311", +"w' c #F7891D", +"x' c #FBAE3A", +"y' c #FCB850", +"z' c #FDBE4C", +"A' c #FEC735", +"B' c #F3742F", +"C' c #FF4430", +"D' c #FF4E34", +"E' c #FF4F34", +"F' c #FF5135", +"G' c #FF5235", +"H' c #FF5337", +"I' c #FF5538", +"J' c #FF563A", +"K' c #FF846A", +"L' c #C97153", +"M' c #FEF3D4", +"N' c #FFF5D8", +"O' c #FFF5D6", +"P' c #FFF4D1", +"Q' c #FFF2C9", +"R' c #FFEFBD", +"S' c #FFE3AC", +"T' c #FFE39A", +"U' c #CDCC82", +"V' c #699578", +"W' c #9AA497", +"X' c #134383", +"Y' c #1E3655", +"Z' c #A24E12", +"`' c #811002", +" ) c #8E1003", +".) c #E73B0B", +"+) c #F4520F", +"@) c #F66F0D", +"#) c #FB9726", +"$) c #F8800E", +"%) c #F15E06", +"&) c #F36A08", +"*) c #F5750A", +"=) c #F7840B", +"-) c #F7880B", +";) c #F36C0A", +">) c #F6800D", +",) c #FA9E15", +"') c #FBA821", +")) c #FCB848", +"!) c #FEC00A", +"~) c #FEBC07", +"{) c #F25118", +"]) c #FF4B31", +"^) c #FF4F33", +"/) c #FF5133", +"() c #FF5434", +"_) c #FF5534", +":) c #FF5635", +"<) c #FF5736", +"[) c #FF5937", +"}) c #FF6543", +"|) c #FF7755", +"1) c #EF5A38", +"2) c #D6B68B", +"3) c #FFF0C4", +"4) c #FFF0C3", +"5) c #FFEFBE", +"6) c #FFEEB7", +"7) c #FFEBAC", +"8) c #FFE59E", +"9) c #FFE28D", +"0) c #FCDD79", +"a) c #E9D063", +"b) c #F3C766", +"c) c #B2A987", +"d) c #134382", +"e) c #182D54", +"f) c #6F130E", +"g) c #8D1102", +"h) c #E83703", +"i) c #F45006", +"j) c #F87C0F", +"k) c #FCA024", +"l) c #F77E0B", +"m) c #F25E05", +"n) c #F46707", +"o) c #F57109", +"p) c #F78409", +"q) c #F88B0A", +"r) c #F46F09", +"s) c #F36909", +"t) c #F57B0B", +"u) c #F9960C", +"v) c #F99A0D", +"w) c #FBAB2E", +"x) c #FFD482", +"y) c #FEBC06", +"z) c #FDB205", +"A) c #F1391D", +"B) c #FF4E2F", +"C) c #FF5131", +"D) c #FF5532", +"E) c #FF5732", +"F) c #FF5833", +"G) c #FF5933", +"H) c #FF5A34", +"I) c #FF7F56", +"J) c #FC5A34", +"K) c #C3673E", +"L) c #FCE6A6", +"M) c #FFEAAB", +"N) c #FFE9A7", +"O) c #FFE8A1", +"P) c #FFE598", +"Q) c #FFE28C", +"R) c #FFDF7E", +"S) c #FFDC6D", +"T) c #FFD85B", +"U) c #FFD24B", +"V) c #F2BA58", +"W) c #B2A67E", +"X) c #132553", +"Y) c #7E160F", +"Z) c #E53404", +"`) c #F55402", +" ! c #FB8906", +".! c #FD9B11", +"+! c #F87C08", +"@! c #F25E04", +"#! c #F36405", +"$! c #F56D07", +"%! c #F88308", +"&! c #F98B09", +"*! c #F57209", +"=! c #F36808", +"-! c #F57709", +";! c #F9900B", +">! c #F9960B", +",! c #FAA426", +"'! c #FFCD76", +")! c #FFD07B", +"!! c #FEB606", +"~! c #F59307", +"{! c #F73C22", +"]! c #FF502C", +"^! c #FF532E", +"/! c #FF562F", +"(! c #FF582F", +"_! c #FF5930", +":! c #FF5A31", +"~ c #FFC25D", +",~ c #FFC461", +"'~ c #FFC664", +")~ c #FEAD11", +"!~ c #EA560E", +"~~ c #FF4C23", +"{~ c #FF5125", +"]~ c #FF5325", +"^~ c #FF5526", +"/~ c #FF5627", +"(~ c #FF5728", +"_~ c #FF5727", +":~ c #FE5828", +"<~ c #F16E38", +"[~ c #CE5223", +"}~ c #BD8C42", +"|~ c #FFD86D", +"1~ c #FFD86A", +"2~ c #FFD764", +"3~ c #FFD55D", +"4~ c #FFD354", +"5~ c #FFD14A", +"6~ c #FFCE3F", +"7~ c #FFCA34", +"8~ c #FEC729", +"9~ c #FEC31D", +"0~ c #FBB91D", +"a~ c #DEA740", +"b~ c #7F8477", +"c~ c #003882", +"d~ c #034290", +"e~ c #485A54", +"f~ c #C49329", +"g~ c #ED7E05", +"h~ c #F36201", +"i~ c #F56901", +"j~ c #F87A01", +"k~ c #FB8B05", +"l~ c #FB8C0C", +"m~ c #F46504", +"n~ c #F46905", +"o~ c #F78105", +"p~ c #F88706", +"q~ c #FA9213", +"r~ c #FEB540", +"s~ c #FFBB4A", +"t~ c #FFBD4F", +"u~ c #FFBE53", +"v~ c #FFBF57", +"w~ c #FEAD1C", +"x~ c #E94312", +"y~ c #FF4F1F", +"z~ c #FF5120", +"A~ c #FF5321", +"B~ c #FF5422", +"C~ c #FF5522", +"D~ c #FE5421", +"E~ c #F76A30", +"F~ c #D45221", +"G~ c #A6521F", +"H~ c #F0C456", +"I~ c #FFD45D", +"J~ c #FFD359", +"K~ c #FFD252", +"L~ c #FFCE40", +"M~ c #FFCB37", +"N~ c #FEC82D", +"O~ c #FEC523", +"P~ c #FEC118", +"Q~ c #FDBD0F", +"R~ c #F4B314", +"S~ c #BFA25D", +"T~ c #3B546D", +"U~ c #004195", +"V~ c #073062", +"W~ c #7E6D32", +"X~ c #CA660A", +"Y~ c #E86003", +"Z~ c #F36C01", +"`~ c #F77B01", +" { c #FB8D05", +".{ c #FC9507", +"+{ c #F56501", +"@{ c #F56502", +"#{ c #F77B03", +"${ c #F88104", +"%{ c #F98B0B", +"&{ c #FDAB2C", +"*{ c #FEB135", +"={ c #FEB33B", +"-{ c #FEB641", +";{ c #FEB845", +">{ c #FFBA49", +",{ c #F9A628", +"'{ c #EE3D14", +"){ c #FF501A", +"!{ c #FF501B", +"~{ c #FF511C", +"{{ c #FF521D", +"]{ c #FF521C", +"^{ c #F2501C", +"/{ c #E16528", +"({ c #BD4F19", +"_{ c #B4802D", +":{ c #FFD050", +"<{ c #FFD04C", +"[{ c #FFCE46", +"}{ c #FFCC3E", +"|{ c #FECA36", +"1{ c #FEC72E", +"2{ c #FEC425", +"3{ c #FEC11C", +"4{ c #FEBE13", +"5{ c #FCB90C", +"6{ c #F5B20E", +"7{ c #D4A630", +"8{ c #767D70", +"9{ c #03316D", +"0{ c #004292", +"a{ c #102F55", +"b{ c #795529", +"c{ c #BC6D10", +"d{ c #DA7B07", +"e{ c #EA900E", +"f{ c #EF9A10", +"g{ c #E96D04", +"h{ c #E86403", +"i{ c #EA7703", +"j{ c #EB7B03", +"k{ c #EC8309", +"l{ c #F0A11F", +"m{ c #F1A628", +"n{ c #F1A92F", +"o{ c #F1AC35", +"p{ c #F1AE3A", +"q{ c #F1AF3F", +"r{ c #F1B143", +"s{ c #E08B33", +"t{ c #F64413", +"u{ c #F84B15", +"v{ c #F74916", +"w{ c #F64818", +"x{ c #F64718", +"y{ c #F54718", +"z{ c #F44718", +"A{ c #E84718", +"B{ c #D95821", +"C{ c #B74A19", +"D{ c #934A18", +"E{ c #E0B142", +"F{ c #F6C447", +"G{ c #F6C342", +"H{ c #F5C23C", +"I{ c #F5C036", +"J{ c #F5BE2E", +"K{ c #F5BB27", +"L{ c #F5B81F", +"M{ c #F4B517", +"N{ c #F1B013", +"O{ c #E4AA1C", +"P{ c #C4A141", +"Q{ c #767D6E", +"R{ c #0C3263", +"S{ c #0047A4", +"T{ c #004192", +"U{ c #052F63", +"V{ c #404A40", +"W{ c #827A42", +"X{ c #A69245", +"Y{ c #AB7624", +"Z{ c #AB6316", +"`{ c #AD7517", +" ] c #AE7817", +".] c #AE7E27", +"+] c #B19858", +"@] c #B29B5D", +"#] c #B29C60", +"$] c #B29D64", +"%] c #B29E68", +"&] c #B29F6B", +"*] c #B2A06E", +"=] c #B2A171", +"-] c #AF7149", +";] c #CD4C22", +">] c #C84A21", +",] c #C34524", +"'] c #BD3F29", +")] c #B83C28", +"!] c #B13B28", +"~] c #A63C2A", +"{] c #933E2C", +"]] c #97513C", +"^] c #7A4631", +"/] c #736347", +"(] c #B7A774", +"_] c #B7A772", +":] c #B7A770", +"<] c #B7A66D", +"[] c #B7A569", +"}] c #B7A465", +"|] c #B7A261", +"1] c #B6A15C", +"2] c #B49E58", +"3] c #A8995F", +"4] c #81836C", +"5] c #3C546A", +"6] c #003E8F", +"7] c #003984", +"8] c #0A3C7C", +"9] c #113C75", +"0] c #123D75", +"a] c #123F75", +"b] c #12417E", +"c] c #124382", +"d] c #124383", +"e] c #123D7B", +"f] c #133A76", +"g] c #123A76", +"h] c #113976", +"i] c #103878", +"j] c #0F3878", +"k] c #0D3878", +"l] c #0C3878", +"m] c #0C3879", +"n] c #0D3A7B", +"o] c #0B3A7A", +"p] c #0E3F7F", +"q] c #134384", +"r] c #114282", +"s] c #093C80", +"t] c #004197", +" . + @ # $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ % & * * & * = - ; > , ", +" ' ) ! ~ { ] ^ / ( _ : < [ _ _ } : | | } 1 2 3 4 5 6 7 8 9 0 a b c c c c d e f g h i j k ", +" l m n o p q r s t u v w x y z A B C D E F G H D I J K G L M N O P P P P Q R S T U V W X Y Z ", +" m ` ...+.@.#.$.%.&.*.=.-.-.;.>.>.,.,.'.).!.~.{.].^./.(.*._.:.<.<.<.<.[.}.|.1.2.3.4.5.6.7.8. ", +"9.0.a.b.c.d.e.f.g.h.i.j.k.l.j.j.l.j.j.m.j.n.o.p.q.r.s.t.u.v.w.<.<.<.<.[.}.|.1.2.3.4.x.y.z.A.B.C.", +"D.E.F.G.H.I.J.K.L.M.N.O.O.O.N.N.P.Q.Q.M.R.S.T.U.V.W.X.Y.Z.`.<.<.<.<.[.}.|.1.2.3.4.x.y. +.+++@+#+", +"$+%+&+*+=+-+;+>+,+'+'+'+)+!+!+,+~+,+{+]+^+/+(+_+:+<+[+}+|+<.<.<.<.[.}.|.1.1+3.2+x.y.3+4+5+6+7+8+", +"9+0+a+b+c+d+e+,+'+'+f+g+!+!+!+!+h+i+j+k+l+m+n+o+p+q+r+s+<.<.<.<.[.}.|.1.1+3.2+x.y.3+4+t+u+v+w+x+", +"9+y+z+A+B+C+M.!+!+D+E+!+'+F+F+G+H+I+J+K+L+M+V.N+O+P+Q+<.<.<.<.[.}.|.R+1+3.2+x.S+T+4+t+U+V+W+X+Y+", +"9+Z+`+ @.@+@,+!+@@#@'+$@%@&@*@=@-@;@>@/+(+_+:+<+,@'@<.<.<.<.[.)@!@~@{@]@2+x.S+T+4+t+^@/@(@_@:@<@", +"[@}@|@1@2@3@,+D+4@5@%@6@7@8@9@0@a@b@l+m+c@d@e@f@g@<.<.<.<.[.h@i@j@k@l@m@x.S+T+4+n@o@p@(@q@r@s@t@", +"u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@J+K@L+M+V.N+L@M@N@<.<.<.[.O@P@Q@R@S@T@x.U@T+4+n@V@W@X@q@Y@Z@`@ #", +".#+#@###C+$#%#&#*#=#-#;#>#,#-@;@>@'#(+_+:+)#!#N@<.<.<.[.~#{#]#^#/#T@x.(#_#:#n@<#[#}#|#1#2#3#4#5#", +"6#7#8#9#0#a#b#c#d#e#f#g#h#0@a@b@l+m+c@d@i#j#k#<.<.<.[.l#m#]#n#/#T@x.(#_#o#p#n@q#}#r#1#s#t#u#v#w#", +"x#y#z#A#B#C#D#E#F#G#H#I#I@J#J+K#L#M+M#N#O#P#<.<.<.[.Q#R#S#T#/#T@5.(#_#o#U#V#W#}#r#X#Y#Z#`# $.$+$", +"@$#$$$%$&$*$=$-$;$>$,$,#'$)$!$'#~$_+{$]$^$<.<.<.[./$($_$:$<$T@5.(#_#[$U#}$|$}#1$2$3$4$5$6$7$8$9$", +"0$a$b$c$d$e$f$g$h$i$j$0@k$l$l+m$c@n$o$p$<.<.<.[.q$r$s$t$u$T@5.(#v$[$U#w$x$y$1$z$A$B$5$C$D$E$F$G$", +"H$I$J$K$L$M$N$O$P$Q$R$S$T$U$V$n+W$X$Y$<.[.<.[.Z$`$s$t$u$T@5.(#v$[$U#v+ %.%1$+%@%#%$%%%&%*%=%-%;%", +">%,%'%)%!%~%{%]%^%/%(%_%K@:%U.<%{$[%}.}%|%1%2%3%s$t$u$T@4%(#5%[$6%7%8%.%9%0%a%b%c%d%e%f%g%h%i%;%", +"j%k%l%m%n%o%p%q%r%s%t%u%v%w%_+x%y%z%A%B%C%D%E%F%G%H%T@4%I%5%J%6%K%L%M%N%O%P%b%Q%R%S%T%U%V%W%X%;%", +"Y%Z%`% &.&+&@&#&$&%&&&v%*&=&-&;&>&,&'&)&!&~&F%{&]&^&5.I%5%J%6%/&(&M%N%_&:&<&Q%[&}&|&1&2&3&4&5&;%", +"6&7&8&9&0&a&b&c&d&e&f&g&h&i&j&k&l&m&n&o&p&F%q&r&s&t&u&v&w&x&y&z&M%A&B&C&<&Q%[&D&E&F&G&H&I&J&K&L&", +"M&N&O&P&Q&R&S&T&U&V&W&X&Y&Z&`& *.*+*@*#*$*X.%*&***=*v&-*;*>*,*'*A&)*!*<&Q%~*D&{*]*^*/*(*_*:*<*[*", +"}*|*1*2*3*4*5*6*7*8*9*0*a*_$b*c*d*e*#*f*X.g*h*i*j*k*l*V#m*n*o*A&p*q*<&r*~*D&{*s*t*u*v*(*w* #$+x*", +"y*z*A*B*C*D*E*F*G*H*>@L#I*J*K*L*M*N*O*P*Q*R*S*T*U*V*W*X*Y*Z*`* =.=<&r*~*D&+=F&@=#=$=%=&=*===-=x*", +";=>=,='=)=!=~={=]=^=/=(=_=:=<=[=}=|=1=2=3=4=5=6=7=8=8=7=9=`*0=a=b=r*c=d=+=e=f=g=h=i=j=k=l=;%m=n=", +"o=p=q=r=s=t=u=v=w=x=y=z=A=B=C=D=E=F=G=H=I=J=K=8=8=8=8=8=7=L=M=b=r*c=d=+=e=N=O=P=Q=R=S=T=U=K&V=5&", +"W=X=Y=Z=`= -.-+-@-#-$-%-&-*-=---;->-,-'-)-I=!-~-8=8=8={-]-^-b=/-c=d=(-e=N=P=_-:-<-[-}-|-1-2-3-5&", +"4-5-6-7-8-9-0-a-b-c-d-e-f-g-h-i-j-k-l-l-m-n-o-p-q-r-s-t-u-v-/-w-d=(-x-N=y-z-A-B-C-D-E-F-G-H-I-5&", +"J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z-`- ;n-m-.;)-+;@;#;$;%;&;/-w-*;(-x-=;y-#=-;;;>;[-,;';);!;H-~;5&", +"{;];^;/;(;_;:;<;[;};|;1;2;3;4;5;6;7;8;9;l-0;a;b;c;d;d;e;f;w-[&(-x-g;y-h;i;j;k;l;D-j=m;n;5#<*o;p;", +"q;r;s;t;u;v;w;x;y;z;A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;Q%[&(-x-g;y-S;T;U;V;W;[-[-X;Y;Z;`; >.>+>", +"q;@>#>$>%>&>*>=>->;>>>,>'>)>!>~>{>]>^>/>(>_>:><>[>}>|>1>2>3>4>g;^*S;5>6>7>8>9>[-[-0>a>b>c>d>e>+>", +"f>g>h>i>j>k>l>m>n>o>p>q>r>s>t>u>v>w>x>y>z>A>B>C>D>E>F>G>H>I>J>^*S;T;K>L>M>N>[-[-O>P>Q>R>S>T>U>V>", +"f>W>X>Y>Z>`> ,.,+,@,#,$,%,&,*,=,-,;,>,,,',),!,~,{,],^,/,(,_,:,<,[,},|,1,2,3,4,5,6,7,8,9,0,a,b,c,", +"d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,==", +"Y,Z,`, '.'+'@'#'$'%'&'*'='-';'>',''')'!'~'{']'^'/'('_':'<'['}'|'1'2'3'4'5'6'7'8'9'0'a'b'c'd'e'f'", +"g'h'i'j'k'l'm'n'*>o'p'q'r's't'u'v'w'x'y'z'A'B'C'}'D'E'F'F'G'H'I'J'K'J'L'M'N'O'P'Q'R'S'T'U'V'W'X'", +"Y'Z'`' ).)+)@)#)$)%)&)*)=)-)q';)>),)')))!)~){)])^)/)()_):)<)[)[)})|)1)2)3)4)5)6)7)8)9)0)a)b)c)d)", +"e)f)g)h)i)j)k)l)m)n)o)p)q)r)s)t)u)v)w)x)y)z)A)B)C)D)E)F)G)H)H)H)I)J)K)L)M)N)O)P)Q)R)S)T)U)V)W)d)", +"X)Y)Z)`) !.!+!@!#!$!%!&!*!=!-!;!>!,!'!)!!!~!{!]!^!/!(!_!:!*~=~-~t!;~$>>~,~'~)~!~~~{~]~^~/~(~_~_~:~<~[~}~|~1~2~3~4~5~6~7~8~9~0~a~b~c~", +"d~e~f~g~h~@~i~j~k~l~m~n~o~p~q~r~s~t~u~v~w~x~y~z~A~B~C~C~C~D~E~F~G~H~I~J~K~S!L~M~N~O~P~Q~R~S~T~U~", +" V~W~X~Y~Z~`~ {.{+{@{#{${%{&{*{={-{;{>{,{'{){!{~{{{{{]{~{^{/{({_{:{<{[{}{|{1{2{3{4{5{6{7{8{9{ ", +" 0{a{b{c{d{e{f{g{h{i{j{k{l{m{n{o{p{q{r{s{t{u{v{w{x{y{z{A{B{C{D{E{F{G{H{I{J{K{L{M{N{O{P{Q{R{S{ ", +" T{U{V{W{X{Y{Z{`{ ].]+]@]#]$]%]&]*]=]-];]>],]'])]!]~]{]]]^]/](]_]:]<][]}]|]1]2]3]4]5]9{S{ ", +" 6]7]8]9]0]a]a]b]c]d]d]d]d]d]d]d]e]f]g]h]i]j]k]l]m]n]o]p]q]q]q]X'X'X'X'd]r]s]7]t] "}; diff --git a/Java-Visualizer/java/lib/missioncontrol/mc.jar b/Java-Visualizer/java/lib/missioncontrol/mc.jar new file mode 100644 index 00000000..786f4644 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/mc.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml new file mode 100644 index 00000000..3ad16bd7 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/com.jrockit.mc.rcp.product_root_5.5.0.165303 b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/com.jrockit.mc.rcp.product_root_5.5.0.165303 new file mode 100644 index 00000000..fa3efd0b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/com.jrockit.mc.rcp.product_root_5.5.0.165303 differ diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/com.oracle.jmc.executable.gtk.linux.x86_64_5.5.0 b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/com.oracle.jmc.executable.gtk.linux.x86_64_5.5.0 new file mode 100644 index 00000000..1f089409 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/com.oracle.jmc.executable.gtk.linux.x86_64_5.5.0 differ diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/org.eclipse.rcp_root_4.4.0.v20141007-2301 b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/org.eclipse.rcp_root_4.4.0.v20141007-2301 new file mode 100644 index 00000000..4f303787 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.core/cache/binary/org.eclipse.rcp_root_4.4.0.v20141007-2301 differ diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/.lock b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/.lock new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423862990907.profile.gz b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423862990907.profile.gz new file mode 100644 index 00000000..945b2679 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423862990907.profile.gz differ diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423862991294.profile.gz b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423862991294.profile.gz new file mode 100644 index 00000000..da0b7d90 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423862991294.profile.gz differ diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423863007598.profile.gz b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423863007598.profile.gz new file mode 100644 index 00000000..98077afc Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423863007598.profile.gz differ diff --git a/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423863011605.profile.gz b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423863011605.profile.gz new file mode 100644 index 00000000..d4de395d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/1423863011605.profile.gz differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.ibm.icu_52.1.0.v201404241930.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.ibm.icu_52.1.0.v201404241930.jar new file mode 100644 index 00000000..d3add24a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.ibm.icu_52.1.0.v201404241930.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert.ja_5.5.0.165303.jar new file mode 100644 index 00000000..24e16104 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..1b6c230e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert_5.5.0.165303.jar new file mode 100644 index 00000000..561bbc87 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.alert_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.attach_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.attach_5.5.0.165303.jar new file mode 100644 index 00000000..1427a1b8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.attach_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach.ja_5.5.0.165303.jar new file mode 100644 index 00000000..f21bbc17 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..75fdd65c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach_5.5.0.165303.jar new file mode 100644 index 00000000..c63910bf Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.attach_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.ja_5.5.0.165303.jar new file mode 100644 index 00000000..5ae6c693 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp.ja_5.5.0.165303.jar new file mode 100644 index 00000000..1a447ca1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..c5fbb906 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp_5.5.0.165303.jar new file mode 100644 index 00000000..29fdb3a6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..18dd86af Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser_5.5.0.165303.jar new file mode 100644 index 00000000..0d07f305 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.browser_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.commands_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.commands_5.5.0.165303.jar new file mode 100644 index 00000000..03c41fe0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.commands_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.common_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.common_5.5.0.165303.jar new file mode 100644 index 00000000..b8780169 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.common_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui.ja_5.5.0.165303.jar new file mode 100644 index 00000000..fba20aaa Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..338a97ac Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui_5.5.0.165303.jar new file mode 100644 index 00000000..f2c4f255 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.components.ui_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata.ja_5.5.0.165303.jar new file mode 100644 index 00000000..fe8953dd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..a159bfb5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata_5.5.0.165303.jar new file mode 100644 index 00000000..a60a1843 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.historicaldata_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic.ja_5.5.0.165303.jar new file mode 100644 index 00000000..7d7185d8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..b42d0ff7 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic_5.5.0.165303.jar new file mode 100644 index 00000000..e97c3d5f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.ja_5.5.0.165303.jar new file mode 100644 index 00000000..97d286d2 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser.ja_5.5.0.165303.jar new file mode 100644 index 00000000..d88b5f35 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..980fdb63 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser_5.5.0.165303.jar new file mode 100644 index 00000000..ce4222f6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification.ja_5.5.0.165303.jar new file mode 100644 index 00000000..ec891835 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..8c870d50 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/META-INF/MANIFEST.MF new file mode 100644 index 00000000..1470552e --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/META-INF/MANIFEST.MF @@ -0,0 +1,31 @@ +Manifest-Version: 1.0 +Ant-Version: Apache Ant 1.9.2 +Created-By: 1.6.0_45-b06 (Sun Microsystems Inc.) +Export-Package: com.jrockit.mc.console.ui.notification,com.jrockit.mc. + console.ui.notification.tab,com.jrockit.mc.console.ui.notification.ui + components,com.jrockit.mc.console.ui.notification.widget,com.jrockit. + mc.console.ui.notification.wizard +Bundle-ActivationPolicy: lazy +Bundle-ClassPath: notification_plugin.jar +Bundle-Name: Console Notification Plug-in +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Require-Bundle: com.jrockit.mc.core;bundle-version="[5.5.0,6.0.0)",com + .jrockit.mc.ui;bundle-version="[5.5.0,6.0.0)",com.jrockit.mc.console. + ui;bundle-version="[5.5.0,6.0.0)",org.eclipse.ui;bundle-version="[3.8 + .0,4.0.0)",org.eclipse.core.runtime;bundle-version="[3.8.0,4.0.0)",or + g.eclipse.ui.forms;bundle-version="[3.5.0,4.0.0)",com.jrockit.mc.rjmx + ;visibility:="reexport";bundle-version="[5.5.0,6.0.0)",com.jrockit.mc + .rjmx.ui;bundle-version="[5.5.0,6.0.0)",com.jrockit.mc.alert;bundle-v + ersion="[5.5.0,6.0.0)",com.jrockit.mc.flightrecorder.controlpanel.ui; + bundle-version="[5.5.0,6.0.0)",com.jrockit.mc.flightrecorder.controlp + anel.ui.configuration;bundle-version="[5.5.0,6.0.0)",com.jrockit.mc.f + lightrecorder.configuration;bundle-version="[5.5.0,6.0.0)" +Bundle-Vendor: Oracle +Bundle-Version: 5.5.0.165303 +Bundle-ManifestVersion: 2 +Bundle-Activator: com.jrockit.mc.console.ui.notification.NotificationP + lugin +Bundle-SymbolicName: com.jrockit.mc.console.ui.notification; singleton + :=true + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/com.jrockit.mc.console.ui.notification_contexts.xml b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/com.jrockit.mc.console.ui.notification_contexts.xml new file mode 100644 index 00000000..19fc69d7 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/com.jrockit.mc.console.ui.notification_contexts.xml @@ -0,0 +1,12 @@ + + + + + TriggerTab + + + + TriggerSectionPart + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/css/blafdoc.css b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/css/blafdoc.css new file mode 100644 index 00000000..73baad35 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/css/blafdoc.css @@ -0,0 +1,491 @@ +@charset "utf-8"; +/* + Copyright 2002, 2014, Oracle and/or its affiliates. All rights reserved. + Author: Robert Crews + Version: 2014.7.21 +*/ + +body { + font-family: sans-serif; + line-height: 1.5; + color: #222; + background-color: white; + font-size: small; +} +* html body { + /* Modified SBMH (Tan hack) */ + font-size: x-small; /* for IE5.x/win */ + f\ont-size: small; /* for other IE versions */ +} + +h1 { + font-size: 165%; + line-height: normal; + font-weight: bold; + border-bottom: 1px solid #ddd; + width: 100%; +} + +h2 { + font-size: 152%; + line-height: normal; + font-weight: bold; +} + +h3 { + font-size: 139%; + line-height: normal; + font-weight: bold; +} + +h4 { + font-size: 126%; + line-height: normal; + font-weight: bold; +} + +h5 { + font-size: 113%; + line-height: normal; + font-weight: bold; + display: inline; +} + +h6 { + font-size: 100%; + line-height: normal; + font-weight: bold; + font-style: italic; + display: inline; +} + +a:link { + color: #039; + background: inherit; +} + +a:visited { + color: #72007c; + background: inherit; +} + +a:hover { + text-decoration: underline; +} + +a img, img[usemap] { + border-style: none; +} + +code, pre, samp, tt { + font-family: monospace; + font-size: 110%; +} + +caption { + text-align: center; + font-weight: bold; + width: auto; +} + +dt { + font-weight: bold; +} + +table { + font-size: small; /* for ICEBrowser */ +} + +td { + vertical-align: top; +} + +th { + font-weight: bold; + text-align: left; + vertical-align: bottom; +} + +table[dir="rtl"] th { + font-weight: bold; + text-align: right; + vertical-align: bottom; +} + +ol ol { + list-style-type: lower-alpha; +} + +ol ol ol { + list-style-type: lower-roman; +} + +td p:first-child, td pre:first-child { + margin-top: 0; + margin-bottom: 0; +} + +table.table-border { + border-collapse: collapse; + border-top: 1px solid #ccc; + border-left: 1px solid #ccc; +} +table.table-border th { + padding: 0.5ex 0.25em; + color: black; + background-color: #f7f7ea; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} +table.table-border td { + padding: 0.5ex 0.25em; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + +span.gui-object, span.gui-object-action { + font-weight: bold; +} + +span.gui-object-action-var { + font-weight: bold; + font-style: italic; +} + +span.gui-object-title { } + +p.horizontal-rule { + width: 100%; + border: #cc9 solid; + border-width: 0 0 1px 0; + margin-bottom: 4ex; +} + +/* http://webaim.org/techniques/skipnav/ */ +.zz-skip-header a, .zz-skip-header a:hover, .zz-skip-header a:visited { + position: absolute; + left: 0; + top: -500px; + width: 1px; + height: 1px; + overflow: hidden; +} + +.zz-skip-header a:active, .zz-skip-header a:focus { + position: static; + width: auto; + height: auto; +} + +td.zz-nav-header-cell { + text-align: left; + font-size: 95%; + width: 99%; + color: black; + background-color: white; + font-weight: normal; + vertical-align: top; + margin-top: 0; + padding-top: 0; +} + +a.zz-nav-header-link { + font-size: 95%; +} + +td.zz-nav-button-cell { + white-space: nowrap; + text-align: center; + width: 1%; + vertical-align: top; + padding-left: 4px; + padding-right: 4px; + margin-top: 0; + padding-top: 0; +} + +a.zz-nav-button-link { + font-size: 90%; +} + +div.zz-nav-footer-menu { + width: 100%; + text-align: center; + margin-top: 2ex; + margin-bottom: 4ex; +} + +p.zz-legal-notice, a.zz-legal-notice-link { + font-size: 85%; +} + +sub, sup { + line-height: 0; +} + +/*************************************/ +/* Begin DARB Formats */ +/*************************************/ + +/* +max-width causes better full-screen display, but in IE7 & IE8: + * Causes bullets in some ul elements to be in the wrong places. + * Causes h2 headings after bulleted list to have no space above. +Not-selector hack hides rule from IE8 and below. +*/ +html:not([ie8andbelow]) .IND p, +html:not([ie8andbelow]) .IND div, +html:not([ie8andbelow]) .IND table { + max-width: 70em; +} + +div > pre, dd > pre, li > pre { + padding: 0.5ex 1ex; + color: black; + background-color: #eee; + border-radius: 4px; +} + +.bold, .codeinlinebold, .syntaxinlinebold, .term, .glossterm, .seghead, +.glossaryterm, .keyword, .msg, .msgexplankw, .msgactionkw, .msglevelkw, +.msgorigkw, .msgaudkw, .notep1, .xreftitlebold, .xrefglossterm { + font-weight: bold; +} + +.italic, .codeinlineitalic, .syntaxinlineitalic, .variable, +.xreftitleitalic { + font-style: italic; +} + +.bolditalic, .codeinlineboldital, .syntaxinlineboldital, +.titleinfigure, .titleinexample, .titleintable, .titleinequation, +.xreftitleboldital { + font-weight: bold; + font-style: italic; +} + +.itemizedlisttitle, .orderedlisttitle, .segmentedlisttitle, +.variablelisttitle { + font-weight: bold; +} + +.bridgehead, .titleinrefsubsect3 { + font-weight: bold; +} + +.titleinrefsubsect { + font-size: 126%; + font-weight: bold; +} + +.titleinrefsubsect2 { + font-size: 113%; + font-weight: bold; +} + +.subhead1 { + display: block; + font-size: 139%; + line-height: normal; + font-weight: bold; +} + +.subhead2, .related-topics { + display: block; + font-weight: bold; +} + +.subhead3 { + font-weight: bold; +} + +.underline { + text-decoration: underline; +} + +.superscript { + vertical-align: super; + line-height: 0; +} + +.subscript { + vertical-align: sub; + line-height: 0; +} + +.listofeft { + border: none; +} + +.betadraft, .alphabetanotice, .revenuerecognitionnotice { + color: #e00; + background-color: white; +} + +.betadraftsubtitle { + text-align: center; + font-weight: bold; + color: #e00; + background-color: white; +} + +.comment { + color: #080; + background-color: white; + font-weight: bold; +} + +.copyrightlogo { + text-align: center; + font-size: 85%; +} + +.tocsubheader { + list-style-type: none; +} + +table.icons td { + padding-left: 6px; + padding-right: 6px; +} + +.l1ix dd, dd dl.l2ix, dd dl.l3ix { + margin-top: 0; + margin-bottom: 0; +} + +div.infoboxnote, div.infoboxnotewarn, div.infoboxnotealso { + margin-top: 4ex; + margin-right: 10%; + margin-left: 10%; + margin-bottom: 4ex; + padding: 0.25em; + border-top: 1pt solid gray; + border-bottom: 1pt solid gray; +} + +p.notep1 { + margin-top: 0; + margin-bottom: 0; +} + +.tahiti-highlight-example { + color: black; + background-color: #ff9; + text-decoration: inherit; +} + +.tahiti-highlight-search { + color: black; + background-color: #9cf; + text-decoration: inherit; +} + +.tahiti-sidebar-heading { + font-size: 110%; + margin-bottom: 0; + padding-bottom: 0; +} + +/******************************************/ +/* Formats for FMW kit, Upated 2011-11-16 */ +/******************************************/ + +.level1 { + font-family: sans-serif; + font-weight: normal; + font-style: normal; + margin-left: 20px; +} + +.level2 { + font-family: sans-serif; + font-weight: normal; + font-style: normal; + margin-left: 40px; +} + +.level3 { + font-family: sans-serif; + font-weight: normal; + font-style: normal; + margin-left: 60px; +} + +.level4 { + font-family: sans-serif; + font-weight: normal; + font-style: normal; + margin-left: 80px; +} + +.related-topics { + width: 60%; + margin-top: 30px; + padding-top: 10px; + border-top-color: #999999; + border-top-style: solid; + border-top-width: 1px; + font-size: 139%; + font-weight: bold; +} + +/* remove top and bottom margins in p in table cells in Firefox */ +td p { + margin-top: 0; + margin-bottom: 0; +} + +#tThisDocument a:hover { + color: #600; + background-color: #b0cff5; +} + +/*************************************/ +/* End DARB Formats */ +/*************************************/ + +@media all { + dd { + margin-bottom: 2ex; + } + dl:first-child { + margin-top: 2ex; + } +} + +@media print { + body { + font-size: 11pt; + padding: 0 !important; + } + + a:link, a:visited { + color: black; + background-color: white; + } + + code, pre, samp, tt { + font-size: 10pt; + } + + #nav, #search_this_book, #comment_form, + #comment_announcement, #flipNav, .noprint { + display: none !important; + } + + body#left-nav-present { + overflow: visible !important; + } +} + +@media screen and (max-device-width: 480px) { + body{ + -webkit-text-size-adjust: none; + -moz-text-size-adjust: none; + -ms-text-size-adjust: none; + } + fieldset input, fieldset textarea { + width: 100%; + } +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/bookbig.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/bookbig.gif new file mode 100644 index 00000000..23070e65 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/bookbig.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/bookicon.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/bookicon.gif new file mode 100644 index 00000000..93964b7f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/bookicon.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/booklist.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/booklist.gif new file mode 100644 index 00000000..955ecfaa Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/booklist.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/contbig.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/contbig.gif new file mode 100644 index 00000000..b07d7708 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/contbig.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/conticon.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/conticon.gif new file mode 100644 index 00000000..ff3634b4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/conticon.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/doclib.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/doclib.gif new file mode 100644 index 00000000..8390a41d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/doclib.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/feedback.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/feedback.gif new file mode 100644 index 00000000..4ab1daa6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/feedback.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/feedbck2.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/feedbck2.gif new file mode 100644 index 00000000..06f80736 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/feedbck2.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/help.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/help.gif new file mode 100644 index 00000000..4bdee8fd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/help.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/index.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/index.gif new file mode 100644 index 00000000..91feb84f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/index.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/indxicon.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/indxicon.gif new file mode 100644 index 00000000..54d3ecec Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/indxicon.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/larrow.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/larrow.gif new file mode 100644 index 00000000..6887a59c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/larrow.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/leftnav.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/leftnav.gif new file mode 100644 index 00000000..d5321df9 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/leftnav.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/masterix.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/masterix.gif new file mode 100644 index 00000000..c62bffc7 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/masterix.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/mix.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/mix.gif new file mode 100644 index 00000000..ddf08993 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/mix.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/oracle.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/oracle.gif new file mode 100644 index 00000000..41bbefe5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/oracle.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/prodbig.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/prodbig.gif new file mode 100644 index 00000000..77463d59 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/prodbig.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/prodicon.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/prodicon.gif new file mode 100644 index 00000000..cf988e91 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/prodicon.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/rarrow.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/rarrow.gif new file mode 100644 index 00000000..fa3f5159 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/rarrow.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/rightnav.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/rightnav.gif new file mode 100644 index 00000000..467b1074 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/rightnav.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/toc.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/toc.gif new file mode 100644 index 00000000..e4836e61 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/toc.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/topnav.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/topnav.gif new file mode 100644 index 00000000..c234730b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/topnav.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/uarrow.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/uarrow.gif new file mode 100644 index 00000000..90732148 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/gifs/uarrow.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/html/cpyr.htm b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/html/cpyr.htm new file mode 100644 index 00000000..6c8ab5a5 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/dcommon/html/cpyr.htm @@ -0,0 +1,66 @@ + + + + +Oracle Legal Notices + + + +

Oracle Legal Notices

+ +

Copyright Notice

+

Copyright © 1994-2014, Oracle and/or its affiliates. All rights reserved.

+ +

License Restrictions Warranty/Consequential Damages Disclaimer

+

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

+ +

Warranty Disclaimer

+

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

+ +

Restricted Rights Notice

+

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:

+

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

+ +

Hazardous Applications Notice

+

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

+ +

Trademark Notice

+

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

+

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

+ +

Third-Party Content, Products, and Services Disclaimer

+

This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

+ +

Alpha and Beta Draft Documentation Notice

+

If this document is in preproduction status:

+

This documentation is in preproduction status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.

+ +

Private Alpha and Beta Draft Documentation Notice

+

If this document is in private preproduction status:

+

The information contained in this document is for +informational sharing purposes only and should be considered in your +capacity as a customer advisory board member or pursuant to your beta +trial agreement only. It is not a commitment to deliver any material, +code, or functionality, and should not be relied upon in making +purchasing decisions. The development, release, and timing of any +features or functionality described in this document remains at the +sole discretion of Oracle.

+

This document in any form, software or printed matter, contains proprietary information that is the exclusive property +of Oracle. Your access to and use of this confidential material is +subject to the terms and conditions of your Oracle Master Agreement, Oracle License and Services Agreement, Oracle PartnerNetwork Agreement, Oracle distribution agreement, or other license agreement which has been executed by you and Oracle and with which you agree to +comply. This document and information contained herein may not be +disclosed, copied, reproduced, or distributed to anyone outside Oracle +without prior written consent of Oracle. This document is not part of +your license agreement nor can it be incorporated into any contractual +agreement with Oracle or its subsidiaries or affiliates.

+ +

Documentation Accessibility

+

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.

+

Access to Oracle Support

+

Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

+ + +

Oracle Logo

+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/olh.htm b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/olh.htm new file mode 100644 index 00000000..c3cf95c3 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/olh.htm @@ -0,0 +1,56 @@ + + + + + + +JMX Console Triggers Tab + + + + + + + + + + + + + + + + + +++ + + + + +
Previous
+Previous
 
Next
+Next
+
+

JMX Console Triggers Tab

+ +

This document contains the online help topics for the Triggers tab in the JMX Console of Java Mission Control.

+ + +
+ + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/olh001.htm b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/olh001.htm new file mode 100644 index 00000000..e9559f6c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/olh001.htm @@ -0,0 +1,185 @@ + + + + + + +Using the Triggers Tab + + + + + + + + + + + + + + + + +++ + + + +
Previous
+Previous
 
+
+

Using the Triggers Tab

+ +

The Triggers tab allows you to manage rules that trigger events when a certain condition is met. This is useful for tracking runtime issues without having to constantly monitor the application.

+

The Triggers tab is divided into the following panels:

+
    +
  • +

    Trigger Rules: Lists all existing rules and lets you add, rename, delete, import, export rules, reset back to the default set of rules, activate and deactivate rules.

    +
  • +
  • +

    Rule Details: When you select a rule, this panel displays the following subtabs:

    +
      +
    • +

      Condition: Select the attribute and value on which the rule should trigger.

      +
    • +
    • +

      Action: Select the event that should be triggered by the rule.

      +
    • +
    • +

      Constraints: Select the time constraints for when the rule should be active.

      +
    • +
    +
  • +
+
+

Working with Trigger Rules

+

Rules displayed in grey are not available in the monitored JVM. By default, all rules are deactivated. To activate a rule, select the check box next to it.

+

To add a new trigger rule:

+
    +
  1. +

    Click Add on the Trigger Rules panel.

    +
  2. +
  3. +

    At the first step of the Add New Rule Wizard, select the attribute on which the rule should trigger. Click Next.

    +
  4. +
  5. +

    Set the condition on which the rule should trigger. This step contains the following settings:

    +
      +
    • +

      Max trigger value (for numeric attributes) or Match string (for non-numeric attributes): Specify the maximum value or the matching string for the selected attribute for which the rule should trigger.

      +
    • +
    • +

      Sustained time: Specify the duration (in seconds) for which the condition must stay true before the rule is triggered.

      +
    • +
    • +

      Limit period: Specify the minimum amount of time (in seconds) that should pass before the rule can be triggered subsequently.

      +
    • +
    • +

      Trigger when condition is met: Select whether to trigger the rule when the condition is met. For example, if the trigger value is set to 100, the rule will be triggered when the value changes from less than 100 to 100 or more.

      +
    • +
    • +

      Trigger when recovering from condition: Select whether to trigger the rule when the condition is no longer met. For example, if the trigger value is set to 100, the rule will be triggered when the value changes from 100 or more to less than 100.

      +
    • +
    +

    Click Next.

    +
  6. +
  7. +

    Select the action you want to occur when the rule triggers. Depending on the action, you may have to provide additional data. The following actions are available:

    +
      +
    • +

      Application Alert: Displays an alert dialog in Java Mission Control.

      +
    • +
    • +

      Console Output: Sends a notification to the standard output (stdout) of the console (command prompt) from which the JMX Console was started.

      +
    • +
    • +

      Dump Flight Recording: Dumps whatever data is available in a flight recording for the last specified time period (in seconds) to a JFR file.

      +
    • +
    • +

      HPROF Dump: Initiates a memory dump to the specified HPROF file.

      +
    • +
    • +

      Invoke Diagnostic Command: Invokes the specified diagnostic command and logs output to the specified LOG file by appending or overwriting the results.

      +
    • +
    • +

      Log to file: Writes a notification to the specified TXT log file.

      +
    • +
    • +

      Send Email: Sends a notification by email. You can configure the SMTP server address and port, the recipients and sender for the email, and provide SSL credentials if secure connection is necessary.

      +
    • +
    • +

      Start Continuous Flight Recording: Starts a continuous flight recording.

      +
    • +
    • +

      Start Time Limited Flight Recording: Starts a flight recording that will dump the results to a JFR file after the specified time period (in seconds).

      +
    • +
    +

    Click Next to continue, or Finish to add the rule as it is.

    +
  8. +
  9. +

    (Optional) Select the time constraints if you want the rule to be active only on specific dates, days of the week, or time of day. Click Next.

    +
  10. +
  11. +

    (Optional) Select the group to which the rule should belong to or specify a new group. Specify the name for the rule and a detailed description.

    +

    You can go back to any previous step in the wizard to modify any of the settings. Click Finish to add the rule to the list.

    +
  12. +
+

To edit a rule, select it in the Trigger Rules panel. The Rule Details panel to the right displays three subtabs with the attribute and value on which the rule should trigger, action that is triggered by the rule, and time constraints for when you want the rule to be active.

+

To rename a rule, select it in the Trigger Rules panel and click Rename. Then provide a new name for the rule and click OK.

+

If you do not want the rule to trigger, you can deactivate it by deselecting the check box near the rule in the Trigger Rules panel. However, if you are sure you will never use the rule again, you can remove it from the list completely by selecting it and clicking Delete.

+

To export a set of rules to an XML file, click Export in the Trigger Rules panel. Then select the rules you want to export, specify the file name, and click OK. To import a set of rules from an XML file, click Import in the Trigger Rules panel, select the file and click OK.

+

To reset back to the default set of rules, click Reset in the Trigger Rules panel and confirm. This will overwrite all the rules and replace them with the default set.

+
+ +
+

Viewing Application Alerts

+

Every time an active rule with the Application Alert action is triggered, the corresponding alert is added to the Trigger Alerts window. The list of triggered application alerts is reset every time you restart Java Mission Control.

+

To open the Trigger Alerts window, do one of the following:

+
    +
  • +

    Open the Window menu and select Alerts.

    +
  • +
  • +

    Connect the JMX Console to any JVM, open the Triggers tab, and click Alerts.

    +
  • +
+

The Trigger Alerts window lists all application alerts that have been triggered for a JVM since Java Mission Control was started and connected to the JVM. The list of alerts contains the following columns:

+
    +
  • +

    Date: The date when the alert was triggered.

    +
  • +
  • +

    Time: The time when the alert was triggered.

    +
  • +
  • +

    Rule: The name of the rule that triggered the alert.

    +
  • +
  • +

    Source: The name of the JVM connection for which the alert was triggered as displayed in the JVM Browser. For remote JVM connections, this field contains the IP address and port number.

    +
  • +
+

When you select an alert in the list, its details are displayed in the field under the list. Different information is displayed depending on the selected action event.

+

Use the Show dialog on alerts check box to toggle whether you want the Trigger Alerts window to open whenever an application alert is triggered.

+

To clear the list of triggered application alerts, click Clear. Alternatively, the list is cleared whenever you restart Java Mission Control.

+
+
+ + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/preface.htm b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/preface.htm new file mode 100644 index 00000000..1092dc7f --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/preface.htm @@ -0,0 +1,106 @@ + + + + + + +Preface + + + + + + + + + + + + + + + + + +++ + + + + +
Previous
+Previous
 
Next
+Next
+
+

Preface

+

This document contains the online help topics for JMX Console Triggers Tab.

+
+

Audience

+

This document is intended for Java developers and support engineers who need an introduction to the functionality and architecture of Java Mission Control. It assumes that the reader has basic knowledge of the Java programming language.

+
+ +
+

Documentation Accessibility

+

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.

+ +

Access to Oracle Support

+

Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

+
+ +
+

Related Documents

+

For information about using Java Mission Control, refer to the online help included with the product. You can view it by pressing F1 when working with the Java Mission Control client, or by clicking one of the question mark buttons located on most windows in the graphical user interface (GUI).

+

For information about Java Flight Recorder (JFR), see the Java Flight Recorder Runtime Guide at http://docs.oracle.com/javacomponents/jmc.htm.

+
+ +
+

Conventions

+

The following text conventions are used in this document:

+
+ +++ + + + + + + + + + + + + + + + + + + + +
ConventionMeaning
boldfaceBoldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary.
italicItalic type indicates book titles, emphasis, or placeholder variables for which you supply particular values.
monospaceMonospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.
+
+
+
+ + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/title.htm b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/title.htm new file mode 100644 index 00000000..f78306d6 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/html/title.htm @@ -0,0 +1,67 @@ + + + + + + +Java Mission Control JMX Console Triggers Tab Online Help, Release 5.5 + + + + + + + + + + + + + + + + +++ + + + +
Next
+Next
+

Java Mission Control

+

+

JMX Console Triggers Tab Online Help

+

Release 5.5

+

E21585-06

+

March 2015

+

Contains the online help topics for JMX Console Triggers Tab.

+

+
+

Java Mission Control JMX Console Triggers Tab Online Help, Release 5.5

+

E21585-06

+

Copyright © 1999, 2015, Oracle and/or its affiliates. All rights reserved.

+

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

+

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

+

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:

+

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

+

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

+

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

+

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

+

This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

+ + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/alert_obj.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/alert_obj.png new file mode 100644 index 00000000..ef329be8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/alert_obj.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/file_obj.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/file_obj.gif new file mode 100644 index 00000000..7ccc6a70 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/file_obj.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/flight_recorder.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/flight_recorder.png new file mode 100644 index 00000000..72d80ef8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/flight_recorder.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/new-trigger-wiz.gif b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/new-trigger-wiz.gif new file mode 100644 index 00000000..0b03bdc8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/icons/new-trigger-wiz.gif differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/notification_plugin.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/notification_plugin.jar new file mode 100644 index 00000000..b9f2bc46 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/notification_plugin.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/plugin.properties b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/plugin.properties new file mode 100644 index 00000000..5788526a --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/plugin.properties @@ -0,0 +1,26 @@ +TAB_TRIGGER_NAME=Triggers +TRIGGER_RULES=Trigger Rules +TRIGGER_ACTION_DUMP_JFR_DESCRIPTION=This action will dump flight recorder data to a local file and then attempt to open it. This action only works when connected to JDK 7u4 or later JVMs and when at least one recording is active. +TRIGGER_ACTION_DUMP_JFR_NAME=Dump Flight Recording +TRIGGER_ACTION_DUMP_JFR_FILE_DESCRIPTION=This is the destination to which you want to download the Flight Recorder dump. +TRIGGER_ACTION_DUMP_JFR_FILE=File +TRIGGER_ACTION_DUMP_JFR_TIMERANGE_LABEL=Time +TRIGGER_ACTION_DUMP_JFR_TIMERANGE_DESCRIPTION=This is how far back you want to get data for. Normally a minute or so should provide enough information. +TRIGGER_ACTION_DUMP_JFR_OPEN_LABEL=Open automatically +TRIGGER_ACTION_DUMP_JFR_OPEN_DESCRIPTION=Enable if you want the flight recording to be opened automatically after it has been dumped. + +TRIGGER_ACTION_START_CONT_JFR_DESCRIPTION=This action will start a continuous flight recording. This action only works when connected to Java 7u4 or later JVMs. +TRIGGER_ACTION_START_CONT_JFR_NAME=Start Continuous Flight Recording +TRIGGER_ACTION_START_CONT_JFR_NAME_DESCRIPTION=This is the name of the recording. +TRIGGER_ACTION_START_CONT_JFR_NAME_LABEL=Recording + +TRIGGER_ACTION_START_TIME_JFR_DESCRIPTION=This action will start a time limited flight recording. This action only works when connected to Java 7u4 or later JVMs. +TRIGGER_ACTION_START_TIME_JFR_NAME=Start Time Limited Flight Recording +TRIGGER_ACTION_START_TIME_JFR_NAME_DESCRIPTION=This is the name of the recording. +TRIGGER_ACTION_START_TIME_JFR_NAME_LABEL=Recording +TRIGGER_ACTION_START_TIME_JFR_FILE_DESCRIPTION=This is the destination to which you want to download the Flight Recorder dump. +TRIGGER_ACTION_START_TIME_JFR_FILE=File +TRIGGER_ACTION_START_TIME_JFR_TIMERANGE_LABEL=Time +TRIGGER_ACTION_START_TIME_JFR_TIMERANGE_DESCRIPTION=This is how long you want the flight recording to be. +TRIGGER_ACTION_START_TIME_JFR_OPEN_LABEL=Open automatically +TRIGGER_ACTION_START_TIME_JFR_OPEN_DESCRIPTION=Enable if you want the flight recording to be opened automatically when it is finished. diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/plugin.xml b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/plugin.xml new file mode 100644 index 00000000..22a6dbf5 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/plugin.xml @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/toc.xml b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/toc.xml new file mode 100644 index 00000000..f8d0c8e8 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification_5.5.0.165303/toc.xml @@ -0,0 +1,18 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..841bdb70 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui_5.5.0.165303.jar new file mode 100644 index 00000000..c4ad0e00 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.console.ui_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.core_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.core_5.5.0.165303.jar new file mode 100644 index 00000000..d43e47ad Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.core_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs.ja_5.5.0.165303.jar new file mode 100644 index 00000000..d379461d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..20f1851d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs_5.5.0.165303.jar new file mode 100644 index 00000000..105bddeb Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.docs_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.configuration_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.configuration_5.5.0.165303.jar new file mode 100644 index 00000000..726c9180 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.configuration_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.configuration_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.configuration_5.5.0.165303.jar new file mode 100644 index 00000000..c4cce34f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.configuration_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.ja_5.5.0.165303.jar new file mode 100644 index 00000000..8ed40123 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..6ae1909f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui_5.5.0.165303.jar new file mode 100644 index 00000000..affd7df9 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui.ja_5.5.0.165303.jar new file mode 100644 index 00000000..725632f7 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..c4ec9910 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui_5.5.0.165303.jar new file mode 100644 index 00000000..ad9647fa Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder_5.5.0.165303.jar new file mode 100644 index 00000000..2d649dc9 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui.ja_5.5.0.165303.jar new file mode 100644 index 00000000..edc1c73b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..7101dbc6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui_5.5.0.165303.jar new file mode 100644 index 00000000..1cd955c1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychartplugin_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychartplugin_5.5.0.165303.jar new file mode 100644 index 00000000..d53b41e0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.greychartplugin_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.jdp_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.jdp_5.5.0.165303.jar new file mode 100644 index 00000000..7c1c3e2b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.jdp_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.p2.ui.overridden_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.p2.ui.overridden_5.5.0.165303.jar new file mode 100644 index 00000000..c4ccf117 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.p2.ui.overridden_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application.ja_5.5.0.165303.jar new file mode 100644 index 00000000..afed7e64 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..9a7625a0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application_5.5.0.165303.jar new file mode 100644 index 00000000..eb3f91b5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro.ja_5.5.0.165303.jar new file mode 100644 index 00000000..5d98eef6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..f9c064a5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro_5.5.0.165303.jar new file mode 100644 index 00000000..f82a8710 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rcp.intro_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ext_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ext_5.5.0.165303.jar new file mode 100644 index 00000000..ece87a90 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ext_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ja_5.5.0.165303.jar new file mode 100644 index 00000000..878f33b3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui.ja_5.5.0.165303.jar new file mode 100644 index 00000000..795c0e62 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..20474036 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui_5.5.0.165303.jar new file mode 100644 index 00000000..604a31df Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..9f8db121 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/META-INF/MANIFEST.MF new file mode 100644 index 00000000..1dd10460 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/META-INF/MANIFEST.MF @@ -0,0 +1,61 @@ +Manifest-Version: 1.0 +Ant-Version: Apache Ant 1.9.2 +Created-By: 1.6.0_45-b06 (Sun Microsystems Inc.) +Export-Package: com.jrockit.mc.rjmx,com.jrockit.mc.rjmx.model,com.jroc + kit.mc.rjmx.model.internal; x-friends:="com.jrockit.mc.browser",com.j + rockit.mc.rjmx.actionprovider,com.jrockit.mc.rjmx.descriptorprovider, + com.jrockit.mc.rjmx.internal; x-friends:="com.jrockit.mc.console.ui, + com.jrockit.mc.browser.jdp, com.jrockit.mc.console.ui.notification, + com.jrockit.mc.console.historicaldata, com.jrockit.mc.rcp.applicat + ion, com.jrockit.mc.test, com.jrockit.mc.browser, com.jrockit.mc.b + rowser.attach, com.jrockit.mc.license.test, com.jrockit.mc.flightre + corder.controlpanel.ui, com.jrockit.mc.dtrace.ui",com.jrockit.mc.rjm + x.model; x-friends:="com.jrockit.mc.console.ui, com.jrockit.mc.brows + er.jdp, com.jrockit.mc.console.ui.notification, com.jrockit.mc.cons + ole.historicaldata, com.jrockit.mc.rcp.application, com.jrockit.mc. + test, com.jrockit.mc.browser, com.jrockit.mc.browser.attach, com.j + rockit.mc.license.test, com.jrockit.mc.flightrecorder.controlpanel.u + i, com.jrockit.mc.dtrace.ui",com.jrockit.mc.rjmx.persistence.interna + l; x-friends:="com.jrockit.mc.console.headless, com.jrockit.mc.conso + le.historicaldata, com.jrockit.mc.console.ui, com.jrockit.mc.rjmx.u + i",com.jrockit.mc.rjmx.preferences; x-friends:="com.jrockit.mc.browse + r, com.jrockit.mc.console.headless, com.jrockit.mc.console.ui, com + .jrockit.mc.jra.ui, com.jrockit.mc.console.historicaldata, com.jroc + kit.mc.rjmx.ui",com.jrockit.mc.rjmx.services,com.jrockit.mc.rjmx.serv + ices.flr,com.jrockit.mc.rjmx.subscription,com.jrockit.mc.rjmx.subscri + ption.internal; x-friends:="com.jrockit.mc.console.ext.coherence, co + m.jrockit.mc.console.historicaldata, com.jrockit.mc.console.internal + .subscriptions, com.jrockit.mc.console.ui, com.jrockit.mc.console.u + i.mbeanbrowser, com.jrockit.mc.rjmx.ui, com.jrockit.mc.test",com.jr + ockit.mc.rjmx.subscription.storage.internal; x-friends:="com.jrockit. + mc.console.ui, com.jrockit.mc.console.headless, com.jrockit.mc.rjmx + .services, com.jrockit.mc.rjmx.ui",com.jrockit.mc.rjmx.triggers,com. + jrockit.mc.rjmx.triggers.actions.internal;x-friends:="com.jrockit.mc. + console.ui.notification",com.jrockit.mc.rjmx.triggers.condition.inter + nal;x-friends:="com.jrockit.mc.console.ui.notification,com.jrockit.mc + .test.jemmy",com.jrockit.mc.rjmx.triggers.extension.internal;x-friend + s:="com.jrockit.mc.console.ui.notification,com.jrockit.mc.alert",com. + jrockit.mc.rjmx.triggers.fields.internal,com.jrockit.mc.rjmx.triggers + .internal; x-friends:="com.jrockit.mc.alert, com.jrockit.mc.console. + ui.notification, com.jrockit.mc.twitter, com.jrockit.mc.console.act + ion.hprof",com.jrockit.mc.rjmx.util.internal; x-friends:="com.jrockit + .mc.console.ui.mbeanbrowser, com.jrockit.mc.flightrecorder.ui, com. + jrockit.mc.flightrecorder.controlpanel.ui, com.jrockit.mc.console.ui + , com.jrockit.mc.browser, com.jrockit.mc.rjmx.ui, com.jrockit.mc.d + trace.ui",javax.mail,javax.mail.event,javax.mail.internet,javax.mail. + search +Bundle-ActivationPolicy: lazy +Bundle-ClassPath: rjmx.jar,lib/dsn.jar,lib/gimap.jar,lib/imap.jar,lib/ + mailapi.jar,lib/pop3.jar,lib/smtp.jar +Bundle-Name: RJMX Plug-in +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Require-Bundle: com.jrockit.mc.core;visibility:="reexport";bundle-vers + ion="[5.5.0,6.0.0)",com.jrockit.mc.commands;bundle-version="[5.5.0,6. + 0.0)" +Bundle-Vendor: Oracle +Bundle-Version: 5.5.0.165303 +Bundle-ManifestVersion: 2 +Bundle-Activator: com.jrockit.mc.rjmx.RJMXPlugin +Bundle-SymbolicName: com.jrockit.mc.rjmx;singleton:=true + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/console_view.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/console_view.png new file mode 100644 index 00000000..4d2c12ed Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/console_view.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/date-span-16.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/date-span-16.png new file mode 100644 index 00000000..fa5b4c89 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/date-span-16.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/day-of-week-16.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/day-of-week-16.png new file mode 100644 index 00000000..15872197 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/day-of-week-16.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/diagnostic-command-16.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/diagnostic-command-16.png new file mode 100644 index 00000000..c829fa48 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/diagnostic-command-16.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/hprof-16.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/hprof-16.png new file mode 100644 index 00000000..37d7be6a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/hprof-16.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/send-email-16.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/send-email-16.png new file mode 100644 index 00000000..1ca432e5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/send-email-16.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/time-span-16.png b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/time-span-16.png new file mode 100644 index 00000000..6303f3a5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/icons/time-span-16.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/dsn.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/dsn.jar new file mode 100644 index 00000000..ab664481 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/dsn.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/gimap.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/gimap.jar new file mode 100644 index 00000000..9bbed70b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/gimap.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/imap.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/imap.jar new file mode 100644 index 00000000..897cfce0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/imap.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/mailapi.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/mailapi.jar new file mode 100644 index 00000000..befb282f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/mailapi.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/pop3.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/pop3.jar new file mode 100644 index 00000000..26a92ff3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/pop3.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/smtp.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/smtp.jar new file mode 100644 index 00000000..243a2e0b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/lib/smtp.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/plugin.properties b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/plugin.properties new file mode 100644 index 00000000..34f9cb66 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/plugin.properties @@ -0,0 +1,67 @@ +TAB_TRIGGER_NAME=Triggers +TRIGGER_ACTION_DIGEST_NAME=Send e-mail digests +TRIGGER_ACTION_DIGEST_REPORT_INTERVAL=The interval between digests (minutes) +TRIGGER_ACTION_DIGEST_DESCRIPTION=E-mails digests of triggered events at specific intervals using the settings below. +TRIGGER_ACTION_EMAIL_NAME=Send e-mail +TRIGGER_ACTION_EMAIL_DESCRIPTION=E-mails the triggered event using the settings below. +TRIGGER_ACTION_EMAIL_SENDER_LABEL=From +TRIGGER_ACTION_EMAIL_SENDER_DESCRIPTION=The e-mail address of the sender (in the from field). +TRIGGER_ACTION_EMAIL_RECEIVER_DESCRIPTION=The e-mail address of the recipient (in the to field). +TRIGGER_ACTION_EMAIL_RECEIVER_LABEL=To +TRIGGER_ACTION_EMAIL_CC_LABEL=CC +TRIGGER_ACTION_EMAIL_CC_DESCRIPTION=The e-mail address of the carbon copy recipient (the cc field). +TRIGGER_ACTION_EMAIL_BCC_LABEL=BCC +TRIGGER_ACTION_EMAIL_BCC_DESCRIPTION=The e-mail address of the blind carbon copy recipient (the bcc field). +TRIGGER_ACTION_SYSTEM_OUT_NAME=Console output +TRIGGER_ACTION_SYSTEM_OUT_DESCRIPTION=Prints the notification event on console (system out). Only visible if the JMX Console has been started from a console. +TRIGGER_ACTION_DIAGNOSTIC_COMMAND_NAME=Invoke Diagnostic Command +TRIGGER_ACTION_DIAGNOSTIC_COMMAND_DESCRIPTION=Invokes the specified command and logs any output to the specified log file. +TRIGGER_ACTION_DIAGNOSTIC_COMMAND_LOG_FILE_NAME=Log file +TRIGGER_ACTION_DIAGNOSTIC_COMMAND_LOG_FILE_DESCRIPTION=This is the path to the log file where the result will be stored. This action will fail if the file specified is not writable from the process. +TRIGGER_ACTION_DIAGNOSTIC_COMMAND_COMMAND_NAME=Command +TRIGGER_ACTION_DIAGNOSTIC_COMMAND_COMMAND_DESCRIPTION=The diagnostic command to execute. +TRIGGER_ACTION_DIAGNOSTIC_COMMAND_APPEND_NAME=Append results to log file +TRIGGER_ACTION_DIAGNOSTIC_COMMAND_APPEND_DESCRIPTION=Check this to append the results in the existing file. Uncheck to overwrite the file each time the rule triggers. +TRIGGER_ACTION_HPROF_NAME=HPROF Dump +TRIGGER_ACTION_HPROF_DESCRIPTION=Action that initiates a server side memory dump in the hprof file format. +TRIGGER_ACTION_HPROF_ONLY_LIVE_DESCRIPTION=Only dump live objects, i.e. objects that are reachable? +TRIGGER_ACTION_HPROF_ONLY_LIVE_NAME=Only live +TRIGGER_ACTION_HPROF_FILENAME_DESCRIPTION=The file name of the resulting hprof dump. +TRIGGER_ACTION_HPROF_FILENAME_NAME=Server file system path +TRIGGER_ACTION_LOG_TO_FILE_NAME=Log to file +TRIGGER_ACTION_LOG_TO_FILE_DESCRIPTION=Actions that prints a notification to a file. +TRIGGER_ACTION_LOG_TO_FILE_FILENAME_DESCRIPTION=The name of the file. +TRIGGER_ACTION_LOG_TO_FILE_FILENAME_NAME=File name + +TRIGGER_CONSTRAINT_DATE_RANGE_NAME=Date span +TRIGGER_CONSTRAINT_DATE_RANGE_DESCRIPTION=This constraint allows notification only if the issue date of the event is within the date range (inclusive). +TRIGGER_CONSTRAINT_DATE_RANGE_FROM_LABEL=From +TRIGGER_CONSTRAINT_DATE_RANGE_FROM_DESCRIPTION=Start date. +TRIGGER_CONSTRAINT_DATE_RANGE_TO_LABEL=To +TRIGGER_CONSTRAINT_DATE_RANGE_TO_DESCRIPTION=End date. +TRIGGER_CONSTRAINT_TIME_RANGE_NAME=Time span +TRIGGER_CONSTRAINT_TIME_RANGE_DESCRIPTION=This constraint allows notification only if the issue time of the event was within the time boundary (inclusive). +TRIGGER_CONSTRAINT_TIME_RANGE_FROM_LABEL=From +TRIGGER_CONSTRAINT_TIME_RANGE_FROM_DESCRIPTION=Start time. +TRIGGER_CONSTRAINT_TIME_RANGE_TO_LABEL=To +TRIGGER_CONSTRAINT_TIME_RANGE_TO_DESCRIPTION=End time. +TRIGGER_CONSTRAINT_DAY_OF_WEEK_NAME=Day of week +TRIGGER_CONSTRAINT_DAY_OF_WEEK_DESCRIPTION=This constraint allows notification only if the issue day of the event is one of the allowed days. +TRIGGER_CONSTRAINT_DAY_OF_WEEK_MONDAY_LABEL=Monday +TRIGGER_CONSTRAINT_DAY_OF_WEEK_TUESDAY_LABEL=Tuesday +TRIGGER_CONSTRAINT_DAY_OF_WEEK_WEDNESDAY_LABEL=Wednesday +TRIGGER_CONSTRAINT_DAY_OF_WEEK_THURSDAY_LABEL=Thursday +TRIGGER_CONSTRAINT_DAY_OF_WEEK_FRIDAY_LABEL=Friday +TRIGGER_CONSTRAINT_DAY_OF_WEEK_SATURDAY_LABEL=Saturday +TRIGGER_CONSTRAINT_DAY_OF_WEEK_SUNDAY_LABEL=Sunday + +# {0} is an attribute's display name (like "JVM CPU Usage" for java.lang:type=OperatingSysten/ProcessCPULoad) +DELTA_TRANSFORMATION_DISPLAY_NAME={0} (delta) +DELTA_TRANSFORMATION_VISUALIZATION_LABEL=Visualize delta... +DIFFERENCE_TRANSFORMATION_DISPLAY_NAME={0} (difference) +DIFFERENCE_TRANSFORMATION_VISUALIZATION_LABEL=Visualize difference... +RATE_TRANSFORMATION_DISPLAY_NAME={0} (rate per second) +RATE_TRANSFORMATION_VISUALIZATION_LABEL=Visualize rate per second... +# the first {0} is escaped for later insertion of attribute's display name, the second {0} is a number of maximum number of samples used +AVERAGE_TRANSFORMATION_DISPLAY_NAME='{0}' (average over {0} samples) +AVERAGE_TRANSFORMATION_VISUALIZATION_LABEL=Visualize average... diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/plugin.xml b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/plugin.xml new file mode 100644 index 00000000..023ef69b --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/plugin.xml @@ -0,0 +1,516 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/rjmx.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/rjmx.jar new file mode 100644 index 00000000..8cd08e25 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/rjmx.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.actionProvider.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.actionProvider.exsd new file mode 100644 index 00000000..4fdf1fd7 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.actionProvider.exsd @@ -0,0 +1,236 @@ + + + + + + + + + Extension point for registering actions that will be linked to server handles. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5.2.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.attributeTransformation.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.attributeTransformation.exsd new file mode 100644 index 00000000..22e9dea0 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.attributeTransformation.exsd @@ -0,0 +1,150 @@ + + + + + + + + + This extension point is for providing transformation of MBean attributes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a synthetic attribute. + + + + + + + + + + + The name of the transformation type. + + + + + + + + + + The description of this transformation. + + + + + + + + + + The class which implements the attribute behaviour. + + + + + + + + + + + + + A property for the transformation. + + + + + + + The name of the property. + + + + + + + The value of the property. + + + + + + + + + + + + + + + + + + + + + + + 5.4.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.descriptorProvider.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.descriptorProvider.exsd new file mode 100644 index 00000000..abd43655 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.descriptorProvider.exsd @@ -0,0 +1,86 @@ + + + + + + + + + Provides descriptors for the browser. Used for different types of autodiscovery mechanisms, for instance locally discovered JVM processes and JDP. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5.2.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.metadataprovider.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.metadataprovider.exsd new file mode 100644 index 00000000..dc828ed3 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.metadataprovider.exsd @@ -0,0 +1,91 @@ + + + + + + + + + This extension is for extending the meta data for a plugin. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a MRI meta data provider service + + + + + + + The class which implements the MRI meta data provider. + + + + + + + + + + + + + + + 5.3.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.service.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.service.exsd new file mode 100644 index 00000000..be87dd17 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.service.exsd @@ -0,0 +1,100 @@ + + + + + + + + + This extension point adds a JMX service to an IConnectionHandle. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The factory which will be instantiating the services. + + + + + + + + + + The human readable service name. + + + + + + + A description of the service. + + + + + + + + + + + + 5.0.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.syntheticattribute.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.syntheticattribute.exsd new file mode 100644 index 00000000..91f577cc --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.syntheticattribute.exsd @@ -0,0 +1,230 @@ + + + + + + + + + This extension point is for extending what is visible through the client side MBean connection. This allows for the standardized widgets and tools to pick up data attribute synthesized client side. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a synthetic attribute. + + + + + + + + + + The class which implements the attribute behaviour. + + + + + + + + + + The class name of the objects that are returned for this attribute. + + + + + + + Whether this attribute can be written or not. + + + + + + + Whether this attribute can be read or not. + + + + + + + True if the getter should be an is instead of a get (mostly only makes sense for boolean attributes). + + + + + + + The object name + attributeName (on the form objectName#attributeName) under which this attribute will be exposed. + + + + + + + The description of this attribute. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Properties propagated to the instance of a synthetic attribute. + + + + + + + + + + + + + + + + + + + + 5.0.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.syntheticnotification.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.syntheticnotification.exsd new file mode 100644 index 00000000..4f7951a3 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/com.jrockit.mc.rjmx.syntheticnotification.exsd @@ -0,0 +1,114 @@ + + + + + + + + + This extension point is for extending what is visible through the client side MBean connection. This allows for the standardized widgets and tools to pick up data notifications synthesized client side. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The class which implements the notification behaviour. + + + + + + + + + + The class name of the objects that are returned for this notification. + + + + + + + The name of the notification (on the form objectName/notificationName). This is used for the metadata to be exposed by the mbean server connection. + + + + + + + The description of this notification. + + + + + + + The (optional) string message for the notification. + + + + + + + + + + + + 5.3.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerActionExceptionHandlers.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerActionExceptionHandlers.exsd new file mode 100644 index 00000000..f23564c4 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerActionExceptionHandlers.exsd @@ -0,0 +1,86 @@ + + + + + + + + + Extension point for adding exception handlers that are called when a trigger problem occurs. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The exception handler to be invoked whenever a problem occurs in an action. + + + + + + + + + + + + + + + 5.2.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerActions.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerActions.exsd new file mode 100644 index 00000000..675f8a53 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerActions.exsd @@ -0,0 +1,663 @@ + + + + + + + + + This extension point is used to add new trigger actions to the JMX Console. + + + + + + + + + + A trigger action must have an id, name, description and a class that extends <code>com.jrockit.mc.rjmx.triggers.TriggerAction </code>. + +It may also define settings of various types(string, file, boolean, integer, date or time) that can be configured in the JMX Console user interface. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a unique identifier for this action. + + + + + + + the name of the action + + + + + + + + + + the description of the action + + + + + + + + + + the icon for the action + + + + + + + + + + class that extends <code>com.jrockit.mc.rjmx.triggers.TriggerAction</code> and that implements the method <code>handleNotificationEvent(NotificationEvent e)</code> that will execute when a trigger is triggered. + + + + + + + + + + + + + Date setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + Time setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + Time range setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value for this time range. If no unit is set, seconds will be assumed. + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + String setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + File setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + Boolean setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + Integer setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + the minimum allowed integer value for this setting + + + + + + + the maximum allowed integer value for this setting + + + + + + + + + + Float setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + the minimum allowed float value for this setting + + + + + + + the maximum allowed float value for this setting + + + + + + + + + + Password setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + + + 5.2.0 + + + + + + + + + <extension point="com.jrockit.mc.rjmx.triggerActions"> + <triggerAction + class="com.jrockit.example.triggers.actions.HelloAction" + description="Hello World Action" + icon="icons/console_view.png" + id="com.jrockit.example.triggers.HelloWorld" + name="Hello World"> + <string + id="com.jrockit.example.triggers.actions.user.name" + name="Your Name" + value="Mr X"> + </string> + </triggerAction> +</extension> + + +package com.jrockit.example.triggers.actions; + +import com.jrockit.mc.rjmx.triggers.TriggerAction; +import com.jrockit.mc.rjmx.triggers.TriggerEvent; + +public class HelloAction extends TriggerAction +{ + public void handleNotificationEvent(TriggerEvent e) + { + System.out.println("Hello " + getSetting("com.jrockit.example.triggers.actions.user.name").getString() +"! Trigger value is " + e.getTriggerValue()); + } +} + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerConstraints.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerConstraints.exsd new file mode 100644 index 00000000..dfae3766 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerConstraints.exsd @@ -0,0 +1,562 @@ + + + + + + + + + This extension point is used to add new trigger constraints to the JMX Console. + + + + + + + + + + A trigger constraint must have an id, name, description and a class that extends <code>com.jrockit.mc.rjmx.triggers.TriggerConstraint</code>. + +It may also define settings of various types(string, file, boolean, integer, date or time) that can be configured in the JMX Console user interface. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + the identifier for the constraint + + + + + + + the name for the constraint + + + + + + + + + + the icon for the constraint + + + + + + + + + + the description for the constraint + + + + + + + + + + class that extends <code>com.jrockit.mc.rjmx.triggers.TriggerConstraint</code> and that implements the method <code>validate(NotificationEvent e)</code> which accepts or rejects a notification event. + + + + + + + + + + + + + Date setting for a trigger constraint. + + + + + + + the identifier for the setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + Time setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + String setting for a trigger constraint. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + File setting for a trigger constraint. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + Boolean setting for a trigger constraint. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + + + + Integer setting for a trigger constraint. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + the minimum allowed integer value for this setting + + + + + + + the maximum allowed integer value for this setting + + + + + + + + + + Float setting for a trigger action. + + + + + + + a unique identifier for this setting + + + + + + + the name of the setting + + + + + + + + + + the description of the setting + + + + + + + + + + the default value + + + + + + + set to true if the default value should be fetched from the preference store for the RJMXPlugin using the id as a key. + + + + + + + the minimum allowed float value for this setting + + + + + + + the maximum allowed float value for this setting + + + + + + + + + + + + 5.0.0 + + + + + + + + + <pre> +<extension point="com.jrockit.mc.rjmx.triggerConstraints"> + <triggerConstraint + class="com.jrockit.example.triggers.constraints.DisablingConstraint" + description="This constraint will disable the rule, if the 'Disable rule' value is true. The event data of a particular event will not matter." + icon="icons/disablingconstraint.gif" + id="com.jrockit.example.triggers.HelloWorld" + name="Disabling constraint"> + <boolean + id="com.jrockit.example.triggers.constraint.disable.rule" + name="Disable rule"> + </boolean> + </triggerConstraint> +</extension> +</pre> + +<pre> +package com.jrockit.example.triggers.constraints; + +import com.jrockit.mc.rjmx.triggers.TriggerConstraint; +import com.jrockit.mc.rjmx.triggers.internal.NotificationEvent; + +public class DisablingConstraint extends TriggerConstraint { + public boolean isValid(NotificationEvent e) { + return !getSetting("com.jrockit.example.triggers.constraint.disable.rule").getBoolean(); + } +} +</pre> + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerEvaluators.exsd b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerEvaluators.exsd new file mode 100644 index 00000000..f2deaf1d --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.rjmx_5.5.0.165303/schema/triggerEvaluators.exsd @@ -0,0 +1,113 @@ + + + + + + + + + This extension point is used to add new trigger constraints to the JMX Console. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a unique identifier for this evaluator. + + + + + + + the name of the evaluator + + + + + + + + + + the description of the evaluator + + + + + + + + + + class that implements <code>com.jrockit.mc.rjmx.triggers.internal.IValueEvaluator</code> + + + + + + + + + + + + + + + 5.2.0 + + + + + + + + + + + + Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui.ja_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui.ja_5.5.0.165303.jar new file mode 100644 index 00000000..5277a73a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui.ja_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui.zh_CN_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui.zh_CN_5.5.0.165303.jar new file mode 100644 index 00000000..241e19e0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui.zh_CN_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui_5.5.0.165303.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui_5.5.0.165303.jar new file mode 100644 index 00000000..31a255df Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.jrockit.mc.ui_5.5.0.165303.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/com.sun.el_2.2.0.v201303151357.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/com.sun.el_2.2.0.v201303151357.jar new file mode 100644 index 00000000..3b0a7437 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/com.sun.el_2.2.0.v201303151357.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/javax.annotation_1.2.0.v201401042248.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.annotation_1.2.0.v201401042248.jar new file mode 100644 index 00000000..b2098dae Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.annotation_1.2.0.v201401042248.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/javax.el_2.2.0.v201303151357.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.el_2.2.0.v201303151357.jar new file mode 100644 index 00000000..a8f05d00 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.el_2.2.0.v201303151357.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/javax.inject_1.0.0.v20091030.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.inject_1.0.0.v20091030.jar new file mode 100644 index 00000000..992c6a12 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.inject_1.0.0.v20091030.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/javax.servlet.jsp_2.2.0.v201112011158.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.servlet.jsp_2.2.0.v201112011158.jar new file mode 100644 index 00000000..9ebeecb8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.servlet.jsp_2.2.0.v201112011158.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/javax.servlet_3.0.0.v201112011016.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.servlet_3.0.0.v201112011016.jar new file mode 100644 index 00000000..0db90f03 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.servlet_3.0.0.v201112011016.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/javax.xml_1.3.4.v201005080400.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.xml_1.3.4.v201005080400.jar new file mode 100644 index 00000000..7d1ade7b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/javax.xml_1.3.4.v201005080400.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.css_1.7.0.v201011041433.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.css_1.7.0.v201011041433.jar new file mode 100644 index 00000000..f5ab944d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.css_1.7.0.v201011041433.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.util.gui_1.7.0.v200903091627.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.util.gui_1.7.0.v200903091627.jar new file mode 100644 index 00000000..bac27440 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.util.gui_1.7.0.v200903091627.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.util_1.7.0.v201011041433.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.util_1.7.0.v201011041433.jar new file mode 100644 index 00000000..0d93f8f1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.batik.util_1.7.0.v201011041433.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.commons.codec_1.6.0.v201305230611.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.commons.codec_1.6.0.v201305230611.jar new file mode 100644 index 00000000..25c482e0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.commons.codec_1.6.0.v201305230611.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.commons.logging_1.1.1.v201101211721.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.commons.logging_1.1.1.v201101211721.jar new file mode 100644 index 00000000..0ca26ccb Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.commons.logging_1.1.1.v201101211721.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.command_0.10.0.v201209301215.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.command_0.10.0.v201209301215.jar new file mode 100644 index 00000000..7693f955 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.command_0.10.0.v201209301215.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar new file mode 100644 index 00000000..1d846cbe Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.shell_0.10.0.v201212101605.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.shell_0.10.0.v201212101605.jar new file mode 100644 index 00000000..773706de Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.felix.gogo.shell_0.10.0.v201212101605.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.httpcomponents.httpclient_4.2.6.v201311072007.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.httpcomponents.httpclient_4.2.6.v201311072007.jar new file mode 100644 index 00000000..9e076f26 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.httpcomponents.httpclient_4.2.6.v201311072007.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.httpcomponents.httpcore_4.2.5.v201311072007.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.httpcomponents.httpcore_4.2.5.v201311072007.jar new file mode 100644 index 00000000..ecce70b1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.httpcomponents.httpcore_4.2.5.v201311072007.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.jasper.glassfish_2.2.2.v201205150955.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.jasper.glassfish_2.2.2.v201205150955.jar new file mode 100644 index 00000000..f64a742a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.jasper.glassfish_2.2.2.v201205150955.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.lucene.analysis_3.5.0.v20120725-1805.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.lucene.analysis_3.5.0.v20120725-1805.jar new file mode 100644 index 00000000..1f970cb6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.lucene.analysis_3.5.0.v20120725-1805.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.lucene.core_3.5.0.v20120725-1805.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.lucene.core_3.5.0.v20120725-1805.jar new file mode 100644 index 00000000..329a96a0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.apache.lucene.core_3.5.0.v20120725-1805.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..02511f78 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..e9839fe7 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands_3.6.100.v20140528-1422.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands_3.6.100.v20140528-1422.jar new file mode 100644 index 00000000..858199fa Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.commands_3.6.100.v20140528-1422.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.contenttype_3.4.200.v20140207-1251.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.contenttype_3.4.200.v20140207-1251.jar new file mode 100644 index 00000000..7ca8921b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.contenttype_3.4.200.v20140207-1251.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..586d1368 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4a855abe Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans_1.2.200.v20140214-0004.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans_1.2.200.v20140214-0004.jar new file mode 100644 index 00000000..ddc7d054 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.beans_1.2.200.v20140214-0004.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..7824ba88 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..ed024c8c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..17795dc0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..63a67177 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable_1.4.1.v20140210-1835.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable_1.4.1.v20140210-1835.jar new file mode 100644 index 00000000..7e10b350 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable_1.4.1.v20140210-1835.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..bd5db248 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..22c3d5ac Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property_1.4.200.v20140214-0004.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property_1.4.200.v20140214-0004.jar new file mode 100644 index 00000000..c8d7e713 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding.property_1.4.200.v20140214-0004.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding_1.4.2.v20140729-1044.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding_1.4.2.v20140729-1044.jar new file mode 100644 index 00000000..49a595e0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.databinding_1.4.2.v20140729-1044.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.expressions_3.4.600.v20140128-0851.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.expressions_3.4.600.v20140128-0851.jar new file mode 100644 index 00000000..a30a252d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.expressions_3.4.600.v20140128-0851.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.filesystem_1.4.100.v20140514-1614.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.filesystem_1.4.100.v20140514-1614.jar new file mode 100644 index 00000000..13b5e17a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.filesystem_1.4.100.v20140514-1614.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.jobs_3.6.0.v20140424-0053.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.jobs_3.6.0.v20140424-0053.jar new file mode 100644 index 00000000..6a00d8da Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.jobs_3.6.0.v20140424-0053.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..aae7d341 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..90953188 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d254d05e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d82bb4c6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net_1.2.200.v20140124-2013.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net_1.2.200.v20140124-2013.jar new file mode 100644 index 00000000..29bf4185 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.net_1.2.200.v20140124-2013.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.resources_3.9.1.v20140825-1431.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.resources_3.9.1.v20140825-1431.jar new file mode 100644 index 00000000..c4cac5ac Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.resources_3.9.1.v20140825-1431.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.runtime_3.10.0.v20140318-2214.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.runtime_3.10.0.v20140318-2214.jar new file mode 100644 index 00000000..84732284 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.core.runtime_3.10.0.v20140318-2214.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..6adbcbdd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d79c999d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands_0.10.2.v20140424-2344.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands_0.10.2.v20140424-2344.jar new file mode 100644 index 00000000..ae6f6b62 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.commands_0.10.2.v20140424-2344.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.contexts_1.3.100.v20140407-1019.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.contexts_1.3.100.v20140407-1019.jar new file mode 100644 index 00000000..0294f89b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.contexts_1.3.100.v20140407-1019.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.di.extensions_0.12.0.v20140417-2033.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.di.extensions_0.12.0.v20140417-2033.jar new file mode 100644 index 00000000..8bebed8e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.di.extensions_0.12.0.v20140417-2033.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.di_1.4.0.v20140414-1837.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.di_1.4.0.v20140414-1837.jar new file mode 100644 index 00000000..0cbf6485 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.di_1.4.0.v20140414-1837.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.services_1.2.1.v20140808-1251.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.services_1.2.1.v20140808-1251.jar new file mode 100644 index 00000000..3ee26f4c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.core.services_1.2.1.v20140808-1251.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..0278d068 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..1f532403 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings_0.10.200.v20140424-2042.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings_0.10.200.v20140424-2042.jar new file mode 100644 index 00000000..279b953e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings_0.10.200.v20140424-2042.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..42361f5e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..85aaf65c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core_0.10.100.v20140424-2042.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core_0.10.100.v20140424-2042.jar new file mode 100644 index 00000000..79bce703 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.core_0.10.100.v20140424-2042.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..cec0d10f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..7aa9d34f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..da00c53e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..3ae5b2f6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.300.v20140424-2042.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.300.v20140424-2042.jar new file mode 100644 index 00000000..76864898 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.300.v20140424-2042.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt_0.11.101.v20140818-1343.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt_0.11.101.v20140818-1343.jar new file mode 100644 index 00000000..854811af Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt_0.11.101.v20140818-1343.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..9b0bfcd1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..53b1bdfb Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di_1.0.0.v20140328-2112.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di_1.0.0.v20140328-2112.jar new file mode 100644 index 00000000..bdecc6aa Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.di_1.0.0.v20140328-2112.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..24353b7b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d8e5e5cd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench_1.1.0.v20140512-1820.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench_1.1.0.v20140512-1820.jar new file mode 100644 index 00000000..3341e15b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench_1.1.0.v20140512-1820.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..c66f782e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..126d02a7 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services_1.1.0.v20140328-1925.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services_1.1.0.v20140328-1925.jar new file mode 100644 index 00000000..3b1a740f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.services_1.1.0.v20140328-1925.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..68a6c661 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..24576594 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets_1.0.0.v20140514-1823.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets_1.0.0.v20140514-1823.jar new file mode 100644 index 00000000..67a92901 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets_1.0.0.v20140514-1823.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..c1635948 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..7bac1db3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt_1.1.1.v20140903-0821.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt_1.1.1.v20140903-0821.jar new file mode 100644 index 00000000..add178d0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.addons.swt_1.1.1.v20140903-0821.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..8320106f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..3cb65c72 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..7898ad77 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4d3caae2 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt_0.12.1.v20140903-1023.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt_0.12.1.v20140903-1023.jar new file mode 100644 index 00000000..08f6e048 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt_0.12.1.v20140903-1023.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4ab1eabf Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..54d05b60 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt_0.12.100.v20140530-1436.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt_0.12.100.v20140530-1436.jar new file mode 100644 index 00000000..20e07985 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.swt_0.12.100.v20140530-1436.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..e64ef27b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..86a90455 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3_0.12.0.v20140227-2118.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3_0.12.0.v20140227-2118.jar new file mode 100644 index 00000000..e2d0c4e6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench3_0.12.0.v20140227-2118.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench_1.2.1.v20140901-1244.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench_1.2.1.v20140901-1244.jar new file mode 100644 index 00000000..54019eec Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench_1.2.1.v20140901-1244.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.filetransfer_5.0.0.v20140827-1444.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.filetransfer_5.0.0.v20140827-1444.jar new file mode 100644 index 00000000..7c8f2e61 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.filetransfer_5.0.0.v20140827-1444.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.identity_3.4.0.v20140827-1444.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.identity_3.4.0.v20140827-1444.jar new file mode 100644 index 00000000..a11f26ee Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.identity_3.4.0.v20140827-1444.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.httpclient4.ssl_1.0.0.v20140827-1444.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.httpclient4.ssl_1.0.0.v20140827-1444.jar new file mode 100644 index 00000000..1c6f2dfd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.httpclient4.ssl_1.0.0.v20140827-1444.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.httpclient4_1.0.800.v20140827-1444.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.httpclient4_1.0.800.v20140827-1444.jar new file mode 100644 index 00000000..0aa58bbb Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.httpclient4_1.0.800.v20140827-1444.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20140827-1444.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20140827-1444.jar new file mode 100644 index 00000000..85e2ae72 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20140827-1444.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer_3.2.200.v20140827-1444.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer_3.2.200.v20140827-1444.jar new file mode 100644 index 00000000..5d86c850 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer_3.2.200.v20140827-1444.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.ssl_1.1.0.v20140827-1444.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.ssl_1.1.0.v20140827-1444.jar new file mode 100644 index 00000000..17f9ceaf Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf.ssl_1.1.0.v20140827-1444.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf_3.4.0.v20140827-1444.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf_3.4.0.v20140827-1444.jar new file mode 100644 index 00000000..3fe9bba8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ecf_3.4.0.v20140827-1444.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.common_2.10.1.v20140901-1043.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.common_2.10.1.v20140901-1043.jar new file mode 100644 index 00000000..6177ae2d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.common_2.10.1.v20140901-1043.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore.change_2.10.0.v20140901-1043.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore.change_2.10.0.v20140901-1043.jar new file mode 100644 index 00000000..e89023f4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore.change_2.10.0.v20140901-1043.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore.xmi_2.10.1.v20140901-1043.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore.xmi_2.10.1.v20140901-1043.jar new file mode 100644 index 00000000..a148f23b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore.xmi_2.10.1.v20140901-1043.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore_2.10.1.v20140901-1043.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore_2.10.1.v20140901-1043.jar new file mode 100644 index 00000000..defc7809 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.emf.ecore_2.10.1.v20140901-1043.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.app_1.3.200.v20130910-1609.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.app_1.3.200.v20130910-1609.jar new file mode 100644 index 00000000..f40a991a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.app_1.3.200.v20130910-1609.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.bidi_0.10.0.v20130327-1442.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.bidi_0.10.0.v20130327-1442.jar new file mode 100644 index 00000000..9c86cddd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.bidi_0.10.0.v20130327-1442.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar new file mode 100644 index 00000000..ebd2bf4c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar new file mode 100644 index 00000000..6f061e03 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.console_1.1.0.v20140131-1639.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.console_1.1.0.v20140131-1639.jar new file mode 100644 index 00000000..ec3f4389 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.console_1.1.0.v20140131-1639.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.ds_1.4.200.v20131126-2331.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.ds_1.4.200.v20131126-2331.jar new file mode 100644 index 00000000..39b86b51 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.ds_1.4.200.v20131126-2331.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.event_1.3.100.v20140115-1647.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.event_1.3.100.v20140115-1647.jar new file mode 100644 index 00000000..b366ff5f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.event_1.3.100.v20140115-1647.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..ac52b315 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..369a5451 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox_1.0.500.v20131211-1531.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox_1.0.500.v20131211-1531.jar new file mode 100644 index 00000000..8b5e77a0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox_1.0.500.v20131211-1531.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..6c40e44d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..a066cc1d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin_2.0.100.v20131209-2144.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin_2.0.100.v20131209-2144.jar new file mode 100644 index 00000000..3bae6c4d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin_2.0.100.v20131209-2144.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.jetty_3.0.200.v20131021-1843.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.jetty_3.0.200.v20131021-1843.jar new file mode 100644 index 00000000..e2ac7fa5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.jetty_3.0.200.v20131021-1843.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar new file mode 100644 index 00000000..2610555e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755.jar new file mode 100644 index 00000000..44e1014a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20130327-1442.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20130327-1442.jar new file mode 100644 index 00000000..0e1cdf33 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20130327-1442.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.jsp.jasper_1.0.400.v20130327-1442.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.jsp.jasper_1.0.400.v20130327-1442.jar new file mode 100644 index 00000000..41bd05d0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.jsp.jasper_1.0.400.v20130327-1442.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..48af1b97 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..7b8e0aef Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/META-INF/MANIFEST.MF new file mode 100644 index 00000000..fc600e46 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/META-INF/MANIFEST.MF @@ -0,0 +1,21 @@ +Manifest-Version: 1.0 +Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.linux.x86_64;sin + gleton:=true +Archiver-Version: Plexus Archiver +Built-By: mpersson +Bundle-ManifestVersion: 2 +Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x8 + 6_64)) +Eclipse-SourceReferences: scm:git:git://git.eclipse.org/gitroot/equino + x/rt.equinox.framework.git;path="bundles/org.eclipse.equinox.launcher + .gtk.linux.x86_64";commitId=1c388c30104c795d5bd09c178d332181b46cf3e3 +Bundle-Vendor: %providerName +Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.0.0,1.4 + .0)" +Bundle-Name: %pluginName +Bundle-Version: 1.1.200.v20141007-2033 +Bundle-Localization: launcher.gtk.linux.x86_64 +Created-By: Apache Maven 3.1.1 +Build-Jdk: 1.8.0_20 +Eclipse-BundleShape: dir + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/about.html b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/about.html new file mode 100644 index 00000000..395df3ba --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 5, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). +Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor’s license +that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/eclipse_1605.so b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/eclipse_1605.so new file mode 100755 index 00000000..3aab991c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/eclipse_1605.so differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/launcher.gtk.linux.x86_64.properties b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/launcher.gtk.linux.x86_64.properties new file mode 100644 index 00000000..9b101fff --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20141007-2033/launcher.gtk.linux.x86_64.properties @@ -0,0 +1,12 @@ +############################################################################### +# Copyright (c) 2007, 2009 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +pluginName = Equinox Launcher Linux X86_64 Fragment +providerName = Eclipse.org - Equinox diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..79e59e06 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4817478c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar new file mode 100644 index 00000000..14b53cad Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..f7cdd0e3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..20311a91 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository_1.1.300.v20131211-1531.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository_1.1.300.v20131211-1531.jar new file mode 100644 index 00000000..a2c34b61 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository_1.1.300.v20131211-1531.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d1af7ac0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..712608a3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console_1.0.300.v20131113-1212.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console_1.0.300.v20131113-1212.jar new file mode 100644 index 00000000..1c8cdeed Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.console_1.0.300.v20131113-1212.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..a1a3fd3e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..cb620389 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core_2.3.0.v20131211-1531.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core_2.3.0.v20131211-1531.jar new file mode 100644 index 00000000..1e781db1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.core_2.3.0.v20131211-1531.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..819636e3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..59847ca5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app_1.0.300.v20140228-1829.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app_1.0.300.v20140228-1829.jar new file mode 100644 index 00000000..4eb3c144 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app_1.0.300.v20140228-1829.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..160ed305 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..79a7f38b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director_2.3.100.v20140224-1921.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director_2.3.100.v20140224-1921.jar new file mode 100644 index 00000000..62d70932 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director_2.3.100.v20140224-1921.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..eae04f84 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..04be475a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher_1.1.0.v20131211-1531.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher_1.1.0.v20131211-1531.jar new file mode 100644 index 00000000..b2c93093 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.directorywatcher_1.1.0.v20131211-1531.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..1cb60cdf Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..8af8ec0f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine_2.3.0.v20140506-1720.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine_2.3.0.v20140506-1720.jar new file mode 100644 index 00000000..b9c85c74 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine_2.3.0.v20140506-1720.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..07c863a3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..09ed400e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation_1.2.100.v20131119-0908.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation_1.2.100.v20131119-0908.jar new file mode 100644 index 00000000..2cb0c17d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.extensionlocation_1.2.100.v20131119-0908.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..02fa3d5a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..1974be64 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector_1.0.200.v20131115-1210.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector_1.0.200.v20131115-1210.jar new file mode 100644 index 00000000..b591e297 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector_1.0.200.v20131115-1210.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..5134f66e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..90045dad Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor_1.0.300.v20131211-1531.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor_1.0.300.v20131211-1531.jar new file mode 100644 index 00000000..cd4de095 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.jarprocessor_1.0.300.v20131211-1531.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..bfb41c1f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..3b4c9327 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..48a2688a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..2741663a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository_1.2.100.v20131209-2144.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository_1.2.100.v20131209-2144.jar new file mode 100644 index 00000000..04afe67d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository_1.2.100.v20131209-2144.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata_2.2.0.v20131211-1531.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata_2.2.0.v20131211-1531.jar new file mode 100644 index 00000000..9259b816 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata_2.2.0.v20131211-1531.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..b64f2416 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4d618452 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations_2.4.0.v20131119-0908.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations_2.4.0.v20131119-0908.jar new file mode 100644 index 00000000..1ec79851 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.operations_2.4.0.v20131119-0908.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..2f0dd2d5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..680f6ed2 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse_1.1.200.v20140414-0825.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse_1.1.200.v20140414-0825.jar new file mode 100644 index 00000000..90b2e5d1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse_1.1.200.v20140414-0825.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d4bd9435 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..2f7d4603 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher_1.3.0.v20140911-0143.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher_1.3.0.v20140911-0143.jar new file mode 100644 index 00000000..b89b0858 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher_1.3.0.v20140911-0143.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..3ef072d5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..a84f29f5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql_2.0.100.v20131211-1531.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql_2.0.100.v20131211-1531.jar new file mode 100644 index 00000000..08687e08 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ql_2.0.100.v20131211-1531.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..0bd77fc2 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..05bc465e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins_1.1.200.v20131119-0908.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins_1.1.200.v20131119-0908.jar new file mode 100644 index 00000000..8cac1746 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins_1.1.200.v20131119-0908.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..e7a0ed48 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4a64080d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository_2.3.0.v20131211-1531.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository_2.3.0.v20131211-1531.jar new file mode 100644 index 00000000..e8d06f48 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository_2.3.0.v20131211-1531.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..dcadb87f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..94e7b1ab Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_2.1.200.v20140512-1650.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_2.1.200.v20140512-1650.jar new file mode 100644 index 00000000..90a60b9c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_2.1.200.v20140512-1650.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..b5a80381 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..062daf19 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives_1.1.100.v20140523-0116.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives_1.1.100.v20140523-0116.jar new file mode 100644 index 00000000..d6b25c1e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.touchpoint.natives_1.1.100.v20140523-0116.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..c10f511c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..a5cb28c3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf_1.1.0.v20140408-1354.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf_1.1.0.v20140408-1354.jar new file mode 100644 index 00000000..40836d6a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf_1.1.0.v20140408-1354.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4e3633cc Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..48c6ee39 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d7a9c448 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..33e28f83 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4b2c406e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..6f93e877 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_1.2.0.v20140422-1847.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_1.2.0.v20140422-1847.jar new file mode 100644 index 00000000..b95d67f3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_1.2.0.v20140422-1847.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk_1.0.300.v20140407-1803.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk_1.0.300.v20140407-1803.jar new file mode 100644 index 00000000..f01162f7 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk_1.0.300.v20140407-1803.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui_2.3.0.v20140404-1657.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui_2.3.0.v20140404-1657.jar new file mode 100644 index 00000000..90d2bb7d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui_2.3.0.v20140404-1657.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..7d6732e3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..4d1631db Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker_1.1.200.v20131119-0908.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker_1.1.200.v20131119-0908.jar new file mode 100644 index 00000000..a7c10783 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.p2.updatechecker_1.1.200.v20131119-0908.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.preferences_3.5.200.v20140224-1527.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.preferences_3.5.200.v20140224-1527.jar new file mode 100644 index 00000000..983f12e8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.preferences_3.5.200.v20140224-1527.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.registry_3.5.400.v20140428-1507.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.registry_3.5.400.v20140428-1507.jar new file mode 100644 index 00000000..287a8952 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.registry_3.5.400.v20140428-1507.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.security.ui_1.1.200.v20130626-2037.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.security.ui_1.1.200.v20130626-2037.jar new file mode 100644 index 00000000..6f96b023 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.security.ui_1.1.200.v20130626-2037.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.security_1.2.0.v20130424-1801.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.security_1.2.0.v20130424-1801.jar new file mode 100644 index 00000000..361be15c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.security_1.2.0.v20130424-1801.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..2de210bd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..40df1399 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20131217-1203.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20131217-1203.jar new file mode 100644 index 00000000..80670e06 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20131217-1203.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..c6e005ae Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..6b80dbe8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator_1.1.0.v20131217-1203.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator_1.1.0.v20131217-1203.jar new file mode 100644 index 00000000..a7519244 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator_1.1.0.v20131217-1203.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.util_1.0.500.v20130404-1337.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.util_1.0.500.v20130404-1337.jar new file mode 100644 index 00000000..aaa19399 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.equinox.util_1.0.500.v20130404-1337.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d7137be3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..c72825b0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base_4.0.200.v20141007-2301.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base_4.0.200.v20141007-2301.jar new file mode 100644 index 00000000..36b9a2d4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.base_4.0.200.v20141007-2301.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..2d1e95b0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..7a559731 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..cc9c70b9 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..9f5b6320 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui_4.0.100.v20140401-0608.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui_4.0.100.v20140401-0608.jar new file mode 100644 index 00000000..5c5c4c7a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.ui_4.0.100.v20140401-0608.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..8220ae3c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..1e89b88c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp_3.6.300.v20140407-1855.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp_3.6.300.v20140407-1855.jar new file mode 100644 index 00000000..7f3dc978 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help.webapp_3.6.300.v20140407-1855.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help_3.6.0.v20130326-1254.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help_3.6.0.v20130326-1254.jar new file mode 100644 index 00000000..f52e10ec Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.help_3.6.0.v20130326-1254.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.continuation_8.1.14.v20131031.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.continuation_8.1.14.v20131031.jar new file mode 100644 index 00000000..0e53170d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.continuation_8.1.14.v20131031.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.http_8.1.14.v20131031.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.http_8.1.14.v20131031.jar new file mode 100644 index 00000000..608ff9ac Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.http_8.1.14.v20131031.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.io_8.1.14.v20131031.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.io_8.1.14.v20131031.jar new file mode 100644 index 00000000..ab391e60 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.io_8.1.14.v20131031.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.security_8.1.14.v20131031.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.security_8.1.14.v20131031.jar new file mode 100644 index 00000000..f6aa2d66 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.security_8.1.14.v20131031.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.server_8.1.14.v20131031.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.server_8.1.14.v20131031.jar new file mode 100644 index 00000000..2aa9b254 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.server_8.1.14.v20131031.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.servlet_8.1.14.v20131031.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.servlet_8.1.14.v20131031.jar new file mode 100644 index 00000000..cf1e45b4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.servlet_8.1.14.v20131031.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.util_8.1.14.v20131031.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.util_8.1.14.v20131031.jar new file mode 100644 index 00000000..1b2d9c7f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jetty.util_8.1.14.v20131031.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..aafdbce0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d3d7379a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding_1.6.200.v20140528-1422.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding_1.6.200.v20140528-1422.jar new file mode 100644 index 00000000..1c1486cf Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.databinding_1.6.200.v20140528-1422.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..6d37c91a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..15c6bb3a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..6ca6a8bf Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..63104e21 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text_3.9.1.v20140827-1810.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text_3.9.1.v20140827-1810.jar new file mode 100644 index 00000000..9dbe03f4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface.text_3.9.1.v20140827-1810.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface_3.10.1.v20140813-1009.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface_3.10.1.v20140813-1009.jar new file mode 100644 index 00000000..857dd5cf Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.jface_3.10.1.v20140813-1009.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..de25f30e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..14e1539a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state_1.0.1.v20140709-1414.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state_1.0.1.v20140709-1414.jar new file mode 100644 index 00000000..6a80f2d4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.compatibility.state_1.0.1.v20140709-1414.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..79e09eac Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..22633f57 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..999de4e3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..3a18470d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services_3.4.0.v20140312-2051.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services_3.4.0.v20140312-2051.jar new file mode 100644 index 00000000..d40a4c30 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi.services_3.4.0.v20140312-2051.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar new file mode 100644 index 00000000..cef9f095 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.rcp_4.3.100.v20141007-2301.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.rcp_4.3.100.v20141007-2301.jar new file mode 100644 index 00000000..1bf76dff Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.rcp_4.3.100.v20141007-2301.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..72d178f6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d81d8587 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64_3.103.1.v20140903-1947.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64_3.103.1.v20140903-1947.jar new file mode 100644 index 00000000..237c6972 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.gtk.linux.x86_64_3.103.1.v20140903-1947.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..3b3d3635 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d3484e0a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt_3.103.1.v20140903-1938.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt_3.103.1.v20140903-1938.jar new file mode 100644 index 00000000..1264317f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.swt_3.103.1.v20140903-1938.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..afc04efe Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..773f7b47 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text_3.5.300.v20130515-1451.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text_3.5.300.v20130515-1451.jar new file mode 100644 index 00000000..c6882ba1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.text_3.5.300.v20130515-1451.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..38e2d37e Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..05238da5 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms_3.6.100.v20140422-1825.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms_3.6.100.v20140422-1825.jar new file mode 100644 index 00000000..beeede59 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.forms_3.6.100.v20140422-1825.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..3a30a3e4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..34b0ecee Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro_3.4.200.v20130326-1254.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro_3.4.200.v20130326-1254.jar new file mode 100644 index 00000000..d6f098ee Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.intro_3.4.200.v20130326-1254.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..933d71e4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..3a5a3a23 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net_1.2.200.v20120807-0927.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net_1.2.200.v20120807-0927.jar new file mode 100644 index 00000000..544ff3eb Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.net_1.2.200.v20120807-0927.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..e84d12da Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..99b5c15b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..d8e900ec Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..92be5988 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/ECLIPSE_.RSA b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/ECLIPSE_.RSA new file mode 100644 index 00000000..1fed79ec Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/ECLIPSE_.RSA differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/ECLIPSE_.SF b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/ECLIPSE_.SF new file mode 100644 index 00000000..3a8ff751 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/ECLIPSE_.SF @@ -0,0 +1,116 @@ +Signature-Version: 1.0 +SHA1-Digest-Manifest: 9o06M9Fsu936blecODW+hhCRZZo= +Created-By: 1.6.0 (IBM Corporation) +SHA1-Digest-Manifest-Main-Attributes: LHFzZ9QS6IwCAYO82xxEKcdfi4k= + +Name: images/winXPHandle.png +SHA1-Digest: RvBcs+E7ua8p7R6WAeihITCo7w0= + +Name: css/e4_classic_win7.css +SHA1-Digest: LGrH4mdI+D2/xflbNWJ48PAMEtg= + +Name: images/gtkTSFrame.png +SHA1-Digest: lNsagip705L28766XqzLBHTt+lc= + +Name: images/gtkHandle.png +SHA1-Digest: UeK2OmJZi7iTP253re8iXj0xdY4= + +Name: css/dark/e4-dark_globalstyle.css +SHA1-Digest: zXx9uEAvezQCEUyeQg5J2Xkt36k= + +Name: images/winXPTSFrame.png +SHA1-Digest: 6H+w4CglVzxPtT+FhyKozWTLmr8= + +Name: images/win7.png +SHA1-Digest: cbJu6wjXexyan1oki8AXgU0rb+M= + +Name: plugin.properties +SHA1-Digest: HSC7+jCrh6DobweP3ihctKaTaeM= + +Name: images/winClassicHandle.png +SHA1-Digest: YaCMKtwN879oADa1Mcv7sAo9h6Y= + +Name: css/e4_basestyle.css +SHA1-Digest: JCsXKsRQO5f5uIp+TqUlBHcnUpQ= + +Name: css/e4_default_winxp_blu.css +SHA1-Digest: GWvlTrUEKPtuqwUZMO2NWEbHo1A= + +Name: css/dark/e4-dark_preferencestyle.css +SHA1-Digest: 5fg4J+JKM9hVwz9h/2yU4Y9yGc8= + +Name: images/win7Handle.png +SHA1-Digest: RBjnm1FGs3nmck1LG1k9mVapN8c= + +Name: css/high-contrast.css +SHA1-Digest: bhN40qyYtPGeQ23Vd+3G4d38GPU= + +Name: images/win7TSFrame.png +SHA1-Digest: EPju6HYRlpTQdn4ZWWaL2oQ/yrs= + +Name: images/winXPOlive.png +SHA1-Digest: /dFSDq/T8U9g4GaR09CL3lhEmsE= + +Name: plugin.xml +SHA1-Digest: 35wyBccDTW0FE7/RvqScSsKYB28= + +Name: css/dark/e4-dark_basestyle.css +SHA1-Digest: QKhRLiwJiZo2lipqmkzEotjRwOk= + +Name: css/e4-dark.css +SHA1-Digest: bQQsi7XvUGkRdZrtm4BBhEne0a4= + +Name: css/e4_default_winxp_olv.css +SHA1-Digest: 5Rl1qcEWB/U+DJANrtttrN4sLAw= + +Name: css/e4_default_mac.css +SHA1-Digest: MPVoa/DOFFAjcm/bkYcjo0rGtW0= + +Name: about.html +SHA1-Digest: M+fykt9heyWoEv1LNiIEeBhi/2Q= + +Name: css/e4-dark_mac.css +SHA1-Digest: doJspVF4rsNzIOixR4litwAFieE= + +Name: images/dragHandle.png +SHA1-Digest: lNfkT2YIht+8RAKWluO7N+bk+eY= + +Name: images/winXPBluHandle.png +SHA1-Digest: 1CjJYAt22MCzjzPmBh+2rmLFKMI= + +Name: images/macTSFrame.png +SHA1-Digest: cFsyUNxrLdj04Kx37kiGH3KSHd8= + +Name: css/e4_default_gtk.css +SHA1-Digest: eMx441FGUdCYX3xLBcZ94mr3g58= + +Name: css/e4_default_win7.css +SHA1-Digest: KANfkd12pyn6Ug16XRMndxnhvh4= + +Name: images/winXPBlue.png +SHA1-Digest: Tc7M/fv+4ApkXg0UnqPaZ2aZ5MU= + +Name: images/macGrey.png +SHA1-Digest: twwtkeX4lPiGDAUgioXSTsir9j4= + +Name: css/e4_classic_winxp.css +SHA1-Digest: NNxgM/myj/lSrP4jezj6IG7woCU= + +Name: css/e4-dark_win.css +SHA1-Digest: i01pbvxRv5GPrwAYMPIkcqQ+/cA= + +Name: images/macHandle.png +SHA1-Digest: 9ZpeCfJRwIwzfKtcxGCvXxA/XH4= + +Name: images/winXPBluTSFrame.png +SHA1-Digest: F8trtuSgW31q6HAV2alypNMXd5A= + +Name: css/dark/e4-dark_partstyle.css +SHA1-Digest: OS/iUGJ2EJUHss6NFogB9DF30S0= + +Name: images/winClassicTSFrame.png +SHA1-Digest: bYIjigeu8yZ+v0w6G7kuOI06Su0= + +Name: css/e4_default_mru_on_win7.css +SHA1-Digest: mclnCs3Lk3uUSR9mBmkFjrXyp/Q= + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/MANIFEST.MF b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/MANIFEST.MF new file mode 100644 index 00000000..869bf2af --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/META-INF/MANIFEST.MF @@ -0,0 +1,129 @@ +Manifest-Version: 1.0 +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Built-By: e4Build +Bundle-SymbolicName: org.eclipse.ui.themes;singleton:=true +Eclipse-SourceReferences: scm:git:git://git.eclipse.org/gitroot/platfo + rm/eclipse.platform.ui.git;path="bundles/org.eclipse.ui.themes";tag=" + M20140820-0800";commitId=8f47859e635a95d49cdd796a34b92764965ac8e5 +Require-Bundle: org.eclipse.e4.ui.css.swt.theme +Bundle-Version: 1.0.1.v20140819-1717 +Build-Jdk: 1.7.0_51 +Bundle-Vendor: %Plugin.providerName +Bundle-Name: %Plugin.name +Eclipse-BundleShape: dir +Archiver-Version: Plexus Archiver +Created-By: Apache Maven 3.1.1 +Bundle-ManifestVersion: 2 + +Name: images/winXPHandle.png +SHA1-Digest: aD5ihrxXxmvS/FbvEkaldGSNuQs= + +Name: css/e4_classic_win7.css +SHA1-Digest: 6sFl9GF31lwOW6Fgqk7x9bnqbmo= + +Name: images/gtkTSFrame.png +SHA1-Digest: 8b0hzV65v6o9x0/8mWk3A8sl4Hg= + +Name: images/gtkHandle.png +SHA1-Digest: 6/g5Ixb58lq+MqR+p6fgWS+LShs= + +Name: css/dark/e4-dark_globalstyle.css +SHA1-Digest: HFGn0HrRaDLGbsiqszLPL0X86Xg= + +Name: images/winXPTSFrame.png +SHA1-Digest: Pcfi50OD4cRpF4EX5PwxhcM1h3c= + +Name: images/win7.png +SHA1-Digest: dUay5kpUKKT/ZeY63XkHbLlxtz4= + +Name: plugin.properties +SHA1-Digest: PgbpmjCAV9RuRriWIYxzMigFh54= + +Name: images/winClassicHandle.png +SHA1-Digest: JFATcjcqyduiJVqeDeIbOoc3BY4= + +Name: css/e4_basestyle.css +SHA1-Digest: GayBgCk+vA+x1+ZPtR3vd4pkRnw= + +Name: css/dark/e4-dark_preferencestyle.css +SHA1-Digest: NaLCpDlkW+cELJeYgCHzZGUMj0s= + +Name: css/e4_default_winxp_blu.css +SHA1-Digest: 8fstWtu5rE5UD4UvJptfrfp9LEg= + +Name: images/win7Handle.png +SHA1-Digest: twWubAeh9bn9246qAA8F3Ug/5z0= + +Name: css/high-contrast.css +SHA1-Digest: MonbZ0c5xu6gD9EOcMZgBvidPBQ= + +Name: images/win7TSFrame.png +SHA1-Digest: UEePCXeNvCU/2TLEhqrkQptOWck= + +Name: images/winXPOlive.png +SHA1-Digest: LeyuFJ3TC47+y4QpooD4iJNEtmM= + +Name: plugin.xml +SHA1-Digest: KQdCwe6TA24HvjFT316/O8XxyFg= + +Name: css/dark/e4-dark_basestyle.css +SHA1-Digest: z7ZzxUbDY6Q3YgQT0oDwWcELbbY= + +Name: css/e4-dark.css +SHA1-Digest: WFrWj7kER3mcTV4OKVS6vZ/CDeI= + +Name: css/e4_default_winxp_olv.css +SHA1-Digest: jJXwrncfjyqZOZyYluqYeA+03mQ= + +Name: css/e4_default_mac.css +SHA1-Digest: pkDbd2ijqRiW73SkXR6sZZ1h5TY= + +Name: about.html +SHA1-Digest: ejOZra0kypGLQQ2bJtGTX+LI8tU= + +Name: css/e4-dark_mac.css +SHA1-Digest: hbxP0tYUudvTPRnjJJ9aKXyYaIY= + +Name: images/dragHandle.png +SHA1-Digest: eNrxIhwedUWxAcz/iz7UAvvgXg4= + +Name: css/e4_default_gtk.css +SHA1-Digest: F6w/hLI1qhPt3CC/KOsozxJiLc0= + +Name: images/macTSFrame.png +SHA1-Digest: PekW6CYAJ+Zq47ou84K82OV9YDs= + +Name: images/winXPBluHandle.png +SHA1-Digest: EP+zIEkA09le7+jTHTcJulbJQzM= + +Name: images/macGrey.png +SHA1-Digest: xClAmpE1oYNRkEk8ktU5gey+jcU= + +Name: images/winXPBlue.png +SHA1-Digest: I9bB1J5Q/n/U2CwPQ6H7ETCP9Fs= + +Name: css/e4_default_win7.css +SHA1-Digest: 8bueV1fQRM5IRKhaXcYn2uLOYqk= + +Name: css/e4_classic_winxp.css +SHA1-Digest: 6sFl9GF31lwOW6Fgqk7x9bnqbmo= + +Name: css/e4-dark_win.css +SHA1-Digest: N48F8ch/9M/ajkV0WEsX/F08y0o= + +Name: css/dark/e4-dark_partstyle.css +SHA1-Digest: LKYPKaPjifVialFNv0AWaozem+I= + +Name: images/winXPBluTSFrame.png +SHA1-Digest: hEZhu5Zb6KTgLN9nmhcA/Mt4BCQ= + +Name: images/macHandle.png +SHA1-Digest: shGDU1oRr6BWrKxyzq5CV+g53Uw= + +Name: images/winClassicTSFrame.png +SHA1-Digest: npohflUahSspMX9wVHErpcNoAQ0= + +Name: css/e4_default_mru_on_win7.css +SHA1-Digest: gPOMnRC2+j+oxOleqCgkM4YMIs0= + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/about.html b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/about.html new file mode 100644 index 00000000..46023304 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 2, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_basestyle.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_basestyle.css new file mode 100644 index 00000000..12fc29e9 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_basestyle.css @@ -0,0 +1,162 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 Andrea Guarinoni and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Andrea Guarinoni - initial API and implementation + *******************************************************************************/ + +/* New ColorDefinitions for the E4 dark theme */ + +ThemesExtension { color-definition: + '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START', + '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END', + '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START', + '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END', + '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR', + '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR', + '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR', + '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR', + '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START', + '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END', + '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START', + '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END', + '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START', + '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END', + '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR'; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START { + color: #515658; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_START'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END { + color: #464649; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_END'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START { + color: #3B4042; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_BG_START'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END { + color: #313538; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_BG_END'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #515658; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTER_KEYLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR { + color: #515658; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_INNER_KEYLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR { + color: #3B4042; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR { + color: #BBBBBB; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_UNSELECTED_TEXT_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_SELECTED_TEXT_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #494A4D; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_START'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #404043; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_END'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START { + color: #2B2C2D; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_BG_START'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END { + color: #292929; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_BG_END'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #4B4C4F; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTER_KEYLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR { + color: #4B4C4F; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_INNER_KEYLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR { + color: #484848; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR { + color: #DDDDDD; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_UNSELECTED_TEXT_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR { + color: #f7f8f8; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_SELECTED_TEXT_COLOR'); +} +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START { + color: #2B2C2D; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_NOFOCUS_TAB_BG_START'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END { + color: #292929; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_NOFOCUS_TAB_BG_END'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR { + color: #CCCCCC; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR'); +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_globalstyle.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_globalstyle.css new file mode 100644 index 00000000..8559e7db --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_globalstyle.css @@ -0,0 +1,428 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 Andrea Guarinoni and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Andrea Guarinoni - initial API and implementation + *******************************************************************************/ + +/******************************************************************************* + * The following bugs are referred to in this style sheet + * 1.) Bug 419482 - Cascading policy in CSS + * 2.) Bug 419377 - Setting a property to 'inherit' is not supported + * 3.) Bug 430051 - Regression for CTabRendering when drawing bottom tabs + * 4.) Bug 401015 - Add support for styling hyperlinks in Links + *******************************************************************************/ + + +/* ############################## Global Styles ############################## */ + +Composite, ScrolledComposite, ExpandableComposite, TabFolder, CLabel, Label, +ToolItem, Sash, Group, Hyperlink, RefactoringLocationControl, Link, FilteredTree, +ProxyEntriesComposite, NonProxyHostsComposite, DelayedFilterCheckboxTree, +Splitter, ScrolledPageContent, ViewForm, LaunchConfigurationFilteredTree, +ContainerSelectionGroup, BrowseCatalogItem, EncodingSettings, +ProgressMonitorPart, DocCommentOwnerComposite, NewServerComposite, +NewManualServerComposite, ServerTypeComposite, FigureCanvas, +DependenciesComposite, ListEditorComposite, WrappedPageBook, +CompareStructureViewerSwitchingPane, CompareContentViewerSwitchingPane, +QualifiedNameComponent, RefactoringStatusViewer, ImageHyperlink, +Button /* SWT-BUG: checkbox inner label font color is not accessible */, +ViewForm > ToolBar, /* SWT-BUG: ToolBar do not inherit rules from ViewForm */ +/*Shell [style~='SWT.DROP_DOWN'] > GradientCanvas,*/ /* ignored */ +/* SWT-BUG dirty workaround [Eclipse Bug 419482]: a generic rule (eg: Composite > *) needed to catch an + element without a CSS id, a CSS class and a seekable Widget name, cannot be overridden + by a subsequent more specific rule used to correct the style for seekable elements (<1>): */ +TabFolder > Composite > *, /* Composite > CommitSearchPage$... */ +TabFolder > Composite > * > * /* [style~='SWT.NO_BACKGROUND'] <- generate E4 non-sense bugs in apparently not related other rules */, /* Composite > ContentMergeViewer$... > TextMergeViewer$... */ +DocCommentOwnerComposite > Group > *, /* Group > DocCommentOwnerComposite$... */ +TabFolder > Composite > ScrolledComposite > *, /* ScrolledComposite > ControlListViewer$... */ +Shell > Composite > Composite > *, /* Composite > StatusDialog$MessageLine (SWT-BUG: ignored) */ +Composite > Composite > Composite > ToolBar, /* Window->Preference (top toolbar) */ +Composite > Composite > Composite > Group > *, /* Group > CreateRefactoringScriptWizardPage$... */ +Shell > Composite > Composite > Composite > *, /* Composite > FilteredPreferenceDialog$... */ +ScrolledComposite > Composite > Composite > Composite > *, /* Composite > NewKeysPreferencePage$... */ +Shell > Composite > Composite > Composite > Composite > Composite > *, /* Composite > ShowRefactoringHistoryWizardPage$... */ +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > *, /* Composite > RefactoringWizardDialog$... */ +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > * /* Composite > RefactoringWizardDialog$... */ { + background-color:#515658; + color:#eeeeee; +} + +Combo, List, +/* It might be useless but currently it's needed due to a strange priority + policy used by the E4 platform to apply CSS rules to SWT widgets (see <1>): */ +Composite > List, +TabFolder > Composite > List, +TabFolder > Composite > * > List, +DocCommentOwnerComposite > Group > List, +TabFolder > Composite > ScrolledComposite > List, +Shell > Composite > Composite > List, +Composite > Composite > Composite > Group > List, +Shell > Composite > Composite > Composite > List, +ScrolledComposite > Composite > Composite > Composite > List, +Shell > Composite > Composite > Composite > Composite > Composite > List, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > List, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > List { + background-color: #41464A; + color: #dddddd; +} + +/* Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.MENU'][style~='SWT.DATE'][style~='SWT.RESIZE'][style~='SWT.TITLE'][style~='SWT.APPLICATION_MODAL'][style~='SWT.FULL_SELECTION'][style~='SWT.SMOOTH'] > Composite[style~='SWT.LEFT_TO_RIGHT'], */ +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.MENU'][style~='SWT.DATE'][style~='SWT.RESIZE'][style~='SWT.TITLE'][style~='SWT.APPLICATION_MODAL'][style~='SWT.FULL_SELECTION'][style~='SWT.SMOOTH'] > Composite[style~='SWT.LEFT_TO_RIGHT'] > Text[style~='SWT.READ_ONLY'], +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.MENU'][style~='SWT.DATE'][style~='SWT.RESIZE'][style~='SWT.TITLE'][style~='SWT.APPLICATION_MODAL'][style~='SWT.FULL_SELECTION'][style~='SWT.SMOOTH'] > Composite[style~='SWT.LEFT_TO_RIGHT'] > ToolBar { + /* Dialog windows title */ + /*background-color: #4D5765;*/ /* There is no way to change the background-color of the title of a Dialog without introducing artifacts in some other Dialog windows */ + color: #9ac9d8; +} +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.MENU'][style~='SWT.DATE'][style~='SWT.RESIZE'][style~='SWT.TITLE'][style~='SWT.APPLICATION_MODAL'][style~='SWT.FULL_SELECTION'][style~='SWT.SMOOTH'] > Composite[style~='SWT.LEFT_TO_RIGHT'] > Label[style~='SWT.NO_FOCUS'] { + /* Dialog windows title */ + /*background-color: #4D5765;*/ + color: #EEEEEE; +} + +Text { + background-color: #515658; + color: #cccccc; +} +Text[style~='SWT.DROP_DOWN'], +TextSearchControl /* SWT-BUG: background color is hard-coded */, +TextSearchControl > Label { + /* search boxes and input fields */ + background-color: #41464A; + color: #dddddd; +} +Text[style~='SWT.SEARCH'], +Text[style~='SWT.SEARCH'] + Label /* SWT-BUG: adjacent sibling selector is ignored (CSS2.1) */ { + /* search boxes */ + background-color: #949DA5; + color: #ffffff; +} +Text[style~='SWT.POP_UP'] { + background-color: #34383B; + color: #dddddd; +} +Text[style~='SWT.READ_ONLY'] { + background-color: #515658; + color: #bbbbbb; +} +/* Text[style~='SWT.POP_UP'][style~='SWT.ERROR_MENU_NOT_POP_UP'][style~='SWT.ICON_WARNING'] { + /* Dirty way to catch error popup labels + (currently it's impossible since there's no difference + at all from some other Text elements) */ +/* background-color: #742025; + color: #FF9997; +} */ + +DatePicker, +DatePicker > Text, +DatePicker > ImageHyperlink, +ScheduleDatePicker, +ScheduleDatePicker > Text, +ScheduleDatePicker > ImageHyperlink { + background-color: #41464A; + color: #dddddd; +} + +MessageLine, +/* the following are required due to Bug 419482 (see <1>): */ +Shell > Composite > Composite > MessageLine, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Composite > MessageLine { + background-color:#515658; /* SWT-BUG: background color is hard-coded */ + color: #E39898; +} + +Spinner, +CCombo { + background-color: #383C3E; + color: #dddddd; +} + +Composite > StyledText, +Shell [style~='SWT.DROP_DOWN'] > StyledText, /* for eg. folded code popup (but it's ignored) */ +/* the following are required due to Bug 419482 (see <1>): */ +ScrolledComposite > Composite > Composite > Composite > StyledText { + background-color: #252525; + color: #dddddd; +} + +ScrolledFormText, +FormText { + background-color: #687174; + color: #eeeeee; +} + +ToolItem:selected { + background-color: #313538; + color: #dddddd; +} + +Table, +/* the following are required due to Bug 419482 (see <1>): */ +Composite > Table, +TabFolder > Composite > Table, +TabFolder > Composite > * > Table, +DocCommentOwnerComposite > Group > Table, +TabFolder > Composite > ScrolledComposite > Table, +Shell > Composite > Composite > Table, +Composite > Composite > Composite > Group > Table, +Shell > Composite > Composite > Composite > Table, +ScrolledComposite > Composite > Composite > Composite > Table, +Shell > Composite > Composite > Composite > Composite > Composite > Table, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Table, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Table { + background-color: #35393C; + color: #dddddd; +} + +Tree, +RegistryFilteredTree, +/* the following are required due to Bug 419482 (see <1>): */ +Composite > Tree, +TabFolder > Composite > Tree, +TabFolder > Composite > * > Tree, +DocCommentOwnerComposite > Group > Tree, +TabFolder > Composite > ScrolledComposite > Tree, +Shell > Composite > Composite > Tree, +Composite > Composite > Composite > Group > Tree, +Shell > Composite > Composite > Composite > Tree, +ScrolledComposite > Composite > Composite > Composite > Tree, +Shell > Composite > Composite > Composite > Composite > Composite > Tree, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Tree, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Tree { + background-color: #2F2F2F; + color: #CCC; +} + +/* prevent CSS Spy red borders to be grayed with a generic Shell selector */ +Shell[style~='SWT.SHADOW_ETCHED_OUT'], Shell[style~='SWT.SHADOW_ETCHED_IN'], +Shell[style~='SWT.CHECK'], Shell[style~='SWT.TITLE'], Shell[style~='SWT.OK'], +Shell[style~='SWT.CANCEL'], Shell[style~='SWT.ABORT'], Shell[style~='SWT.DROP_DOWN'], +Shell[style~='SWT.ARROW'], Shell[style~='SWT.RADIO'], Shell[style~='SWT.SINGLE'], +Shell[style~='SWT.SHADOW_IN'], Shell[style~='SWT.TOOL'], Shell[style~='SWT.RESIZE'], +Shell[style~='SWT.SHELL_TRIM'], Shell[style~='SWT.FILL'], Shell[style~='SWT.ALPHA'], +Shell[style~='SWT.BORDER'], Shell[style~='SWT.DIALOG_TRIM'], Shell[style~='SWT.IGNORE'], +Shell[style~='SWT.FULL_SELECTION'], Shell[style~='SWT.SMOOTH'], Shell[style~='SWT.VIRTUAL'], +Shell[style~='SWT.APPLICATION_MODAL'], Shell[style~='SWT.MEDIUM'], Shell[style~='SWT.LONG'] +{ + background-color: #515658; + color: #cccccc; +} +Shell > Composite > Table[style~='SWT.DROP_DOWN'] { + background-color: #35393C; + color: #dddddd; +} + +Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite, +Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Composite, +Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite ScrolledComposite, +Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Canvas, +Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite StyledText, +Shell[style~='SWT.DROP_DOWN'][style~='SWT.SHADOW_IN'][style~='SWT.SHADOW_ETCHED_IN'] > Composite Label { +/* Error information popup */ + background-color: #2F2F2F; + color: #CCC; +} + +TextSearchControl { + background-color: #41464A; + color: #dddddd; +} + +ViewerPane, +DrillDownComposite, +ViewerPane > ToolBar, +DrillDownComposite > ToolBar { + background-color: #232323; + color: #CCC; +} + +ProgressInfoItem, +CompareViewerPane, +CompareViewerPane > * { + background-color: #333; + color: #eeeeee; +} + +ProgressIndicator { + background-color: #777; + color: #eeeeee; +} + +DiscoveryItem, +DiscoveryItem Label, +DiscoveryItem Composite { + background-color: #383C3E; + color: #dddddd; +} +DiscoveryItem StyledText { + background-color: #383C3E; + color: #aaaaaa; +} +DiscoveryItem Link { + background-color: #383C3E; + color: #8B9498; +} + +CatalogSwitcher, +CatalogSwitcher > ScrolledComposite > Composite > Composite /* ignored because hard-coded */, +CategoryItem { + background-color: #515658; + color: #dddddd; +} +GradientCanvas, +GradientCanvas > Label, +GradientCanvas > ToolBar, +GradientCanvas > ImageHyperlink { + background-color: #3f4447; + color: #9ac9d8; +} +GradientCanvas { + /* SWT-BUG workaround: GradientCanvas background-color is ignored */ + background: #3f4447; + background-image: #3f4447; +} +CategoryItem > GradientCanvas, +CategoryItem > GradientCanvas > Label { + /* SWT-BUG workaround: a style for background is not applied on GradientCanvas (CSS engine repaint issue) */ + background-color: #fafafa; + color: #333; +} +CategoryItem > GradientCanvas { + /* SWT-BUG workaround: a style for background is not applied on GradientCanvas (CSS engine repaint issue) */ + background: #fafafa; + background-image: #333; +} + +WebSite { + background-color: #41464A; + color: #dddddd; +} + +CTabFolder { + /* Set the styles for the inner tabs: */ + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR'; + swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); + padding: 0px 2px 2px; + swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ + swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */ + swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* title background for selected tab */ + swt-shadow-visible: false; + swt-corner-radius: 16px; +} +CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] { + /* Set the styles for the bottom inner tabs (Bug 430051): */ + swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); +} + +Form, +FormHeading { + background: #505f70; + background-color: #505F70; + background-image: #505f70; + color: #9AC9D8; +} + +Section { + background-color: #4F5355; + color: #AEBED0; +} + +Form > LayoutComposite > LayoutComposite > * { + background-color: #515658; + color: #EEEEEE; +} + +LayoutComposite, LayoutComposite > FormText, +LayoutComposite > Label, +LayoutComposite > Button { + background-color: #4F5355; + color: #F4F7F7; +} + +LayoutComposite ScrolledPageBook, +LayoutComposite Sash { + background-color: #4F5355; + color: #F4F7F7; +} + +LayoutComposite > Text, +LayoutComposite > Combo { + background-color: #414445; + color: #F4F7F7; +} + +LayoutComposite > Table { + background-color: #333; + color: #FFF; +} + +Twistie { + color: #E8E4DF; +} + +#SearchField { + /* background-image: url('./searchbox.png'); */ + /* SWT-BUG: textures are applied as a label over the native ones, */ + /* in this way textures with alpha color are not usable; */ + /* default margins and padding cannot be modified and textures are not */ + /* scaled properly to fit the container size: this makes the result ugly, */ + /* moreover a texture is drawn over the widget, so also the text is covered */ + color: #f0f0f0; +} + +/* Button { + background-color: inherit; /* ignored */ + /* background-image: url('./button_bg.png') */ +/* } */ + +/* Button[style~='SWT.CHECK'] { */ + /* currently, Button object isn't consistent (eg. also a checkbox/radio is seen as Button) */ + /* so, css rules applied to Button have to be overridden for non-Button matches */ +/* } + Button:disabled { + /* SWT-BUG: currently, a disabled button cannot be styled with any window manager (gtk, win32, cocoa) */ +/* } + Button:hover { + /* SWT-BUG: currently, an hovered button cannot be styled with any window manager (gtk, win32, cocoa) */ +/* } */ + +.MPartSashContainer { + background-color: #515658; + color: #EEEEEE; +} + +PageSiteComposite, PageSiteComposite > CImageLabel { + color: #EEEEEE; +} +PageSiteComposite > PropertyTable { + background-color: #333; + color: #EEEEEE; +} +PageSiteComposite > PropertyTable:disabled { +/* SWT-BUG: event is triggered but styles for PropertyTable are hard-coded */ + background-color: #444; + color: #EEEEEE; +} + +FlyoutControlComposite, FlyoutControlComposite ToolBar, FlyoutControlComposite CLabel { + background-color: #3f4447; + color: #EEEEEE; +} + +/* See Bug 430848: We need to override the theme of the Eclipse splash screen, because + * otherwise the splash screen would be partly switched to the dark theme during startup, + * which does not look very nice. + */ +Label#org-eclipse-ui-splash-progressText { + background-color: #f7f7f7; + color: #9c9696; /* see property startupForegroundColor in the product */ +} + +ProgressIndicator#org-eclipse-ui-splash-progressIndicator { + background-color: #e1e1e1; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_partstyle.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_partstyle.css new file mode 100644 index 00000000..8fb0efbb --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_partstyle.css @@ -0,0 +1,320 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 Andrea Guarinoni and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Andrea Guarinoni - initial API and implementation + * Lars Vogel - initial API and implementation + *******************************************************************************/ + + +/* ################################ CSS for .MParts ########################## */ + +.MPart { + background-color: #323435; + color: #DDDDDD; +} +.MPartStack.active .MPart { + background-color: #292929; + color: #DDDDDD; +} + +.MPart Composite, +.MPart LayoutComposite, +.MPart Label, +.MPart Hyperlink, +.MPart ImageHyperlink, +.MPart ScrolledForm, +.MPart Form, +.MPart Section, +.MPart FormText, +.MPart Link, +.MPart Sash, +.MPart Button, +.MPart Group, +.MPart SashForm, +.MPart FilteredTree, +.MPart RegistryFilteredTree, +.MPart PageSiteComposite, +.MPart DependenciesComposite, +.MPart Text[style~='SWT.READ_ONLY'], +.MPart FigureCanvas, +.MPart ListEditorComposite, +.MPart ScrolledComposite, +.MPart ScrolledComposite ToolBar, +.Mpart ScrolledComposite ProgressInfoItem, +.MPart Form ScrolledPageBook, +.MPart Form > LayoutComposite > LayoutComposite > ToolBar, +.MPart DependenciesComposite > SashForm > Section > * /* Section > DependenciesComposite$... */, +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ { + background-color: #2F2F2F; + color: #AAAAAA; +} +.MPartStack.active .MPart Composite, +.MPartStack.active .MPart LayoutComposite, +.MPartStack.active .MPart Label, +.MPartStack.active .MPart Hyperlink, +.MPartStack.active .MPart ImageHyperlink, +.MPartStack.active .MPart ScrolledForm, +.MPartStack.active .MPart Form, +.MPartStack.active .MPart Section, +.MPartStack.active .MPart FormText, +.MPartStack.active .MPart Link, +.MPartStack.active .MPart Sash, +.MPartStack.active .MPart Button, +.MPartStack.active .MPart Group, +.MPartStack.active .MPart SashForm, +.MPartStack.active .MPart FilteredTree, +.MPartStack.active .MPart RegistryFilteredTree, +.MPartStack.active .MPart PageSiteComposite, +.MPartStack.active .MPart DependenciesComposite, +.MPartStack.active .MPart Text[style~='SWT.READ_ONLY'], +.MPartStack.active .MPart FigureCanvas, +.MPartStack.active .MPart ListEditorComposite, +.MPartStack.active .MPart ScrolledComposite, +.MPartStack.active .MPart ScrolledComposite ToolBar, +.MPartStack.active .Mpart ScrolledComposite ProgressInfoItem, +.MPartStack.active .MPart Form ScrolledPageBook, +.MPartStack.active .MPart Form > LayoutComposite > LayoutComposite > ToolBar, +.MPartStack.active .MPart DependenciesComposite > SashForm > Section > * /* Section > DependenciesComposite$... */, +.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ { + background-color: #262626; + color: #999999; +} + +.MPart Section > Label { + background-color: #2F2F2F; + color: #ABCEDA; +} +.MPartStack.active .MPart Section > Label { + background-color: #262626; + color: #9EC1CE; +} + +.MPart Table, +.MPart Browser, +.Mpart OleFrame, +.MPart ViewForm, +.MPart ViewForm > ToolBar, +.MPart ViewForm > CLabel, +.MPart PageBook > Label, +.MPart PageBook > SashForm, +#org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite, +#org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite > * { + background-color: #313538; + color: #CCC; +} +.MPartStack.active .MPart Table, +.MPartStack.active .MPart Browser, +.MPartStack.active .Mpart OleFrame, +.MPartStack.active .MPart ViewForm, +.MPartStack.active .MPart ViewForm > ToolBar, +.MPartStack.active .MPart ViewForm > CLabel, +.MPartStack.active .MPart PageBook > Label, +.MPartStack.active .MPart PageBook > SashForm, +.MPartStack.active #org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite, +.MPartStack.active #org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite > * { + background-color: #333; + color: #DDDDDD; +} +#org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite ImageHyperlink { + background-color: #313538; + color: #6fc5ee; +} +.MPartStack.active #org-eclipse-help-ui-HelpView LayoutComposite > LayoutComposite ImageHyperlink { + background-color: #333; + color: #7AAADA; +} + +.MPart > Label, +#com-android-ide-eclipse-adt-internal-lint-LintViewPart > Composite > Label { + background-color: #313538; + color: #7DC2BD; +} +.MPartStack.active .MPart > Label, +.MPartStack.active #com-android-ide-eclipse-adt-internal-lint-LintViewPart > Composite > Label { + background-color: #2F3235; + color: #B1E8F7; +} + +.MPart Section Tree, +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree { + background-color: #383A3B; + color: #DDDDDD; +} +.MPartStack.active .MPart Section Tree, +.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree { + background-color: #353636; + color: #CCCCCC; +} + +.MPart DatePicker, +.MPart DatePicker > Text, +.MPart DatePicker > ImageHyperlink, +.MPart ScheduleDatePicker, +.MPart ScheduleDatePicker > Text, +.MPart ScheduleDatePicker > ImageHyperlink, +.MPart CCombo, +.MPart Spinner, +.MPart Composite > StyledText, +.MPart PageBook > SashForm Label, +.MPart SashForm > Text[style~='SWT.BORDER'] { + background-color: #3f4447; + color: #BBBBBB; +} +.MPartStack.active .MPart DatePicker, +.MPartStack.active .MPart DatePicker > Text, +.MPartStack.active .MPart DatePicker > ImageHyperlink, +.MPartStack.active .MPart ScheduleDatePicker, +.MPartStack.active .MPart ScheduleDatePicker > Text, +.MPartStack.active .MPart ScheduleDatePicker > ImageHyperlink, +.MPartStack.active .MPart CCombo, +.MPartStack.active .MPart Spinner, +.MPartStack.active .MPart Composite > StyledText, +.MPartStack.active .MPart PageBook > SashForm Label, +.MPartStack.active .MPart SashForm > Text[style~='SWT.BORDER'] { + background-color: #313538; + color: #AAAAAA; +} + +.MPart FormHeading, +.MPart FormHeading > ToolBar, +.MPart FormHeading > TitleRegion, +.MPart FormHeading > TitleRegion > Label, +.MPart FormHeading > TitleRegion > ToolBar, +.MPart FormHeading > TitleRegion > StyledText, +.MPart FormHeading LayoutComposite, +.MPart FormHeading ImageHyperlink { + background-color: #505f70; + color: #9ac9d8; +} +.MPart FormHeading { + background: #505f70; + background-image: #505f70; +} +.MPartStack.active .MPart FormHeading, +.MPartStack.active .MPart FormHeading > ToolBar, +.MPartStack.active .MPart FormHeading > TitleRegion, +.MPartStack.active .MPart FormHeading > TitleRegion > Label, +.MPartStack.active .MPart FormHeading > TitleRegion > ToolBar, +.MPartStack.active .MPart FormHeading > TitleRegion > StyledText, +.MPartStack.active .MPart FormHeading LayoutComposite, +.MPartStack.active .MPart FormHeading ImageHyperlink { + background-color: #415062; + color: #9ac9d8; +} +.MPartStack.active .MPart FormHeading { + background: #415062; + background-image: #415062; +} +.MPart FormHeading, +.MPart FormHeading > TitleRegion { + swt-background-mode: none; +} +.MPart FormHeading > CLabel { + background-color: #505f70; + color: #E98787; +} +.MPartStack.active .MPart FormHeading > CLabel { + background-color: #415062; + color: #E98787; +} + +/* ------------------------------------------------------------- */ + +#org-eclipse-jdt-ui-SourceView StyledText, +#org-eclipse-wst-jsdt-ui-SourceView StyledText { + background-color: #252525; +} + +/* ------------------------------------------------------------- */ + +#org-eclipse-ui-console-ConsoleView .MPart > Composite, +#org-eclipse-ui-console-ConsoleView .MPart StyledText, +#org-eclipse-ui-console-ConsoleView .MPart PageBook Label, +#org-eclipse-dltk-debug-ui-ScriptDisplayView SashForm > * { + background-color: #2F2F2F; + color: #CCCCCC; +} +.MPartStack.active #org-eclipse-ui-console-ConsoleView .MPart > Composite, +.MPartStack.active #org-eclipse-ui-console-ConsoleView .MPart StyledText, +.MPartStack.active #org-eclipse-ui-console-ConsoleView .MPart PageBook Label, +.MPartStack.active #org-eclipse-dltk-debug-ui-ScriptDisplayView SashForm > * { + background-color: #262626; + color: #CCCCCC; +} + +/* ------------------------------------------------------------- */ + +#org-eclipse-pde-runtime-LogView Text { + background-color: #333; + color: #F4F7F7; +} + +/* ------------------------------------------------------------- */ + +#org-eclipse-pde-ui-TargetPlatformState PageBook > Composite > * { + background-color: #2F2F2F; + color: #CCC; +} + +/* ------------------------------------------------------------- */ + +#org-eclipse-e4-ui-compatibility-editor Canvas { + background-color: #262626; +} +.MPartStack.active #org-eclipse-e4-ui-compatibility-editor Canvas { + background-color: #202020; +} +#org-eclipse-e4-ui-compatibility-editor CTabItem { + color: #EEEEEE; + font-weight: normal; +} +#org-eclipse-e4-ui-compatibility-editor CTabItem:selected { + background-color: #262626; + font-weight: bold; +} +#org-eclipse-e4-ui-compatibility-editor .MPart { + color: #EEEEEE; +} +#org-eclipse-e4-ui-compatibility-editor PaletteControl ScrolledComposite > Composite > * { + background-color: #2F2F2F; + color: #BBBBBB; +} +.MPartStack.active #org-eclipse-e4-ui-compatibility-editor PaletteControl ScrolledComposite > Composite > * { + background-color: #262626; + color: #CCCCCC; +} +#org-eclipse-e4-ui-compatibility-editor PaletteControl CLabel { + background-color: #383838; + color: #dddddd; +} +#org-eclipse-e4-ui-compatibility-editor PaletteControl CLabel:hover { +/* SWT-BUG #362532: The event is never triggered so the native rule cannot be overridden (for hover event) */ + background-color: #252525; + color: #dddddd; +} +#org-eclipse-e4-ui-compatibility-editor FlyoutControlComposite > Composite { + background-color: #3f4447; + color: #DDDDDD; +} +#org-eclipse-e4-ui-compatibility-editor LayoutCanvas { + background-color: #252525; + color: #CCCCCC; +} + +.MPartStack > Composite { + background-color: #323435; +} + +.MPartStack.active > Composite { + background-color: #292929; +} + +.MPartStack.active.noFocus > Composite { + background-color: #323435; +} + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_preferencestyle.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_preferencestyle.css new file mode 100644 index 00000000..c64f5755 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_preferencestyle.css @@ -0,0 +1,67 @@ +/******************************************************************************* + * Copyright (c) 2014 Lars Vogel and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Lars Vogel - initial API and implementation + * Andrea Guarinoni - intial color schema definition + *******************************************************************************/ + +/* ############################## Eclipse UI properties ############################## */ + + +IEclipsePreferences#org-eclipse-ui-editors { + preferences: + 'AbstractTextEditor.Color.SelectionForeground.SystemDefault=false' + 'AbstractTextEditor.Color.SelectionBackground.SystemDefault=false' + 'AbstractTextEditor.Color.Background.SystemDefault=false' + 'AbstractTextEditor.Color.Foreground.SystemDefault=false' + 'AbstractTextEditor.Color.Background=32,32,32' + 'AbstractTextEditor.Color.FindScope=30,120,155' + 'AbstractTextEditor.Color.Foreground=217,232,247' + 'AbstractTextEditor.Color.SelectionBackground=62,81,93' + 'AbstractTextEditor.Color.SelectionForeground=68,206,239' + 'asOccurencesIndicationColor=72,72,72' + 'breakpointIndicationColor=51,119,193' + 'currentIPColor=54,54,54' + 'currentLineColor=54,54,54' + 'deletionIndicationColor=134,60,67' + 'errorIndicationColor=179,26,64' + 'errorIndicationHighlighting=true' + 'filteredSearchResultIndicationColor=110,110,110' + 'hyperlinkColor=102,175,249' + 'hyperlinkColor.SystemDefault=false' + 'infoIndicationColor=86,194,170' + 'lineNumberColor=98,98,98' + 'linked.slave.color=66,156,255' + 'matchingTagIndicationColor=72,72,72' + 'occurrenceIndicationColor=72,72,72' + 'overrideIndicatorColor=78,120,117' + 'printMarginColor=98,98,98' + 'searchResultHighlighting=false' + 'searchResultIndication=true' + 'searchResultIndicationColor=94,94,94' + 'searchResultTextStyle=BOX' + 'secondaryIPColor=54,54,54' + 'spellingIndicationColor=253,170,211' + 'warningIndicationColor=156,114,3' + 'warningIndicationHighlighting=true' + 'writeOccurrenceIndicationColor=51,90,114' +} + +IEclipsePreferences#org-eclipse-ui-workbench { + preferences: + 'ACTIVE_HYPERLINK_COLOR=138,201,242' + 'CONFLICTING_COLOR=240,15,66' + 'CONTENT_ASSIST_BACKGROUND_COLOR=52,57,61' + 'CONTENT_ASSIST_FOREGROUND_COLOR=238,238,238' + 'ERROR_COLOR=247,68,117' + 'HYPERLINK_COLOR=111,197,238' + 'INCOMING_COLOR=31,179,235' + 'OUTGOING_COLOR=238,238,238' + 'RESOLVED_COLOR=108,210,17' +} + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark.css new file mode 100644 index 00000000..880d911f --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark.css @@ -0,0 +1,179 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 Andrea Guarinoni and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Andrea Guarinoni - initial API and implementation + * Lars Vogel - initial API and implementation + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css"); +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */ +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css"); + + +.MTrimmedWindow.topLevel { + margin-top: 3px; + margin-bottom: 3px; + margin-left: 3px; + margin-right: 3px; +} + +.MPartStack, .MPart { + font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; +} + +.MPartStack { + swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); + swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; /* title background for selected tab */ + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */ + swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ + swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ + padding: 0px 2px 2px; + swt-shadow-visible: false; + swt-mru-visible: true; + swt-corner-radius: 16px; +} + +.MPartStack.active { + swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; /* title background for selected tab */ + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */ + swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ + swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ +} + +.MPartStack.active.noFocus { + swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%; +} + +.MPartStack.empty { + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */ + swt-tab-outline: #535354; /* border color for selected tab */ + swt-outer-keyline-color: #515658; /* border color for whole tabs container */ +} + +.MPart.busy { + font-style: italic; +} + +.MPart.highlighted { + font-weight: bold; +} + +CTabItem, +CTabItem CLabel { + background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR'; +} +CTabItem:selected, +CTabItem:selected CLabel { + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR'; +} + +.MPartStack.active > CTabItem, +.MPartStack.active > CTabItem CLabel { + background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR'; +} +.MPartStack.active > CTabItem:selected, +.MPartStack.active > CTabItem:selected CLabel { + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR'; +} + +.MPartStack.active.noFocus > CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR'; +} + +CTabItem.busy { + color: #888888; +} + +#PerspectiveSwitcher { + eclipse-perspective-keyline-color: #AAB0BF #AAB0BF; +} + +.MToolControl.TrimStack { + /*frame-image: url(./gtkTSFrame.png);*/ + handle-image: url(./dragHandle.png); + frame-cuts: 5px 1px 5px 16px; +} + +.MToolBar.Draggable { + handle-image: url(./dragHandle.png); +} + +.MToolControl.Draggable { + handle-image: url(./dragHandle.png); +} + +.DragFeedback { + background-color: COLOR-WIDGET-NORMAL-SHADOW; +} + +.ModifiedDragFeedback { + background-color: #4176AF; +} + +.MTrimmedWindow { + background-color: #515658; +} + +.MTrimBar { + background-color: #515658; +} + +CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active { + swt-shadow-visible: false; +} + + +CTabFolder Tree, CTabFolder Canvas { + background-color: #2F2F2F; + color: #CCC; +} +.MPartStack.active Tree, +.MPartStack.active CTabFolder Canvas { + background-color: #262626; + color: #CCC; +} + +.MPartStack.active Table { + background-color: #2F2F2F; + color: #CCC; +} + +.View { + background-color: #313538; + color: #F5F5F5; +} + + +/* ###################### Top Toolbar ########################## */ + +#org-eclipse-ui-main-toolbar, #PerspectiveSwitcher { + eclipse-perspective-keyline-color: #585858; + background-color: #515658 #515658 100%; + handle-image: none; + color: #EBE8E4; +} + + +/* #################### Bottom Status Bar ######################## */ + +#org-eclipse-ui-StatusLine, +#org-eclipse-ui-ProgressBar, +#org-eclipse-ui-ProgressBar Canvas { + color: #CCCCCC; +} +#org-eclipse-ui-StatusLine CLabel { + color: #BDBAB7; +} + +StatusLine, ImageBasedFrame{ + color: #BDBAB7; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark_mac.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark_mac.css new file mode 100644 index 00000000..c368f07a --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark_mac.css @@ -0,0 +1,341 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 Andrea Guarinoni and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Andrea Guarinoni - initial API and implementation + *******************************************************************************/ + +/******************************************************************************* + * The following bugs are referred to in this style sheet + * 1.) Bug 419482 - Cascading policy in CSS + * 2.) Bug 430052 - Imported rules cannot be overridden + *******************************************************************************/ + + +/* @import url("platform:/plugin/org.eclipse.ui.themes/css/e4-dark.css"); Bug 430052 */ +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css"); +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */ +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css"); + + +.MTrimmedWindow.topLevel { + margin-top: 3px; + margin-bottom: 3px; + margin-left: 3px; + margin-right: 3px; +} + +.MPartStack, .MPart { + font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; +} + +.MPartStack { + swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); + swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; /* title background for selected tab */ + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */ + swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ + swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ + padding: 0px 2px 2px; + swt-shadow-visible: false; + swt-mru-visible: true; + swt-corner-radius: 16px; +} + +.MPartStack.active { + swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; /* title background for selected tab */ + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */ + swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ + swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ +} + +.MPartStack.active.noFocus { + swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%; +} + +.MPartStack.empty { + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */ + swt-tab-outline: #535354; /* border color for selected tab */ + swt-outer-keyline-color: #515658; /* border color for whole tabs container */ +} + +.MPart.busy { + font-style: italic; +} + +.MPart.highlighted { + font-weight: bold; +} + +CTabItem, +CTabItem CLabel { + background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR'; +} +CTabItem:selected, +CTabItem:selected CLabel { + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR'; +} + +.MPartStack.active > CTabItem, +.MPartStack.active > CTabItem CLabel { + background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR'; +} +.MPartStack.active > CTabItem:selected, +.MPartStack.active > CTabItem:selected CLabel { + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR'; +} + +.MPartStack.active.noFocus > CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR'; +} + +CTabItem.busy { + color: #888888; +} + +#PerspectiveSwitcher { + eclipse-perspective-keyline-color: #AAB0BF #AAB0BF; +} + +.MToolControl.TrimStack { + /*frame-image: url(./gtkTSFrame.png);*/ + handle-image: url(./dragHandle.png); + frame-cuts: 5px 1px 5px 16px; +} + +.MToolBar.Draggable { + handle-image: url(./dragHandle.png); +} + +.MToolControl.Draggable { + handle-image: url(./dragHandle.png); +} + +.DragFeedback { + background-color: COLOR-WIDGET-NORMAL-SHADOW; +} + +.ModifiedDragFeedback { + background-color: #4176AF; +} + +.MTrimmedWindow { + background-color: #515658; +} + +.MTrimBar { + background-color: #515658; +} + +CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active { + swt-shadow-visible: false; +} + + +CTabFolder Tree, CTabFolder Canvas { + background-color: #2F2F2F; + color: #CCC; +} +.MPartStack.active Tree, +.MPartStack.active CTabFolder Canvas { + background-color: #262626; + color: #CCC; +} + +.MPartStack.active Table { + background-color: #2F2F2F; + color: #CCC; +} + +.View { + background-color: #313538; + color: #F5F5F5; +} + + +/* ###################### Top Toolbar ########################## */ + +#org-eclipse-ui-main-toolbar, #PerspectiveSwitcher { + eclipse-perspective-keyline-color: #585858; + background-color: #515658 #515658 100%; + handle-image: none; + color: #EBE8E4; +} + + +/* #################### Bottom Status Bar ######################## */ + +#org-eclipse-ui-StatusLine, +#org-eclipse-ui-ProgressBar, +#org-eclipse-ui-ProgressBar Canvas { + color: #CCCCCC; +} +#org-eclipse-ui-StatusLine CLabel { + color: #BDBAB7; +} + +StatusLine, ImageBasedFrame{ + color: #BDBAB7; +} + + + +/* ###################### Global Styles ########################## */ + +TabFolder, +/* the following are required due to Bug 419482: */ +TabFolder > Composite > TabFolder, +TabFolder > Composite > * > TabFolder, +DocCommentOwnerComposite > Group > TabFolder, +TabFolder > Composite > ScrolledComposite > TabFolder, +Shell > Composite > Composite > TabFolder, +Composite > Composite > Composite > Group > TabFolder, +Shell > Composite > Composite > Composite > TabFolder, +ScrolledComposite > Composite > Composite > Composite > TabFolder, +Shell > Composite > Composite > Composite > Composite > Composite > TabFolder, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > TabFolder, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > TabFolder { + /* background-color is not applied to the whole button, + but text color is changed, so it appear light on light */ + background-color: #515658; + color: #222; +} + +Button, +/* the following are required due to Bug 419482: */ +Composite > Button, +TabFolder > Composite > Button, +TabFolder > Composite > * > Button, +DocCommentOwnerComposite > Group > Button, +TabFolder > Composite > ScrolledComposite > Button, +Shell > Composite > Composite > Button, +Composite > Composite > Composite > Group > Button, +Shell > Composite > Composite > Composite > Button, +ScrolledComposite > Composite > Composite > Composite > Button, +Shell > Composite > Composite > Composite > Composite > Composite > Button, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Button, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Button, +Form > LayoutComposite > LayoutComposite > Button, +.MPart Button, +.MPartStack.active .MPart Button, +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button, +.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button { + /* background-color is not applied to the whole button, + but text color is changed, so it appear light on light */ + background-color: #515658; + color: #222; +} +Button[style~='SWT.CHECK'], +/* the following are required due to Bug 419482: */ +Composite > Button[style~='SWT.CHECK'], +TabFolder > Composite > Button[style~='SWT.CHECK'], +TabFolder > Composite > * > Button[style~='SWT.CHECK'], +DocCommentOwnerComposite > Group > Button[style~='SWT.CHECK'], +TabFolder > Composite > ScrolledComposite > Button[style~='SWT.CHECK'], +Shell > Composite > Composite > Button[style~='SWT.CHECK'], +Composite > Composite > Composite > Group > Button[style~='SWT.CHECK'], +Shell > Composite > Composite > Composite > Button[style~='SWT.CHECK'], +ScrolledComposite > Composite > Composite > Composite > Button[style~='SWT.CHECK'], +Shell > Composite > Composite > Composite > Composite > Composite > Button[style~='SWT.CHECK'], +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Button[style~='SWT.CHECK'], +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Button[style~='SWT.CHECK'], +Form > LayoutComposite > LayoutComposite > Button[style~='SWT.CHECK'], +.MPart Button[style~='SWT.CHECK'], +.MPartStack.active .MPart Button[style~='SWT.CHECK'], +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.CHECK'], +.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.CHECK'] { + /* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */ + /* so, css rules applied to Button have to be overridden for non-Button matches */ + color: #ddd; +} +Button[style~='SWT.RADIO'], +/* the following are required due to Bug 419482: */ +Composite > Button[style~='SWT.RADIO'], +TabFolder > Composite > Button[style~='SWT.RADIO'], +TabFolder > Composite > * > Button[style~='SWT.RADIO'], +DocCommentOwnerComposite > Group > Button[style~='SWT.RADIO'], +TabFolder > Composite > ScrolledComposite > Button[style~='SWT.RADIO'], +Shell > Composite > Composite > Button[style~='SWT.RADIO'], +Composite > Composite > Composite > Group > Button[style~='SWT.RADIO'], +Shell > Composite > Composite > Composite > Button[style~='SWT.RADIO'], +ScrolledComposite > Composite > Composite > Composite > Button[style~='SWT.RADIO'], +Shell > Composite > Composite > Composite > Composite > Composite > Button[style~='SWT.RADIO'], +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Button[style~='SWT.RADIO'], +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Button[style~='SWT.RADIO'], +Form > LayoutComposite > LayoutComposite > Button[style~='SWT.RADIO'], +.MPart Button[style~='SWT.RADIO'], +.MPartStack.active .MPart Button[style~='SWT.RADIO'], +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.RADIO'], +.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Button[style~='SWT.RADIO'] { + /* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */ + /* so, css rules applied to Button have to be overridden for non-Button matches */ + color: #ddd; +} + +Combo, +/* the following are required due to Bug 419482: */ +Composite > Combo, +TabFolder > Composite > Combo, +TabFolder > Composite > * > Combo, +DocCommentOwnerComposite > Group > Combo, +TabFolder > Composite > ScrolledComposite > Combo, +Shell > Composite > Composite > Combo, +Composite > Composite > Composite > Group > Combo, +Shell > Composite > Composite > Composite > Combo, +ScrolledComposite > Composite > Composite > Composite > Combo, +Shell > Composite > Composite > Composite > Composite > Composite > Combo, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Combo, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Combo, +Form > LayoutComposite > LayoutComposite > Combo, +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Combo { + background-color: #949DA5; + color: #222; /* background of drop-drown list is hard-coded to white */ +} +Combo:selected, +/* the following are required due to Bug 419482: */ +Composite > Combo:selected, +TabFolder > Composite > Combo:selected, +TabFolder > Composite > * > Combo:selected, +DocCommentOwnerComposite > Group > Combo:selected, +TabFolder > Composite > ScrolledComposite > Combo:selected, +Shell > Composite > Composite > Combo:selected, +Composite > Composite > Composite > Group > Combo:selected, +Shell > Composite > Composite > Composite > Combo:selected, +ScrolledComposite > Composite > Composite > Composite > Combo:selected, +Shell > Composite > Composite > Composite > Composite > Composite > Combo:selected, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Combo:selected, +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Combo:selected, +Form > LayoutComposite > LayoutComposite > Combo:selected, +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Combo:selected { + background-color: #41464A; + color: #FFF; +} + +Text[style~='SWT.SEARCH'], +/* the following are required due to Bug 419482: */ +Composite > Text[style~='SWT.SEARCH'], +TabFolder > Composite > Text[style~='SWT.SEARCH'], +TabFolder > Composite > * > Text[style~='SWT.SEARCH'], +DocCommentOwnerComposite > Group > Text[style~='SWT.SEARCH'], +TabFolder > Composite > ScrolledComposite > Text[style~='SWT.SEARCH'], +Shell > Composite > Composite > Text[style~='SWT.SEARCH'], +Composite > Composite > Composite > Group > Text[style~='SWT.SEARCH'], +Shell > Composite > Composite > Composite > Text[style~='SWT.SEARCH'], +ScrolledComposite > Composite > Composite > Composite > Text[style~='SWT.SEARCH'], +Shell > Composite > Composite > Composite > Composite > Composite > Text[style~='SWT.SEARCH'], +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > Text[style~='SWT.SEARCH'], +Shell[style~='SWT.RADIO'][style~='SWT.CASCADE'][style~='SWT.SHADOW_ETCHED_IN'][style~='SWT.SHADOW_ETCHED_OUT'][style~='SWT.RESIZE'][style~='SWT.MENU'][style~='SWT.FULL_SELECTION'][style~='SWT.DATE'] > Composite > * > Text[style~='SWT.SEARCH'], +#org-eclipse-pde-runtime-LogView Text[style~='SWT.SEARCH'], +Form > LayoutComposite > LayoutComposite > Text[style~='SWT.SEARCH'], +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Text[style~='SWT.SEARCH'] { + /* search boxes */ + background-color: #949da5; /* background-color is hard-coded */ + color: #333; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark_win.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark_win.css new file mode 100644 index 00000000..772b6053 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4-dark_win.css @@ -0,0 +1,297 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 Andrea Guarinoni and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Andrea Guarinoni - initial API and implementation + *******************************************************************************/ + +/******************************************************************************* + * The following bugs are referred to in this style sheet + * 1.) Bug 430052 - Imported rules cannot be overridden + *******************************************************************************/ + + +/* @import url("platform:/plugin/org.eclipse.ui.themes/css/e4-dark.css"); Bug 430052 */ +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css"); +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */ +@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css"); + + +.MTrimmedWindow.topLevel { + margin-top: 3px; + margin-bottom: 3px; + margin-left: 3px; + margin-right: 3px; +} + +.MPartStack, .MPart { + font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; +} + +.MPartStack { + swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); + swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; /* title background for selected tab */ + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */ + swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ + swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ + padding: 0px 2px 2px; + swt-shadow-visible: false; + swt-mru-visible: true; + swt-corner-radius: 16px; +} + +.MPartStack.active { + swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; /* title background for selected tab */ + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */ + swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */ + swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */ +} + +.MPartStack.active.noFocus { + swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%; +} + +.MPartStack.empty { + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */ + swt-tab-outline: #535354; /* border color for selected tab */ + swt-outer-keyline-color: #515658; /* border color for whole tabs container */ +} + +.MPart.busy { + font-style: italic; +} + +.MPart.highlighted { + font-weight: bold; +} + +CTabItem, +CTabItem CLabel { + background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR'; +} +CTabItem:selected, +CTabItem:selected CLabel { + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR'; +} + +.MPartStack.active > CTabItem, +.MPartStack.active > CTabItem CLabel { + background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */ + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR'; +} +.MPartStack.active > CTabItem:selected, +.MPartStack.active > CTabItem:selected CLabel { + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR'; +} + +.MPartStack.active.noFocus > CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR'; +} + +CTabItem.busy { + color: #888888; +} + +#PerspectiveSwitcher { + eclipse-perspective-keyline-color: #AAB0BF #AAB0BF; +} + +.MToolControl.TrimStack { + /*frame-image: url(./gtkTSFrame.png);*/ + handle-image: url(./dragHandle.png); + frame-cuts: 5px 1px 5px 16px; +} + +.MToolBar.Draggable { + handle-image: url(./dragHandle.png); +} + +.MToolControl.Draggable { + handle-image: url(./dragHandle.png); +} + +.DragFeedback { + background-color: COLOR-WIDGET-NORMAL-SHADOW; +} + +.ModifiedDragFeedback { + background-color: #4176AF; +} + +.MTrimmedWindow { + background-color: #515658; +} + +.MTrimBar { + background-color: #515658; +} + +CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active { + swt-shadow-visible: false; +} + + +CTabFolder Tree, CTabFolder Canvas { + background-color: #2F2F2F; + color: #CCC; +} +.MPartStack.active Tree, +.MPartStack.active CTabFolder Canvas { + background-color: #262626; + color: #CCC; +} + +.MPartStack.active Table { + background-color: #2F2F2F; + color: #CCC; +} + +.View { + background-color: #313538; + color: #F5F5F5; +} + + +/* ####################### Top Toolbar ########################## */ + +#org-eclipse-ui-main-toolbar, #PerspectiveSwitcher { + eclipse-perspective-keyline-color: #585858; + background-color: #515658 #515658 100%; + handle-image: none; + color: #EBE8E4; +} + + +/* ##################### Bottom Status Bar ####################### */ + +#org-eclipse-ui-StatusLine, +#org-eclipse-ui-ProgressBar, +#org-eclipse-ui-ProgressBar Canvas { + color: #CCCCCC; +} +#org-eclipse-ui-StatusLine CLabel { + color: #BDBAB7; +} + +StatusLine, ImageBasedFrame{ + color: #BDBAB7; +} + + + +/* ####################### CSS for .MParts ####################### */ + +/* Make the content of the Form brighter because the color of + the font of some widgets is hard-coded to be black on Window */ + +.MPart Form, +.MPart Form Sash, +.MPart Form Label, +.MPart Form Section, +.MPart Form FormText, +.MPart Form Link, +.MPart Form Hyperlink, +.MPart Form ImageHyperlink, +.MPart Form Button, +.MPart Form Group, +.MPart Form SashForm, +.MPart Form LayoutComposite, +.MPart Form ScrolledPageBook, +.MPart Form DependenciesComposite, +.MPart Form ListEditorComposite, +.MPart Form Text[style~='SWT.READ_ONLY'], +.MPart Form > LayoutComposite > LayoutComposite > ToolBar, +.MPart Form DependenciesComposite > SashForm > Section > *, /* Section > DependenciesComposite$... */ +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > *, /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ +.MPartStack.active .MPart Form, +.MPartStack.active .MPart Form Sash, +.MPartStack.active .MPart Form Label, +.MPartStack.active .MPart Form Section, +.MPartStack.active .MPart Form FormText, +.MPartStack.active .MPart Form Link, +.MPartStack.active .MPart Form Hyperlink, +.MPartStack.active .MPart Form ImageHyperlink, +.MPartStack.active .MPart Form Button, +.MPartStack.active .MPart Form Group, +.MPartStack.active .MPart Form SashForm, +.MPartStack.active .MPart Form LayoutComposite, +.MPartStack.active .MPart Form ScrolledPageBook, +.MPartStack.active .MPart Form DependenciesComposite, +.MPartStack.active .MPart Form ListEditorComposite, +.MPartStack.active .MPart Form Text[style~='SWT.READ_ONLY'], +.MPartStack.active .MPart Form > LayoutComposite > LayoutComposite > ToolBar, +.MPartStack.active .MPart Form DependenciesComposite > SashForm > Section > *, /* Section > DependenciesComposite$... */ +.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > * /*LayoutComposite > MasterDetailBlock$... > LayoutComposite > Section > LayoutComposite > ExtensionsSection$...*/ { + background-color: #4f5355; + color: #f4f7f7; +} +#org-eclipse-help-ui-HelpView Form, +#org-eclipse-help-ui-HelpView Form Sash, +#org-eclipse-help-ui-HelpView Form Label, +#org-eclipse-help-ui-HelpView Form Section, +#org-eclipse-help-ui-HelpView Form FormText, +#org-eclipse-help-ui-HelpView Form Hyperlink, +#org-eclipse-help-ui-HelpView Form Button, +#org-eclipse-help-ui-HelpView Form Group, +#org-eclipse-help-ui-HelpView Form LayoutComposite, +#org-eclipse-help-ui-HelpView Form ScrolledPageBook, +#org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] { + background-color: #2F2F2F; + color: #CCCCCC; +} +.MPartStack.active #org-eclipse-help-ui-HelpView Form, +.MPartStack.active #org-eclipse-help-ui-HelpView Form Sash, +.MPartStack.active #org-eclipse-help-ui-HelpView Form Label, +.MPartStack.active #org-eclipse-help-ui-HelpView Form Section, +.MPartStack.active #org-eclipse-help-ui-HelpView Form FormText, +.MPartStack.active #org-eclipse-help-ui-HelpView Form Hyperlink, +.MPartStack.active #org-eclipse-help-ui-HelpView Form Button, +.MPartStack.active #org-eclipse-help-ui-HelpView Form Group, +.MPartStack.active #org-eclipse-help-ui-HelpView Form LayoutComposite, +.MPartStack.active #org-eclipse-help-ui-HelpView Form ScrolledPageBook, +.MPartStack.active #org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] { + background-color: #262626; + color: #BBBBBB; +} +.MPart Form Section Tree, +.MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree, +.MPartStack.active .MPart Form Section Tree, +.MPartStack.active .MPart LayoutComposite > * > LayoutComposite > Section > LayoutComposite > Tree { + background-color: #313538; + color: #DDDDDD; +} +.MPart Form DatePicker > ImageHyperlink, +.MPart Form ScheduleDatePicker > ImageHyperlink { + background-color: #3f4447; + color: #BBBBBB; +} +.MPartStack.active .MPart Form DatePicker > ImageHyperlink, +.MPartStack.active .MPart Form ScheduleDatePicker > ImageHyperlink { + background-color: #313538; + color: #AAAAAA; +} +.MPart PageBook > Form > LayoutComposite { + background-color: #2F2F2F; + color: #CCC; +} +.MPartStack.active .MPart PageBook > Form > LayoutComposite { + background-color: #262626; + color: #BBBBBB; +} +.MPart Form FormHeading LayoutComposite, +.MPart Form FormHeading ImageHyperlink { + background-color: #505f70; + color: #9ac9d8; +} +.MPartStack.active .MPart Form FormHeading LayoutComposite, +.MPartStack.active .MPart Form FormHeading ImageHyperlink { + background-color: #415062; + color: #9ac9d8; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_basestyle.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_basestyle.css new file mode 100644 index 00000000..a7cfb06f --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_basestyle.css @@ -0,0 +1,205 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ + +/* New ColorDefinitions for the E4 default theme */ +ThemesExtension { color-definition: + '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START', + '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END', + '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR', + '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR', + '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START', + '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END', + '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR', + '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_START') +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_END'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTER_KEYLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_INNER_KEYLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR { + color: #B6BCCC; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_START'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_END'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTER_KEYLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR { + color: #FFFFFF; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_INNER_KEYLINE_COLOR'); +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR { + color: #B6BCCC; + category: '#org-eclipse-ui-presentation-default'; + label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTLINE_COLOR'); +} + +/* Already existing ColorDefinitions overridden for the E4 default theme */ +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START { + color: #dddfe5; +} + +ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END { + color: #FFFFFF; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START{ + color: #FFFFFF; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END { + color: #FFFFFF; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START { + color: #FFFFFF; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END { + color: #FFFFFF; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR { + color: #000000; +} + +.MTrimmedWindow.topLevel { + margin-top: 3px; + margin-bottom: 3px; + margin-left: 3px; + margin-right: 3px; +} + +.MPart.busy { + font-style: italic; +} + +.MPart.highlighted { + font-weight: bold; +} + +.MPartStack, .MPart { + font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; +} + +CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR'; +} + +.MPartStack { + swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering'); + swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100% 100%; + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; + swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; + swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; + padding: 0px 2px 2px; + swt-shadow-visible: false; + swt-mru-visible: false; + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR'; +} + +.MPartStack.active { + swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100% 100%; + swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; + swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; + swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR'; + swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; + swt-shadow-visible: false; +} + +.MPartStack.active.noFocus { + swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%; +} + +.MPartStack.active.noFocus > CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR'; +} + +#PerspectiveSwitcher { + eclipse-perspective-keyline-color: #AAB0BF #AAB0BF; +} + +.MToolControl.TrimStack { + frame-image: url(./winXPTSFrame.png); + handle-image: url(./winXPHandle.png); + frame-cuts: 5px 1px 5px 16px; +} + +.MToolBar.Draggable { + handle-image: url(./dragHandle.png); +} + +.MToolControl.Draggable { + handle-image: url(./dragHandle.png); +} + +.DragFeedback { + background-color: COLOR-WIDGET-NORMAL-SHADOW; +} + +.ModifiedDragFeedback { + background-color: #A0A000; +} + +.MPartStack > Composite { + background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; +} + +.MPartStack.active > Composite { + background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; +} + +.MPartStack.active.noFocus > Composite { + background-color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END'; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_classic_win7.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_classic_win7.css new file mode 100644 index 00000000..82828d5c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_classic_win7.css @@ -0,0 +1,84 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ + +.MPart.busy { + font-style: italic; +} + +.MPart.highlighted { + font-weight: bold; +} + +.MPartStack, .MPart { + font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; +} + +CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR'; +} + +.MTrimmedWindow { + margin-top: 0px; + margin-bottom: 0px; + margin-left: 2px; + margin-right: 2px; +} + +.MPartStack { + swt-tab-renderer: null; + swt-selected-tabs-background: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; + swt-simple: false; + swt-mru-visible: true; + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR'; +} + +.MPartStack.active { + swt-selected-tabs-background: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; +} + +.MPartStack.active.noFocus { + swt-selected-tabs-background: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100%; +} + +.MPartStack.active.noFocus > CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR'; +} + +#PerspectiveSwitcher { + eclipse-perspective-keyline-color: #ECE9D8 #FFFFFF; +} + +.MToolControl.TrimStack { + frame-image: url(./winClassicTSFrame.png); + handle-image: url(./winClassicHandle.png); + frame-cuts: 5px 1px 5px 16px; +} + +.MToolBar.Draggable { + handle-image: url(./dragHandle.png); +} + +.MToolControl.Draggable { + handle-image: url(./dragHandle.png); +} + +.DragFeedback { + background-color: COLOR-WIDGET-NORMAL-SHADOW; +} + +.ModifiedDragFeedback { + background-color: #A0A000; +} + +#org-eclipse-ui-editorss { + swt-tab-height: 8px; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_classic_winxp.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_classic_winxp.css new file mode 100644 index 00000000..82828d5c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_classic_winxp.css @@ -0,0 +1,84 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ + +.MPart.busy { + font-style: italic; +} + +.MPart.highlighted { + font-weight: bold; +} + +.MPartStack, .MPart { + font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; +} + +CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR'; +} + +.MTrimmedWindow { + margin-top: 0px; + margin-bottom: 0px; + margin-left: 2px; + margin-right: 2px; +} + +.MPartStack { + swt-tab-renderer: null; + swt-selected-tabs-background: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; + swt-simple: false; + swt-mru-visible: true; + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR'; +} + +.MPartStack.active { + swt-selected-tabs-background: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; +} + +.MPartStack.active.noFocus { + swt-selected-tabs-background: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100%; +} + +.MPartStack.active.noFocus > CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR'; +} + +#PerspectiveSwitcher { + eclipse-perspective-keyline-color: #ECE9D8 #FFFFFF; +} + +.MToolControl.TrimStack { + frame-image: url(./winClassicTSFrame.png); + handle-image: url(./winClassicHandle.png); + frame-cuts: 5px 1px 5px 16px; +} + +.MToolBar.Draggable { + handle-image: url(./dragHandle.png); +} + +.MToolControl.Draggable { + handle-image: url(./dragHandle.png); +} + +.DragFeedback { + background-color: COLOR-WIDGET-NORMAL-SHADOW; +} + +.ModifiedDragFeedback { + background-color: #A0A000; +} + +#org-eclipse-ui-editorss { + swt-tab-height: 8px; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_gtk.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_gtk.css new file mode 100644 index 00000000..7dd2ed1c --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_gtk.css @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #DCDCDC; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #E1E1E1; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR { + color: #B4B4B4; +} + +.MTrimmedWindow { + background-color: #E2E2E2; +} + +.MPartStack { + swt-simple: false; + swt-mru-visible: false; +} + +.MTrimBar { + background-color: #E2E2E2; +} + +.MTrimBar#org-eclipse-ui-main-toolbar { + background-color: COLOR-WIDGET-BACKGROUND #E2E2E2 100%; +} + +.MToolControl.TrimStack { + frame-image: url(./gtkTSFrame.png); + handle-image: url(./gtkHandle.png); +} + +#PerspectiveSwitcher { + background-color: COLOR-WIDGET-BACKGROUND #E2E2E2 100%; + eclipse-perspective-keyline-color: #B4B4B4 #B4B4B4; +} + +#org-eclipse-ui-editorss { + swt-tab-height: 8px; + padding: 0px 5px 7px; +} + +CTabFolder.MArea .MPartStack, CTabFolder.MArea .MPartStack.active { + swt-shadow-visible: false; +} + +CTabFolder Canvas { + background-color: #F8F8F8; +} + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_mac.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_mac.css new file mode 100644 index 00000000..a2a4e517 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_mac.css @@ -0,0 +1,65 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #F6F6F6; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #D6D6D6; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #C4C5C1; +} + +.MTrimmedWindow { + background-color: #E8E8E8; +} + +.MPartStack { + swt-simple: false; + swt-mru-visible: false; +} + +.MTrimBar { + background-color: #E8E8E8; +} + +.MTrimBar#org-eclipse-ui-main-toolbar { + background-color: #CFCFCF #A8A8A8 100%; +} + +.MToolControl.TrimStack { + frame-image: url(./macTSFrame.png); + handle-image: url(./macHandle.png); +} + +#PerspectiveSwitcher { + background-color: #F0F0F0 #E8E8E8 100%; + eclipse-perspective-keyline-color: #515151 #515151; +} + +#org-eclipse-ui-editorss { + swt-tab-height: 8px; + padding: 0px 5px 7px; +} + +CTabFolder.MArea .MPartStack, CTabFolder.MArea .MPartStack.active { + swt-shadow-visible: false; +} + +CTabFolder Canvas { + background-color: #F0F0F0; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_mru_on_win7.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_mru_on_win7.css new file mode 100644 index 00000000..bd18a2b0 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_mru_on_win7.css @@ -0,0 +1,64 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #D2E1F0; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #CEDDED; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #B6BCCC; +} + +.MTrimmedWindow { + background-color: #E1E6F6; +} + +.MPartStack { + swt-simple: true; + swt-mru-visible: true; +} + +.MTrimBar { + background-color: #E1E6F6; +} + +.MToolControl.TrimStack { + frame-image: url(./win7TSFrame.png); + handle-image: url(./win7Handle.png); +} + +.MTrimBar#org-eclipse-ui-main-toolbar { + background-image: url(./win7.png); +} + +#PerspectiveSwitcher { + background-color: #F5F7FC #E1E6F6 100%; +} + +#org-eclipse-ui-editorss { + swt-tab-height: 8px; + padding: 0px 5px 7px; +} + +CTabFolder.MArea .MPartStack, CTabFolder.MArea .MPartStack.active { + swt-shadow-visible: false; +} + +CTabFolder Canvas { + background-color: #F8F8F8; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_win7.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_win7.css new file mode 100644 index 00000000..57cec6ed --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_win7.css @@ -0,0 +1,64 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #D2E1F0; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #CEDDED; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #B6BCCC; +} + +.MTrimmedWindow { + background-color: #E1E6F6; +} + +.MPartStack { + swt-simple: true; + swt-mru-visible: false; +} + +.MTrimBar { + background-color: #E1E6F6; +} + +.MTrimBar#org-eclipse-ui-main-toolbar { + background-image: url(./win7.png); +} + +.MToolControl.TrimStack { + frame-image: url(./win7TSFrame.png); + handle-image: url(./win7Handle.png); +} + +#PerspectiveSwitcher { + background-color: #F5F7FC #E1E6F6 100%; +} + +#org-eclipse-ui-editorss { + swt-tab-height: 8px; + padding: 0px 5px 7px; +} + +CTabFolder.MArea .MPartStack, CTabFolder.MArea .MPartStack.active { + swt-shadow-visible: false; +} + +CTabFolder Canvas { + background-color: #F8F8F8; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_winxp_blu.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_winxp_blu.css new file mode 100644 index 00000000..7cbe02d4 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_winxp_blu.css @@ -0,0 +1,67 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ + +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #F1F4FD; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #C9D7F2; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #B8C7E5; +} + +.MTrimmedWindow { + background-color: #F0ECE0; +} + +.MPartStack { + swt-simple: true; + swt-mru-visible: false; +} + +.MTrimBar { + background-color: #F0ECE0; +} + + +.MTrimBar#org-eclipse-ui-main-toolbar { + background-image: url(./winXPBlue.png); +} + +.MToolControl.TrimStack { + frame-image: url(./winXPBluTSFrame.png); + handle-image: url(./winXPBluHandle.png); +} + +#PerspectiveSwitcher { + background-color: #F5F3ED #F0ECE0 100%; + eclipse-perspective-keyline-color: #7F91B5 #7F91B5; +} + +#org-eclipse-ui-editorss { + swt-tab-height: 8px; + padding: 0px 5px 7px; +} + +CTabFolder.MArea .MPartStack, CTabFolder.MArea .MPartStack.active { + swt-shadow-visible: false; +} + +CTabFolder Canvas { + background-color: #F8F8F8; +} + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_winxp_olv.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_winxp_olv.css new file mode 100644 index 00000000..5b90af70 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/e4_default_winxp_olv.css @@ -0,0 +1,72 @@ +/******************************************************************************* + * Copyright (c) 2010, 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Lars Vogel - Bug 420836 + *******************************************************************************/ +@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_basestyle.css"); + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START { + color: #E6E3C3; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END { + color: #EDEACA; +} + +ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR { + color: #BFCDA4; +} + +.MTrimmedWindow { + margin-top: 2px; + margin-bottom: 2px; + margin-left: 2px; + margin-right: 2px; +} + +.MTrimmedWindow.topLevel { + margin-top: 24px; + margin-bottom: 2px; + margin-left: 12px; + margin-right: 12px; +} + +.MPart.busy { + font-style: italic; +} + +.MPart.highlighted { + font-weight: bold; +} + +.MPartStack, .MPart { + font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT'; +} + +.MPartStack { + swt-simple: true; + swt-mru-visible: false; +} + +.MTrimBar#org-eclipse-ui-main-toolbar { + background-image: url(./winXPOlive.png); +} + +#PerspectiveSwitcher { + background-color: #F5F3ED #F0ECE0 100%; + eclipse-perspective-keyline-color: #A7B680 #A7B680; +} + +.MToolBar.Draggable { + handle-image: url(./dragHandle.png); +} + +.MToolControl.Draggable { + handle-image: url(./dragHandle.png); +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/high-contrast.css b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/high-contrast.css new file mode 100644 index 00000000..9523ecf2 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/high-contrast.css @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2014 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + + @import url("platform:/plugin/org.eclipse.ui.themes/css/e4_classic_win7.css"); + +CTabItem:selected { + color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR'; +} + +.MPartStack.active > CTabItem:selected { + color: '#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR'; +} diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/dragHandle.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/dragHandle.png new file mode 100644 index 00000000..bea11793 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/dragHandle.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/gtkHandle.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/gtkHandle.png new file mode 100644 index 00000000..b0288cf9 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/gtkHandle.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/gtkTSFrame.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/gtkTSFrame.png new file mode 100644 index 00000000..dd08bba1 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/gtkTSFrame.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macGrey.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macGrey.png new file mode 100644 index 00000000..59075add Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macGrey.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macHandle.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macHandle.png new file mode 100644 index 00000000..98b2193b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macHandle.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macTSFrame.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macTSFrame.png new file mode 100644 index 00000000..ee32cf56 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/macTSFrame.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7.png new file mode 100644 index 00000000..b9bf09d3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7Handle.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7Handle.png new file mode 100644 index 00000000..b73a9632 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7Handle.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7TSFrame.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7TSFrame.png new file mode 100644 index 00000000..eec6be6f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/win7TSFrame.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winClassicHandle.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winClassicHandle.png new file mode 100644 index 00000000..cfeb6dd3 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winClassicHandle.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winClassicTSFrame.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winClassicTSFrame.png new file mode 100644 index 00000000..0b9101cc Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winClassicTSFrame.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBluHandle.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBluHandle.png new file mode 100644 index 00000000..45441b32 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBluHandle.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBluTSFrame.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBluTSFrame.png new file mode 100644 index 00000000..5880d782 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBluTSFrame.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBlue.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBlue.png new file mode 100644 index 00000000..fc279647 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPBlue.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPHandle.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPHandle.png new file mode 100644 index 00000000..17eb69a8 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPHandle.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPOlive.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPOlive.png new file mode 100644 index 00000000..c745ee1b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPOlive.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPTSFrame.png b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPTSFrame.png new file mode 100644 index 00000000..baf45b9b Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/images/winXPTSFrame.png differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/plugin.properties b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/plugin.properties new file mode 100644 index 00000000..94274447 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/plugin.properties @@ -0,0 +1,49 @@ +############################################################################### +# Copyright (c) 2013, 2014 vogella GmbH and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Lars Vogel - initial API and implementation +# IBM Corporation +############################################################################### +Plugin.name = Eclipse SDK Themes +Plugin.providerName = Eclipse.org + +theme.classic = Classic +theme.gtk = GTK +theme.mac = Mac +theme.win7 = Windows 7 +theme.dark = Dark +theme.winxpBlue = Windows XP Blue +theme.winxpOlive = Windows XP Olive +theme.win7Classic = Windows 7 Classic +theme.solaris = Solaris +theme.aix = AIX +theme.hpux = HPUX +theme.high-contrast = High Contrast + +#New theme element definitions +INACTIVE_UNSELECTED_TABS_COLOR_START=Inactive, unselected part color begin +INACTIVE_UNSELECTED_TABS_COLOR_END=Inactive, unselected part color end +INACTIVE_TAB_OUTER_KEYLINE_COLOR=Inactive part outer keyline color +INACTIVE_TAB_INNER_KEYLINE_COLOR=Inactive part inner keyline color +INACTIVE_TAB_OUTLINE_COLOR=Inactive part outline color +ACTIVE_UNSELECTED_TABS_COLOR_START=Active, unselected part color begin +ACTIVE_UNSELECTED_TABS_COLOR_END=Active, unselected part color end +ACTIVE_TAB_OUTER_KEYLINE_COLOR=Active part outer keyline color +ACTIVE_TAB_INNER_KEYLINE_COLOR=Active part inner keyline color +ACTIVE_TAB_OUTLINE_COLOR=Active part outline color +INACTIVE_TAB_BG_START=Inactive, selected part background begin +INACTIVE_TAB_BG_END=Inactive, selected part background end +INACTIVE_TAB_UNSELECTED_TEXT_COLOR=Inactive, unselected part foreground +INACTIVE_TAB_SELECTED_TEXT_COLOR=Inactive, selected part foreground +ACTIVE_TAB_BG_START=Active, selected part background begin +ACTIVE_TAB_BG_END=Active, selected part background end +ACTIVE_TAB_UNSELECTED_TEXT_COLOR=Active, unselected part foreground +ACTIVE_TAB_SELECTED_TEXT_COLOR=Active, selected part foreground +ACTIVE_NOFOCUS_TAB_BG_START=Active (no focus), selected part background begin +ACTIVE_NOFOCUS_TAB_BG_END=Active (no focus), selected part background end +ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR=Active (no focus), selected part foreground diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/plugin.xml b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/plugin.xml new file mode 100644 index 00000000..5334aec9 --- /dev/null +++ b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/plugin.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..107e283a Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..8d93e828 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views_3.7.0.v20140408-0703.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views_3.7.0.v20140408-0703.jar new file mode 100644 index 00000000..689f2c97 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.views_3.7.0.v20140408-0703.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..a43bbf76 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..47ef8378 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench_3.106.1.v20140827-1737.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench_3.106.1.v20140827-1737.jar new file mode 100644 index 00000000..10989e6d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui.workbench_3.106.1.v20140827-1737.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui_3.106.0.v20140812-1751.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui_3.106.0.v20140812-1751.jar new file mode 100644 index 00000000..84272f50 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.ui_3.106.0.v20140812-1751.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator.nl_ja_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator.nl_ja_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..6d763cfd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator.nl_ja_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator.nl_zh_4.4.0.v20140623020002.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator.nl_zh_4.4.0.v20140623020002.jar new file mode 100644 index 00000000..5459260c Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator.nl_zh_4.4.0.v20140623020002.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator_3.3.300.v20140518-1928.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator_3.3.300.v20140518-1928.jar new file mode 100644 index 00000000..d1189c1d Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.eclipse.update.configurator_3.3.300.v20140518-1928.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.sat4j.core_2.3.5.v201308161310.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.sat4j.core_2.3.5.v201308161310.jar new file mode 100644 index 00000000..646c5ee0 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.sat4j.core_2.3.5.v201308161310.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.sat4j.pb_2.3.5.v201404071733.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.sat4j.pb_2.3.5.v201404071733.jar new file mode 100644 index 00000000..44f537f4 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.sat4j.pb_2.3.5.v201404071733.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.css.sac_1.3.1.v200903091627.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.css.sac_1.3.1.v200903091627.jar new file mode 100644 index 00000000..b6c788fd Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.css.sac_1.3.1.v200903091627.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar new file mode 100644 index 00000000..881bca8f Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.smil_1.0.0.v200806040011.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.smil_1.0.0.v200806040011.jar new file mode 100644 index 00000000..fa0250a6 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.smil_1.0.0.v200806040011.jar differ diff --git a/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.svg_1.1.0.v201011041433.jar b/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.svg_1.1.0.v201011041433.jar new file mode 100644 index 00000000..22df4c83 Binary files /dev/null and b/Java-Visualizer/java/lib/missioncontrol/plugins/org.w3c.dom.svg_1.1.0.v201011041433.jar differ diff --git a/Java-Visualizer/java/lib/orb.idl b/Java-Visualizer/java/lib/orb.idl new file mode 100644 index 00000000..fcd077db --- /dev/null +++ b/Java-Visualizer/java/lib/orb.idl @@ -0,0 +1,47 @@ +/* + * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +// IDL not generated by rmic, do not edit +// These are all in IDL module CORBA +// The Java classes are in the package org.omg.CORBA +// See ValueType Semantics:Standard Value Box Definitions (5.3) in CORBA 2.3 spec + +#ifndef __org_omg_CORBA__ +#define __org_omg_CORBA__ + +#pragma prefix "omg.org" + +module CORBA{ + + valuetype StringValue string; + valuetype WStringValue wstring; + +}; + +#include "ir.idl" + +#pragma prefix "" + +#endif diff --git a/Java-Visualizer/java/lib/sa-jdi.jar b/Java-Visualizer/java/lib/sa-jdi.jar new file mode 100644 index 00000000..bb240aa8 Binary files /dev/null and b/Java-Visualizer/java/lib/sa-jdi.jar differ diff --git a/Java-Visualizer/java/lib/tools.jar b/Java-Visualizer/java/lib/tools.jar new file mode 100644 index 00000000..aebd4931 Binary files /dev/null and b/Java-Visualizer/java/lib/tools.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/etc/visualvm.clusters b/Java-Visualizer/java/lib/visualvm/etc/visualvm.clusters new file mode 100644 index 00000000..212adda4 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/etc/visualvm.clusters @@ -0,0 +1,2 @@ +visualvm +profiler diff --git a/Java-Visualizer/java/lib/visualvm/etc/visualvm.conf b/Java-Visualizer/java/lib/visualvm/etc/visualvm.conf new file mode 100644 index 00000000..c22bb83d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/etc/visualvm.conf @@ -0,0 +1,57 @@ +# +# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + +# Default locations of userdir and cachedir: +# +# On Windows ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher +# with "\VisualVM" where is user's +# value of "AppData" key in Windows Registry under +# "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" +# and ${DEFAULT_CACHEDIR_ROOT} will be replaced by the launcher +# with "\VisualVM\Cache" where is user's +# value of "Local AppData" key in Windows Registry under +# "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" +# +# On Mac ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher +# with "~/Library/Application Support/VisualVM" and +# ${DEFAULT_CACHEDIR_ROOT} with "~/Library/Caches/VisualVM" +# +# On other systems ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher +# with "~/.visualvm" and ${DEFAULT_CACHEDIR_ROOT} with "~/.cache/visualvm" +# +# You can also use ${HOME} variable which will be replaced with +# user.home JVM system property value. This variable is valid only in +# visualvm_default_userdir and visualvm_default_cachedir properties. +# +# NOTE: If you specify a non-default userdir path on command line +# (--userdir option) and don't specify a cachedir path (--cachedir option), +# cachedir will be in "/var/cache". +# +# Cachedir must be different from userdir. The same cachedir and userdir +# would cause problems. +# +visualvm_default_userdir="${DEFAULT_USERDIR_ROOT}/8u40" +visualvm_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/8u40" + +# Options used by VisualVM launcher by default: +# (can be overridden by explicit command line switches) +# + +visualvm_default_options="-J-client -J-Xms24m -J-Xmx256m -J-XX:MaxPermSize=96m -J-Dsun.jvmstat.perdata.syncWaitMs=10000 -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.d3d=false -J-Dnetbeans.keyring.no.master=true -J-Dplugin.manager.install.global=false" +# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea + +# Default location of JDK: +# +# It can be overridden on command line by using --jdkhome +# Be careful when changing jdkhome. +# There are two VisualVM launchers for Windows (32-bit and 64-bit) and +# installer points to one of those in the VisualVM application shortcut +# based on the Java version selected at installation time. +# +#visualvm_jdkhome="/path/to/jdk" + +# Additional module clusters: +# using ${path.separator} (';' on Windows or ':' on Unix): +# +#visualvm_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2" diff --git a/Java-Visualizer/java/lib/visualvm/platform/.lastModified b/Java-Visualizer/java/lib/visualvm/platform/.lastModified new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/platform/VERSION.txt b/Java-Visualizer/java/lib/visualvm/platform/VERSION.txt new file mode 100644 index 00000000..585f5687 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/VERSION.txt @@ -0,0 +1,2 @@ +# cluster incompatible release version +19 diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-core.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-core.xml new file mode 100644 index 00000000..e4621f54 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-core.xml @@ -0,0 +1,99 @@ + + + + + + + + + Xerces is now available only as an autoload module, not in classpath: http://libs.netbeans.org/#xerces + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Regexp is now available only as an autoload module compiled manually from libs/regexp in the release40 branch, not on classpath: http://libs.netbeans.org/#regexp + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-modules-options-api.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-modules-options-api.xml new file mode 100644 index 00000000..00a4b743 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-modules-options-api.xml @@ -0,0 +1,24 @@ + + + + + + + + + Major release version of module changed from 0 to 1 to signal stability; update your dependencies + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-modules-queries.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-modules-queries.xml new file mode 100644 index 00000000..303f7eee --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-netbeans-modules-queries.xml @@ -0,0 +1,21 @@ + + + + + + Major release version of module changed from 0 to 1 to signal stability; update your dependencies + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-execution.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-execution.xml new file mode 100644 index 00000000..e2a0ddeb --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-execution.xml @@ -0,0 +1,26 @@ + + + + + + + + + + Separation of Execution API: cf. http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#4.0-execution + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-explorer.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-explorer.xml new file mode 100644 index 00000000..6c9ce7e3 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-explorer.xml @@ -0,0 +1,24 @@ + + + + + + + + #88769 Incompatible change due to removal of PropertySheetSettings + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-filesystems.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-filesystems.xml new file mode 100644 index 00000000..e3498f5f --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-filesystems.xml @@ -0,0 +1,24 @@ + + + + + + + + FileObject implements Lookup.Provider + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-loaders.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-loaders.xml new file mode 100644 index 00000000..39403693 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-loaders.xml @@ -0,0 +1,24 @@ + + + + + + + + No need for separate templates API. Merged into org.openide.loaders + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-modules.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-modules.xml new file mode 100644 index 00000000..76da4957 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-modules.xml @@ -0,0 +1,42 @@ + + + + + + + + openide.jar split into smaller parts. See http://openide.netbeans.org/proposals/arch/modularize.html and use 'ant fix-dependencies' if your project is projectized. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-nodes.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-nodes.xml new file mode 100644 index 00000000..095797c0 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-nodes.xml @@ -0,0 +1,24 @@ + + + + + + + + SaveCookie extends Savable. To compile you need to include openide.awt on classpath. + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-text.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-text.xml new file mode 100644 index 00000000..14ab0527 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-text.xml @@ -0,0 +1,24 @@ + + + + + + + + #88531 Remove SystemOption usage from PrintSettings + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-util.xml b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-util.xml new file mode 100644 index 00000000..50093e7f --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/ModuleAutoDeps/org-openide-util.xml @@ -0,0 +1,24 @@ + + + + + + + + #170056: Separate module for Lookup API + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-annotations-common.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-annotations-common.xml new file mode 100644 index 00000000..9905e129 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-annotations-common.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-api-annotations-common.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-progress.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-progress.xml new file mode 100644 index 00000000..722b790d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-progress.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-api-progress.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-search.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-search.xml new file mode 100644 index 00000000..198a79e5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-search.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-api-search.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-visual.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-visual.xml new file mode 100644 index 00000000..429c79d6 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-api-visual.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-api-visual.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-execution.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-execution.xml new file mode 100644 index 00000000..1788b07e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-execution.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-core-execution.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-io-ui.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-io-ui.xml new file mode 100644 index 00000000..8d5dc431 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-io-ui.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-core-io-ui.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-multitabs.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-multitabs.xml new file mode 100644 index 00000000..f68e8894 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-multitabs.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-core-multitabs.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-multiview.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-multiview.xml new file mode 100644 index 00000000..e64dfef5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-multiview.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-core-multiview.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-output2.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-output2.xml new file mode 100644 index 00000000..27f76eff --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-output2.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-core-output2.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-ui.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-ui.xml new file mode 100644 index 00000000..83b2f531 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-ui.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-core-ui.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-windows.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-windows.xml new file mode 100644 index 00000000..cf49629a --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core-windows.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-core-windows.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core.xml new file mode 100644 index 00000000..6f60d4c5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-core.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-core.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-lib-uihandler.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-lib-uihandler.xml new file mode 100644 index 00000000..7a8a2257 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-lib-uihandler.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-lib-uihandler.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-applemenu.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-applemenu.xml new file mode 100644 index 00000000..daefdc46 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-applemenu.xml @@ -0,0 +1,9 @@ + + + + false + true + modules/org-netbeans-modules-applemenu.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-cli.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-cli.xml new file mode 100644 index 00000000..7ed32306 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-cli.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-autoupdate-cli.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-services.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-services.xml new file mode 100644 index 00000000..f362b0eb --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-services.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-autoupdate-services.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-ui.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-ui.xml new file mode 100644 index 00000000..2dd451ad --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-autoupdate-ui.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-autoupdate-ui.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-core-kit.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-core-kit.xml new file mode 100644 index 00000000..c13b2948 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-core-kit.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-core-kit.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-editor-mimelookup-impl.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-editor-mimelookup-impl.xml new file mode 100644 index 00000000..d91c6c02 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-editor-mimelookup-impl.xml @@ -0,0 +1,9 @@ + + + + false + true + modules/org-netbeans-modules-editor-mimelookup-impl.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-editor-mimelookup.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-editor-mimelookup.xml new file mode 100644 index 00000000..d880d28b --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-editor-mimelookup.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-editor-mimelookup.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-favorites.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-favorites.xml new file mode 100644 index 00000000..f50bf82b --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-favorites.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-favorites.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-javahelp.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-javahelp.xml new file mode 100644 index 00000000..7dc7a274 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-javahelp.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-javahelp.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring-fallback.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring-fallback.xml new file mode 100644 index 00000000..3447cb18 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring-fallback.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-keyring-fallback.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring-impl.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring-impl.xml new file mode 100644 index 00000000..106b56e3 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring-impl.xml @@ -0,0 +1,9 @@ + + + + false + true + modules/org-netbeans-modules-keyring-impl.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring.xml new file mode 100644 index 00000000..d6247d0d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-keyring.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-keyring.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-masterfs-nio2.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-masterfs-nio2.xml new file mode 100644 index 00000000..692cd196 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-masterfs-nio2.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-masterfs-nio2.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-masterfs.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-masterfs.xml new file mode 100644 index 00000000..8617bef2 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-masterfs.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-masterfs.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-options-api.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-options-api.xml new file mode 100644 index 00000000..f8990915 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-options-api.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-options-api.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-options-keymap.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-options-keymap.xml new file mode 100644 index 00000000..9895aeb1 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-options-keymap.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-options-keymap.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-print.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-print.xml new file mode 100644 index 00000000..c72c4ea7 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-print.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-print.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-progress-ui.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-progress-ui.xml new file mode 100644 index 00000000..6b3fbb5e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-progress-ui.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-progress-ui.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-queries.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-queries.xml new file mode 100644 index 00000000..ad074742 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-queries.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-queries.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-sampler.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-sampler.xml new file mode 100644 index 00000000..6f318ea7 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-sampler.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-sampler.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-sendopts.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-sendopts.xml new file mode 100644 index 00000000..5c3fff53 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-sendopts.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-sendopts.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-settings.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-settings.xml new file mode 100644 index 00000000..13cb3064 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-settings.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-settings.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-spi-actions.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-spi-actions.xml new file mode 100644 index 00000000..4d850e35 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-spi-actions.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-spi-actions.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-templates.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-templates.xml new file mode 100644 index 00000000..dd5d0fa6 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-templates.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-templates.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-uihandler.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-uihandler.xml new file mode 100644 index 00000000..41e5707d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-modules-uihandler.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-uihandler.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-spi-quicksearch.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-spi-quicksearch.xml new file mode 100644 index 00000000..fbaf9d4b --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-spi-quicksearch.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-spi-quicksearch.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-outline.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-outline.xml new file mode 100644 index 00000000..b8e54df5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-outline.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-swing-outline.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-plaf.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-plaf.xml new file mode 100644 index 00000000..ccc5b656 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-plaf.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-swing-plaf.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-tabcontrol.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-tabcontrol.xml new file mode 100644 index 00000000..00d4a7a2 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-netbeans-swing-tabcontrol.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-swing-tabcontrol.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-actions.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-actions.xml new file mode 100644 index 00000000..ff99ac12 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-actions.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-actions.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-awt.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-awt.xml new file mode 100644 index 00000000..ecfac0ad --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-awt.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-awt.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-compat.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-compat.xml new file mode 100644 index 00000000..f07d7e9b --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-compat.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-compat.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-dialogs.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-dialogs.xml new file mode 100644 index 00000000..4da14d60 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-dialogs.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-dialogs.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-execution.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-execution.xml new file mode 100644 index 00000000..2d21d0e1 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-execution.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-execution.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-explorer.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-explorer.xml new file mode 100644 index 00000000..57dcf223 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-explorer.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-explorer.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-io.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-io.xml new file mode 100644 index 00000000..9ca37fcd --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-io.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-io.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-loaders.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-loaders.xml new file mode 100644 index 00000000..3c75fd0a --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-loaders.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-loaders.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-nodes.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-nodes.xml new file mode 100644 index 00000000..81860f2c --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-nodes.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-nodes.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-options.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-options.xml new file mode 100644 index 00000000..75806bfe --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-options.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-options.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-text.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-text.xml new file mode 100644 index 00000000..857ebe6c --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-text.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-text.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-util-enumerations.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-util-enumerations.xml new file mode 100644 index 00000000..7ad07a06 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-util-enumerations.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-util-enumerations.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-windows.xml b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-windows.xml new file mode 100644 index 00000000..fce21092 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/config/Modules/org-openide-windows.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-openide-windows.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/platform/core/core.jar b/Java-Visualizer/java/lib/visualvm/platform/core/core.jar new file mode 100644 index 00000000..81df7f8d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/core/core.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/core/locale/core_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/core/locale/core_ja.jar new file mode 100644 index 00000000..17010e36 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/core/locale/core_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/core/locale/core_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/core/locale/core_zh_CN.jar new file mode 100644 index 00000000..19aea2c4 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/core/locale/core_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/core/locale/org-openide-filesystems_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/core/locale/org-openide-filesystems_ja.jar new file mode 100644 index 00000000..d93798a9 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/core/locale/org-openide-filesystems_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/core/locale/org-openide-filesystems_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/core/locale/org-openide-filesystems_zh_CN.jar new file mode 100644 index 00000000..348a2684 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/core/locale/org-openide-filesystems_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/core/org-openide-filesystems.jar b/Java-Visualizer/java/lib/visualvm/platform/core/org-openide-filesystems.jar new file mode 100644 index 00000000..696d6e8e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/core/org-openide-filesystems.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/boot.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/boot.jar new file mode 100644 index 00000000..cc6b101f Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/boot.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/locale/boot_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/boot_ja.jar new file mode 100644 index 00000000..03ae01c8 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/boot_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/locale/boot_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/boot_zh_CN.jar new file mode 100644 index 00000000..798e03e9 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/boot_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-modules_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-modules_ja.jar new file mode 100644 index 00000000..58a8f876 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-modules_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-modules_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-modules_zh_CN.jar new file mode 100644 index 00000000..6c0cbaf5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-modules_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util-lookup_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util-lookup_ja.jar new file mode 100644 index 00000000..32779734 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util-lookup_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util-lookup_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util-lookup_zh_CN.jar new file mode 100644 index 00000000..ad929905 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util-lookup_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util_ja.jar new file mode 100644 index 00000000..0a1cbd29 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util_zh_CN.jar new file mode 100644 index 00000000..edb2a11a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/locale/org-openide-util_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/nbexec b/Java-Visualizer/java/lib/visualvm/platform/lib/nbexec new file mode 100755 index 00000000..2944fa8d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/lib/nbexec @@ -0,0 +1,451 @@ +#!/bin/sh +# Copyright (c) 1992, 2014, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + + +PRG=$0 + + +resolve_symlink () { + file="$1" + while [ -h "$file" ]; do + ls=`ls -ld "$file"` + link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null` + if expr "$link" : '^/' 2> /dev/null >/dev/null; then + file="$link" + else + file=`dirname "$1"`"/$link" + fi + done + echo "$file" +} + +absolutize_path () { + oldpwd=`pwd` + cd "$1" + abspath=`pwd` + cd "${oldpwd}" + echo "$abspath" +} + +PRG=`resolve_symlink "$PRG"` +progdir=`dirname "$PRG"` +plathome=`absolutize_path "$progdir/.."` + +jargs=${jreflags} +jargs="$jargs -Dnetbeans.home=\"$plathome\"" + +args="" + +prefixcp="" +postfixcp="" + +updater_class=org.netbeans.updater.UpdaterFrame + +# +# parse arguments +# + +parse_args() { +while [ $# -gt 0 ] ; do + case "$1" in + -h|-\?|-help|--help) cat >&2 < path to Java(TM) 2 SDK, Standard Edition + -J pass to JVM + + --cp:p prepend to classpath + --cp:a append to classpath +EOF + # go on and print IDE options as well + args="$args --help" + ;; + --nosplash) + nosplash="nosplash"; + args="$args --nosplash" + ;; + --jdkhome) shift; if [ $# -gt 0 ] ; then jdkhome=$1; fi + ;; + # this has to be here for purposes of updater.jar, but it should be + # better to handle this argument inside the java launcher part + --userdir) shift; if [ $# -gt 0 ] ; then userdir="$1"; fi + ;; + --cachedir) shift; if [ $# -gt 0 ] ; then cachedir="$1"; cachedirspecified="specified" ; fi + ;; + -cp|-cp:a|--cp|--cp:a) + shift; + if [ $# -gt 0 ] ; then + if [ ! -z "$postfixcp" ] ; then postfixcp="$postfixcp:" ; fi + postfixcp=$postfixcp$1; + fi + ;; + + -cp:p|--cp:p) + shift; + if [ $# -gt 0 ] ; then + if [ ! -z "$prefixcp" ] ; then prefixcp="$prefixcp:" ; fi + prefixcp=$prefixcp$1; + fi + ;; + --clusters) + shift; + if [ $# -gt 0 ] ; then + clusters="$1" + fi + ;; + -psn*) + shift; + ;; + -J*) jopt=`expr "X-$1" : 'X--J\(.*\)'`; jargs="$jargs '$jopt'";; + *) args="$args \"$1\"" ;; + esac + shift +done +} # parse_args() + +# Process arguments given on the command line. +parse_args "$@" + +# +# check JDK +# + +if [ -z "$jdkhome" ] ; then + # try to find JDK + case "`uname`" in + Darwin*) + # read Java Preferences + if [ -x "/usr/libexec/java_home" ]; then + jdkhome=`/usr/libexec/java_home --version 1.7.0_10+ --failfast` + + # JDK1.7 Update 10 as a fallback + elif [ -f "/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/bin/java" ] ; then + jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home" + fi + + # JRE fallback + if [ ! -x "${jdkhome}/bin/java" -a -f "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" ] ; then + jdkhome="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home" + fi + ;; + *) javac=`which javac` + if [ -z "$javac" ] ; then + java=`which java` + if [ ! -z "$java" ] ; then + java=`resolve_symlink "$java"` + jdkhome=`dirname $java`"/.." + fi + else + javac=`resolve_symlink "$javac"` + jdkhome=`dirname $javac`"/.." + fi + ;; + esac +fi + +if [ ! -x "${jdkhome}/bin/java" ] ; then + echo "Cannot find java. Please use the --jdkhome switch." >&2 + exit 2 +fi + +# Make sure native code libraries of jdk7 are found +# setting of the LD_LIBRARY_PATH is unnecessary on JDK8, and should be removed when only JDK8 is supported: +case "`uname`" in + SunOS*) + LD_LIBRARY_PATH=${jdkhome}/jre/lib/amd64/client:${jdkhome}/jre/lib/amd64/server:${jdkhome}/jre/lib/i386/client:${jdkhome}/jre/lib/i386/server:${LD_LIBRARY_PATH} + export LD_LIBRARY_PATH + ;; + *) + LD_LIBRARY_PATH=${jdkhome}/jre/lib/amd64:${jdkhome}/jre/lib/i386:${LD_LIBRARY_PATH} + export LD_LIBRARY_PATH + ;; +esac + +# fixes 225762: Can't open project from a folder with UTF-8 letters on Mac OS X +if [ `uname` = "Darwin" ] ; then + if [ x${LC_CTYPE} = x ] ; then + export LC_CTYPE=UTF-8; + fi +fi + +# if the Java option for heap dump on OOME is supported enable it +if "${jdkhome}/bin/java" -XX:+HeapDumpOnOutOfMemoryError -cp "${progdir}/boot.jar" org.netbeans.NbExecJavaStartTry > /dev/null 2>&1 ; then + jargs="$jargs -XX:+HeapDumpOnOutOfMemoryError" + if [ -z "`echo $jargs | grep -- "-XX:HeapDumpPath="`" ] ; then + jargs="$jargs -XX:HeapDumpPath=\"${userdir}/var/log/heapdump.hprof\"" + fi + # rename old heap dump to .old + mv "${userdir}/var/log/heapdump.hprof" "${userdir}/var/log/heapdump.hprof.old" > /dev/null 2>&1 +fi + +jargs_without_clusters="$jargs" +jargs="-Dnetbeans.dirs=\"${clusters}\" $jargs_without_clusters" + +if [ -z "$cachedirspecified" ]; then + cachedir="${userdir}/var/cache" +fi + +if [ `uname` != Darwin -a -z "$nosplash" -a -f "${cachedir}/splash.png" -a ! -f "${userdir}/lock" ]; then + jargs="$jargs -splash:\"${cachedir}/splash.png\"" +fi + +jdkhome=`absolutize_path "$jdkhome"` + +args="--userdir \"${userdir}\" $args" + +args="--cachedir \"${cachedir}\" $args" + +append_jars_to_cp() { + dir="$1" + subpath="$2" + for ex in jar zip ; do + if [ "`echo "${dir}"/*.$ex`" != "${dir}/*.$ex" ] ; then + for x in "${dir}"/*.$ex ; do + subx=`basename "$x"` + if [ -z "`echo "$paths" | egrep "$subpath$subx"`" ] ; then + if [ ! -z "$cp" ] ; then cp="$cp:" ; fi + cp="$cp$x" + if [ ! -z "$paths" ] ; then paths="$paths:" ; fi + paths="$paths$subpath$subx" + fi + done + fi + done +} + +construct_cp() { + cp="" + updatercp="" + paths="" + + build_cp "${userdir}" + build_cp "${plathome}" + + if [ -f "${userdir}/modules/ext/updater.jar" ] ; then + updatercp="${userdir}/modules/ext/updater.jar" + else + if [ -f "${plathome}/modules/ext/updater.jar" ] ; then + updatercp="${plathome}/modules/ext/updater.jar" + fi + fi + + # JDK tools + for x in "${jdkhome}/lib/dt.jar" "${jdkhome}/lib/tools.jar"; do + if [ -f "$x" ]; then + if [ ! -z "$cp" ] ; then cp="$cp:" ; fi + cp="${cp}$x" + fi + done + + # user-specified prefix and postfix CLASSPATH + + if [ ! -z "${prefixcp}" ] ; then + cp="${prefixcp}:$cp" + fi + + if [ ! -z "${postfixcp}" ] ; then + cp="$cp:${postfixcp}" + fi + + + # prepend IDE's classpath to updater's classpath + # (just xml-apis.jar and one XML parser would suffice) + if [ ! -z "$updatercp" ] ; then + updatercp=${cp}:${updatercp} + else + updatercp=${cp} + fi +} + +build_cp() { + base="$1" + append_jars_to_cp "${base}/lib/patches" "patches" + append_jars_to_cp "${base}/lib" "lib" + append_jars_to_cp "${base}/lib/locale" "locale" +} + +do_run_updater() { + eval "\"$jdkhome/bin/java\"" -classpath "\"${updatercp}\"" "$jargs" "-Dnetbeans.user=\"$userdir\"" $updater_class "$args" + construct_cp +} + +look_for_pre_runs() { + base="$1" + install_new_updater "$1" + dir="${base}/update/download" + if [ "`echo "${dir}"/*.nbm`" != "${dir}/*.nbm" -o "`echo "${dir}"/*.jar`" != "${dir}/*.jar" ] ; then + run_updater=yes + else + dir="${base}/update/deactivate" + if [ -f "${dir}/to_disable.txt" -o -f "${dir}/to_uninstall.txt" ] ; then + run_updater=yes + fi + fi +} + +look_for_post_runs() { + base="$1" + install_new_updater "$1" + dir="${base}/update/download" + if [ \! -f "${dir}/install_later.xml" ] && [ "`echo "${dir}"/*.nbm`" != "${dir}/*.nbm" -o "`echo "${dir}"/*.jar`" != "${dir}/*.jar" ] ; then + run_updater=yes + else + dir="${base}/update/deactivate" + if [ \! -f "${dir}/deactivate_later.txt" ] ; then + if [ -f "${dir}/to_disable.txt" -o -f "${dir}/to_uninstall.txt" ] ; then + run_updater=yes + fi + fi + fi +} + +look_for_new_clusters() { + base="$userdir" + dir="${base}/update/download" + newclusters="${dir}/netbeans.dirs" + if [ -f "${newclusters}" ] ; then + clusters=`cat "${newclusters}"` + jargs="-Dnetbeans.dirs=\"${clusters}\" $jargs_without_clusters" + rm -f "${newclusters}" + fi +} + +delete_new_clusters_file() { + base="$userdir" + dir="${base}/update/download" + newclusters="${dir}/netbeans.dirs" + if [ \! -f "${newclusters}" ] ; then + rm -f "${newclusters}" + fi +} + +install_new_updater() { + base="$1" + newUpdaterDir="${base}/update/new_updater" + if [ -d "${newUpdaterDir}" ]; then + mkdir -p "${base}/modules/ext/" + if [ -f "${newUpdaterDir}/updater.jar" ]; then + mv -f "${newUpdaterDir}/updater.jar" "${base}/modules/ext/" + fi + for i in "${newUpdaterDir}/locale/"updater_*.jar; do + if [ -f "$i" ]; then + mkdir -p "${base}/modules/ext/locale/" + mv -f "$i" "${base}/modules/ext/locale/" + fi + done + rmdir "${newUpdaterDir}" + fi +} + +if [ "$KDE_FULL_SESSION" = "true" ] ; then + jargs="-Dnetbeans.running.environment=kde $jargs" +else + if [ ! -z "$GNOME_DESKTOP_SESSION_ID" ] ; then + jargs="-Dnetbeans.running.environment=gnome $jargs" + fi +fi + +if [ ! -z "${DEFAULT_USERDIR_ROOT}" ] ; then + jargs="-Dnetbeans.default_userdir_root=\"${DEFAULT_USERDIR_ROOT}\" $jargs" + unset DEFAULT_USERDIR_ROOT +fi + +# http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html#pixmaps +J2D_PIXMAPS=shared +export J2D_PIXMAPS + +# Check DISPLAY variable on non-Mac +if [ "no$DISPLAY" = "no" -a `uname` != Darwin ]; then + echo "$0: WARNING: environment variable DISPLAY is not set" +fi + + +# The Startup Notification Protocol Specification [1] +# recommends to unset the DESKTOP_STARTUP_ID environment variable +# to avoid possible reuse by some process started later by this +# process, e.g. when a browser will be launched by the NetBeans [2]. +# +# See: +# [1] http://standards.freedesktop.org/startup-notification-spec +# [2] http://netbeans.org/bugzilla/show_bug.cgi?id=76970 +if [ ! -z "$DESKTOP_STARTUP_ID" ] ; then + # Save a value for later using + NB_DESKTOP_STARTUP_ID="$DESKTOP_STARTUP_ID"; export NB_DESKTOP_STARTUP_ID + + unset DESKTOP_STARTUP_ID +fi + + +# +# main loop +# + +# clear to prevent loop from ending +restart="yes" +first_time_starting="yes" +restart_file="${userdir}/var/restart" + +while [ "$restart" ] ; do + + # + # build CLASSPATH + # + construct_cp + + # First check for pre-run updates. + if [ "$first_time_starting" ] ; then + run_updater="" + look_for_pre_runs "$plathome" + save="$IFS" + IFS=':' ; for oneCls in $clusters ; do + IFS="$save" + look_for_pre_runs "$oneCls" + done + IFS="$save" + look_for_pre_runs "$userdir" + if [ "$run_updater" ] ; then do_run_updater ; fi + # Do not check this after a restart, it makes no sense. + first_time_starting="" + fi + + # + # let's go + # + delete_new_clusters_file + rm -f "${restart_file}" + eval ${_NB_PROFILE_CMD} "\"${jdkhome}/bin/java\"" -Djdk.home="\"${jdkhome}\"" -classpath "\"$cp\"" \ + "$jargs" org.netbeans.Main "$args" '<&0' '&' + PID=$! + trap "kill $PID" EXIT + wait $PID + exitcode=$? + trap '' EXIT + look_for_new_clusters + # If we should update anything, do it and restart IDE. + run_updater="" + look_for_post_runs "$plathome" + + save="$IFS" + IFS=':' ; for oneCls in $clusters ; do + IFS="$save" + look_for_post_runs "$oneCls" + done + IFS="$save" + look_for_post_runs "$userdir" + if [ "$run_updater" ] ; then + do_run_updater + restart="yes" + else + if [ ! -f "${restart_file}" ] ; then + # will fall thru loop and exit + restart="" + fi + fi + +done + +# and we exit. +exit $exitcode diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-modules.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-modules.jar new file mode 100644 index 00000000..bf6d1b6a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-modules.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-util-lookup.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-util-lookup.jar new file mode 100644 index 00000000..a10e5284 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-util-lookup.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-util.jar b/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-util.jar new file mode 100644 index 00000000..98426714 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/lib/org-openide-util.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/ext/jhall-2.0_05.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/ext/jhall-2.0_05.jar new file mode 100644 index 00000000..5614e957 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/ext/jhall-2.0_05.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/ext/locale/updater_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/ext/locale/updater_ja.jar new file mode 100644 index 00000000..381a1b57 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/ext/locale/updater_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/ext/locale/updater_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/ext/locale/updater_zh_CN.jar new file mode 100644 index 00000000..320ce8c0 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/ext/locale/updater_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/ext/updater.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/ext/updater.jar new file mode 100644 index 00000000..7814e90f Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/ext/updater.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-annotations-common_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-annotations-common_ja.jar new file mode 100644 index 00000000..34a2fa36 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-annotations-common_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-annotations-common_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-annotations-common_zh_CN.jar new file mode 100644 index 00000000..bf3eda00 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-annotations-common_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-progress_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-progress_ja.jar new file mode 100644 index 00000000..e3617b0d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-progress_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-progress_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-progress_zh_CN.jar new file mode 100644 index 00000000..61388cca Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-progress_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-search_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-search_ja.jar new file mode 100644 index 00000000..00436002 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-search_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-search_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-search_zh_CN.jar new file mode 100644 index 00000000..33b0c011 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-search_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-visual_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-visual_ja.jar new file mode 100644 index 00000000..a1ab373d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-visual_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-visual_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-visual_zh_CN.jar new file mode 100644 index 00000000..a26f1ad6 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-api-visual_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-execution_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-execution_ja.jar new file mode 100644 index 00000000..c78f1b07 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-execution_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-execution_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-execution_zh_CN.jar new file mode 100644 index 00000000..b967c81d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-execution_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-io-ui_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-io-ui_ja.jar new file mode 100644 index 00000000..40b3e3e3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-io-ui_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-io-ui_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-io-ui_zh_CN.jar new file mode 100644 index 00000000..83b34173 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-io-ui_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multitabs_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multitabs_ja.jar new file mode 100644 index 00000000..294f5440 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multitabs_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multitabs_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multitabs_zh_CN.jar new file mode 100644 index 00000000..7663e41b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multitabs_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multiview_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multiview_ja.jar new file mode 100644 index 00000000..49611c27 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multiview_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multiview_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multiview_zh_CN.jar new file mode 100644 index 00000000..64daa6d1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-multiview_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-output2_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-output2_ja.jar new file mode 100644 index 00000000..aa7d5889 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-output2_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-output2_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-output2_zh_CN.jar new file mode 100644 index 00000000..69f496ac Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-output2_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-ui_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-ui_ja.jar new file mode 100644 index 00000000..f082db78 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-ui_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-ui_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-ui_zh_CN.jar new file mode 100644 index 00000000..15ed80e3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-ui_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-windows_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-windows_ja.jar new file mode 100644 index 00000000..fec93d9f Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-windows_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-windows_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-windows_zh_CN.jar new file mode 100644 index 00000000..e6d95ac2 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core-windows_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core_ja.jar new file mode 100644 index 00000000..37498ccb Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core_zh_CN.jar new file mode 100644 index 00000000..520ee699 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-core_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-lib-uihandler_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-lib-uihandler_ja.jar new file mode 100644 index 00000000..19d30c33 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-lib-uihandler_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-lib-uihandler_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-lib-uihandler_zh_CN.jar new file mode 100644 index 00000000..8f881880 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-lib-uihandler_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-applemenu_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-applemenu_ja.jar new file mode 100644 index 00000000..5b99cd0b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-applemenu_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-applemenu_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-applemenu_zh_CN.jar new file mode 100644 index 00000000..327a60e1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-applemenu_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-cli_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-cli_ja.jar new file mode 100644 index 00000000..4d3299e9 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-cli_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-cli_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-cli_zh_CN.jar new file mode 100644 index 00000000..f0fd897b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-cli_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-services_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-services_ja.jar new file mode 100644 index 00000000..e1860427 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-services_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-services_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-services_zh_CN.jar new file mode 100644 index 00000000..875127c5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-services_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-ui_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-ui_ja.jar new file mode 100644 index 00000000..2eb1768a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-ui_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-ui_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-ui_zh_CN.jar new file mode 100644 index 00000000..e205386f Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-autoupdate-ui_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-core-kit_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-core-kit_ja.jar new file mode 100644 index 00000000..2b720b98 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-core-kit_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-core-kit_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-core-kit_zh_CN.jar new file mode 100644 index 00000000..1e75e160 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-core-kit_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup-impl_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup-impl_ja.jar new file mode 100644 index 00000000..f529a8ba Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup-impl_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup-impl_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup-impl_zh_CN.jar new file mode 100644 index 00000000..2d1d2530 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup-impl_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup_ja.jar new file mode 100644 index 00000000..2501662d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup_zh_CN.jar new file mode 100644 index 00000000..de71ed53 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-editor-mimelookup_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-favorites_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-favorites_ja.jar new file mode 100644 index 00000000..ac15e578 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-favorites_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-favorites_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-favorites_zh_CN.jar new file mode 100644 index 00000000..3c588b31 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-favorites_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-javahelp_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-javahelp_ja.jar new file mode 100644 index 00000000..96b556d6 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-javahelp_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-javahelp_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-javahelp_zh_CN.jar new file mode 100644 index 00000000..455702be Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-javahelp_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-fallback_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-fallback_ja.jar new file mode 100644 index 00000000..1433b4bd Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-fallback_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-fallback_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-fallback_zh_CN.jar new file mode 100644 index 00000000..7181e860 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-fallback_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-impl_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-impl_ja.jar new file mode 100644 index 00000000..6acd0740 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-impl_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-impl_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-impl_zh_CN.jar new file mode 100644 index 00000000..9cd1d181 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring-impl_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring_ja.jar new file mode 100644 index 00000000..5d660fa9 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring_zh_CN.jar new file mode 100644 index 00000000..b4f23753 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-keyring_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs-nio2_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs-nio2_ja.jar new file mode 100644 index 00000000..646f278f Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs-nio2_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs-nio2_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs-nio2_zh_CN.jar new file mode 100644 index 00000000..2a56b3c7 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs-nio2_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs_ja.jar new file mode 100644 index 00000000..de927c57 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs_zh_CN.jar new file mode 100644 index 00000000..111f2635 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-masterfs_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-api_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-api_ja.jar new file mode 100644 index 00000000..1efc1cc3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-api_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-api_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-api_zh_CN.jar new file mode 100644 index 00000000..44c5e28e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-api_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-keymap_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-keymap_ja.jar new file mode 100644 index 00000000..f8f807b3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-keymap_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-keymap_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-keymap_zh_CN.jar new file mode 100644 index 00000000..364552a1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-options-keymap_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-print_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-print_ja.jar new file mode 100644 index 00000000..b015ac06 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-print_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-print_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-print_zh_CN.jar new file mode 100644 index 00000000..9d0b293e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-print_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-progress-ui_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-progress-ui_ja.jar new file mode 100644 index 00000000..0568d8e4 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-progress-ui_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-progress-ui_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-progress-ui_zh_CN.jar new file mode 100644 index 00000000..068998ba Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-progress-ui_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-queries_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-queries_ja.jar new file mode 100644 index 00000000..5ab407aa Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-queries_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-queries_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-queries_zh_CN.jar new file mode 100644 index 00000000..ea44a1ac Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-queries_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sampler_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sampler_ja.jar new file mode 100644 index 00000000..3696e0db Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sampler_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sampler_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sampler_zh_CN.jar new file mode 100644 index 00000000..18fba56b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sampler_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sendopts_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sendopts_ja.jar new file mode 100644 index 00000000..16a737b3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sendopts_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sendopts_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sendopts_zh_CN.jar new file mode 100644 index 00000000..dbdf2ae7 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-sendopts_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-settings_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-settings_ja.jar new file mode 100644 index 00000000..25a01532 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-settings_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-settings_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-settings_zh_CN.jar new file mode 100644 index 00000000..9cd695a1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-settings_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-spi-actions_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-spi-actions_ja.jar new file mode 100644 index 00000000..c8a47751 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-spi-actions_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-spi-actions_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-spi-actions_zh_CN.jar new file mode 100644 index 00000000..ddbe3bba Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-spi-actions_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-templates_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-templates_ja.jar new file mode 100644 index 00000000..f38e1959 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-templates_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-templates_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-templates_zh_CN.jar new file mode 100644 index 00000000..e737d957 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-templates_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-uihandler_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-uihandler_ja.jar new file mode 100644 index 00000000..af9d0d8d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-uihandler_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-uihandler_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-uihandler_zh_CN.jar new file mode 100644 index 00000000..48f77c36 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-modules-uihandler_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-spi-quicksearch_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-spi-quicksearch_ja.jar new file mode 100644 index 00000000..7f73a91c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-spi-quicksearch_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-spi-quicksearch_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-spi-quicksearch_zh_CN.jar new file mode 100644 index 00000000..b9535433 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-spi-quicksearch_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-outline_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-outline_ja.jar new file mode 100644 index 00000000..71d127d5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-outline_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-outline_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-outline_zh_CN.jar new file mode 100644 index 00000000..d837fa72 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-outline_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-plaf_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-plaf_ja.jar new file mode 100644 index 00000000..fa37e4ac Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-plaf_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-plaf_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-plaf_zh_CN.jar new file mode 100644 index 00000000..4f4f9799 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-plaf_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-tabcontrol_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-tabcontrol_ja.jar new file mode 100644 index 00000000..ea2ea462 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-tabcontrol_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-tabcontrol_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-tabcontrol_zh_CN.jar new file mode 100644 index 00000000..9859683a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-netbeans-swing-tabcontrol_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-actions_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-actions_ja.jar new file mode 100644 index 00000000..4dc97379 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-actions_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-actions_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-actions_zh_CN.jar new file mode 100644 index 00000000..05d244b3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-actions_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-awt_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-awt_ja.jar new file mode 100644 index 00000000..9202d594 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-awt_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-awt_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-awt_zh_CN.jar new file mode 100644 index 00000000..cb3592b6 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-awt_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-compat_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-compat_ja.jar new file mode 100644 index 00000000..3f530419 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-compat_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-compat_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-compat_zh_CN.jar new file mode 100644 index 00000000..4794c584 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-compat_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-dialogs_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-dialogs_ja.jar new file mode 100644 index 00000000..da40d688 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-dialogs_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-dialogs_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-dialogs_zh_CN.jar new file mode 100644 index 00000000..b8ebe860 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-dialogs_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-execution_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-execution_ja.jar new file mode 100644 index 00000000..91b5aca8 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-execution_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-execution_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-execution_zh_CN.jar new file mode 100644 index 00000000..b0bda08e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-execution_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-explorer_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-explorer_ja.jar new file mode 100644 index 00000000..7a384a92 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-explorer_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-explorer_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-explorer_zh_CN.jar new file mode 100644 index 00000000..394ff2a5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-explorer_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-io_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-io_ja.jar new file mode 100644 index 00000000..2d718adc Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-io_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-io_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-io_zh_CN.jar new file mode 100644 index 00000000..90faef97 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-io_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-loaders_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-loaders_ja.jar new file mode 100644 index 00000000..06884559 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-loaders_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-loaders_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-loaders_zh_CN.jar new file mode 100644 index 00000000..47c3ac77 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-loaders_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-nodes_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-nodes_ja.jar new file mode 100644 index 00000000..fbe2cb49 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-nodes_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-nodes_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-nodes_zh_CN.jar new file mode 100644 index 00000000..20485351 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-nodes_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-options_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-options_ja.jar new file mode 100644 index 00000000..e0bb9d3a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-options_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-options_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-options_zh_CN.jar new file mode 100644 index 00000000..72743a09 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-options_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-text_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-text_ja.jar new file mode 100644 index 00000000..414a7aef Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-text_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-text_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-text_zh_CN.jar new file mode 100644 index 00000000..75b4f172 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-text_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-util-enumerations_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-util-enumerations_ja.jar new file mode 100644 index 00000000..2cb77b2c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-util-enumerations_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-util-enumerations_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-util-enumerations_zh_CN.jar new file mode 100644 index 00000000..dfa465ce Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-util-enumerations_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-windows_ja.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-windows_ja.jar new file mode 100644 index 00000000..f6dc4f2e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-windows_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-windows_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-windows_zh_CN.jar new file mode 100644 index 00000000..6480d120 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/locale/org-openide-windows_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-annotations-common.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-annotations-common.jar new file mode 100644 index 00000000..57761b42 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-annotations-common.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-progress.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-progress.jar new file mode 100644 index 00000000..4077dfa1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-progress.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-search.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-search.jar new file mode 100644 index 00000000..2952b849 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-search.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-visual.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-visual.jar new file mode 100644 index 00000000..e76d8797 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-api-visual.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-execution.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-execution.jar new file mode 100644 index 00000000..1de314b4 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-execution.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-io-ui.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-io-ui.jar new file mode 100644 index 00000000..2c5da977 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-io-ui.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-multitabs.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-multitabs.jar new file mode 100644 index 00000000..20749ca3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-multitabs.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-multiview.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-multiview.jar new file mode 100644 index 00000000..0e4000e4 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-multiview.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-output2.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-output2.jar new file mode 100644 index 00000000..d5eb0e99 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-output2.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-ui.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-ui.jar new file mode 100644 index 00000000..6672d678 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-ui.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-windows.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-windows.jar new file mode 100644 index 00000000..0f5e1420 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core-windows.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core.jar new file mode 100644 index 00000000..0ef46013 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-core.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-lib-uihandler.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-lib-uihandler.jar new file mode 100644 index 00000000..da96fb29 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-lib-uihandler.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-applemenu.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-applemenu.jar new file mode 100644 index 00000000..a008738a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-applemenu.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-cli.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-cli.jar new file mode 100644 index 00000000..12d22453 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-cli.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-services.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-services.jar new file mode 100644 index 00000000..7ff65d36 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-services.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-ui.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-ui.jar new file mode 100644 index 00000000..2d754452 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-autoupdate-ui.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-core-kit.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-core-kit.jar new file mode 100644 index 00000000..d4a8096e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-core-kit.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-editor-mimelookup-impl.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-editor-mimelookup-impl.jar new file mode 100644 index 00000000..3c78b77c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-editor-mimelookup-impl.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-editor-mimelookup.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-editor-mimelookup.jar new file mode 100644 index 00000000..eb4fe8b5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-editor-mimelookup.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-favorites.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-favorites.jar new file mode 100644 index 00000000..84590c20 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-favorites.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-javahelp.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-javahelp.jar new file mode 100644 index 00000000..c3d46e46 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-javahelp.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring-fallback.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring-fallback.jar new file mode 100644 index 00000000..1c8853e5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring-fallback.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring-impl.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring-impl.jar new file mode 100644 index 00000000..cec6df2d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring-impl.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring.jar new file mode 100644 index 00000000..62fcec09 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-keyring.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-masterfs-nio2.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-masterfs-nio2.jar new file mode 100644 index 00000000..38bd3562 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-masterfs-nio2.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-masterfs.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-masterfs.jar new file mode 100644 index 00000000..aa11e06c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-masterfs.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-options-api.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-options-api.jar new file mode 100644 index 00000000..a24a87eb Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-options-api.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-options-keymap.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-options-keymap.jar new file mode 100644 index 00000000..e9effc00 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-options-keymap.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-print.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-print.jar new file mode 100644 index 00000000..1fb0abc4 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-print.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-progress-ui.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-progress-ui.jar new file mode 100644 index 00000000..75d76e3b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-progress-ui.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-queries.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-queries.jar new file mode 100644 index 00000000..c3111a5d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-queries.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-sampler.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-sampler.jar new file mode 100644 index 00000000..f14b75d5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-sampler.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-sendopts.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-sendopts.jar new file mode 100644 index 00000000..ec738b28 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-sendopts.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-settings.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-settings.jar new file mode 100644 index 00000000..04a13ae0 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-settings.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-spi-actions.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-spi-actions.jar new file mode 100644 index 00000000..bd5cf742 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-spi-actions.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-templates.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-templates.jar new file mode 100644 index 00000000..921e2a31 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-templates.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-uihandler.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-uihandler.jar new file mode 100644 index 00000000..d356256d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-modules-uihandler.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-spi-quicksearch.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-spi-quicksearch.jar new file mode 100644 index 00000000..7720c96c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-spi-quicksearch.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-outline.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-outline.jar new file mode 100644 index 00000000..e591a387 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-outline.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-plaf.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-plaf.jar new file mode 100644 index 00000000..a5562e38 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-plaf.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-tabcontrol.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-tabcontrol.jar new file mode 100644 index 00000000..5ebe9bfc Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-netbeans-swing-tabcontrol.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-actions.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-actions.jar new file mode 100644 index 00000000..7601b594 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-actions.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-awt.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-awt.jar new file mode 100644 index 00000000..597b6086 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-awt.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-compat.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-compat.jar new file mode 100644 index 00000000..af02fce3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-compat.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-dialogs.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-dialogs.jar new file mode 100644 index 00000000..c52eed5e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-dialogs.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-execution.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-execution.jar new file mode 100644 index 00000000..bb850035 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-execution.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-explorer.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-explorer.jar new file mode 100644 index 00000000..eb28b196 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-explorer.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-io.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-io.jar new file mode 100644 index 00000000..a043bc50 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-io.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-loaders.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-loaders.jar new file mode 100644 index 00000000..f152ae0d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-loaders.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-nodes.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-nodes.jar new file mode 100644 index 00000000..4a8e9b75 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-nodes.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-options.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-options.jar new file mode 100644 index 00000000..e473a5c7 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-options.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-text.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-text.jar new file mode 100644 index 00000000..bddf5c42 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-text.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-util-enumerations.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-util-enumerations.jar new file mode 100644 index 00000000..fa1ee642 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-util-enumerations.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-windows.jar b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-windows.jar new file mode 100644 index 00000000..10c48fcb Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/platform/modules/org-openide-windows.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-annotations-common.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-annotations-common.xml new file mode 100644 index 00000000..a22991b2 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-annotations-common.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-progress.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-progress.xml new file mode 100644 index 00000000..37ef1a37 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-progress.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-search.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-search.xml new file mode 100644 index 00000000..de0aaf66 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-search.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-visual.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-visual.xml new file mode 100644 index 00000000..cba05fe1 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-api-visual.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-bootstrap.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-bootstrap.xml new file mode 100644 index 00000000..661d3666 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-bootstrap.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-execution.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-execution.xml new file mode 100644 index 00000000..49c197fe --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-execution.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-io-ui.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-io-ui.xml new file mode 100644 index 00000000..0c61c268 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-io-ui.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-multitabs.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-multitabs.xml new file mode 100644 index 00000000..5c5f9952 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-multitabs.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-multiview.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-multiview.xml new file mode 100644 index 00000000..4aeadf8b --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-multiview.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-output2.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-output2.xml new file mode 100644 index 00000000..9cf949a4 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-output2.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-startup.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-startup.xml new file mode 100644 index 00000000..0b670229 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-startup.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-ui.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-ui.xml new file mode 100644 index 00000000..e31153de --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-ui.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-windows.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-windows.xml new file mode 100644 index 00000000..e1febfa2 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core-windows.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core.xml new file mode 100644 index 00000000..5c995844 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-core.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-lib-uihandler.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-lib-uihandler.xml new file mode 100644 index 00000000..9e209496 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-lib-uihandler.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-applemenu.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-applemenu.xml new file mode 100644 index 00000000..2fa588b7 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-applemenu.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-cli.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-cli.xml new file mode 100644 index 00000000..278dbad5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-cli.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-services.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-services.xml new file mode 100644 index 00000000..eb675a9e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-services.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-ui.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-ui.xml new file mode 100644 index 00000000..1fb53872 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-autoupdate-ui.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-core-kit.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-core-kit.xml new file mode 100644 index 00000000..abcbe460 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-core-kit.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-editor-mimelookup-impl.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-editor-mimelookup-impl.xml new file mode 100644 index 00000000..09130db6 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-editor-mimelookup-impl.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-editor-mimelookup.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-editor-mimelookup.xml new file mode 100644 index 00000000..ab2e9d3e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-editor-mimelookup.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-favorites.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-favorites.xml new file mode 100644 index 00000000..5280952a --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-favorites.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-javahelp.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-javahelp.xml new file mode 100644 index 00000000..e084f29c --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-javahelp.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring-fallback.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring-fallback.xml new file mode 100644 index 00000000..a70d25f5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring-fallback.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring-impl.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring-impl.xml new file mode 100644 index 00000000..7174f97b --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring-impl.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring.xml new file mode 100644 index 00000000..d91ce6f5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-keyring.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-masterfs-nio2.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-masterfs-nio2.xml new file mode 100644 index 00000000..276e5782 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-masterfs-nio2.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-masterfs.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-masterfs.xml new file mode 100644 index 00000000..4bded95d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-masterfs.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-options-api.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-options-api.xml new file mode 100644 index 00000000..aaacce62 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-options-api.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-options-keymap.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-options-keymap.xml new file mode 100644 index 00000000..08b0e661 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-options-keymap.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-print.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-print.xml new file mode 100644 index 00000000..3bb53d55 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-print.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-progress-ui.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-progress-ui.xml new file mode 100644 index 00000000..77a5cdcd --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-progress-ui.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-queries.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-queries.xml new file mode 100644 index 00000000..a9a22bf4 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-queries.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-sampler.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-sampler.xml new file mode 100644 index 00000000..2f51a2a7 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-sampler.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-sendopts.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-sendopts.xml new file mode 100644 index 00000000..6b15255e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-sendopts.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-settings.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-settings.xml new file mode 100644 index 00000000..465bd60c --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-settings.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-spi-actions.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-spi-actions.xml new file mode 100644 index 00000000..58e623ef --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-spi-actions.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-templates.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-templates.xml new file mode 100644 index 00000000..962e2d55 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-templates.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-uihandler.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-uihandler.xml new file mode 100644 index 00000000..0dfc6dbf --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-modules-uihandler.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-spi-quicksearch.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-spi-quicksearch.xml new file mode 100644 index 00000000..cb8fbeb3 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-spi-quicksearch.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-outline.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-outline.xml new file mode 100644 index 00000000..e4f59399 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-outline.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-plaf.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-plaf.xml new file mode 100644 index 00000000..d9beb72e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-plaf.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-tabcontrol.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-tabcontrol.xml new file mode 100644 index 00000000..a47e729b --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-netbeans-swing-tabcontrol.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-actions.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-actions.xml new file mode 100644 index 00000000..74490b8a --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-actions.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-awt.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-awt.xml new file mode 100644 index 00000000..c5c10a90 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-awt.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-compat.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-compat.xml new file mode 100644 index 00000000..e0b44c2d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-compat.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-dialogs.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-dialogs.xml new file mode 100644 index 00000000..0a5ceb45 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-dialogs.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-execution.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-execution.xml new file mode 100644 index 00000000..5bf016d0 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-execution.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-explorer.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-explorer.xml new file mode 100644 index 00000000..151bbdf6 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-explorer.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-filesystems.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-filesystems.xml new file mode 100644 index 00000000..fe59ae53 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-filesystems.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-io.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-io.xml new file mode 100644 index 00000000..bd364fc1 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-io.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-loaders.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-loaders.xml new file mode 100644 index 00000000..57ff8f55 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-loaders.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-modules.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-modules.xml new file mode 100644 index 00000000..d67d1096 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-modules.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-nodes.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-nodes.xml new file mode 100644 index 00000000..13d24286 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-nodes.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-options.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-options.xml new file mode 100644 index 00000000..6ea62d4e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-options.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-text.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-text.xml new file mode 100644 index 00000000..a549e97e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-text.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util-enumerations.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util-enumerations.xml new file mode 100644 index 00000000..d4c66fac --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util-enumerations.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util-lookup.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util-lookup.xml new file mode 100644 index 00000000..9cf9b234 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util-lookup.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util.xml new file mode 100644 index 00000000..f4399376 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-util.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-windows.xml b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-windows.xml new file mode 100644 index 00000000..1b9a87fa --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/platform/update_tracking/org-openide-windows.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/.lastModified b/Java-Visualizer/java/lib/visualvm/profiler/.lastModified new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/profiler/VERSION.txt b/Java-Visualizer/java/lib/visualvm/profiler/VERSION.txt new file mode 100644 index 00000000..a3c73810 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/VERSION.txt @@ -0,0 +1,2 @@ +# cluster incompatible release version +10 diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-charts.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-charts.xml new file mode 100644 index 00000000..fce51767 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-charts.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-lib-profiler-charts.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-common.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-common.xml new file mode 100644 index 00000000..c35a13c7 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-common.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-lib-profiler-common.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-ui.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-ui.xml new file mode 100644 index 00000000..e841a0fb --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler-ui.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-lib-profiler-ui.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler.xml new file mode 100644 index 00000000..35660851 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-lib-profiler.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-lib-profiler.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-api.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-api.xml new file mode 100644 index 00000000..581c5523 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-api.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-profiler-api.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-attach.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-attach.xml new file mode 100644 index 00000000..122c009a --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-attach.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-profiler-attach.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-heapwalker.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-heapwalker.xml new file mode 100644 index 00000000..d41d76ec --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-heapwalker.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-profiler-heapwalker.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-oql.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-oql.xml new file mode 100644 index 00000000..921af9c7 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-oql.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-profiler-oql.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-selector-api.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-selector-api.xml new file mode 100644 index 00000000..8ee10690 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-selector-api.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-profiler-selector-api.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-selector-ui.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-selector-ui.xml new file mode 100644 index 00000000..18fac3a0 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-selector-ui.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-profiler-selector-ui.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-snaptracer.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-snaptracer.xml new file mode 100644 index 00000000..d18a6bab --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-snaptracer.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/org-netbeans-modules-profiler-snaptracer.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-utilities.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-utilities.xml new file mode 100644 index 00000000..0318741f --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler-utilities.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-profiler-utilities.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler.xml b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler.xml new file mode 100644 index 00000000..4d454dc6 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/config/Modules/org-netbeans-modules-profiler.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/org-netbeans-modules-profiler.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so b/Java-Visualizer/java/lib/visualvm/profiler/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so new file mode 100755 index 00000000..faf8521b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so b/Java-Visualizer/java/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so new file mode 100755 index 00000000..ed9ff235 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/lib/jfluid-server-15.jar b/Java-Visualizer/java/lib/visualvm/profiler/lib/jfluid-server-15.jar new file mode 100644 index 00000000..9acac917 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/lib/jfluid-server-15.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/lib/jfluid-server.jar b/Java-Visualizer/java/lib/visualvm/profiler/lib/jfluid-server.jar new file mode 100644 index 00000000..7b105d26 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/lib/jfluid-server.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/lib/locale/jfluid-server_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/lib/locale/jfluid-server_ja.jar new file mode 100644 index 00000000..c76853cc Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/lib/locale/jfluid-server_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/lib/locale/jfluid-server_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/lib/locale/jfluid-server_zh_CN.jar new file mode 100644 index 00000000..9d40d586 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/lib/locale/jfluid-server_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-charts_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-charts_ja.jar new file mode 100644 index 00000000..b82cea97 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-charts_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-charts_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-charts_zh_CN.jar new file mode 100644 index 00000000..fa062050 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-charts_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-common_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-common_ja.jar new file mode 100644 index 00000000..7de3964b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-common_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-common_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-common_zh_CN.jar new file mode 100644 index 00000000..ca6ad4fb Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-common_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-ui_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-ui_ja.jar new file mode 100644 index 00000000..e035e338 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-ui_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-ui_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-ui_zh_CN.jar new file mode 100644 index 00000000..a403c258 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler-ui_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler_ja.jar new file mode 100644 index 00000000..7cbec7f6 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler_zh_CN.jar new file mode 100644 index 00000000..68f55909 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-lib-profiler_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-api_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-api_ja.jar new file mode 100644 index 00000000..db57080a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-api_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-api_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-api_zh_CN.jar new file mode 100644 index 00000000..89c34b23 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-api_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-attach_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-attach_ja.jar new file mode 100644 index 00000000..568b333d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-attach_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-attach_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-attach_zh_CN.jar new file mode 100644 index 00000000..13c68e34 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-attach_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-heapwalker_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-heapwalker_ja.jar new file mode 100644 index 00000000..6efbebc5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-heapwalker_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-heapwalker_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-heapwalker_zh_CN.jar new file mode 100644 index 00000000..60f71cc6 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-heapwalker_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-oql_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-oql_ja.jar new file mode 100644 index 00000000..a5338cc7 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-oql_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-oql_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-oql_zh_CN.jar new file mode 100644 index 00000000..c6dfcd9c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-oql_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-api_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-api_ja.jar new file mode 100644 index 00000000..8fb1383e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-api_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-api_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-api_zh_CN.jar new file mode 100644 index 00000000..30911589 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-api_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-ui_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-ui_ja.jar new file mode 100644 index 00000000..7b31bb56 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-ui_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-ui_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-ui_zh_CN.jar new file mode 100644 index 00000000..92fae15d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-selector-ui_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-snaptracer_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-snaptracer_ja.jar new file mode 100644 index 00000000..29c84a67 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-snaptracer_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-snaptracer_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-snaptracer_zh_CN.jar new file mode 100644 index 00000000..f96720d1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-snaptracer_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-utilities_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-utilities_ja.jar new file mode 100644 index 00000000..c71d4162 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-utilities_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-utilities_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-utilities_zh_CN.jar new file mode 100644 index 00000000..755c7e52 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler-utilities_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler_ja.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler_ja.jar new file mode 100644 index 00000000..1bb94c17 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler_zh_CN.jar new file mode 100644 index 00000000..3a6d0f31 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/locale/org-netbeans-modules-profiler_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-charts.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-charts.jar new file mode 100644 index 00000000..1ed1305e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-charts.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-common.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-common.jar new file mode 100644 index 00000000..a0a7a9b9 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-common.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-ui.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-ui.jar new file mode 100644 index 00000000..988e98df Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler-ui.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler.jar new file mode 100644 index 00000000..41e1cf46 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-lib-profiler.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-api.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-api.jar new file mode 100644 index 00000000..91908d11 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-api.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-attach.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-attach.jar new file mode 100644 index 00000000..442159e0 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-attach.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-heapwalker.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-heapwalker.jar new file mode 100644 index 00000000..7988002a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-heapwalker.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-oql.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-oql.jar new file mode 100644 index 00000000..fc4d1fc7 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-oql.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-selector-api.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-selector-api.jar new file mode 100644 index 00000000..048eff8a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-selector-api.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-selector-ui.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-selector-ui.jar new file mode 100644 index 00000000..8b3bb08d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-selector-ui.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-snaptracer.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-snaptracer.jar new file mode 100644 index 00000000..466867f4 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-snaptracer.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-utilities.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-utilities.jar new file mode 100644 index 00000000..075f1edd Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler-utilities.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler.jar b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler.jar new file mode 100644 index 00000000..974c0657 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/profiler/modules/org-netbeans-modules-profiler.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-charts.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-charts.xml new file mode 100644 index 00000000..2db50bc5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-charts.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-common.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-common.xml new file mode 100644 index 00000000..71374477 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-common.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-ui.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-ui.xml new file mode 100644 index 00000000..070096fd --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler-ui.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler.xml new file mode 100644 index 00000000..0c40c5cf --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-lib-profiler.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-api.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-api.xml new file mode 100644 index 00000000..f19d2843 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-api.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-attach.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-attach.xml new file mode 100644 index 00000000..f58b97d0 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-attach.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-heapwalker.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-heapwalker.xml new file mode 100644 index 00000000..aaff781f --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-heapwalker.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-oql.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-oql.xml new file mode 100644 index 00000000..783a89e4 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-oql.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-selector-api.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-selector-api.xml new file mode 100644 index 00000000..cfb09a3e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-selector-api.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-selector-ui.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-selector-ui.xml new file mode 100644 index 00000000..9d8bf1ea --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-selector-ui.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-snaptracer.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-snaptracer.xml new file mode 100644 index 00000000..6efc9d00 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-snaptracer.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-utilities.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-utilities.xml new file mode 100644 index 00000000..76bf8ba4 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler-utilities.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler.xml b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler.xml new file mode 100644 index 00000000..00ddf0f9 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/profiler/update_tracking/org-netbeans-modules-profiler.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/.lastModified b/Java-Visualizer/java/lib/visualvm/visualvm/.lastModified new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-api-caching.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-api-caching.xml new file mode 100644 index 00000000..cadd69b9 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-api-caching.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/com-sun-tools-visualvm-api-caching.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-application-views.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-application-views.xml new file mode 100644 index 00000000..fd07519c --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-application-views.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-application-views.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-application.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-application.xml new file mode 100644 index 00000000..df8782e3 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-application.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-application.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-attach.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-attach.xml new file mode 100644 index 00000000..ffe3d90e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-attach.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-attach.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-charts.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-charts.xml new file mode 100644 index 00000000..5797ea8f --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-charts.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-charts.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-core.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-core.xml new file mode 100644 index 00000000..55009fa8 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-core.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-core.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-coredump.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-coredump.xml new file mode 100644 index 00000000..82cb0d91 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-coredump.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-coredump.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-heapdump.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-heapdump.xml new file mode 100644 index 00000000..b345d87a --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-heapdump.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-heapdump.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host-remote.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host-remote.xml new file mode 100644 index 00000000..2d8fabcf --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host-remote.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-host-remote.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host-views.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host-views.xml new file mode 100644 index 00000000..2342c09c --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host-views.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-host-views.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host.xml new file mode 100644 index 00000000..65073b11 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-host.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-host.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jmx.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jmx.xml new file mode 100644 index 00000000..32528182 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jmx.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-jmx.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jvm.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jvm.xml new file mode 100644 index 00000000..c0c105ce --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jvm.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-jvm.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jvmstat.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jvmstat.xml new file mode 100644 index 00000000..5270af5f --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-jvmstat.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-jvmstat.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-modules-appui.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-modules-appui.xml new file mode 100644 index 00000000..c4d2aca9 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-modules-appui.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-modules-appui.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-profiler.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-profiler.xml new file mode 100644 index 00000000..b24e650e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-profiler.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-profiler.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-profiling.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-profiling.xml new file mode 100644 index 00000000..dd5f1dfe --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-profiling.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/com-sun-tools-visualvm-profiling.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-sa.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-sa.xml new file mode 100644 index 00000000..c66c7cb6 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-sa.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-sa.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-sampler.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-sampler.xml new file mode 100644 index 00000000..3db293d5 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-sampler.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-sampler.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-threaddump.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-threaddump.xml new file mode 100644 index 00000000..e88ebe7d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-threaddump.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-threaddump.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-tools.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-tools.xml new file mode 100644 index 00000000..72ac66cd --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-tools.xml @@ -0,0 +1,10 @@ + + + + false + false + true + modules/com-sun-tools-visualvm-tools.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-uisupport.xml b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-uisupport.xml new file mode 100644 index 00000000..69befc1b --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/com-sun-tools-visualvm-uisupport.xml @@ -0,0 +1,9 @@ + + + + true + false + modules/com-sun-tools-visualvm-uisupport.jar + false + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-api-visual.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-api-visual.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-core-execution.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-core-execution.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-core-io-ui.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-core-io-ui.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-core-output2.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-core-output2.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-lib-uihandler.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-lib-uihandler.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-core-kit.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-core-kit.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-favorites.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-favorites.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-options-keymap.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-options-keymap.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-print.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-print.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-spi-actions.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-spi-actions.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-templates.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-templates.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-uihandler.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-netbeans-modules-uihandler.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-openide-compat.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-openide-compat.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-openide-execution.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-openide-execution.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-openide-options.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-openide-options.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-openide-util-enumerations.xml_hidden b/Java-Visualizer/java/lib/visualvm/visualvm/config/Modules/org-openide-util-enumerations.xml_hidden new file mode 100644 index 00000000..e69de29b diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/core/com-sun-tools-visualvm-modules-startup.jar b/Java-Visualizer/java/lib/visualvm/visualvm/core/com-sun-tools-visualvm-modules-startup.jar new file mode 100644 index 00000000..53a0a6c6 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/core/com-sun-tools-visualvm-modules-startup.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/com-sun-tools-visualvm-modules-startup_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/com-sun-tools-visualvm-modules-startup_ja.jar new file mode 100644 index 00000000..ca5b35b3 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/com-sun-tools-visualvm-modules-startup_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/com-sun-tools-visualvm-modules-startup_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/com-sun-tools-visualvm-modules-startup_zh_CN.jar new file mode 100644 index 00000000..24f60abf Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/com-sun-tools-visualvm-modules-startup_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/core_visualvm.jar b/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/core_visualvm.jar new file mode 100644 index 00000000..5c4efe15 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/core/locale/core_visualvm.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-api-caching.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-api-caching.jar new file mode 100644 index 00000000..cf4125d8 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-api-caching.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application-views.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application-views.jar new file mode 100644 index 00000000..10e26998 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application-views.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application.jar new file mode 100644 index 00000000..f9110765 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-attach.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-attach.jar new file mode 100644 index 00000000..b0093dd0 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-attach.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-charts.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-charts.jar new file mode 100644 index 00000000..a30206ac Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-charts.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-core.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-core.jar new file mode 100644 index 00000000..b4aa4e63 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-core.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-coredump.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-coredump.jar new file mode 100644 index 00000000..fc0bdd55 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-coredump.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-heapdump.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-heapdump.jar new file mode 100644 index 00000000..8c967f8d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-heapdump.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host-remote.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host-remote.jar new file mode 100644 index 00000000..69129961 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host-remote.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host-views.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host-views.jar new file mode 100644 index 00000000..19b1f359 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host-views.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host.jar new file mode 100644 index 00000000..df7a1fc7 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-host.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jmx.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jmx.jar new file mode 100644 index 00000000..5120a153 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jmx.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvm.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvm.jar new file mode 100644 index 00000000..4b2f3fd8 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvm.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvmstat.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvmstat.jar new file mode 100644 index 00000000..12fc20e8 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-jvmstat.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-modules-appui.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-modules-appui.jar new file mode 100644 index 00000000..6d55c33d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-modules-appui.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-profiler.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-profiler.jar new file mode 100644 index 00000000..a162e901 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-profiler.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-profiling.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-profiling.jar new file mode 100644 index 00000000..26464081 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-profiling.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sa.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sa.jar new file mode 100644 index 00000000..5c247fca Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sa.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sampler.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sampler.jar new file mode 100644 index 00000000..aae116c9 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sampler.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-threaddump.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-threaddump.jar new file mode 100644 index 00000000..99ba47c7 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-threaddump.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-tools.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-tools.jar new file mode 100644 index 00000000..b5c5f5db Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-tools.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-uisupport.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-uisupport.jar new file mode 100644 index 00000000..eb7134e2 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-uisupport.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-api-caching_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-api-caching_ja.jar new file mode 100644 index 00000000..df2957ec Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-api-caching_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-api-caching_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-api-caching_zh_CN.jar new file mode 100644 index 00000000..b81820e9 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-api-caching_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application-views_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application-views_ja.jar new file mode 100644 index 00000000..aeb75c06 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application-views_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application-views_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application-views_zh_CN.jar new file mode 100644 index 00000000..6e0aace2 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application-views_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application_ja.jar new file mode 100644 index 00000000..19b5f6e1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application_zh_CN.jar new file mode 100644 index 00000000..389bcce9 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-application_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-attach_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-attach_ja.jar new file mode 100644 index 00000000..4db9a164 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-attach_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-attach_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-attach_zh_CN.jar new file mode 100644 index 00000000..1f45e529 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-attach_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-charts_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-charts_ja.jar new file mode 100644 index 00000000..cf8a42ed Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-charts_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-charts_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-charts_zh_CN.jar new file mode 100644 index 00000000..aed5da46 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-charts_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-core_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-core_ja.jar new file mode 100644 index 00000000..9cd5a397 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-core_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-core_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-core_zh_CN.jar new file mode 100644 index 00000000..04ca3ac6 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-core_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-coredump_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-coredump_ja.jar new file mode 100644 index 00000000..5abe5a95 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-coredump_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-coredump_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-coredump_zh_CN.jar new file mode 100644 index 00000000..f24b4022 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-coredump_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-heapdump_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-heapdump_ja.jar new file mode 100644 index 00000000..eeaf0e16 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-heapdump_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-heapdump_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-heapdump_zh_CN.jar new file mode 100644 index 00000000..c2d7e6a5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-heapdump_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-remote_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-remote_ja.jar new file mode 100644 index 00000000..9998a3e0 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-remote_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-remote_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-remote_zh_CN.jar new file mode 100644 index 00000000..b0e0ec1a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-remote_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-views_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-views_ja.jar new file mode 100644 index 00000000..2dc4132b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-views_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-views_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-views_zh_CN.jar new file mode 100644 index 00000000..dc179ab5 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host-views_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host_ja.jar new file mode 100644 index 00000000..d2ba319b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host_zh_CN.jar new file mode 100644 index 00000000..9dea374a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-host_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jmx_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jmx_ja.jar new file mode 100644 index 00000000..1dd462f4 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jmx_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jmx_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jmx_zh_CN.jar new file mode 100644 index 00000000..b5e1dced Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jmx_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvm_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvm_ja.jar new file mode 100644 index 00000000..1843077c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvm_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvm_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvm_zh_CN.jar new file mode 100644 index 00000000..157d6b29 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvm_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvmstat_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvmstat_ja.jar new file mode 100644 index 00000000..4308399b Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvmstat_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvmstat_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvmstat_zh_CN.jar new file mode 100644 index 00000000..bb9c372a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-jvmstat_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-modules-appui_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-modules-appui_ja.jar new file mode 100644 index 00000000..ef09759d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-modules-appui_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-modules-appui_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-modules-appui_zh_CN.jar new file mode 100644 index 00000000..632919e4 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-modules-appui_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiler_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiler_ja.jar new file mode 100644 index 00000000..5842e4d2 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiler_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiler_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiler_zh_CN.jar new file mode 100644 index 00000000..255e7e2d Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiler_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiling_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiling_ja.jar new file mode 100644 index 00000000..f01f189c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiling_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiling_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiling_zh_CN.jar new file mode 100644 index 00000000..4da9cc65 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-profiling_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sa_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sa_ja.jar new file mode 100644 index 00000000..6d4a68a8 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sa_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sa_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sa_zh_CN.jar new file mode 100644 index 00000000..7b36904a Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sa_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sampler_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sampler_ja.jar new file mode 100644 index 00000000..809637c0 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sampler_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sampler_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sampler_zh_CN.jar new file mode 100644 index 00000000..83f421dd Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-sampler_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-threaddump_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-threaddump_ja.jar new file mode 100644 index 00000000..532d3b96 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-threaddump_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-threaddump_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-threaddump_zh_CN.jar new file mode 100644 index 00000000..aa7e78a8 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-threaddump_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-tools_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-tools_ja.jar new file mode 100644 index 00000000..47e21cda Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-tools_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-tools_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-tools_zh_CN.jar new file mode 100644 index 00000000..ab9d9d5c Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-tools_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-uisupport_ja.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-uisupport_ja.jar new file mode 100644 index 00000000..d299677e Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-uisupport_ja.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-uisupport_zh_CN.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-uisupport_zh_CN.jar new file mode 100644 index 00000000..f9f12423 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/com-sun-tools-visualvm-uisupport_zh_CN.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-core-windows_visualvm.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-core-windows_visualvm.jar new file mode 100644 index 00000000..b5d0efc1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-core-windows_visualvm.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-core_visualvm.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-core_visualvm.jar new file mode 100644 index 00000000..209ff574 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-core_visualvm.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-modules-profiler_visualvm.jar b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-modules-profiler_visualvm.jar new file mode 100644 index 00000000..b9bbe7b1 Binary files /dev/null and b/Java-Visualizer/java/lib/visualvm/visualvm/modules/locale/org-netbeans-modules-profiler_visualvm.jar differ diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-api-caching.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-api-caching.xml new file mode 100644 index 00000000..a0cbd950 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-api-caching.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-application-views.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-application-views.xml new file mode 100644 index 00000000..66428825 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-application-views.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-application.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-application.xml new file mode 100644 index 00000000..bc154d94 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-application.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-attach.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-attach.xml new file mode 100644 index 00000000..3c15e413 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-attach.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-charts.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-charts.xml new file mode 100644 index 00000000..6225e467 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-charts.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-core.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-core.xml new file mode 100644 index 00000000..af1ed294 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-core.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-coredump.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-coredump.xml new file mode 100644 index 00000000..12316701 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-coredump.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-heapdump.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-heapdump.xml new file mode 100644 index 00000000..9f9d3dc6 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-heapdump.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host-remote.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host-remote.xml new file mode 100644 index 00000000..3806f91e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host-remote.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host-views.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host-views.xml new file mode 100644 index 00000000..8cbbb084 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host-views.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host.xml new file mode 100644 index 00000000..f2779cae --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-host.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jmx.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jmx.xml new file mode 100644 index 00000000..38e27086 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jmx.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jvm.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jvm.xml new file mode 100644 index 00000000..c700dc12 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jvm.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jvmstat.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jvmstat.xml new file mode 100644 index 00000000..e1f25a06 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-jvmstat.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-modules-appui.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-modules-appui.xml new file mode 100644 index 00000000..8de42313 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-modules-appui.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-modules-startup.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-modules-startup.xml new file mode 100644 index 00000000..4c708252 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-modules-startup.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-profiler.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-profiler.xml new file mode 100644 index 00000000..f8dc948e --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-profiler.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-profiling.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-profiling.xml new file mode 100644 index 00000000..9a8f2c1c --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-profiling.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-sa.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-sa.xml new file mode 100644 index 00000000..607cde08 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-sa.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-sampler.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-sampler.xml new file mode 100644 index 00000000..2c23a020 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-sampler.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-threaddump.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-threaddump.xml new file mode 100644 index 00000000..7dbca93d --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-threaddump.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-tools.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-tools.xml new file mode 100644 index 00000000..321599ff --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-tools.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-uisupport.xml b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-uisupport.xml new file mode 100644 index 00000000..93178631 --- /dev/null +++ b/Java-Visualizer/java/lib/visualvm/visualvm/update_tracking/com-sun-tools-visualvm-uisupport.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Java-Visualizer/java/man/ja b/Java-Visualizer/java/man/ja new file mode 120000 index 00000000..fb97377a --- /dev/null +++ b/Java-Visualizer/java/man/ja @@ -0,0 +1 @@ +ja_JP.UTF-8 \ No newline at end of file diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/appletviewer.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/appletviewer.1 new file mode 100644 index 00000000..cbfd8c1c --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/appletviewer.1 @@ -0,0 +1,50 @@ +." Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH appletviewer 1 "05 Jul 2012" + +.LP +.SH "åå‰" +appletviewer \- Javaアプレット・ビューア +.LP +.LP +\f3appletviewer\fPコマンドã§ã¯ã€Webブラウザã®å¤–ã§ã‚¢ãƒ—レットを実行ã§ãã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.LP +\f4appletviewer\fP \f2[\fP \f2options\fP \f2] \fP\f2urls\fP ... +.LP +.SH "説明" +.LP +.LP +\f3appletviewer\fPコマンドã¯\f2urls\fPã«æŒ‡å®šã•れãŸãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚ã‚‹ã„ã¯ãƒªã‚½ãƒ¼ã‚¹ã¨æŽ¥ç¶šã—ã¦ã€ãã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒå‚ç…§ã™ã‚‹ãれãžã‚Œã®ã‚¢ãƒ—レットを独自ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã§è¡¨ç¤ºã—ã¾ã™ã€‚注æ„: \f2urls\fPã«ã‚ˆã£ã¦å‚ç…§ã•れãŸãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒã€\f2OBJECT\fPã€\f2EMBED\fPã€ã¾ãŸã¯\f2APPLET\fPã‚¿ã‚°ã§ã©ã®ã‚¢ãƒ—レットもå‚ç…§ã—ã¦ã„ãªã„å ´åˆã€\f3appletviewer\fPã¯ä½•も行ã„ã¾ã›ã‚“。\f3appletviewer\fPã§ã‚µãƒãƒ¼ãƒˆã•れるHTMLã‚¿ã‚°ã®è©³ç´°ã¯ã€ +.na +\f2アプレット・ビューアã®ã‚¿ã‚°\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/appletviewertags.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +\f3注æ„:\fP \f3appletviewer\fPã¯é–‹ç™ºå°‚用ã§ã™ã€‚詳細ã¯ã€ã‚µãƒ³ãƒ—ル/テスト・アプリケーションã®ã‚³ãƒ¼ãƒ‰ã«ã¤ã„ã¦ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +\f3注æ„:\fP \f3appletviewer\fPã¯ã€RFC2396ã§å®šç¾©ã•れãŸã‚¨ã‚¹ã‚±ãƒ¼ãƒ—・メカニズムã«å¾“ã£ã¦ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã•れãŸURLã‚’å¿…è¦ã¨ã—ã¾ã™ã€‚サãƒãƒ¼ãƒˆã•れるã®ã¯ã€ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã•れãŸURLã®ã¿ã§ã™ã€‚ãŸã ã—ã€ãƒ•ァイルåã«ã¤ã„ã¦ã¯ã€RFC2396ã®ä»•様ã«å¾“ã£ã¦ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã‚’解除ã—ã¦ãŠãå¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-debug +Javaデãƒãƒƒã‚¬jdb(1)ã§ã‚¢ãƒ—レット・ビューアを開始ã—ã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆä¸­ã®ã‚¢ãƒ—レットをデãƒãƒƒã‚°ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.TP 3 +\-encoding \ \ encoding name +入力HTMLファイルã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°åを指定ã—ã¾ã™ã€‚ +.TP 3 +\-Jjavaoption +文字列\f2javaoption\fPã¯ã€appletviewerを実行ã™ã‚‹Javaインタプリタã«1ã¤ã®å¼•æ•°ã¨ã—ã¦æ¸¡ã•れã¾ã™ã€‚引数ã«ã‚¹ãƒšãƒ¼ã‚¹ã‚’å«ã‚ãªã„ã§ãã ã•ã„。複数ã®å¼•æ•°ã¯ã€å„引数ã®ã™ã¹ã¦ã‚’接頭辞\f3\-J\fPã§å§‹ã‚ã‚‹ã“ã¨ã«ã‚ˆã‚ŠåŒºåˆ†ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“れã¯ã€ã‚³ãƒ³ãƒ‘イラã®å®Ÿè¡Œç’°å¢ƒã¾ãŸã¯ãƒ¡ãƒ¢ãƒªãƒ¼ä½¿ç”¨ã®èª¿æ•´ã«æœ‰åйã§ã™ã€‚ +.RE + +.LP +.LP + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/apt.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/apt.1 new file mode 100644 index 00000000..35e70ab0 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/apt.1 @@ -0,0 +1,134 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH apt 1 "05 Jul 2012" + +.LP +.SH "åå‰" +.LP +.LP +\f2apt\fP \- 注釈処ç†ãƒ„ール +.LP +.SH "å½¢å¼" +.LP +.LP +\f2apt [\-classpath \fP\f2classpath\fP] [\-sourcepath \f2sourcepath\fP] [\-d \f2directory\fP] [\-s \f2directory\fP] [\-factorypath \f2path\fP] [\-factory \f2class\fP] [\-print] [\-nocompile] [\-A\f2key\fP[\f2=val\fP] ...] [\f2javac option\fP] sourcefiles [@files] +.LP +.SH "パラメータ" +.LP +.LP +ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æŒ‡å®šé †åºã«æ±ºã¾ã‚Šã¯ã‚りã¾ã›ã‚“。特定ã®ã‚ªãƒ—ションã«é©ç”¨ã•れるパラメータã«ã¤ã„ã¦ã¯ã€ä¸‹è¨˜ã®ã‚ªãƒ—ションをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.RS 3 +.TP 3 +sourcefiles +ゼロã€1ã¤ã€ã¾ãŸã¯è¤‡æ•°ã®å‡¦ç†å¯¾è±¡ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル +.TP 3 +@files +ソース・ファイルã¾ãŸã¯ä»–ã®ã‚ªãƒ—ションを一覧表示ã™ã‚‹1ã¤ã¾ãŸã¯è¤‡æ•°ã®ãƒ•ァイル +.RE + +.LP +.SH "説明" +.LP +.LP +\f3注æ„\fP: \f2apt\fPツールã¨ã€ãƒ‘ッケージ\f2com.sun.mirror\fPã«å«ã¾ã‚Œã¦ã„ã‚‹ãれã«é–¢é€£ã—ãŸAPIã¯ã€JDK 7以é™éžæŽ¨å¥¨ã«ãªã£ã¦ãŠã‚Šã€JDKã®æ¬¡ã®ãƒ¡ã‚¸ãƒ£ãƒ¼ãƒ»ãƒªãƒªãƒ¼ã‚¹ã§å‰Šé™¤ã•れる予定ã§ã™ã€‚\f2javac(1)\fPツールã§åˆ©ç”¨å¯èƒ½ãªã‚ªãƒ—ションã¨ã€ãƒ‘ッケージ\f2javax.annotation.processing\fPãŠã‚ˆã³\f2javax.lang.model\fPã«å«ã¾ã‚Œã¦ã„ã‚‹APIを使用ã—ã¦ã€æ³¨é‡ˆã‚’処ç†ã—ã¦ãã ã•ã„。 +.LP +.LP +注釈処ç†ãƒ„ール\f2apt\fPã¯ã€ãƒªãƒ•レクトAPIã¨ã‚µãƒãƒ¼ãƒˆãƒ»ã‚¤ãƒ³ãƒ•ラストラクãƒãƒ£ã‹ã‚‰æ§‹æˆã•れã€ãƒ—ログラム注釈を処ç†ã—ã¾ã™ã€‚\f2apt\fPリフレクトAPIã¯ã€æ§‹ç¯‰æ™‚ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ™ãƒ¼ã‚¹ã§ã€ãƒ—ログラム構造ã«é–¢ã™ã‚‹èª­å–り専用ビューをæä¾›ã—ã¾ã™ã€‚ã“れらã®ãƒªãƒ•レクトAPIã¯ã€ç·ç§°ã‚’追加ã—ãŸå¾Œã«ã€Java(tm)プログラミング言語ã®åž‹ã‚·ã‚¹ãƒ†ãƒ ã‚’æ­£ã—ãモデル化ã™ã‚‹ã‚ˆã†ã«è¨­è¨ˆã•れã¦ã„ã¾ã™ã€‚最åˆã«ã€\f2apt\fPã¯ã€æ–°ã—ã„ソース・コードã¨ä»–ã®ãƒ•ァイルを作æˆã™ã‚‹æ³¨é‡ˆãƒ—ロセッサを実行ã—ã¾ã™ã€‚次ã«ã€\f2apt\fPã¯ã€å…ƒã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ç”Ÿæˆã—ãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ä¸¡æ–¹ã‚’コンパイルã™ã‚‹ãŸã‚ã€é–‹ç™ºãŒæ¥½ã«ãªã‚Šã¾ã™ã€‚ツールã¨ã®ã‚¤ãƒ³ã‚¿ãƒ•ェースã«ä½¿ç”¨ã•れるリフレクトAPIãªã©ã®APIã¯ã€\f2com.sun.mirror\fPã®ã‚µãƒ–パッケージã§ã™ã€‚ +.LP +.LP +ãƒ„ãƒ¼ãƒ«ã®æ©Ÿèƒ½ã«é–¢ã™ã‚‹è©³ç´°ãŠã‚ˆã³\f2apt\fPを使用ã—ãŸé–‹ç™ºæ‰‹é †ã¯ã€ +.na +\f4apt\fP\f3スタート・ガイド\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/apt/GettingStarted.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "オプション" +.LP +.SS +apt固有ã®ã‚ªãƒ—ション +.LP +.RS 3 +.TP 3 +\-s dir +プロセッサã®ç”Ÿæˆã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを置ãディレクトリ・ルートを指定ã—ã¾ã™ã€‚ファイルã¯ã€ãƒ‘ッケージã®åå‰ç©ºé–“ã«åŸºã¥ã„ã¦ã‚µãƒ–ディレクトリã«ç½®ã‹ã‚Œã¾ã™ã€‚ +.TP 3 +\-nocompile +ソース・ファイルをクラス・ファイルã«ã‚³ãƒ³ãƒ‘イルã—ã¾ã›ã‚“。 +.TP 3 +\-print +指定ã—ãŸã‚¿ã‚¤ãƒ—ã®ãƒ†ã‚­ã‚¹ãƒˆè¡¨ç¾ã‚’出力ã—ã¾ã™ã€‚注釈処ç†ã¾ãŸã¯ã‚³ãƒ³ãƒ‘イルã¯è¡Œã„ã¾ã›ã‚“。 +.TP 3 +\-A[key[=val]] +æ³¨é‡ˆãƒ—ãƒ­ã‚»ãƒƒã‚µã¸æ¸¡ã™ã‚ªãƒ—ションã§ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€\f2apt\fPãŒç›´æŽ¥è§£é‡ˆã™ã‚‹ã®ã§ã¯ãªãã€ãれãžã‚Œã®ãƒ—ロセッサã§ä½¿ç”¨ã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +\-factorypath path +注釈プロセッサ・ファクトリを検索ã™ã‚‹å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹å ´åˆã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®ãƒ•ã‚¡ã‚¯ãƒˆãƒªã¯æ¤œç´¢\f2ã•れã¾ã›ã‚“\fP。 +.TP 3 +\-factory classname +使用ã™ã‚‹æ³¨é‡ˆãƒ—ロセッサ・ファクトリã®åå‰ã§ã™ã€‚ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ¤œå‡ºãƒ—ロセスをçœç•¥ã—ã¾ã™ã€‚ +.TP 3 +\-version +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¾ã™ã€‚ +.TP 3 +\-X +éžæ¨™æº–オプションã«é–¢ã™ã‚‹æƒ…報を表示ã—ã¾ã™ã€‚ +.RE + +.LP +.SS +javacã¨å…±ç”¨ã™ã‚‹ã‚ªãƒ—ション +.LP +.RS 3 +.TP 3 +\-d dir +プロセッサã¨javac生æˆã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを置ã場所を指定ã—ã¾ã™ã€‚ +.TP 3 +\-cppathã¾ãŸã¯\-classpathpath +ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã¨æ³¨é‡ˆãƒ—ロセッサ・ファクトリを検索ã™ã‚‹å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚\f2\-factorypath\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®ãƒ•ã‚¡ã‚¯ãƒˆãƒªã¯æ¤œç´¢ã•れã¾ã›ã‚“。 +.RE + +.LP +.LP +\f2javac\fPオプションã®è©³ç´°ã¯ã€javac(1)ã®ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«ãƒ»ãƒšãƒ¼ã‚¸ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SS +éžæ¨™æº–オプション +.LP +.RS 3 +.TP 3 +\-XListAnnotationTypes +検出ã•ã‚ŒãŸæ³¨é‡ˆã®åž‹ã‚’リストã—ã¾ã™ã€‚ +.TP 3 +\-XListDeclarations +指定ãŠã‚ˆã³ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ã•れる宣言をリストã—ã¾ã™ã€‚ +.TP 3 +\-XPrintAptRounds +åˆæœŸãŠã‚ˆã³å†å¸°çš„ãª\f2apt\fPラウンドã«é–¢ã™ã‚‹æƒ…報を出力ã—ã¾ã™ã€‚ +.TP 3 +\-XPrintFactoryInfo +ファクトリã«å‡¦ç†ã‚’リクエストã™ã‚‹æ³¨é‡ˆã«é–¢ã™ã‚‹æƒ…報を出力ã—ã¾ã™ã€‚ +.TP 3 +\-XclassesAsDecls +クラス・ファイルã¨ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ä¸¡æ–¹ã‚’ã€å‡¦ç†å¯¾è±¡ã®å®£è¨€ã¨ã—ã¦å‡¦ç†ã—ã¾ã™ã€‚ +.RE + +.LP +.LP +\f3注æ„\fP: ã“れらã¯éžæ¨™æº–オプションãªã®ã§ã€äºˆå‘Šãªã変更ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.LP +.SH "注æ„" +.LP +.LP +\f2apt\fPツールã¨ã€ãƒ‘ッケージ\f2com.sun.mirror\fPã«å«ã¾ã‚Œã¦ã„ã‚‹ãれã«é–¢é€£ã—ãŸAPIã¯ã€JDK 7以é™éžæŽ¨å¥¨ã«ãªã£ã¦ãŠã‚Šã€JDKã®æ¬¡ã®ãƒ¡ã‚¸ãƒ£ãƒ¼ãƒ»ãƒªãƒªãƒ¼ã‚¹ã§å‰Šé™¤ã•れる予定ã§ã™ã€‚\f2javac(1)\fPツールã§åˆ©ç”¨å¯èƒ½ãªã‚ªãƒ—ションã¨ã€ãƒ‘ッケージ\f2javax.annotation.processing\fPãŠã‚ˆã³\f2javax.lang.model\fPã«å«ã¾ã‚Œã¦ã„ã‚‹APIを使用ã—ã¦ã€æ³¨é‡ˆã‚’処ç†ã—ã¦ãã ã•ã„。 +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +javac(1)ã€java(1) +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/extcheck.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/extcheck.1 new file mode 100644 index 00000000..e5dfa3bd --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/extcheck.1 @@ -0,0 +1,54 @@ +." Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH extcheck 1 "05 Jul 2012" + +.LP +.SH "åå‰" +extcheck \- jarã®ç«¶åˆæ¤œå‡ºãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ +.LP +.LP +\f3extcheck\fPã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã®jarファイルã¨ç¾åœ¨ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„る拡張機能ã®jarファイル間ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ç«¶åˆã‚’検出ã—ã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +extcheck [ \-verbose ] targetfile.jar +.fl +\fP +.fi + +.LP +.SH "説明" +.LP +.LP +\f3extcheck\fPユーティリティã¯ã€æŒ‡å®šã•れãŸJarファイルã®ã‚¿ã‚¤ãƒˆãƒ«ãŠã‚ˆã³ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒJava(tm) SDKã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„る拡張機能ã¨ç«¶åˆã—ã¦ã„ãªã„ã‹ã‚’ãƒã‚§ãƒƒã‚¯ã—ã¾ã™ã€‚拡張機能をインストールã™ã‚‹å‰ã«ã€ã“ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã‚’使用ã—ã¦ã€åŒã˜ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¾ãŸã¯ã‚ˆã‚Šæ–°ã—ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®æ‹¡å¼µæ©Ÿèƒ½ãŒã™ã§ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ãªã„ã‹ã©ã†ã‹ã‚’調ã¹ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +.LP +\f3extcheck\fPユーティリティã¯ã€\f2targetfile.jar\fPファイルã®ãƒžãƒ‹ãƒ•ェスト内ã®ãƒ˜ãƒƒãƒ€ãƒ¼\f2Specification\-title\fPãŠã‚ˆã³\f2Specification\-version\fPã‚’ã€æ‹¡å¼µæ©Ÿèƒ½ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã«ç¾åœ¨ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ã‚‹ã™ã¹ã¦ã®Jarファイル内ã®å¯¾å¿œã™ã‚‹ãƒ˜ãƒƒãƒ€ãƒ¼ã¨æ¯”較ã—ã¾ã™ã€‚(デフォルトã§ã¯ã€æ‹¡å¼µæ©Ÿèƒ½ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã€\f2jre/lib/ext\fPã§ã™ã€‚)\f3extcheck\fPユーティリティã¯ã€\f2java.lang.Package.isCompatibleWith\fPメソッドã¨åŒæ§˜ã®æ–¹æ³•ã§ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’比較ã—ã¾ã™ã€‚ +.LP +.LP +ç«¶åˆãŒæ¤œå‡ºã•れãªã„å ´åˆã®ãƒªã‚¿ãƒ¼ãƒ³ãƒ»ã‚³ãƒ¼ãƒ‰ã¯\f20\fPã§ã™ã€‚ +.LP +.LP +拡張機能ディレクトリ内ã®ã„ãšã‚Œã‹ã®jarファイルã®ãƒžãƒ‹ãƒ•ェストã«ã€åŒä¸€ã®\f2Specification\-title\fPã€ãŠã‚ˆã³åŒä¸€ã¾ãŸã¯ã‚ˆã‚Šæ–°ã—ã„\f2Specification\-version\fP番å·ãŒã‚ã‚‹å ´åˆã¯ã€ã‚¼ãƒ­ã§ãªã„エラー・コードãŒè¿”ã•れã¾ã™ã€‚\f2targetfile.jar\fPã®ãƒžãƒ‹ãƒ•ェストã«\f2Specification\-title\fPã¾ãŸã¯\f2Specification\-version\fP属性ãŒãªã„å ´åˆã‚‚ã€ã‚¼ãƒ­ã§ãªã„エラー・コードãŒè¿”ã•れã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-verbose +拡張機能ディレクトリ内ã®Jarファイルをã€ãƒã‚§ãƒƒã‚¯æ™‚ã«ä¸€è¦§è¡¨ç¤ºã—ã¾ã™ã€‚ã¾ãŸã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆjarファイルã®ãƒžãƒ‹ãƒ•ェストã®å±žæ€§ã€ãŠã‚ˆã³ç«¶åˆã™ã‚‹jarファイルã«ã¤ã„ã¦ã‚‚報告ã—ã¾ã™ã€‚ +.TP 3 +\-Joption +Java仮想マシンã«\f2option\fPを渡ã—ã¾ã™ã€‚\f2option\fPã«ã¯ã€java(1)ã®ãƒªãƒ•ァレンス・ページã«è¨˜è¼‰ã•れã¦ã„るオプションを1ã¤æŒ‡å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +.LP +jar(1) +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/idlj.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/idlj.1 new file mode 100644 index 00000000..70f5958c --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/idlj.1 @@ -0,0 +1,719 @@ +." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH idlj 1 "05 Jul 2012" + +.LP +.SH "åå‰" +idlj \- IDL\-to\-Javaコンパイラ +.LP +\f3idlj\fPã¯ã€æŒ‡å®šã•れãŸIDLファイルã‹ã‚‰Javaãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’生æˆã—ã¾ã™ã€‚ +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +idlj [ \fP\f3options\fP\f3 ] \fP\f4idl\-file\fP\f3 +.fl +\fP +.fi + +.LP +.LP +\f2idl\-file\fPã¯ã€ã‚¤ãƒ³ã‚¿ãƒ•ェース定義言語(IDL)ã«ã‚ˆã‚‹å®šç¾©ãŒå…¥ã£ãŸãƒ•ァイルã®åå‰ã§ã™ã€‚\f2options\fPã®é †ç•ªã¯ä»»æ„ã§ã™ãŒã€\f2idl\-file\fPよりもå‰ã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.SH "説明" +.LP +.LP +IDL\-to\-Javaコンパイラã¯ã€æŒ‡å®šã•れãŸIDLファイルã«å¯¾ã—ã¦Javaãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’生æˆã—ã¾ã™ã€‚ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã®è©³ç´°ã¯ã€ +.na +\f2OMG IDL to Java Language Mapping Specification\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/mapping/jidlMapping.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。IDL\-to\-Javaコンパイラã®ä»¥å‰ã®ãƒªãƒªãƒ¼ã‚¹ã®ä¸­ã«ã¯ã€\f2idltojava\fPã¨ã„ã†åå‰ã ã£ãŸã‚‚ã®ãŒã‚りã¾ã™ã€‚ +.LP +.SS +クライアント・ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŠã‚ˆã³ã‚µãƒ¼ãƒãƒ¼ãƒ»ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã®ç™ºè¡Œ +.LP +.LP +My.idlã¨ã„ã†åå‰ã®IDLファイルã«å¯¾ã—ã¦Javaãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’生æˆã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj My.idl +.fl +\fP +.fi + +.LP +.LP +ã“れã«ã‚ˆã‚Šã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆå´ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒç”Ÿæˆã•れã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã¨ç­‰ä¾¡ã§ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fclient\fP My.idl +.fl +.fi + +.LP +.LP +クライアントå´ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã«ã¯ã€ã‚µãƒ¼ãƒãƒ¼å´ã®ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã¯çµ„ã¿è¾¼ã¾ã‚Œã¦ã„ã¾ã›ã‚“。インタフェースã«å¯¾ã—ã¦ã‚µãƒ¼ãƒãƒ¼å´ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’生æˆã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fserver\fP My.idl +.fl +.fi + +.LP +.LP +サーãƒãƒ¼å´ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã«ã¯ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆå´ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã®ä»–ã«ã€ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã‚‚å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ã“れらã¯ã™ã¹ã¦ã€\f2POA\fP(ã¤ã¾ã‚Šç¶™æ‰¿ãƒ¢ãƒ‡ãƒ«)クラスã§ã™ã€‚クライアントå´ã¨ã‚µãƒ¼ãƒãƒ¼å´ã®ä¸¡æ–¹ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’生æˆã™ã‚‹å ´åˆã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰(ã©ã‚Œã‚‚等価)ã®ã†ã¡ã®1ã¤ã‚’使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fclient \-fserver\fP My.idl +.fl +idlj \f3\-fall\fP My.idl +.fl +.fi + +.LP +.LP +サーãƒãƒ¼å´ã§å¯èƒ½ãªãƒ¢ãƒ‡ãƒ«ã¯2ã¤ã‚りã¾ã™ã€‚継承モデルã¨Tie委譲モデルã§ã™ã€‚ +.LP +.LP +デフォルトã®ã‚µãƒ¼ãƒãƒ¼å´ã®ãƒ¢ãƒ‡ãƒ«ã¯ã€\f2移殖å¯èƒ½ã‚µãƒ¼ãƒãƒ³ãƒˆç¶™æ‰¿ãƒ¢ãƒ‡ãƒ«\fPã§ã™ã€‚\f2My.idl\fP内ã§\f2My\fPインタフェースãŒå®šç¾©ã•れã¦ã„ã‚‹å ´åˆã¯ã€\f2MyPOA.java\fPã¨ã„ã†ãƒ•ァイルãŒç”Ÿæˆã•れã¾ã™ã€‚ã“ã®å®Ÿè£…ã¯\f2My\fPã«æä¾›ã—ã€\f2MyPOA\fPを継承ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +\f2MyPOA.java\fP㯠+.na +\f2org.omg.PortableServer.Servant\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/org/omg/PortableServer/Servant.htmlã‚’æ‹¡å¼µã™ã‚‹ã‚¹ãƒˆãƒªãƒ¼ãƒ ãƒ™ãƒ¼ã‚¹ã®ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã§ã€ã‚¹ã‚±ãƒ«ãƒˆãƒ³ãŒå®Ÿè£…ã™ã‚‹IDLインタフェースã«é–¢é€£ä»˜ã‘られã¦ã„ã‚‹\f2InvokeHandler\fPã‚¤ãƒ³ã‚¿ãƒ•ã‚§ãƒ¼ã‚¹ã¨æ“作インタフェースを実装ã—ã¾ã™ã€‚ +.LP +.LP +.na +\f2Portable Object Adapter(POA)\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/POA.htmlã®\f2PortableServer\fPモジュールã¯ã€ãƒã‚¤ãƒ†ã‚£ãƒ–ã®\f2Servant\fP型を定義ã—ã¾ã™ã€‚Javaプログラミング言語ã§ã¯ã€\f2Servant\fPåž‹ã¯Javaã®\f2org.omg.PortableServer.Servant\fPクラスã«ãƒžãƒƒãƒ—ã•れã¾ã™ã€‚ã“ã®ã‚¯ãƒ©ã‚¹ã¯ã€ã™ã¹ã¦ã®POAサーãƒãƒ³ãƒˆå®Ÿè£…ã®ãƒ™ãƒ¼ã‚¹ãƒ»ã‚¯ãƒ©ã‚¹ã¨ã—ã¦æ©Ÿèƒ½ã—ã€ã‚¢ãƒ—リケーション・プログラマãŒå‘¼ã³å‡ºã™ã“ã¨ã®ã§ãã‚‹ã„ãã¤ã‹ã®ãƒ¡ã‚½ãƒƒãƒ‰ã®ä»–ã«ã€POAãã®ã‚‚ã®ã«ã‚ˆã£ã¦å‘¼ã³å‡ºã•れã€ã‚µãƒ¼ãƒãƒ³ãƒˆã®å‹•作を制御ã™ã‚‹ãŸã‚ã«ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã§ãるメソッドもæä¾›ã—ã¾ã™ã€‚ +.LP +.LP +継承モデルã®ã‚‚ã†1ã¤ã®ã‚ªãƒ—ションã¯ã€\f2\-oldImplBase\fPフラグを使用ã™ã‚‹ã“ã¨ã§ã€J2SE 1.4よりå‰ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®Javaプログラミング言語ã¨äº’æ›æ€§ã®ã‚るサーãƒãƒ¼å´ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’生æˆã™ã‚‹ã“ã¨ã§ã™ã€‚ãŸã ã—ã€\f2\-oldImplBase\fPフラグを使用ã™ã‚‹ã®ã¯ã€æ¨™æº–çš„ãªæ‰‹æ³•ã§ã¯ã‚りã¾ã›ã‚“。ã“れらã®APIã¯ä»Šå¾ŒéžæŽ¨å¥¨ã«ãªã‚‹äºˆå®šã§ã™ã€‚ã“ã®ãƒ•ラグを使用ã™ã‚‹ã®ã¯ã€J2SE 1.3ã§è¨˜è¿°ã•ã‚ŒãŸæ—¢å­˜ã®ã‚µãƒ¼ãƒãƒ¼ã¨ã®äº’æ›æ€§ãŒå¿…è¦ãªå ´åˆã®ã¿ã§ã™ã€‚ãã®å ´åˆã«ã¯æ—¢å­˜ã®MAKEFILEを変更ã—ã€\f2idlj\fPコンパイラã«\f2\-oldImplBase\fPフラグを追加ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãã†ã—ãªã„ã¨ã€POAベースã®ã‚µãƒ¼ãƒãƒ¼å´ãƒžãƒƒãƒ”ングãŒç”Ÿæˆã•れã¾ã™ã€‚下ä½äº’æ›æ€§ã®ã‚るサーãƒãƒ¼å´ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’生æˆã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fclient \-fserver\fP \f3\-oldImplBase\fP My.idl +.fl +idlj \f3\-fall\fP \f3\-oldImplBase\fP My.idl +.fl +.fi + +.LP +.LP +\f2My.idl\fP内ã§\f2My\fPインタフェースãŒå®šç¾©ã•れã¦ã„ã‚‹å ´åˆã¯ã€\f2_MyImplBase.java\fPã¨ã„ã†ãƒ•ァイルãŒç”Ÿæˆã•れã¾ã™ã€‚\f2My\fPã«å¯¾ã—ã¦ãã®å®Ÿè£…ã‚’æä¾›ã—ã€ã“ã®å®Ÿè£…ã¯\f2_MyImplBase\fPã‹ã‚‰ç¶™æ‰¿ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +ã‚‚ã†1ã¤ã®ã‚µãƒ¼ãƒãƒ¼å´ãƒ¢ãƒ‡ãƒ«ã¯ã€Tieモデルã¨å‘¼ã°ã‚Œã‚‹ã‚‚ã®ã§ã™ã€‚ã“ã®ã‚µãƒ¼ãƒãƒ¼å´ãƒ¢ãƒ‡ãƒ«ã¯ã€å§”譲モデルã§ã™ã€‚Tieã¨ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã‚’åŒæ™‚ã«ç”Ÿæˆã™ã‚‹ã“ã¨ã¯ã§ããªã„ãŸã‚ã€ãれらã¯åˆ¥ã€…ã«ç”Ÿæˆã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚次ã®ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã£ã¦ã€Tieモデル用ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒç”Ÿæˆã•れã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fall\fP My.idl +.fl +idlj \f3\-fallTIE\fP My.idl +.fl +.fi + +.LP +.LP +\f2My\fPã¨ã„ã†ã‚¤ãƒ³ã‚¿ãƒ•ェースã®å ´åˆã€ä¸Šè¨˜ã®2番目ã®ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã‚Šã€\f2MyPOATie.java\fPãŒç”Ÿæˆã•れã¾ã™ã€‚\f2MyPOATie\fPã®ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã¯ã€\f2delegate\fPã‚’å–りã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€ãƒ‡ãƒ•ォルトã®POAモデルを使用ã—ã¦ã„ã‚‹ãŸã‚ã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã«ã‚‚\f2poa\fPãŒå¿…è¦ã§ã™ã€‚\f2delegate\fPã«å¯¾ã—ã¦å®Ÿè£…ã‚’æä¾›ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ãŒã€ã“ã®å®Ÿè£…ã¯\f2MyOperations\fPインタフェースã‹ã‚‰ç¶™æ‰¿ã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã®ã¿ã§ã€ãã®ä»–ã®ã‚¯ãƒ©ã‚¹ã‹ã‚‰ç¶™æ‰¿ã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。ã—ã‹ã—ã€ã“ã®å®Ÿè£…ã‚’ORBã¨ä¸€ç·’ã«ä½¿ç”¨ã™ã‚‹ã«ã¯ã€\f2MyPOATie\fP内ã§å®Ÿè£…をラップã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + ORB orb = ORB.init(args, System.getProperties()); +.fl + +.fl + // Get reference to rootpoa & activate the POAManager +.fl + POA rootpoa = (POA)orb.resolve_initial_references("RootPOA"); +.fl + rootpoa.the_POAManager().activate(); +.fl + +.fl + // create servant and register it with the ORB +.fl + MyServant myDelegate = new MyServant(); +.fl + myDelegate.setORB(orb); +.fl + +.fl + // create a tie, with servant being the delegate. +.fl + MyPOATie tie = new MyPOATie(myDelegate, rootpoa); +.fl + +.fl + // obtain the objectRef for the tie +.fl + My ref = tie._this(orb); +.fl +\fP +.fi + +.LP +.LP +ä»–ã®å®Ÿè£…ã‹ã‚‰ç¶™æ‰¿ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã€æ¨™æº–ã®ç¶™æ‰¿ãƒ¢ãƒ‡ãƒ«ã§ã¯ãªãTieモデルを使用ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚Javaã®å ´åˆã¯ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ç¶™æ‰¿ã®å€‹æ•°ã«åˆ¶é™ã¯ã‚りã¾ã›ã‚“ãŒã€ã‚¯ãƒ©ã‚¹ã®ç¶™æ‰¿ã«ä½¿ç”¨ã§ãるスロットã¯1ã¤ã®ã¿ã§ã™ã€‚継承モデルを使用ã—ãŸå ´åˆã¯ã€ãã®ã‚¹ãƒ­ãƒƒãƒˆãŒå æœ‰ã•れã¾ã™ã€‚Tieモデルを使用ã—ãŸå ´åˆã¯ã€ãã®ã‚¹ãƒ­ãƒƒãƒˆãŒä½¿ç”¨ã•れãšã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒç‹¬è‡ªã®ç›®çš„ã§ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãŸã ã—ã€ã“ã®æ–¹æ³•ã«ã¯ã€é–“接性ã®ãƒ¬ãƒ™ãƒ«ãŒ1ã¤å°Žå…¥ã•れるã¨ã„ã†æ¬ ç‚¹ãŒã‚りã¾ã™ã€‚メソッドを呼ã³å‡ºã™ã¨ãã«ã€ä½™åˆ†ãªãƒ¡ã‚½ãƒƒãƒ‰å‘¼å‡ºã—ãŒ1回発生ã—ã¾ã™ã€‚ +.LP +.LP +J2SE 1.4よりå‰ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®Java言語ã«ãƒžãƒƒãƒ”ングã™ã‚‹IDLã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¨äº’æ›æ€§ã®ã‚ã‚‹ã€ã‚µãƒ¼ãƒãƒ¼å´ã®Tieモデルã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’生æˆã™ã‚‹æ–¹æ³•ã¯ã€æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-oldImplBase\fP \f3\-fall\fP My.idl +.fl +idlj \f3\-oldImplBase\fP \f3\-fallTIE\fP My.idl +.fl +.fi + +.LP +.LP +\f2My\fPã¨ã„ã†ã‚¤ãƒ³ã‚¿ãƒ•ェースã®å ´åˆã€ã“れã«ã‚ˆã‚Š\f2My_Tie.java\fPãŒç”Ÿæˆã•れã¾ã™ã€‚\f2My_Tie\fPã®ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã¯ã€\f2impl\fPã‚’å–りã¾ã™ã€‚\f2impl\fPã«å¯¾ã—ã¦å®Ÿè£…ã‚’æä¾›ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ãŒã€ãã®å®Ÿè£…ã¯\f2HelloOperations\fPインタフェースã‹ã‚‰ç¶™æ‰¿ã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã®ã¿ã§ã€ãã®ä»–ã®ã‚¯ãƒ©ã‚¹ã‹ã‚‰ç¶™æ‰¿ã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。ã—ã‹ã—ã€ã“ã®å®Ÿè£…ã‚’ORBã¨ä¸€ç·’ã«ä½¿ç”¨ã™ã‚‹ã«ã¯ã€\f2My_Tie\fP内ã§å®Ÿè£…をラップã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + ORB orb = ORB.init(args, System.getProperties()); +.fl + +.fl + // create servant and register it with the ORB +.fl + MyServant myDelegate = new MyServant(); +.fl + myDelegate.setORB(orb); +.fl + +.fl + // create a tie, with servant being the delegate. +.fl + MyPOATie tie = new MyPOATie(myDelegate); +.fl + +.fl + // obtain the objectRef for the tie +.fl + My ref = tie._this(orb); +.fl +\fP +.fi + +.LP +.SS +発行ã•れãŸãƒ•ァイルã®ä»£æ›¿ä½ç½®ã®æŒ‡å®š +.LP +.LP +発行ã•れãŸãƒ•ァイルをç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªä»¥å¤–ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç½®ãã«ã¯ã€æ¬¡ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ã§ã‚³ãƒ³ãƒ‘イラを呼ã³å‡ºã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-td /altdir\fP My.idl +.fl +.fi + +.LP +.LP +\f2My\fPインタフェースã®å ´åˆã€ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã¯ã€\f2./My.java\fPã§ã¯ãªãã€\f2/altdir/My.java\fPãªã©ã«ç™ºè¡Œã•れã¾ã™ã€‚ +.LP +.SS +インクルード・ファイルã®ä»£æ›¿ä½ç½®ã®æŒ‡å®š +.LP +.LP +\f2My.idl\fPã«ã‚‚ã†1ã¤ã®IDLファイル\f2MyOther.idl\fPãŒã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ã•れã¦ã„ã‚‹å ´åˆã€ã‚³ãƒ³ãƒ‘イラã¯ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«\f2MyOther.idl\fPãŒã‚ã‚‹ã‚‚ã®ã¨æƒ³å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ãã®ãƒ•ァイルãŒ\f2/includes\fPã«ã‚ã‚‹å ´åˆã¯ã€æ¬¡ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ã§ã‚³ãƒ³ãƒ‘イラを呼ã³å‡ºã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-i /includes\fP My.idl +.fl +.fi + +.LP +.LP +ãŸã¨ãˆã°ã€\f2/moreIncludes\fPã«ã‚ã‚‹\f2Another.idl\fPã‚‚\f2My.idl\fPã«ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ã•れã¦ã„ã‚‹ã®ã§ã‚れã°ã€æ¬¡ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ã§ã‚³ãƒ³ãƒ‘イラを呼ã³å‡ºã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-i /includes \-i /moreIncludes\fP My.idl +.fl +.fi + +.LP +.LP +ã“ã®ã‚ˆã†ãªå½¢å¼ã§ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ã‚’指定ã™ã‚‹ã¨ã€ã‚³ãƒžãƒ³ãƒ‰ãŒé•·ãã¦è¤‡é›‘ã«ãªã‚Šã¾ã™ã€‚ãã“ã§ã€ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ãƒ»ãƒ•ァイルを検索ã™ã‚‹å ´æ‰€ã‚’ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ã«æŒ‡ç¤ºã™ã‚‹ãŸã‚ã®åˆ¥ã®æ–¹æ³•ãŒç”¨æ„ã•れã¦ã„ã¾ã™ã€‚ã“ã®æ–¹æ³•ã¯ã€ç’°å¢ƒå¤‰æ•°ã®è€ƒãˆæ–¹ã¨ä¼¼ã¦ã„ã¾ã™ã€‚CLASSPATHã«ãƒªã‚¹ãƒˆã•れã¦ã„るディレクトリ内ã«\f2idl.config\fPã¨ã„ã†åå‰ã®ãƒ•ァイルを作æˆã—ã¾ã™ã€‚ãã®\f2idl.config\fPã®ä¸­ã«ã€æ¬¡ã®ã‚ˆã†ãªå½¢å¼ã®è¡Œã‚’入れã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +includes=/includes;/moreIncludes +.fl +\fP +.fi + +.LP +.LP +コンパイラã¯ã€ã“ã®ãƒ•ァイルを検索ã—ã€ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ãƒ»ãƒªã‚¹ãƒˆã‚’読ã¿è¾¼ã¿ã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—ã¯ã‚»ãƒŸã‚³ãƒ­ãƒ³(;)ã«ãªã£ã¦ã„ã¾ã™ã€‚ã“ã®åŒºåˆ‡ã‚Šæ–‡å­—ã¯ã€ãƒ—ラットフォームã«ã‚ˆã£ã¦ç•°ãªã‚Šã¾ã™ã€‚ãŸã¨ãˆã°ã€Windowsプラットフォームã§ã¯ã‚»ãƒŸã‚³ãƒ­ãƒ³ã§ã™ãŒã€Unixプラットフォームã§ã¯ã‚³ãƒ­ãƒ³ã§ã™ã€‚\f2includes\fPã®è©³ç´°ã¯ã€ +.na +\f2クラス・パスã®è¨­å®š\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#generalã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SS +インクルード・ファイルã«å¯¾ã™ã‚‹ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã®ç™ºè¡Œ +.LP +.LP +デフォルトã§ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã—ãŸIDLファイルã§å®šç¾©ã•れã¦ã„るインタフェースや構造体ãªã©ã«ã¤ã„ã¦ã®ã¿ã€Javaãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒç”Ÿæˆã•れã¾ã™ã€‚インクルードã•れãŸãƒ•ァイルã§å®šç¾©ã•れã¦ã„ã‚‹åž‹ã«ã¤ã„ã¦ã¯ç”Ÿæˆã•れã¾ã›ã‚“。ãŸã¨ãˆã°ã€æ¬¡ã®2ã¤ã®IDLファイルã«ã¤ã„ã¦è€ƒãˆã¦ã¿ã¾ã—ょã†ã€‚ +.LP + +.LP +.LP +\f4My.idl\fP +.LP +.nf +\f3 +.fl +#include +.fl +interface My +.fl +{ +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +\f4MyOther.idl\fP +.LP +.nf +\f3 +.fl +interface MyOther +.fl +{ +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +次ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã¯ã€\f2My\fPã«å¯¾ã™ã‚‹Javaãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã®ã¿ãŒç”Ÿæˆã•れã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj My.idl +.fl +\fP +.fi + +.LP +.LP +\f2My.idl\fPã§å®šç¾©ã•れã¦ã„ã‚‹åž‹ã¨ã€\f2My.idl\fPã«ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ã•れãŸãƒ•ァイル(ã“ã®ä¾‹ã§ã¯\f2MyOther.idl\fP)ã§å®šç¾©ã•れã¦ã„ã‚‹åž‹ã™ã¹ã¦ã«ã¤ã„ã¦ç”Ÿæˆã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-emitAll\fP My.idl +.fl +.fi + +.LP +.LP +ã“ã®ãƒ‡ãƒ•ォルトã®ãƒ«ãƒ¼ãƒ«ã«é–¢ã—ã¦æ³¨æ„ãŒå¿…è¦ãªç‚¹ãŒã‚りã¾ã™ã€‚グローãƒãƒ«ãƒ»ã‚¹ã‚³ãƒ¼ãƒ—ã«æŒ‡å®šã—ãŸ\f2#include\fPæ–‡ã¯ã€å‰è¿°ã®ã¨ãŠã‚Šã«å‡¦ç†ã•れã¾ã™ã€‚ã“れらã®\f2#include\fPæ–‡ã¯ã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆæ–‡ã¨è¦‹ãªã™ã“ã¨ãŒã§ãã¾ã™ã€‚ãれã«å¯¾ã—ã¦ã€ä»–ã®å®šç¾©ã«å›²ã¾ã‚ŒãŸã‚¹ã‚³ãƒ¼ãƒ—å†…ã«æŒ‡å®šã—ãŸ\f2#include\fPæ–‡ã¯ã€æœ¬å½“ã®æ„味ã§ã®\f2#include\fPæ–‡ã¨ã—ã¦å‡¦ç†ã•れã¾ã™ã€‚ã¤ã¾ã‚Šã€ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ã•れãŸãƒ•ァイルã«ã‚るコードãŒã€å…ƒã®ãƒ•ァイルã«ãã®ã¾ã¾æŒ‡å®šã•れã¦ã„ã‚‹ã‹ã®ã‚ˆã†ã«å‡¦ç†ã•れã€ãれã«å¯¾ã—ã¦Javaãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒç™ºè¡Œã•れã¾ã™ã€‚次ã¯ãã®ä¾‹ã§ã™ã€‚ +.LP + +.LP +.LP +\f4My.idl\fP +.LP +.nf +\f3 +.fl +#include +.fl +interface My +.fl +{ +.fl + #include +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +\f4MyOther.idl\fP +.LP +.nf +\f3 +.fl +interface MyOther +.fl +{ +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +\f4Embedded.idl\fP +.LP +.nf +\f3 +.fl +enum E {one, two, three}; +.fl +\fP +.fi + +.LP + +.LP +.LP +ã“ã®ã¨ãã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã™ã‚‹ã¨ã€ +.LP +.nf +\f3 +.fl +idlj My.idl +.fl +\fP +.fi + +.LP +.LP +次ã®ã‚ˆã†ãªä¸€é€£ã®JavaファイルãŒç”Ÿæˆã•れã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +./MyHolder.java +.fl +./MyHelper.java +.fl +./_MyStub.java +.fl +./MyPackage +.fl +./MyPackage/EHolder.java +.fl +./MyPackage/EHelper.java +.fl +./MyPackage/E.java +.fl +./My.java +.fl +\fP +.fi + +.LP +.LP +インãƒãƒ¼ãƒˆæ–‡ã¨è¦‹ãªã•れる\f2#include\fPã«å®šç¾©ã•れã¦ã„ãŸãŸã‚ã€\f2MyOther.java\fPã¯ç”Ÿæˆã•れã¾ã›ã‚“ã§ã—ãŸã€‚ãŸã ã—ã€æœ¬å½“ã®æ„味ã§ã®\f2#include\fPã§å®šç¾©ã•れã¦ã„ãŸãŸã‚ã€\f2E.java\fPã¯ç”Ÿæˆ\f2ã•れã¾ã—ãŸ\fP。ã•らã«ã€\f2Embedded.idl\fPãŒ\f2My\fPインタフェースã®ã‚¹ã‚³ãƒ¼ãƒ—内ã«ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ã•れã¦ã„ãŸãŸã‚ã€\f2My\fPã®ã‚¹ã‚³ãƒ¼ãƒ—内(ã¤ã¾ã‚Šã€\f2MyPackage\fP内)ã«ç”Ÿæˆã•れã¦ã„ã¾ã™ã€‚ +.LP +.LP +上記ã®ä¾‹ã§\f2\-emitAll\fPフラグを使用ã™ã‚Œã°ã€ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ã•れãŸã™ã¹ã¦ã®ãƒ•ァイルã«ã‚ã‚‹ã™ã¹ã¦ã®åž‹ãŒç™ºè¡Œã•れã¾ã™ã€‚ +.LP +.SS +ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æŽ¥é ­è¾žã®æŒ¿å…¥ +.LP +.LP +ABCã¨ã„ã†åå‰ã®ä¼šç¤¾ã®ãŸã‚ã«ä½œæ¥­ã—ã¦ã„ã¦ã€æ¬¡ã®ã‚ˆã†ãªIDLファイルを構築ã—ãŸã¨ã—ã¾ã—ょã†ã€‚ +.LP + +.LP +.LP +\f4Widgets.idl\fP +.LP +.nf +\f3 +.fl +module Widgets +.fl +{ +.fl + interface W1 {...}; +.fl + interface W2 {...}; +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +ã“ã®ãƒ•ァイルã«å¯¾ã—ã¦IDL\-to\-Javaコンパイラを実行ã™ã‚‹ã¨ã€\f2W1\fPãŠã‚ˆã³\f2W2\fPã«å¯¾ã™ã‚‹Javaãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒ\f2Widgets\fPパッケージ内ã«ç”Ÿæˆã•れã¾ã™ã€‚ã—ã‹ã—ã€æ¥­ç•Œã®æ…£ä¾‹ã«ã‚ˆã‚‹ã¨ã€ä¼šç¤¾ã®ãƒ‘ッケージã¯ã€\f2com.\fPã¨ã„ã†åå‰ã®ãƒ‘ッケージ内ã«ç½®ãã“ã¨ã«ãªã£ã¦ã„ã¾ã™ã€‚ãã®ãŸã‚ã€\f2Widgets\fPパッケージã§ã¯ä¸å分ã§ã™ã€‚慣例ã«å¾“ã†ã«ã¯ã€ãƒ‘ッケージを\f2com.abc.Widgets\fPã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ãƒ‘ッケージ接頭辞を\f2Widgets\fPモジュールã«ä»˜åŠ ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-pkgPrefix Widgets com.abc\fP Widgets.idl +.fl +.fi + +.LP +.LP +\f2Widgets.idl\fPをインクルードã—ã¦ã„ã‚‹IDLファイルãŒã‚ã‚‹å ´åˆã¯ã€ãã®ã‚³ãƒžãƒ³ãƒ‰ã«ã‚‚\f2\-pkgPrefix\fPフラグãŒå¿…è¦ã§ã™ã€‚ã“ã®ãƒ•ラグを指定ã—ãªã„ã¨ã€ãã®IDLファイルã¯ã€\f2com.abc.Widgets\fPパッケージã§ã¯ãªãã€\f2Widgets\fPパッケージを検索ã™ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +接頭辞ãŒå¿…è¦ãªãƒ‘ッケージãŒã„ãã¤ã‚‚ã‚ã‚‹å ´åˆã¯ã€å‰è¿°ã®\f2idl.config\fPãƒ•ã‚¡ã‚¤ãƒ«ã§æŽ¥é ­è¾žã‚’æŒ‡å®šã™ã‚‹ã®ãŒç°¡å˜ã§ã™ã€‚ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æŽ¥é ­è¾žã‚’æŒ‡å®šã™ã‚‹è¡Œã¯ã€ãれãžã‚Œæ¬¡ã®å½¢å¼ã§è¨˜è¿°ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +PkgPrefix.= +.fl +\fP +.fi + +.LP +ã—ãŸãŒã£ã¦ã€ä¸Šè¨˜ã®ä¾‹ã®å ´åˆã¯ã€æ¬¡ã®ã‚ˆã†ã«è¨˜è¿°ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +PkgPrefix.Widgets=com.abc +.fl +\fP +.fi + +.LP +.LP +ã“ã®ã‚ªãƒ—ションを使用ã—ã¦ã‚‚ã€ãƒªãƒã‚¸ãƒˆãƒªIDã¯å½±éŸ¿ã‚’å—ã‘ã¾ã›ã‚“。 +.LP +.SS +コンパイルå‰ã®ã‚·ãƒ³ãƒœãƒ«ã®å®šç¾© +.LP +.LP +コンパイル用ã®ã‚·ãƒ³ãƒœãƒ«ãŒIDLファイル内ã§å®šç¾©ã•れã¦ã„ãªã„å ´åˆã¯ã€ãã®ã‚·ãƒ³ãƒœãƒ«ã‚’定義ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“れã¯ã€ãŸã¨ãˆã°ã€ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°å†…ã«ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚³ãƒ¼ãƒ‰ã‚’組ã¿å…¥ã‚Œã‚‹ã¨ãã«ä½¿ç”¨ã—ã¾ã™ã€‚次ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-d\fP MYDEF My.idl +.fl +.fi + +.LP +.LP +\f2My.idl\fP内ã«\f2#define MYDEF\fPã¨ã„ã†è¡Œã‚’指定ã—ãŸå ´åˆã¨ç­‰ä¾¡ã§ã™ã€‚ +.LP +.SS +既存ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã®ä¿æŒ +.LP +.LP +Javaãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルãŒã™ã§ã«å­˜åœ¨ã™ã‚‹å ´åˆã¯ã€\f2\-keep\fPフラグを指定ã™ã‚‹ã¨ã€ã‚³ãƒ³ãƒ‘イラã«ã‚ˆã‚‹ä¸Šæ›¸ãを回é¿ã§ãã¾ã™ã€‚デフォルトã§ã¯ã€ã™ã§ã«å­˜åœ¨ã™ã‚‹ã‹ã©ã†ã‹ã«ã‹ã‹ã‚らãšã€ã™ã¹ã¦ã®ãƒ•ァイルãŒç”Ÿæˆã•れã¾ã™ã€‚ã“れらã®ãƒ•ァイルをカスタマイズã—ãŸå ´åˆ(ãŸã ã—ã€ãれらã®å†…å®¹ãŒæ­£ç¢ºã§ã‚ã‚‹ã¨ã以外ã¯ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºã¯é¿ã‘ã‚‹)ã€\f2\-keep\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¯æœ‰ç”¨ã§ã™ã€‚次ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-keep\fP My.idl +.fl +.fi + +.LP +.LP +クライアントå´ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã§ã€ã¾ã å­˜åœ¨ã—ãªã„ã‚‚ã®ã‚’ã™ã¹ã¦ç™ºè¡Œã—ã¾ã™ã€‚ +.LP +.SS +コンパイルã®é€²æ—状æ³ã®è¡¨ç¤º +.LP +.LP +IDL\-to\-Javaコンパイラã¯ã€å®Ÿè¡Œã®å„段階ã§çŠ¶æ…‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’ç”Ÿæˆã—ã¾ã™ã€‚「冗長ã€ãƒ¢ãƒ¼ãƒ‰ã‚’アクティブ化ã™ã‚‹ã«ã¯ã€\f2\-v\fPオプションを使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \fP\f3\-v\fP My.idl +.fl +.fi + +.LP +.LP +デフォルトã§ã¯ã€ã‚³ãƒ³ãƒ‘イラã¯å†—長モードã§ã¯å®Ÿè¡Œã•れã¾ã›ã‚“。 +.LP +.SS +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…å ±ã®è¡¨ç¤º +.LP +.LP +IDL\-to\-Javaコンパイラã®ãƒ“ルド・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’表示ã™ã‚‹ã«ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§\f2\-version\fPオプションを指定ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +idlj \-version +.fl +\fP +.fi + +.LP +.LP +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…å ±ã¯ã€ã‚³ãƒ³ãƒ‘イラã«ã‚ˆã£ã¦ç”Ÿæˆã•れãŸãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°å†…ã«ã‚‚書ãè¾¼ã¾ã‚Œã¦ã„ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã™ã‚‹ã¨ã€ãれ以外ã®ã‚ªãƒ—ションを指定ã—ã¦ã‚‚ã€ã™ã¹ã¦ç„¡è¦–ã•れã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-d symbol +ã“ã®ã‚ªãƒ—ションã¯ã€IDLãƒ•ã‚¡ã‚¤ãƒ«ã«æ¬¡ã®ã‚ˆã†ãªè¡Œã‚’追加ã—ãŸå ´åˆã¨ç­‰ä¾¡ã§ã™ã€‚ +.nf +\f3 +.fl +#define \fP\f4symbol\fP\f3 +.fl +\fP +.fi +.TP 3 +\-emitAll +\f2#include\fPファイル内ã§å®šç¾©ã•れã¦ã„ã‚‹ã‚‚ã®ã‚‚å«ã‚ã¦ã€ã™ã¹ã¦ã®åž‹ã‚’発行ã—ã¾ã™ã€‚ +.TP 3 +\-fside +発行ã™ã‚‹ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’定義ã—ã¾ã™ã€‚\f2side\fPã¯\f2client\fPã€\f2server\fPã€\f2serverTIE\fPã€\f2all\fPã€\f2allTIE\fPã®ã„ãšã‚Œã‹ã«ãªã‚Šã¾ã™ã€‚\f2\-fserverTIE\fPã¾ãŸã¯\f2\-fallTIE\fPオプションを指定ã™ã‚‹ã¨ã€å§”譲モデル・スケルトンãŒç™ºè¡Œã•れã¾ã™ã€‚ã“ã®ãƒ•ラグを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€\f2\-fclient\fPãŒæŒ‡å®šã•れãŸã‚‚ã®ã¨è¦‹ãªã•れã¾ã™ã€‚ +.TP 3 +\-i include\-path +デフォルトã§ã¯ã€ã‚¤ãƒ³ã‚¯ãƒ«ãƒ¼ãƒ‰ãƒ»ãƒ•ァイルã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰æ¤œç´¢ã•れã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€ä»–ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’追加ã§ãã¾ã™ã€‚ +.TP 3 +\-keep +生æˆã•れるファイルãŒã™ã§ã«å­˜åœ¨ã—ã¦ã„ã‚‹å ´åˆã¯ã€ãã®ãƒ•ァイルãŒä¸Šæ›¸ãã•れã¾ã›ã‚“。デフォルトã§ã¯ã€ä¸Šæ›¸ãã•れã¾ã™ã€‚ +.TP 3 +\-noWarn +警告メッセージを表示ã—ãªã„よã†ã«ã—ã¾ã™ã€‚ +.TP 3 +\-oldImplBase +1.4よりå‰ã®JDK ORBã¨äº’æ›æ€§ã®ã‚るスケルトンを生æˆã—ã¾ã™ã€‚デフォルトã§ã¯ã€POA継承モデルã®ã‚µãƒ¼ãƒãƒ¼å´ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒç”Ÿæˆã•れã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€\f2ImplBase\fP継承モデルã®ã‚¯ãƒ©ã‚¹ã§ã‚るサーãƒãƒ¼å´ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒç”Ÿæˆã•れるã®ã§ã€å¤ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®Javaプログラミング言語ã¨ã®ä¸‹ä½äº’æ›æ€§ãŒå¾—られã¾ã™ã€‚ +.TP 3 +\-pkgPrefix type prefix +\f2type\fPãŒãƒ•ã‚¡ã‚¤ãƒ«ãƒ»ã‚¹ã‚³ãƒ¼ãƒ—ã§æ¤œå‡ºã•れãŸå ´åˆã¯ã€ãã®åž‹ã«å¯¾ã—ã¦ç”Ÿæˆã•れるã™ã¹ã¦ã®ãƒ•ァイルã«ã¤ã„ã¦ã€ç”Ÿæˆã•れるJavaパッケージåã«\f2prefix\fPã¨ã„ã†æŽ¥é ­è¾žãŒä»˜åŠ ã•れã¾ã™ã€‚\f2type\fPã¯ã€ãƒˆãƒƒãƒ—レベル・モジュールã®å˜ç´”åã‹ã€ã©ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã‚ˆã‚Šã‚‚外å´ã§å®šç¾©ã•れãŸIDLåž‹ã®å˜ç´”åã®ã©ã¡ã‚‰ã‹ã§ã™ã€‚ +.TP 3 +\-pkgTranslate type package +識別å­ã®ä¸­ã«ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«å\f2type\fPãŒæ¤œå‡ºã•れるã¨ã€ç”Ÿæˆã•れるJavaパッケージ内ã®ã™ã¹ã¦ã®ãƒ•ァイルã«ã¤ã„ã¦ã€è­˜åˆ¥å­ã®ä¸­ã®ãã®åå‰ãŒ\f2package\fPã§ç½®ãæ›ãˆã‚‰ã‚Œã¾ã™ã€‚最åˆã«\f2pkgPrefix\fPã®å¤‰æ›´ãŒè¡Œã‚れã¾ã™ã€‚\f2type\fPã¯ã€ãƒˆãƒƒãƒ—レベルã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã®å˜ç´”åã€ã¾ãŸã¯ã™ã¹ã¦ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã®å¤–部ã§å®šç¾©ã•れãŸIDLåž‹ã®å˜ç´”åã§ã€å®Œå…¨ãªãƒ‘ッケージåã«æ­£ç¢ºã«ä¸€è‡´ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.br +.br +1ã¤ã®è­˜åˆ¥å­ã®ä¸­ã§è¤‡æ•°ã®å¤‰æ›ãŒãƒžãƒƒãƒã™ã‚‹å ´åˆã¯ã€æœ€ã‚‚é•·ã„マッãƒãŒé¸ã°ã‚Œã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ãªå¼•æ•°ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€ +.nf +\f3 +.fl + \-pkgTranslate foo bar \-pkgTranslate foo.baz buzz.fizz +.fl +\fP +.fi +次ã®ã‚ˆã†ãªå¤‰æ›ãŒå®Ÿæ–½ã•れã¾ã™ã€‚ +.nf +\f3 +.fl +foo => bar +.fl +foo.boo => bar.boo +.fl +foo.baz => buzz.fizz +.fl +foo.baz.bar => buzz.fizz.bar +.fl +\fP +.fi +次ã®ãƒ‘ッケージåを変æ›ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。 +.RS 3 +.TP 2 +o +\f2org\fP +.TP 2 +o +\f2org.omg\fPã€ã¾ãŸã¯\f2org.omg\fPã®ã‚µãƒ–パッケージ +.RE +ã“れらã®ãƒ‘ッケージåを変æ›ã—よã†ã¨ã™ã‚‹ã¨ã€äº’æ›æ€§ã®ãªã„コードãŒç”Ÿæˆã•れã€\f2\-pkgTranslate\fPã®å¾Œã®æœ€åˆã®å¼•æ•°ã¨ã—ã¦ãれらã®ãƒ‘ッケージを使用ã™ã‚‹ã¨ã€ã‚¨ãƒ©ãƒ¼ã¨ã—ã¦æ‰±ã‚れã¾ã™ã€‚ +.TP 3 +\-skeletonName xxx%yyy +\f2xxx%yyy\fPãŒã€ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã«åå‰ã‚’付ã‘るパターンã¨ã—ã¦ä½¿ç”¨ã•れã¾ã™ã€‚ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.RS 3 +.TP 2 +o +\f2POA\fPベース・クラスã®å ´åˆã¯%POA (\f2\-fserver\fPã¾ãŸã¯\f2\-fall\fP) +.TP 2 +o +\f2oldImplBase\fPクラスã®å ´åˆã¯_%ImplBase (\f2\-oldImplBase\fPã‹ã¤(\f2\-fserver\fPã¾ãŸã¯\f2\-fall\fP)) +.RE +.TP 3 +\-td dir +出力ディレクトリã¨ã—ã¦ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã§ã¯ãªãã€\f2dir\fPãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +\-tieName xxx%yyy +ã“ã®ãƒ‘ターンã«å¾“ã£ã¦Tieã«åå‰ãŒä»˜ã‘られã¾ã™ã€‚ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.RS 3 +.TP 2 +o +\f2POA\fP Tieベース・クラスã®å ´åˆã¯%POATie (\f2\-fserverTie\fPã¾ãŸã¯\f2\-fallTie\fP) +.TP 2 +o +\f2oldImplBase\fP Tieクラスã®å ´åˆã¯%_Tie (\f2\-oldImplBase\fPã‹ã¤(\f2\-fserverTie\fPã¾ãŸã¯\f2\-fallTie\fP)) +.RE +.TP 3 +\-nowarnã€\-verbose +冗長モードã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +\-version +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を表示ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.RE + +.LP +.LP +å„オプションã®è©³ç´°ã¯ã€èª¬æ˜Žã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "制約" +.LP +.RS 3 +.TP 2 +o +グローãƒãƒ«ãƒ»ã‚¹ã‚³ãƒ¼ãƒ—内ã®ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã•れãŸè­˜åˆ¥å­ã¯ã€IDLプリミティブ型ã®\f2Object\fPã¾ãŸã¯\f2ValueBase\fPã¨åŒã˜ç¶´ã‚Šã«ã—ãªã„ã§ãã ã•ã„。ã“れらã®è­˜åˆ¥å­ã«ã¤ã„ã¦ã¯ã€ã‚·ãƒ³ãƒœãƒ«è¡¨ãŒäº‹å‰ã«ãƒ­ãƒ¼ãƒ‰ã•れã¦ãŠã‚Šã€ã“れらã®è­˜åˆ¥å­ã®å†å®šç¾©ã‚’許å¯ã™ã‚‹ã¨å…ƒã®å®šç¾©ãŒä¸Šæ›¸ãã•れã¦ã—ã¾ã†ãŸã‚ã§ã™ã€‚(ã“れã¯ã€ãŠãã‚‰ãæ’ä¹…çš„ãªåˆ¶ç´„ã§ã™ã€‚) +.TP 2 +o +\f2fixed\fPã¨ã„ã†IDLåž‹ã¯ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã›ã‚“。 +.RE + +.LP +.SH "既知ã®å•題点" +.LP +.RS 3 +.TP 2 +o +グローãƒãƒ«è­˜åˆ¥å­ã«ã¤ã„ã¦ã‚¤ãƒ³ãƒãƒ¼ãƒˆãŒç”Ÿæˆã•れã¾ã›ã‚“。予期ã•れãªã„ローカルimplを呼ã³å‡ºã™ã¨ã€ä¾‹å¤–ã‚’å—ã‘å–りã¾ã™ã€‚ã—ã‹ã—ã€ãã®åŽŸå› ã¯ã€\f2ServerDelegate\fP DSIコード内ã®\f2NullPointerException\fPã«ã‚るよã†ã§ã™ã€‚ +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jar.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jar.1 new file mode 100644 index 00000000..8be7ade3 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jar.1 @@ -0,0 +1,582 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jar 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jar \- Java ARchiveツール +.LP +\f3jar\fPã¯è¤‡æ•°ã®ãƒ•ァイルを1ã¤ã®JARアーカイブ・ファイルã«çµåˆã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +コマンドライン引数ファイル +.TP 2 +o +例 +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.RS 3 +.TP 3 +JARファイルã®ä½œæˆ +\f4jar c\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP +.TP 3 +JARãƒ•ã‚¡ã‚¤ãƒ«ã®æ›´æ–° +\f4jar u\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP +.TP 3 +JARãƒ•ã‚¡ã‚¤ãƒ«ã®æŠ½å‡º +\f4jar x\fP\f2[vf] [\fP\f2jarfile\fP\f2] [\fP\f2inputfiles\fP\f2] [\-J\fP\f2option\fP\f2]\fP +.TP 3 +JARファイルã®ç›®æ¬¡è¡¨ç¤º +\f4jar t\fP\f2[vf] [\fP\f2jarfile\fP\f2] [\fP\f2inputfiles\fP\f2] [\-J\fP\f2option\fP\f2]\fP +.TP 3 +JARファイルã¸ã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã®è¿½åŠ  +\f4jar i\fP \f2jarfile\fP \f2[\-J\fP\f2option\fP\f2]\fP +.RE + +.LP +.LP +説明 +.LP +.RS 3 +.TP 3 +cuxtiv0Mmfe +\f2jar\fPコマンドを制御ã™ã‚‹ã‚ªãƒ—ション +.TP 3 +jarfile +作æˆ(\f2c\fP)ã€æ›´æ–°(\f2u\fP)ã€æŠ½å‡º(\f2x\fP)ã¾ãŸã¯ç›®æ¬¡è¡¨ç¤º(\f2t\fP)ã®å¯¾è±¡ã¨ãªã‚‹JARファイル。\f2f\fPオプションã¨ãƒ•ァイルå\f2jarfile\fPã¨ãŒãƒšã‚¢ã«ãªã‚Šã¾ã™ã€‚ã¤ã¾ã‚Šã€ç‰‡æ–¹ã‚’記述ã™ã‚Œã°ã€ã‚‚ã†ä¸€æ–¹ã‚‚記述ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f2f\fPã¨\f2jarfile\fPã‚’çœç•¥ã™ã‚‹ã¨ã€æ¨™æº–入力ã‹ã‚‰ã€ŒJARファイルã€ãŒå–å¾—ã•れるã‹(xãŠã‚ˆã³tã®å ´åˆ)ã€æ¨™æº–出力ã¸ã€ŒJARファイルã€ãŒé€ä¿¡ã•れã¾ã™(cãŠã‚ˆã³uã®å ´åˆ)。 +.TP 3 +inputfiles +\f2jarfile\fPã«çµåˆã•れるã‹(cãŠã‚ˆã³uã®å ´åˆ)ã€\f2jarfile\fPã‹ã‚‰æŠ½å‡º(xã®å ´åˆ)ã¾ãŸã¯ä¸€è¦§è¡¨ç¤º(tã®å ´åˆ)ã•れるã€ç©ºç™½ã§åŒºåˆ‡ã‚‰ã‚ŒãŸãƒ•ァイルã¾ãŸã¯ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€‚ã™ã¹ã¦ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯å†å¸°çš„ã«å‡¦ç†ã•れã¾ã™ã€‚ã“ã®ãƒ•ァイルã¯ã€ã‚ªãƒ—ション\f20\fP(ゼロ)を使用ã—ãªã„ã‹ãŽã‚Šåœ§ç¸®ã•れã¾ã™ã€‚ +.TP 3 +manifest +JARファイルã®MANIFEST.MF内ã«å«ã‚ã‚‹\f2name\fP\f2:\fP\f2value\fPã®ãƒšã‚¢ãŒå«ã¾ã‚Œã¦ã„る既存ã®ãƒžãƒ‹ãƒ•ェスト・ファイル。\f2m\fPオプションã¨ãƒ•ァイルå\f2manifest\fPã¨ãŒãƒšã‚¢ã«ãªã‚Šã¾ã™ã€‚ã¤ã¾ã‚Šã€ç‰‡æ–¹ã‚’記述ã™ã‚Œã°ã€ã‚‚ã†ä¸€æ–¹ã‚‚記述ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f3m\fPã€\f3f\fPãŠã‚ˆã³\f3e\fPã®å‡ºç¾é †åºã¯ã€\f2manifest\fPã€\f2jarfile\fPã€\f2entrypoint\fPã®å‡ºç¾é †åºã¨ä¸€è‡´ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +entrypoint +実行å¯èƒ½JARファイル内ã«ãƒãƒ³ãƒ‰ãƒ«ã•れãŸã‚¹ã‚¿ãƒ³ãƒ‰ã‚¢ãƒ­ãƒ³ãƒ»ã‚¢ãƒ—リケーションã®ã‚¢ãƒ—リケーション・エントリ・ãƒã‚¤ãƒ³ãƒˆã¨ã—ã¦è¨­å®šã™ã‚‹ã‚¯ãƒ©ã‚¹ã®åå‰ã€‚\f2e\fPオプションã¨entrypointã¯å¯¾ã«ãªã£ã¦ã„ã¾ã™ã€‚ã©ã¡ã‚‰ã‹ã‚’指定ã™ã‚‹å ´åˆã¯ä¸¡æ–¹ã¨ã‚‚指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f3m\fPã€\f3f\fPãŠã‚ˆã³\f3e\fPã®å‡ºç¾é †åºã¯ã€\f2manifest\fPã€\f2jarfile\fPã€\f2entrypoint\fPã®å‡ºç¾é †åºã¨ä¸€è‡´ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-C\ dir +ã“れã«ç¶šã\f2inputfiles\fP引数を処ç†ã™ã‚‹é–“ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’\f2dir\fPã¸ä¸€æ™‚çš„ã«å¤‰æ›´ã—ã¾ã™ã€‚\f2\-C\ \fP\f2dir\fP \f2inputfiles\fPã®ã‚»ãƒƒãƒˆã¯è¤‡æ•°ä½¿ç”¨ã§ãã¾ã™ã€‚ +.TP 3 +\-Joption +Javaå®Ÿè¡Œç’°å¢ƒã¸æ¸¡ã•れるオプション。(\f2\-J\fPã¨\f2option\fPã®é–“ã«ã¯ç©ºç™½ã‚’入れãªã„ã§ãã ã•ã„。) +.RE + +.LP +.SH "説明" +.LP +\f3jar\fPツールã¯è¤‡æ•°ã®ãƒ•ァイルを1ã¤ã®JARアーカイブ・ファイルã«çµåˆã—ã¾ã™ã€‚\f3jar\fPã¯ã€ZIPãŠã‚ˆã³ +.na +\f2ZLIB\fP @ +.fi +http://www.gzip.org/zlib/圧縮形å¼ã«åŸºã¥ã汎用ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ãŠã‚ˆã³åœ§ç¸®ãƒ„ールã§ã™ã€‚ãŸã ã—\f3jar\fPツールã®ä¸»ãªç›®çš„ã¯ã€ã„ãã¤ã‹ã®Javaアプレットやアプリケーションを1個ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«çµ±åˆã™ã‚‹ã“ã¨ã§ã™ã€‚アプレットやアプリケーションã®ã‚³ãƒ³ãƒãƒ¼ãƒãƒ³ãƒˆ(ファイルã€ã‚¤ãƒ¡ãƒ¼ã‚¸ã€ãŠã‚ˆã³ã‚µã‚¦ãƒ³ãƒ‰)ãŒ1ã¤ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«çµåˆã•れã¦ã„ã‚‹ã¨ã€Javaエージェント(ブラウザãªã©)ã¯ã€ãれらã®ã‚³ãƒ³ãƒãƒ¼ãƒãƒ³ãƒˆã‚’1回ã®HTTPトランザクションã§ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã™ã‚‹ã“ã¨ãŒã§ãã€ã‚³ãƒ³ãƒãƒ¼ãƒãƒ³ãƒˆã”ã¨ã«æ–°ã—ã„æŽ¥ç¶šãŒä¸è¦ã«ãªã‚Šã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰æ™‚é–“ãŒå¤§å¹…ã«çŸ­ç¸®ã•れã¾ã™ã€‚ã¾ãŸã€\f3jar\fPã¯ãƒ•ァイルã®åœ§ç¸®ã‚‚行ã†ã®ã§ã€ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰æ™‚é–“ãŒã•らã«çŸ­ç¸®ã•れã¾ã™ã€‚ã¾ãŸã€ãƒ•ァイル内ã®å€‹ã€…ã®ã‚¨ãƒ³ãƒˆãƒªã«ã‚¢ãƒ—レット作æˆè€…ã«ã‚ˆã‚‹ç½²åを書ãè¾¼ã‚ã‚‹ã®ã§ã€é…布元ã®èªè¨¼ãŒå¯èƒ½ã«ãªã‚Šã¾ã™ã€‚jarãƒ„ãƒ¼ãƒ«ã®æ§‹æ–‡ã¯ã€\f2tar\fPã‚³ãƒžãƒ³ãƒ‰ã®æ§‹æ–‡ã¨ã»ã¼åŒã˜ã§ã™ã€‚\f3JAR\fPアーカイブã¯ã€åœ§ç¸®ã•れã¦ã„ã‚‹ã‹ã©ã†ã‹ã«ã‹ã‹ã‚らãšã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®ã‚¨ãƒ³ãƒˆãƒªã¨ã—ã¦ä½¿ç”¨ã§ãã¾ã™ã€‚ +.LP +複数ã®ãƒ•ァイルをJARファイルã¸çµåˆã™ã‚‹ä¸€èˆ¬çš„ãªä½¿ç”¨æ–¹æ³•ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.LP +.nf +\f3 +.fl +% jar cf myFile.jar *.class +.fl +\fP +.fi + +.LP +ã“ã®ä¾‹ã§ã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã‚ã‚‹ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルãŒ\f2myFile.jar\fPã¨ã„ã†åå‰ã®ãƒ•ã‚¡ã‚¤ãƒ«ã«æ ¼ç´ã•れã¾ã™ã€‚jarツールã¯è‡ªå‹•çš„ã«ã€\f2META\-INF/MANIFEST.MF\fPã¨ã„ã†åå‰ã®ãƒžãƒ‹ãƒ•ェスト・ファイル・エントリを生æˆã—ã¾ã™ã€‚ã“れã¯å¸¸ã«ã€JARãƒ•ã‚¡ã‚¤ãƒ«ã®æœ€åˆã®ã‚¨ãƒ³ãƒˆãƒªã«ãªã‚Šã¾ã™ã€‚マニフェスト・ファイルã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«é–¢ã™ã‚‹ãƒ¡ã‚¿æƒ…報を宣言ã—ã€ãã®ãƒ‡ãƒ¼ã‚¿ã‚’\f2name\ :\ value\fPã®ãƒšã‚¢ã¨ã—ã¦æ ¼ç´ã—ã¾ã™ã€‚jarツールãŒãƒžãƒ‹ãƒ•ェスト・ファイル内ã«ãƒ¡ã‚¿æƒ…報を格ç´ã™ã‚‹æ–¹æ³•ã®è©³ç´°ã¯ã€ +.na +\f2JARファイルã®ä»•様\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR%20Manifestã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +既存ã®ãƒžãƒ‹ãƒ•ã‚§ã‚¹ãƒˆãƒ»ãƒ•ã‚¡ã‚¤ãƒ«å†…ã«æ ¼ç´ã•れãŸ\f2name\ :\ value\fPã®ãƒšã‚¢ã‚’JARファイルã«å«ã‚ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«\f2\-m\fPオプションを使用ã—ã¦ãã®ãƒ•ァイルを指定ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% jar cmf myManifestFile myFile.jar *.class +.fl +\fP +.fi + +.LP +既存ã®ãƒžãƒ‹ãƒ•ã‚§ã‚¹ãƒˆãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã¯æ”¹è¡Œæ–‡å­—ã§çµ‚ã‚ã£ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãƒžãƒ‹ãƒ•ã‚§ã‚¹ãƒˆãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ”¹è¡Œæ–‡å­—ã§çµ‚ã‚ã£ã¦ã„ãªã„ã¨ã€\f3jar\fPã¯ãã®æœ€çµ‚行を解æžã—ã¾ã›ã‚“。 +.br + +.LP +.br + +.LP +\f3注æ„:\ \fPコマンドラインã«\f2cmf\fPã§ã¯ãªã\f2cfm\fPãŒæŒ‡å®šã•れãŸ(mã¨\-fオプションã®é †ç•ªã‚’逆ã«ã—ãŸ)jarコマンドã®å ´åˆã€\f3jar\fPコマンドラインã«ã¾ãšJARアーカイブã®åå‰ã‚’指定ã—ã€ç¶šã„ã¦ãƒžãƒ‹ãƒ•ェスト・ファイルã®åå‰ã‚’指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +% jar cfm myFile.jar myManifestFile *.class +.fl +\fP +.fi + +.LP +マニフェストã¯ã€RFC822 ASCIIå½¢å¼ã§è¦å®šã•れãŸãƒ†ã‚­ã‚¹ãƒˆå½¢å¼ã§ã‚ã‚‹ãŸã‚ã€ãƒžãƒ‹ãƒ•ェスト・ファイルã®å†…容を簡å˜ã«è¡¨ç¤ºãŠã‚ˆã³å‡¦ç†ã§ãã¾ã™ã€‚ +.LP +JARファイルã‹ã‚‰ãƒ•ァイルを抽出ã™ã‚‹å ´åˆã¯ã€\f2x\fPを使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% jar xf myFile.jar +.fl +\fP +.fi + +.LP +.LP +jarファイルã‹ã‚‰å€‹åˆ¥ã®ãƒ•ァイルを抽出ã™ã‚‹å ´åˆã¯ã€ãã®ãƒ•ァイルåを指定ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% jar xf myFile.jar foo bar +.fl +\fP +.fi + +.LP +.LP +JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.3以é™ã‹ã‚‰ã€\f2jar\fPユーティリティ㧠+.na +\f2JarIndex\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_IndexãŒã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ã€‚JarIndexを使用ã™ã‚‹ã¨ã€ã‚¢ãƒ—リケーションã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ã§JARファイルã‹ã‚‰ã‚¯ãƒ©ã‚¹ãŒãƒ­ãƒ¼ãƒ‰ã•れるã¨ãã®åŠ¹çŽ‡ãŒå‘上ã—ã¾ã™ã€‚アプリケーションã¾ãŸã¯ã‚¢ãƒ—レットãŒè¤‡æ•°ã®JARファイルã«ãƒãƒ³ãƒ‰ãƒ«ã•れã¦ã„ã‚‹å ´åˆã¯ã€å¿…è¦ãªJARファイルã®ã¿ãŒãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã•れã¦é–‹ã‹ã‚Œã€ã‚¯ãƒ©ã‚¹ãŒãƒ­ãƒ¼ãƒ‰ã•れã¾ã™ã€‚ã“ã®ãƒ‘ãƒ•ã‚©ãƒ¼ãƒžãƒ³ã‚¹ã®æœ€é©åŒ–ã¯ã€\f2\-i\fPオプションを指定ã—ã¦\f2jar\fPを実行ã™ã‚‹ã¨æœ‰åйã«ãªã‚Šã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€æŒ‡å®šã—ãŸJARメイン・ファイルã¨ã€ãã®ãƒ¡ã‚¤ãƒ³ãƒ»ãƒ•ァイルãŒä¾å­˜ã—ã¦ã„ã‚‹ã™ã¹ã¦ã®JARファイルã«ã¤ã„ã¦ã€ãƒ‘ッケージä½ç½®æƒ…å ±ãŒç”Ÿæˆã•れã¾ã™ã€‚メイン・ファイルãŒä¾å­˜ã—ã¦ã„ã‚‹JARファイルã¯ã€JARメイン・ファイルã®ãƒžãƒ‹ãƒ•ェストã®\f2Class\-Path\fPå±žæ€§ã«æŒ‡å®šã—ã¦ãŠãå¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% jar i main.jar +.fl +\fP +.fi + +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€\f2INDEX.LIST\fPファイルãŒ\f2main.jar\fPã®\f2META\-INF\fPãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã«æŒ¿å…¥ã•れã¾ã™ã€‚ +.br +.br +アプリケーションã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ã¯ã€ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã«æ ¼ç´ã•れã¦ã„る情報を使用ã—ã¦ã€åŠ¹çŽ‡çš„ã«ã‚¯ãƒ©ã‚¹ã‚’ロードã—ã¾ã™ã€‚インデックス・ファイルã«ä½ç½®æƒ…報を格ç´ã™ã‚‹æ–¹æ³•ã®è©³ç´°ã¯ã€\f2JarIndex\fP仕様をå‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +ディレクトリをコピーã™ã‚‹ã«ã¯ã€ã¾ãš\f2dir1\fP内ã®ãƒ•ァイルを圧縮ã—ã¦\f2stdout\fPã«å‡ºåŠ›ã—ã€ç¶šã„ã¦\f2stdin\fPã‹ã‚‰æŠ½å‡ºã—ã¦\f2dir2\fPã«å‡ºåŠ›ã—ã¾ã™(\f2\-f\fPオプションã¯ã©ã¡ã‚‰ã®\f2jar\fPコマンドã§ã‚‚çœç•¥ã—ã¾ã™)。 +.LP +.nf +\f3 +.fl +% (cd dir1; jar c .) | (cd dir2; jar x) +.fl +\fP +.fi + +.LP +.LP +\f2jar\fPを使用ã—ã¦JARファイルやJARマニフェスト・ファイルをæ“作ã™ã‚‹ã‚µãƒ³ãƒ—ル・コマンドを確èªã™ã‚‹ã«ã¯ã€æ¬¡ã®ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。ã¾ãŸã€ +.na +\f2Javaãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«\fP @ +.fi +http://docs.oracle.com/javase/tutorial/deployment/jar/ã®JARトライアルもå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +c +\f2jarfile\fPã¨ã„ã†åå‰ã®æ–°ã—ã„アーカイブ・ファイルを作æˆã™ã‚‹(\f2f\fPãŒæŒ‡å®šã•れãŸå ´åˆ)ã‹ã€æ¨™æº–出力ã«å‡ºåŠ›ã—ã¾ã™(\f2f\fPã¨\f2jarfile\fPãŒçœç•¥ã•れãŸå ´åˆ)。\f2inputfiles\fPã§æŒ‡å®šã•れãŸãƒ•ァイルã¨ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’ã€ã“ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«è¿½åŠ ã—ã¾ã™ã€‚ +.TP 3 +u +\f2inputfiles\fPã«æŒ‡å®šã•れãŸãƒ•ァイルやディレクトリを追加ã—ã¦ã€æ—¢å­˜ãƒ•ァイル\f2jarfile\fPã‚’æ›´æ–°ã—ã¾ã™(\f2f\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆ)。次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +jar uf foo.jar foo.class +.fl +\fP +.fi +上ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ãƒ•ァイル\f2foo.class\fPを既存ã®JARファイル\f2foo.jar\fPã«è¿½åŠ ã—ã¾ã™ã€‚次ã®ä¾‹ã«ç¤ºã™ã‚ˆã†ã«ã€\f2\-u\fPオプションã¯ã€ãƒžãƒ‹ãƒ•ェスト・エントリも更新ã§ãã¾ã™ã€‚ +.nf +\f3 +.fl +jar umf manifest foo.jar +.fl +\fP +.fi +上ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€\f2foo.jar\fPマニフェストを\f2manifest\fP内ã®\f2name : value\fPã®ãƒšã‚¢ã§æ›´æ–°ã—ã¾ã™ã€‚ +.TP 3 +x +\f2jarfile\fPã‹ã‚‰ãƒ•ァイルã¨ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’抽出ã—ã¾ã™(\f2f\fPãŒæŒ‡å®šã•れãŸå ´åˆ)ã€ã¾ãŸã¯æ¨™æº–入力ã‹ã‚‰ãƒ•ァイルやディレクトリを抽出ã—ã¾ã™(\f2f\fPã¨\f2jarfile\fPãŒçœç•¥ã•れãŸå ´åˆ)。\f2inputfiles\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€æŒ‡å®šã•れãŸãƒ•ァイルã¨ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®ã¿ãŒæŠ½å‡ºã•れã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€ã™ã¹ã¦ã®ãƒ•ァイルã¨ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãŒæŠ½å‡ºã•れã¾ã™ã€‚抽出ã•れãŸãƒ•ã‚¡ã‚¤ãƒ«ã®æ—¥æ™‚ã¯ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–内ã§è¨­å®šã•れãŸã‚‚ã®ã§ã™ã€‚ +.TP 3 +t +\f2jarfile\fPã‹ã‚‰ç›®æ¬¡ã‚’表示ã—ã¾ã™(\f2f\fPãŒæŒ‡å®šã•れãŸå ´åˆ)ã€ã¾ãŸã¯æ¨™æº–入力ã‹ã‚‰ç›®æ¬¡ã‚’表示ã—ã¾ã™(\f2f\fPã¨\f2jarfile\fPãŒçœç•¥ã•れãŸå ´åˆ)。\f2inputfiles\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€æŒ‡å®šã•れãŸãƒ•ァイルã¨ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®ã¿ãŒä¸€è¦§è¡¨ç¤ºã•れã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€ã™ã¹ã¦ã®ãƒ•ァイルã¨ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãŒä¸€è¦§è¡¨ç¤ºã•れã¾ã™ã€‚ +.TP 3 +i +指定ã•れãŸ\f2jarfile\fPã¨ã€ãれã«ä¾å­˜ã™ã‚‹JARファイルã«ã¤ã„ã¦ã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹æƒ…報を生æˆã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +jar i foo.jar +.fl +\fP +.fi +.LP +上ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€\f2foo.jar\fP内ã«\f2INDEX.LIST\fPファイルを生æˆã—ã¾ã™ã€‚ã“ã®ãƒ•ァイルã«ã¯ã€\f2foo.jar\fPã€ãŠã‚ˆã³\f2foo.jar\fPã®\f2Class\-Path\fPå±žæ€§ã«æŒ‡å®šã•れãŸã™ã¹ã¦ã®JARファイルã«å…¥ã£ã¦ã„ã‚‹å„パッケージã®ä½ç½®æƒ…å ±ãŒæ ¼ç´ã•れã¦ã„ã¾ã™ã€‚インデックスã®ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +f +作æˆ(\f2c\fP)ã€æ›´æ–°(\f2u\fP)ã€æŠ½å‡º(\f2x\fP)ã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹è¿½åŠ (\f2i\fP)ã¾ãŸã¯è¡¨ç¤º(\f2t\fP)ã®å„処ç†ã®å¯¾è±¡ã¨ãªã‚‹ãƒ•ァイル\f2jarfile\fPを指定ã—ã¾ã™ã€‚\f2f\fPオプションã¨ãƒ•ァイルå\f2jarfile\fPã¨ãŒãƒšã‚¢ã«ãªã‚Šã¾ã™ã€‚ã¤ã¾ã‚Šã€ç‰‡æ–¹ã‚’記述ã™ã‚Œã°ã€ã‚‚ã†ä¸€æ–¹ã‚‚記述ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f2f\fPã¨\f2jarfile\fPã‚’çœç•¥ã™ã‚‹ã¨ã€\f2stdin\fPã‹ã‚‰JARファイルåãŒå–å¾—ã•れる(xãŠã‚ˆã³tã®å ´åˆ)ã‹ã€\f2stdout\fPã«JARファイルãŒå‡ºåŠ›ã•れã¾ã™(cãŠã‚ˆã³uã®å ´åˆ)。 +.TP 3 +v +詳細ãªå‡ºåŠ›ã‚’æ¨™æº–å‡ºåŠ›ã«ç”Ÿæˆã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.TP 3 +0 +(ゼロ)ZIPã«ã‚ˆã‚‹åœ§ç¸®ã‚’使用ã›ãšã«ã€ä¿å­˜ã—ã¾ã™ã€‚ +.TP 3 +M +マニフェスト・ファイル・エントリを作æˆã—ã¾ã›ã‚“(cãŠã‚ˆã³uã®å ´åˆ)。ã¾ãŸã¯ã€ãƒžãƒ‹ãƒ•ェスト・ファイル・エントリãŒå­˜åœ¨ã™ã‚‹å ´åˆã¯å‰Šé™¤ã—ã¾ã™(uã®å ´åˆ)。 +.TP 3 +m +\f2META\-INF/MANIFEST.MF\fPã®ãƒ•ã‚¡ã‚¤ãƒ«ã§æŒ‡å®šã—ãŸãƒžãƒ‹ãƒ•ェスト・ファイル\f2manifest\fPã®\f2name : value\fPã®å±žæ€§ãƒšã‚¢ã‚’組ã¿è¾¼ã¿ã¾ã™ã€‚\f2jar\fPã¯ã€ã™ã§ã«åŒã˜åå‰ã§å­˜åœ¨ã—ãªã„å ´åˆã¯ã€ãã®\f2name\ :\ value\fPペアを追加ã—ã¾ã™ã€‚åŒã˜åå‰ã§å­˜åœ¨ã™ã‚‹å ´åˆã€\f2jar\fPã¯ãã®å€¤ã‚’æ›´æ–°ã—ã¾ã™ã€‚ +.br +.br +コマンドラインã§ã€\f3m\fPã¨\f3f\fPã®æ–‡å­—ã¯ã€\f2manifest\fPã¨\f2jarfile\fPã®å…¥åЛ順åºã¨åŒã˜é †åºã§è¨˜è¿°ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ä½¿ç”¨ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +jar cmf myManifestFile myFile.jar *.class +.fl +\fP +.fi +デフォルトã®ãƒžãƒ‹ãƒ•ェストã«ã¯å«ã¾ã‚Œãªã„マニフェストã«ã€ç‰¹åˆ¥ãªç›®çš„ã®\f2name\ :\ value\fPã®å±žæ€§ãƒšã‚¢ã‚’追加ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€ãƒ™ãƒ³ãƒ€ãƒ¼æƒ…å ±ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…å ±ã€ãƒ‘ッケージ・シーリングã€ã¾ãŸã¯JARã«ãƒãƒ³ãƒ‰ãƒ«ã•れãŸã‚¢ãƒ—リケーションを実行å¯èƒ½ã«ã™ã‚‹ãŸã‚ã®å±žæ€§ã‚’追加ã§ãã¾ã™ã€‚\f4\-m\fPオプションã®ä½¿ç”¨ä¾‹ã¯ã€Javaãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«ã® +.na +\f2JARファイルã§ã®ãƒ—ログラムã®ãƒ‘ッケージ化\fP @ +.fi +http://docs.oracle.com/javase/tutorial/deployment/jar/ã®ãƒ¬ãƒƒã‚¹ãƒ³ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +e +実行å¯èƒ½JARファイル内ã«ãƒãƒ³ãƒ‰ãƒ«ã•れãŸã‚¹ã‚¿ãƒ³ãƒ‰ã‚¢ãƒ­ãƒ³ãƒ»ã‚¢ãƒ—リケーションã®ã‚¢ãƒ—リケーション・エントリ・ãƒã‚¤ãƒ³ãƒˆã¨ã—ã¦ã€\f2entrypoint\fPを設定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ãƒžãƒ‹ãƒ•ェスト・ファイル内ã®\f2Main\-Class\fP属性値ãŒä½œæˆã¾ãŸã¯ä¸Šæ›¸ãã•れã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€JARファイルã®ä½œæˆä¸­ã¾ãŸã¯æ›´æ–°ä¸­ã«ä½¿ç”¨ã§ãã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚Œã°ã€ãƒžãƒ‹ãƒ•ェスト・ファイルを編集ã¾ãŸã¯ä½œæˆã™ã‚‹ã“ã¨ãªã—ã«ã€ã‚¢ãƒ—リケーションã®ã‚¨ãƒ³ãƒˆãƒªãƒ»ãƒã‚¤ãƒ³ãƒˆã‚’指定ã§ãã¾ã™ã€‚ +.br +.br +.br +ãŸã¨ãˆã°ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã¯\f2Main.jar\fPãŒä½œæˆã•れã¾ã™ãŒã€ãã®éš›ã€ãƒžãƒ‹ãƒ•ェスト内ã®\f2Main\-Class\fP属性値ã¯\f2Main\fPã«è¨­å®šã•れã¾ã™ã€‚ +.nf +\f3 +.fl +jar cfe Main.jar Main Main.class +.fl +\fP +.fi +次ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã™ã‚‹ã¨javaランタイムã‹ã‚‰ç›´æŽ¥ã“ã®ã‚¢ãƒ—リケーションを起動ã§ãã¾ã™ã€‚ +.nf +\f3 +.fl +java \-jar Main.jar +.fl +\fP +.fi +ã‚るパッケージ内ã«ã‚¨ãƒ³ãƒˆãƒªãƒ»ãƒã‚¤ãƒ³ãƒˆã®ã‚¯ãƒ©ã‚¹åãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ãƒ‰ãƒƒãƒˆ(「.ã€)ã€ã‚¹ãƒ©ãƒƒã‚·ãƒ¥(「/ã€)ã®ã„ãšã‚Œã‹ã®æ–‡å­—ã‚’ãã®åŒºåˆ‡ã‚Šæ–‡å­—ã¨ã—ã¦ä½¿ç”¨ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2Main.class\fPãŒ\f2foo\fPã¨ã„ã†åå‰ã®ãƒ‘ッケージã«å«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ã‚¨ãƒ³ãƒˆãƒªãƒ»ãƒã‚¤ãƒ³ãƒˆã¯æ¬¡ã®ã‚ˆã†ã«ã—ã¦æŒ‡å®šã§ãã¾ã™ã€‚ +.nf +\f3 +.fl +jar \-cfe Main.jar foo/Main foo/Main.class +.fl +\fP +.fi +ã¾ãŸã¯ +.nf +\f3 +.fl +jar \-cfe Main.jar foo.Main foo/Main.class +.fl +\fP +.fi +\f3注æ„:\fP \f2\-m\fPオプションã¨\f2\-e\fPオプションã®ä¸¡æ–¹ã‚’åŒæ™‚ã«æŒ‡å®šã—ãŸå ´åˆã€æŒ‡å®šã—ãŸãƒžãƒ‹ãƒ•ェストã«ã‚‚\f2Main\-Class\fP属性ãŒå«ã¾ã‚Œã¦ã„れã°ã€\f2Main.class\fPã®æŒ‡å®šãŒã‚ã„ã¾ã„ã«ãªã£ã¦ã‚¨ãƒ©ãƒ¼ã‚„発生ã—ã€JARã®ä½œæˆå‡¦ç†ã‚„更新処ç†ãŒç•°å¸¸çµ‚了ã—ã¾ã™ã€‚ +.TP 3 +\-C\ dir +\f2jar\fPコマンドã®å®Ÿè¡Œä¸­ã«å¾Œç¶šã®\f2inputfiles\fP引数を処ç†ã™ã‚‹ã¨ãã«ã€ä¸€æ™‚çš„ã«ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’変更ã—ã¾ã™(\f2cd\fP\ \f2dir\fP)。ã“ã®å‡¦ç†ã¯ã€UNIXã®\f2tar\fPユーティリティã®\f2\-C\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æ©Ÿèƒ½ã«é¡žä¼¼ã—ã¦ã„ã¾ã™ã€‚ +.br +.br +ãŸã¨ãˆã°ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€\f2classes\fPディレクトリã«ç§»å‹•ã—ã€ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰\f2bar.class\fPã‚’\f2foo.jar\fPã«è¿½åŠ ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +jar uf foo.jar \-C classes bar.class +.fl +\fP +.fi +次ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã¯ã€\f2classes\fPディレクトリã«ç§»å‹•ã—ã€\f2classes\fPディレクトリ内ã®ã™ã¹ã¦ã®ãƒ•ァイルを\f2foo.jar\fPã«è¿½åŠ ã—ã¾ã™(jarファイルã«ã¯classesディレクトリを作æˆã—ã¾ã›ã‚“)。次ã«å…ƒã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æˆ»ã£ã¦ã‹ã‚‰ã€\f2bin\fPディレクトリã«ç§»å‹•ã—ã€\f2xyz.class\fPã‚’\f2foo.jar\fPã«è¿½åŠ ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +jar uf foo.jar \-C classes . \-C bin xyz.class +.fl +\fP +.fi +\f2classes\fPã«ãƒ•ァイル\f2bar1\fPã¨\f2bar2\fPãŒæ ¼ç´ã•れã¦ã„ã‚‹å ´åˆã«ã€\f2jar tf foo.jar\fP使用ã—ãŸã¨ãã®JARファイルã®ä¸­èº«ã‚’ã€æ¬¡ã«ç¤ºã—ã¾ã™ã€‚ +.nf +\f3 +.fl +META\-INF/ +.fl +META\-INF/MANIFEST.MF +.fl +bar1 +.fl +bar2 +.fl +xyz.class +.fl +\fP +.fi +.LP +.TP 3 +\-Joption +Java実行環境ã«\f2option\fPを渡ã—ã¾ã™ã€‚\f2option\fPã«ã¯ã€Javaアプリケーション起動ツールã®ãƒªãƒ•ァレンス・ページã«è¨˜è¼‰ã•れã¦ã„るオプションを1ã¤æŒ‡å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f4\-J\-Xmx48M\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€æœ€å¤§ãƒ¡ãƒ¢ãƒªãƒ¼ãŒ48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚\f2\-J\fPを使用ã—ã¦èƒŒå¾Œã®å®Ÿè¡Œç’°å¢ƒã«ã‚ªãƒ—ションを渡ã™ã“ã¨ã¯ã‚ˆã行ã‚れã¦ã„ã¾ã™ã€‚ +.RE + +.LP +.SH "コマンドライン引数ファイル" +.LP +jarã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚’短ãã—ãŸã‚Šç°¡æ½”ã«ã—ãŸã‚Šã™ã‚‹ãŸã‚ã«ã€\f2jar\fPコマンドã«å¯¾ã™ã‚‹å¼•æ•°(\f2\-J\fPオプションを除ã)ã‚’å«ã‚€1ã¤ä»¥ä¸Šã®ãƒ•ァイルを指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€ä»»æ„ã®é•·ã•ã®jarコマンドを作æˆã§ãã€ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ã«ã‚ˆã‚‹ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã®åˆ¶é™ã‹ã‚‰è§£æ”¾ã•れã¾ã™ã€‚ +.LP +引数ファイルã«ã¯ã‚ªãƒ—ションã¨ãƒ•ァイルåã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ファイル内ã®å„引数ã¯ã€ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯æ”¹è¡Œã§åŒºåˆ‡ã‚Šã¾ã™ã€‚引数ファイル内ã®ãƒ•ァイルåã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã«ãªã‚Šã¾ã™ã€‚引数ファイルã®ä½ç½®ã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã§ã¯ã‚りã¾ã›ã‚“。通常ã¯ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚·ã‚§ãƒ«ã«ã‚ˆã£ã¦å±•é–‹ã•れるワイルドカード(*)ã¯å±•é–‹ã•れã¾ã›ã‚“。\f2@\fP文字を使用ã—ã¦ã€ãƒ•ァイルをå†å¸°çš„ã«è§£é‡ˆã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。\f2\-J\fPオプションã¯ã‚µãƒãƒ¼ãƒˆã•れã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションã¯èµ·å‹•ãƒ„ãƒ¼ãƒ«ã«æ¸¡ã•れã¾ã™ãŒã€èµ·å‹•ツールã§ã¯å¼•数ファイルをサãƒãƒ¼ãƒˆã—ã¦ã„ãªã„ã‹ã‚‰ã§ã™ã€‚ +.LP +.LP +\f2jar\fPを実行ã™ã‚‹ã¨ãã«ã€å„引数ファイルã®ãƒ‘スã¨åå‰ã®å…ˆé ­ã«\f2@\fP文字を付ã‘ã¦æ¸¡ã—ã¾ã™ã€‚\f2jar\fPã¯ã€\f2@\fP文字ã§å§‹ã¾ã‚‹å¼•数を見ã¤ã‘ã‚‹ã¨ã€ãã®ãƒ•ァイルã®å†…容を展開ã—ã¦å¼•æ•°ãƒªã‚¹ãƒˆã«æŒ¿å…¥ã—ã¾ã™ã€‚ +.br +.br +次ã®ä¾‹ã§ã€\f2classes.list\fPã«ã¯ã€\f2find\fPコマンドã«ã‚ˆã£ã¦å‡ºåŠ›ã•れãŸãƒ•ァイルã®åå‰ãŒæ ¼ç´ã•れã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% find \fP\f3.\fP \-name '*.class' \-print > classes.list +.fl +.fi + +.LP +.LP +次ã«ã€å¼•数ファイル構文を使用ã—ã¦\f2Classes.list\fPã‚’\f2jar\fPã«æ¸¡ã™ã“ã¨ã§ã€ãã®ãƒªã‚¹ãƒˆã«å¯¾ã—ã¦\f2jar\fPコマンドを実行ã§ãã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% jar cf my.jar @classes.list +.fl +\fP +.fi + +.LP +引数ファイルã¯ãƒ‘スを指定ã§ãã¾ã™ãŒã€ç›¸å¯¾ãƒ‘スãŒè¨˜è¿°ã•れãŸå¼•数ファイル内ã®ã™ã¹ã¦ã®ãƒ•ァイルåã¯ã€æ¸¡ã•れãŸãƒ‘スã«å¯¾ã—ã¦ç›¸å¯¾çš„ã§ã¯ãªãã€ç¾åœ¨ã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç›¸å¯¾çš„ã¨ãªã‚Šã¾ã™ã€‚次ã¯ãã®ä¾‹ã§ã™ã€‚ +.nf +\f3 +.fl +% jar @path1/classes.list +.fl +\fP +.fi + +.LP +.LP + +.LP +.SH "例" +.LP +特定ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®ãƒ•ァイルをアーカイブã«è¿½åŠ ã™ã‚‹(ãã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ãŒã™ã§ã«å­˜åœ¨ã™ã‚‹å ´åˆã¯ã€ãã®å†…容を上書ãã™ã‚‹)ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚\f2\-v\fPオプションを使用ã—ã¦æƒ…報を詳細ã«åˆ—挙ã™ã‚‹ã‚ˆã†ã«æŒ‡å®šã™ã‚‹ã¨ã€ã‚µã‚¤ã‚ºã‚„æœ€æ–°ã®æ›´æ–°æ—¥ãªã©ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–内ã®ãƒ•ァイルã«ã¤ã„ã¦ã®è©³ç´°æƒ…å ±ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.nf +\f3 +.fl +% ls +.fl +1.au Animator.class monkey.jpg +.fl +2.au Wave.class spacemusic.au +.fl +3.au at_work.gif +.fl + +.fl +% jar cvf bundle.jar * +.fl +added manifest +.fl +adding: 1.au(in = 2324) (out= 67)(deflated 97%) +.fl +adding: 2.au(in = 6970) (out= 90)(deflated 98%) +.fl +adding: 3.au(in = 11616) (out= 108)(deflated 99%) +.fl +adding: Animator.class(in = 2266) (out= 66)(deflated 97%) +.fl +adding: Wave.class(in = 3778) (out= 81)(deflated 97%) +.fl +adding: at_work.gif(in = 6621) (out= 89)(deflated 98%) +.fl +adding: monkey.jpg(in = 7667) (out= 91)(deflated 98%) +.fl +adding: spacemusic.au(in = 3079) (out= 73)(deflated 97%) +.fl +\fP +.fi + +.LP +ã™ã§ã«ç”»åƒã€ã‚ªãƒ¼ãƒ‡ã‚£ã‚ªãƒ»ãƒ•ァイルã€ãŠã‚ˆã³ã‚¯ãƒ©ã‚¹ç”¨ã®ã‚µãƒ–ディレクトリã«åˆ†ã‘ã¦ã„ã‚‹å ´åˆã¯ã€ã“れらをå˜ä¸€ã®JARファイルã«çµåˆã§ãã¾ã™ã€‚ +.nf +\f3 +.fl +% ls \-F +.fl +audio/ classes/ images/ +.fl + +.fl +% jar cvf bundle.jar audio classes images +.fl +added manifest +.fl +adding: audio/(in = 0) (out= 0)(stored 0%) +.fl +adding: audio/1.au(in = 2324) (out= 67)(deflated 97%) +.fl +adding: audio/2.au(in = 6970) (out= 90)(deflated 98%) +.fl +adding: audio/3.au(in = 11616) (out= 108)(deflated 99%) +.fl +adding: audio/spacemusic.au(in = 3079) (out= 73)(deflated 97%) +.fl +adding: classes/(in = 0) (out= 0)(stored 0%) +.fl +adding: classes/Animator.class(in = 2266) (out= 66)(deflated 97%) +.fl +adding: classes/Wave.class(in = 3778) (out= 81)(deflated 97%) +.fl +adding: images/(in = 0) (out= 0)(stored 0%) +.fl +adding: images/monkey.jpg(in = 7667) (out= 91)(deflated 98%) +.fl +adding: images/at_work.gif(in = 6621) (out= 89)(deflated 98%) +.fl + +.fl +% ls \-F +.fl +audio/ bundle.jar classes/ images/ +.fl +\fP +.fi + +.LP +JARファイルã®ã‚¨ãƒ³ãƒˆãƒªåを表示ã™ã‚‹ã«ã¯ã€\f2t\fPオプションを使用ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +% jar tf bundle.jar +.fl +META\-INF/ +.fl +META\-INF/MANIFEST.MF +.fl +audio/1.au +.fl +audio/2.au +.fl +audio/3.au +.fl +audio/spacemusic.au +.fl +classes/Animator.class +.fl +classes/Wave.class +.fl +images/monkey.jpg +.fl +images/at_work.gif +.fl +\fP +.fi + +.LP +.LP +クラス・ロードを高速ã«ã™ã‚‹ãŸã‚ã«ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ãƒ»ãƒ•ァイルをJARファイルã«è¿½åŠ ã™ã‚‹ã«ã¯ã€\f2i\fPオプションを使用ã—ã¾ã™ã€‚ +.br +.br +例: +.br + +.LP +ãŸã¨ãˆã°ã€æ ªå–引アプリケーションã®ç›¸äº’ä¾å­˜ã—ã¦ã„るクラスをã€\f2main.jar\fPã€\f2buy.jar\fPãŠã‚ˆã³\f2sell.jar\fPã¨ã„ã†3ã¤ã®JARファイルã«åˆ†å‰²ã—ãŸã¨ã—ã¾ã™ã€‚ +.br + +.LP +.br + +.LP +\f2main.jar\fPã®ãƒžãƒ‹ãƒ•ェストã®\f2Class\-path\fPå±žæ€§ã«æ¬¡ã®ã‚ˆã†ã«æŒ‡å®šã—ãŸå ´åˆã€ +.nf +\f3 +.fl +Class\-Path: buy.jar sell.jar +.fl +\fP +.fi + +.LP +\f2\-i\fPオプションを使用ã™ã‚Œã°ã€ã‚¢ãƒ—リケーションã®ã‚¯ãƒ©ã‚¹ã®èª­è¾¼ã¿ã‚’高速化ã§ãã¾ã™ã€‚ +.nf +\f3 +.fl +% jar i main.jar +.fl +\fP +.fi + +.LP +\f2INDEX.LIST\fPファイルãŒ\f2META\-INF\fPãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æŒ¿å…¥ã•れã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€ã‚¢ãƒ—リケーションã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ã«ã‚ˆã£ã¦ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ãƒªã‚½ãƒ¼ã‚¹ã®æ¤œç´¢ãŒè¡Œã‚れるã¨ãã«ã€é©åˆ‡ãªjarファイルãŒãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã•れるよã†ã«ãªã‚Šã¾ã™ã€‚ +.SH "関連項目" +.LP +.LP +.na +\f2JARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¦‚è¦\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jarGuide.html +.LP +.LP +.na +\f2JARファイルã®ä»•様\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html +.LP +.LP +.na +\f2JarIndexã®ä»•様\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_Index +.LP +.LP +.na +\f2JARãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«\fP @ +.fi +http://docs.oracle.com/javase/tutorial/deployment/jar//index.html +.LP +.LP +pack200(1) +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jarsigner.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jarsigner.1 new file mode 100644 index 00000000..29dab0d4 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jarsigner.1 @@ -0,0 +1,1383 @@ +'\" t +.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. +.\" Title: jarsigner +.\" Language: English +.\" Date: 2013å¹´8月6æ—¥ +.\" SectDesc: セキュリティ・ツール +.\" Software: JDK 7 +.\" Arch: 汎用 +.\" +.pl 99999 +.TH "jarsigner" "1" "2013å¹´8月6æ—¥" "JDK 7" "セキュリティ・ツール" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +jarsigner \- Javaアーカイブ(JAR)ファイルã«å¯¾ã—ã¦ç½²åãŠã‚ˆã³æ¤œè¨¼ã‚’行ã„ã¾ã™ã€‚ +.SH "å½¢å¼" +.sp +.if n \{\ +.RS 4 +.\} +.nf +\fIjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR +.fi +.if n \{\ +.RE +.\} +.sp +.if n \{\ +.RS 4 +.\} +.nf +\fIjarsigner\fR \fI\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR] +.fi +.if n \{\ +.RE +.\} +.PP +\fIoptions\fR +.RS 4 +コマンドライン・オプション。オプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.PP +\-verify +.RS 4 +\fI\-verify\fRオプションã§ã¯ã€JARファイルåã®å¾Œã«0個以上ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢åˆ¥åを指定ã§ãã¾ã™ã€‚\fI\-verify\fRã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れãŸå ´åˆã€\fIjarsigner\fRコマンドã§ã¯ã€JARファイル内ã®å„ç½²å付ãã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®æ¤œè¨¼ã«ä½¿ç”¨ã•れる証明書ãŒã€ã„ãšã‚Œã‹ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢åˆ¥åã«ä¸€è‡´ã™ã‚‹ã“ã¨ã‚’ãƒã‚§ãƒƒã‚¯ã—ã¾ã™ã€‚別åã¯ã€\fI\-keystore\fRã§æŒ‡å®šã•れãŸã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã¾ãŸã¯ãƒ‡ãƒ•ォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«å®šç¾©ã•れã¾ã™ã€‚ +.sp +\fI\-strict\fRオプションも指定ã—ãŸå ´åˆã€\fIjarsigner\fRコマンドã«ã‚ˆã‚Šé‡å¤§ãªè­¦å‘ŠãŒæ¤œå‡ºã•れるã¨ã€ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã€ŒjarãŒæ¤œè¨¼ã•れã¾ã—ãŸã€‚ç½²å者エラーã€ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.RE +.PP +\fIjar\-file\fR +.RS 4 +ç½²åã•れるJARファイル。 +.RE +.PP +\fIalias\fR +.RS 4 +別åã¯ã€\fI\-keystore\fRã§æŒ‡å®šã•れãŸã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã¾ãŸã¯ãƒ‡ãƒ•ォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«å®šç¾©ã•れã¾ã™ã€‚ +.RE +.SH "説明" +.PP +\fIjarsigner\fRツールã«ã¯ã€æ¬¡ã®2ã¤ã®ç›®çš„ãŒã‚りã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +Javaアーカイブ(JAR)ファイルã«ç½²åã™ã‚‹ç›®çš„。 +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +ç½²å付ãJARファイルã®ç½²åã¨æ•´åˆæ€§ã‚’検証ã™ã‚‹ç›®çš„。 +.RE +.PP +JAR機能を使用ã™ã‚‹ã¨ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã€ã‚¤ãƒ¡ãƒ¼ã‚¸ã€ã‚µã‚¦ãƒ³ãƒ‰ãŠã‚ˆã³ãã®ä»–ã®ãƒ‡ã‚¸ã‚¿ãƒ«ãƒ»ãƒ‡ãƒ¼ã‚¿ã‚’å˜ä¸€ã®ãƒ•ァイルã«ãƒ‘ッケージ化ã§ãã‚‹ã®ã§ã€ãƒ•ァイルを迅速ã‹ã¤å®¹æ˜“ã«é…布ã§ãã¾ã™ã€‚\fIjar\fRã¨ã„ã†åå‰ã®ãƒ„ールを使用ã—ã¦ã€é–‹ç™ºè€…ã¯JARファイルを作æˆã§ãã¾ã™ã€‚(技術的ãªè¦³ç‚¹ã‹ã‚‰è¨€ãˆã°ã€ã™ã¹ã¦ã®ZIPファイルもJARファイルã¨ã¿ãªã™ã“ã¨ãŒã§ãã¾ã™ã€‚ãŸã ã—ã€jarã«ã‚ˆã£ã¦ä½œæˆã•れãŸJARファイルã€ã¾ãŸã¯\fIjarsigner\fRã«ã‚ˆã£ã¦å‡¦ç†ã•れãŸJARファイルã«ã¯ã€\fIMETA\-INF/MANIFEST\&.MF\fRファイルãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚) +.PP +デジタル署åã¯ã€ãªã‚“らã‹ã®ãƒ‡ãƒ¼ã‚¿(ç½²åã®å¯¾è±¡ã¨ãªã‚‹ãƒ‡ãƒ¼ã‚¿)ã€ãŠã‚ˆã³ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£(人ã€ä¼šç¤¾ãªã©)ã®ç§˜å¯†éµã‹ã‚‰è¨ˆç®—ã•ã‚Œã‚‹ãƒ“ãƒƒãƒˆã®æ–‡å­—列ã§ã™ã€‚手書ãã®ç½²ååŒæ§˜ã€ãƒ‡ã‚¸ã‚¿ãƒ«ç½²åã«ã¯å¤šãã®åˆ©ç‚¹ãŒã‚りã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +ç½²åã®ç”Ÿæˆã«ä½¿ç”¨ã•れãŸç§˜å¯†éµã«å¯¾å¿œã™ã‚‹å…¬é–‹éµã‚’使用ã™ã‚‹è¨ˆç®—ã«ã‚ˆã£ã¦ã€ãã‚ŒãŒæœ¬ç‰©ã§ã‚ã‚‹ã“ã¨ã‚’検証ã§ãã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +秘密éµãŒä»–人ã«çŸ¥ã‚‰ã‚Œãªã„é™ã‚Šã€ãƒ‡ã‚¸ã‚¿ãƒ«ç½²åã®å½é€ ã¯ä¸å¯èƒ½ã§ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +ã“れã¯ã€ç½²åãŒä»˜ã„ãŸãƒ‡ãƒ¼ã‚¿ã®æ©Ÿèƒ½ã§ã‚りã€ä»–ã®ãƒ‡ãƒ¼ã‚¿ã®ç½²åã¨ãªã‚‹ã‚ˆã†ã«è¦æ±‚ã§ãã¾ã›ã‚“。 +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +ç½²å付ãデータã¯å¤‰æ›´ã§ãã¾ã›ã‚“。データãŒå¤‰æ›´ã•れãŸå ´åˆã€ç½²åã«ã‚ˆã£ã¦æœ¬ç‰©ã§ã‚ã‚‹ã¨æ¤œè¨¼ã§ãã¾ã›ã‚“。 +.RE +.PP +ファイルã«å¯¾ã—ã¦ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®ç½²åを生æˆã™ã‚‹ã«ã¯ã€ã¾ãšã€ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã¯ã€ãã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã«é–¢é€£ã™ã‚‹å…¬é–‹éµ/秘密éµã®ãƒšã‚¢ã¨ã€å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹1ã¤ä»¥ä¸Šã®è¨¼æ˜Žæ›¸ã‚’æŒã¤å¿…è¦ãŒã‚りã¾ã™ã€‚証明書ã¨ã¯ã€ã‚るエンティティã‹ã‚‰ã®ãƒ‡ã‚¸ã‚¿ãƒ«ç½²å付ãã®æ–‡æ›¸ã§ã€åˆ¥ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®å…¬é–‹éµãŒç‰¹å®šã®å€¤ã‚’æŒã¤ã“ã¨ã‚’示ã—ã¦ã„ã¾ã™ã€‚ +.PP +\fIjarsigner\fRコマンドã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‹ã‚‰ã®éµã¨è¨¼æ˜Žæ›¸æƒ…報を使用ã—ã¦ã€JARファイルã®ãƒ‡ã‚¸ã‚¿ãƒ«ç½²åを生æˆã—ã¾ã™ã€‚キーストアã¯ã€ç§˜å¯†éµã€ãŠã‚ˆã³å¯¾å¿œã™ã‚‹å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹ã€ç§˜å¯†éµã«é–¢é€£ã—ãŸX\&.509証明書ãƒã‚§ãƒ¼ãƒ³ã®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã§ã™ã€‚\fIkeytool\fRコマンドを使用ã—ã¦ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’作æˆãŠã‚ˆã³ç®¡ç†ã—ã¾ã™ã€‚ +.PP +\fIjarsigner\fRコマンドã§ã¯ã€ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®ç§˜å¯†éµã‚’使用ã—ã¦ç½²åを生æˆã—ã¾ã™ã€‚ç½²å付ãJARファイルã«ã¯ã€ç‰¹ã«ã€ãƒ•ァイルã¸ã®ç½²åã«ä½¿ç”¨ã™ã‚‹ç§˜å¯†éµã«å¯¾å¿œã™ã‚‹å…¬é–‹éµã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‹ã‚‰ã®è¨¼æ˜Žæ›¸ã®ã‚³ãƒ”ーãŒå«ã¾ã‚Œã¾ã™ã€‚\fIjarsigner\fRコマンドã§ã¯ã€å†…部(ç½²åブロック・ファイル内)ã®è¨¼æ˜Žæ›¸ã‚’使用ã—ã¦ã€ç½²å付ãJARファイルã®ãƒ‡ã‚¸ã‚¿ãƒ«ç½²åを検証ã§ãã¾ã™ã€‚ +.PP +\fIjarsigner\fRコマンドã§ã¯ã€ç½²åè¨¼æ˜Žæ›¸ã®æœ‰åŠ¹æœŸé–“ä¸­ã«JARファイルãŒç½²åã•れãŸã•れãŸã‹ã©ã†ã‹ã‚’システムやデプロイヤ(Java Plug\-inã‚’å«ã‚€)ãŒãƒã‚§ãƒƒã‚¯ã§ãã‚‹ã€ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã‚’å«ã‚€ç½²åを生æˆã§ãã¾ã™ã€‚ã•らã«ã€APIを使用ã™ã‚‹ã¨ã€ã‚¢ãƒ—リケーションã§ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—情報をå–å¾—ã§ãã¾ã™ã€‚ +.PP +ç¾æ™‚点ã§ã¯ã€\fIjarsigner\fRコマンドã§ã¯ã€\fIjar\fRコマンドã¾ãŸã¯ZIPファイルã«ã‚ˆã£ã¦ä½œæˆã•れãŸJARファイルã®ã¿ã«ç½²åã§ãã¾ã™ã€‚JARファイルã¯ZIPファイルã¨åŒã˜ã§ã™ãŒã€JARファイルã«ã¯\fIMETA\-INF/MANIFEST\&.MF\fRファイルもå«ã¾ã‚Œã¦ã„る点ãŒç•°ãªã‚Šã¾ã™ã€‚\fIMETA\-INF/MANIFEST\&.MF\fRファイルã¯ã€\fIjarsigner\fRコマンドã«ã‚ˆã£ã¦ZIPファイルã«ç½²åã™ã‚‹éš›ã«ä½œæˆã•れã¾ã™ã€‚ +.PP +デフォルトã®\fIjarsigner\fRコマンドã®å‹•作ã§ã¯ã€JARã¾ãŸã¯ZIPファイルã«ç½²åã—ã¾ã™ã€‚\fI\-verify\fRオプションを使用ã—ã¦ã€ç½²å付ãJARファイルを検証ã—ã¾ã™ã€‚ +.PP +\fIjarsigner\fRコマンドã¯ã€ç½²åã¾ãŸã¯æ¤œè¨¼ã®å¾Œã«ç½²å者ã®è¨¼æ˜Žæ›¸ã®æ¤œè¨¼ã‚‚試行ã—ã¾ã™ã€‚検証エラーã¾ãŸã¯ãã®ä»–ã®å•題ãŒç™ºç”Ÿã™ã‚‹ã¨ã€ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã‚Šè­¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒç”Ÿæˆã•れã¾ã™ã€‚\fI\-strict\fRオプションを指定ã—ãŸå ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã‚Šé‡å¤§ãªè­¦å‘ŠãŒã‚¨ãƒ©ãƒ¼ã¨ã—ã¦å‡¦ç†ã•れã¾ã™ã€‚エラーã¨è­¦å‘Šã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.SS "キーストアã®åˆ¥å" +.PP +キーストアã®ã™ã¹ã¦ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã¯ã€ä¸€æ„ã®åˆ¥åを使用ã—ã¦ã‚¢ã‚¯ã‚»ã‚¹ã•れã¾ã™ã€‚ +.PP +\fIjarsigner\fRコマンドを使用ã—ã¦JARファイルã«ç½²åã™ã‚‹ã¨ãã¯ã€ç½²åã®ç”Ÿæˆã«å¿…è¦ãªç§˜å¯†éµã‚’å«ã‚€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¨ãƒ³ãƒˆãƒªã®åˆ¥åを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã¯ã€\fIworking\fRディレクトリã®\fImystore\fRã¨ã„ã†åå‰ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«å«ã¾ã‚Œã‚‹åˆ¥å\fIduke\fRã«é–¢é€£ä»˜ã‘られãŸç§˜å¯†éµã‚’使用ã—ã¦ã€\fIMyJARFile\&.jar\fRã¨ã„ã†åå‰ã®JARファイルã«ç½²åã—ã¾ã™ã€‚å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã¯æŒ‡å®šã•れã¦ã„ãªã„ãŸã‚ã€\fIMyJARFile\&.jar\fRã¯ç½²å付ãã®JARファイルã«ã‚ˆã£ã¦ä¸Šæ›¸ãã•れã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-keystore /working/mystore \-storepass + \-keypass MyJARFile\&.jar duke +.fi +.if n \{\ +.RE +.\} +.PP +キーストアã¯ãƒ‘スワードã§ä¿è­·ã•れã¦ã„ã‚‹ã®ã§ã€ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãªã„ã¨ã€å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚åŒæ§˜ã«ã€ç§˜å¯†éµã‚‚キーストア内ã§ãƒ‘スワードã«ã‚ˆã£ã¦ä¿è­·ã•れã¦ã„ã‚‹ãŸã‚ã€ç§˜å¯†éµã®ãƒ‘スワードを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚コマンドラインã§ãƒ‘スワードを指定ã—ã¦ã„ãªã„å ´åˆã€ã¾ãŸã¯æŒ‡å®šã—ãŸãƒ‘スワートãŒä¿å­˜ã•れã¦ã„るパスワードã¨åŒã˜ã§ã¯ãªã„å ´åˆã¯ã€ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.SS "キーストアã®å ´æ‰€" +.PP +\fIjarsigner\fRコマンドã«ã¯ã€ä½¿ç”¨ã™ã‚‹ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®URLを指定ã™ã‚‹\fI\-keystore\fRオプションãŒã‚りã¾ã™ã€‚キーストアã¯ãƒ‡ãƒ•ォルトã§ã€\fIuser\&.home\fRã‚·ã‚¹ãƒ†ãƒ ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ã§æ±ºã¾ã‚‹ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ›ãƒ¼ãƒ ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®\fI\&.keystore\fRã¨ã„ã†åå‰ã®ãƒ•ã‚¡ã‚¤ãƒ«å†…ã«æ ¼ç´ã•れã¾ã™ã€‚Oracle Solarisシステムã®å ´åˆã€\fIuser\&.home\fRã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ›ãƒ¼ãƒ ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ãƒ‡ãƒ•ォルト設定ã•れã¾ã™ã€‚ +.PP +\fI\-keystore\fRオプションã‹ã‚‰ã®å…¥åŠ›ã‚¹ãƒˆãƒªãƒ¼ãƒ ã¯ã€\fIKeyStore\&.load\fRãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れã¾ã™ã€‚URLã¨ã—ã¦\fINONE\fRãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€nullã®ã‚¹ãƒˆãƒªãƒ¼ãƒ ãŒ\fIKeyStore\&.load\fRãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れã¾ã™ã€‚\fINONE\fRã¯ã€\fIKeyStore\fRクラスãŒãƒ•ァイルベースã§ã¯ãªã„å ´åˆã€ãŸã¨ãˆã°ã€ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢ãƒ»ãƒˆãƒ¼ã‚¯ãƒ³ãƒ»ãƒ‡ãƒã‚¤ã‚¹ã«ç½®ã‹ã‚Œã¦ã„ã‚‹å ´åˆã«æŒ‡å®šã—ã¾ã™ã€‚ +.SS "キーストアã®å®Ÿè£…" +.PP +\fIjava\&.security package\fRã§æä¾›ã•れã¦ã„ã‚‹\fIKeyStore\fRクラスã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®æƒ…å ±ã¸ã®ã‚¢ã‚¯ã‚»ã‚¹ãŠã‚ˆã³æƒ…å ±ã®å¤‰æ›´ã‚’行ã†ãŸã‚ã®ã€æ˜Žç¢ºã«å®šç¾©ã•れãŸå¤šãã®ã‚¤ãƒ³ã‚¿ãƒ•ェースをæä¾›ã—ã¾ã™ã€‚複数ã®ç•°ãªã‚‹å›ºå®šå®Ÿè£…を指定ã™ã‚‹ã“ã¨ãŒã§ãã€å„実装ã¯ç‰¹å®šã®ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’対象ã¨ã—ã¾ã™ã€‚ +.PP +ç¾åœ¨ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…を使用ã™ã‚‹2ã¤ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ„ール(\fIkeytool\fRã¨\fIjarsigner\fR)ã€ãŠã‚ˆã³ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ„ールã¨ã„ã†åå‰ã®1ã¤ã®GUIベースã®ãƒ„ールãŒã‚りã¾ã™ã€‚\fIKeyStore\fRクラスã¯å…¬é–‹ã•れã¦ã„ã‚‹ãŸã‚ã€JDKユーザーã¯ã€ãれを使用ã™ã‚‹ä»–ã®ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ã‚¢ãƒ—リケーションを書ã込むã“ã¨ãŒã§ãã¾ã™ã€‚ +.PP +OracleãŒæä¾›ã™ã‚‹çµ„è¾¼ã¿ã®ãƒ‡ãƒ•ォルトã®å®Ÿè£…ãŒã‚りã¾ã™ã€‚ã“れã¯ã€KSã¨ã„ã†åå‰ã®ç‹¬è‡ªã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¿ã‚¤ãƒ—(å½¢å¼)を使用ã™ã‚‹ã‚‚ã®ã§ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’ファイルã¨ã—ã¦å®Ÿè£…ã—ã¦ã„ã¾ã™ã€‚組込ã¿ã®å®Ÿè£…ã§ã¯ã€å„秘密éµã¯å€‹åˆ¥ã®ãƒ‘スワードã«ã‚ˆã£ã¦ä¿è­·ã•れã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å…¨ä½“ã®æ•´åˆæ€§ã¯(秘密éµã¨ã¯åˆ¥ã®)パスワードã«ã‚ˆã£ã¦ä¿è­·ã•れã¾ã™ã€‚ +.PP +キーストアã®å®Ÿè£…ã¯ãƒ—ロãƒã‚¤ãƒ€ãƒ™ãƒ¼ã‚¹ã§ã€ã¤ã¾ã‚Šã€\fIKeyStore\fRクラスã«ã‚ˆã‚Šæä¾›ã•れるアプリケーション・インタフェースã¯ã€ã‚µãƒ¼ãƒ“ス・プロãƒã‚¤ãƒ€ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェース(SPI)ã«é–¢ã—ã¦å®Ÿè£…ã•れã¾ã™ã€‚対応ã™ã‚‹\fIKeystoreSpi\fR抽象クラスãŒã‚りã€ã“れも\fIjava\&.security package\fRã«å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ã“ã®ã‚¯ãƒ©ã‚¹ãŒã€ãƒ—ロãƒã‚¤ãƒ€ãŒå®Ÿè£…ã™ã‚‹å¿…è¦ã®ã‚るサービス・プロãƒã‚¤ãƒ€ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’定義ã—ã¦ã„ã¾ã™ã€‚ã“ã“ã§ã€ãƒ—ロãƒã‚¤ãƒ€ã¨ã¯ã€Java Security APIã«ã‚ˆã£ã¦ã‚¢ã‚¯ã‚»ã‚¹å¯èƒ½ãªã‚µãƒ¼ãƒ“スã®ã‚µãƒ–セットã«å¯¾ã—ã€ãã®å›ºå®šå®Ÿè£…ã‚’æä¾›ã™ã‚‹ãƒ‘ッケージã¾ãŸã¯ãƒ‘ッケージã®é›†åˆã®ã“ã¨ã§ã™ã€‚キーストアã®å®Ÿè£…ã‚’æä¾›ã™ã‚‹ã«ã¯ã€http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.htmlã«ã‚ã‚‹ +Javaæš—å·åŒ–アーキテクãƒãƒ£ã®ãƒ—ロãƒã‚¤ãƒ€ã®å®Ÿè£…方法ã§èª¬æ˜Žã—ã¦ã„るよã†ã«ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¯ãƒ—ロãƒã‚¤ãƒ€ã‚’実装ã—ã€\fIKeystoreSpi\fRサブクラスã®å®Ÿè£…ã‚’æä¾›ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.PP +アプリケーションã§ã¯ã€\fIKeyStore\fRクラスã®\fIgetInstance\fRファクトリ・メソッドを使用ã—ã¦ã€æ§˜ã€…ãªãƒ—ロãƒã‚¤ãƒ€ã‹ã‚‰ç•°ãªã‚‹ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ã‚’é¸æŠžã§ãã¾ã™ã€‚キーストアã®ã‚¿ã‚¤ãƒ—ã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢æƒ…å ±ã®æ ¼ç´å½¢å¼ã¨ãƒ‡ãƒ¼ã‚¿å½¢å¼ã‚’定義ã™ã‚‹ã¨ã¨ã‚‚ã«ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®ç§˜å¯†éµã¨ã‚­ãƒ¼ã‚¹ãƒˆã‚¢è‡ªä½“ã®æ•´åˆæ€§ã‚’ä¿è­·ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•れるアルゴリズムを定義ã—ã¾ã™ã€‚ç•°ãªã‚‹ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ã«ã¯ã€äº’æ›æ€§ã¯ã‚りã¾ã›ã‚“。 +.PP +\fIkeytool\fRコマンドã¯ã€ä»»æ„ã®ãƒ•ァイルベースã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å®Ÿè£…ã§å‹•作ã—ã¾ã™ã€‚ã“れã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æ¸¡ã•れãŸã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å ´æ‰€ã‚’ファイルåã¨ã—ã¦æ‰±ã„ã€ã“れを\fIFileInputStream\fRã«å¤‰æ›ã—ã¦ã€ãã“ã‹ã‚‰ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®æƒ…報をロードã—ã¾ã™ã€‚\fIjarsigner\fRツールãŠã‚ˆã³\fIpolicytool\fRツールã¯ã€URLを使用ã—ã¦æŒ‡å®šå¯èƒ½ãªä»»æ„ã®å ´æ‰€ã‹ã‚‰ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’読ã¿å–ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.PP +\fIjarsigner\fRコマンドãŠã‚ˆã³\fIkeytool\fRコマンドã®å ´åˆã€\fI\-storetype\fRオプションを使用ã—ã¦ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—を指定ã§ãã¾ã™ã€‚ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ„ールã®å ´åˆã€ã€Œç·¨é›†ã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã®Change Keystoreコマンドを使用ã—ã¦ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—を指定ã§ãã¾ã™ã€‚ +.PP +ユーザーãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—ã‚’æ˜Žç¤ºçš„ã«æŒ‡å®šã—ãªã‹ã£ãŸå ´åˆã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã§æŒ‡å®šã•れãŸ\fIkeystore\&.type\fRプロパティã®å€¤ã«åŸºã¥ã„ã¦ã€ãƒ„ールã«ã‚ˆã£ã¦ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ãŒé¸æŠžã•れã¾ã™ã€‚ã“ã®ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ロパティ・ファイルã¯\fIjava\&.security\fRã¨å‘¼ã°ã‚Œã€JDKセキュリティ・プロパティ・ディレクトリ\fIjava\&.home/lib/security\fR内ã«å­˜åœ¨ã—ã¦ã„ã¾ã™ã€‚ã“ã“ã§ã€java\&.homeã¯å®Ÿè¡Œæ™‚環境ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã§ã™ã€‚\fIjre\fRディレクトリã¯ã€JDKã¾ãŸã¯Java Runtime Environment (JRE)ã®æœ€ä¸Šä½ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã‚りã¾ã™ã€‚ +.PP +å„ツールã¯ã€\fIkeystore\&.type\fRã®å€¤ã‚’å–å¾—ã—ã€ãã®ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’実装ã—ã¦ã„るプロãƒã‚¤ãƒ€ãŒè¦‹ã¤ã‹ã‚‹ã¾ã§ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ã‚‹ã™ã¹ã¦ã®ãƒ—ロãƒã‚¤ãƒ€ã‚’調ã¹ã¾ã™ã€‚目的ã®ãƒ—ロãƒã‚¤ãƒ€ãŒè¦‹ã¤ã‹ã‚‹ã¨ã€ãã®ãƒ—ロãƒã‚¤ãƒ€ã‹ã‚‰ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…を使用ã—ã¾ã™ã€‚ +.PP +\fIKeyStore\fRクラスã§ã¯ã€\fIgetDefaultType\fRã¨ã„ã†åå‰ã®staticメソッドを定義ã—ã€ã“れを使用ã™ã‚‹ã¨ã€ã‚¢ãƒ—リケーションãŠã‚ˆã³ã‚¢ãƒ—レットã‹ã‚‰\fIkeystore\&.type property\fRã®å€¤ã‚’å–å¾—ã§ãã¾ã™ã€‚次ã®ã‚³ãƒ¼ãƒ‰ã®è¡Œã§ã¯ã€\fIkeystore\&.type property\fRã§æŒ‡å®šã•れãŸã€ãƒ‡ãƒ•ォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¿ã‚¤ãƒ—ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’作æˆã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType()); +.fi +.if n \{\ +.RE +.\} +.PP +デフォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¿ã‚¤ãƒ—ã¯ã€\fIjks\fR +(OracleãŒæä¾›ã™ã‚‹ç‹¬è‡ªã®ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…)ã§ã™ã€‚ã“れã¯ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«å†…ã®æ¬¡ã®è¡Œã«ã‚ˆã£ã¦æŒ‡å®šã•れã¦ã„ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +keystore\&.type=jks +.fi +.if n \{\ +.RE +.\} +.PP +キーストアã®ã‚¿ã‚¤ãƒ—ã®æŒ‡å®šã§ã¯ã€å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•れã¾ã›ã‚“。ãŸã¨ãˆã°ã€\fIJKS\fRã¯\fIjks\fRã¨åŒã˜ã«ãªã‚Šã¾ã™ã€‚ +.PP +ツールã§ãƒ‡ãƒ•ォルト以外ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…を使用ã™ã‚‹ã«ã¯ã€ãã®è¡Œã‚’変更ã—ã¦åˆ¥ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—を指定ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\fIpkcs12\fRã¨å‘¼ã°ã‚Œã‚‹ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ã‚’æä¾›ã™ã‚‹ãƒ—ロãƒã‚¤ãƒ€ãƒ»ãƒ‘ッケージãŒã‚ã‚‹å ´åˆã€è¡Œã‚’次ã®ã‚ˆã†ã«å¤‰æ›´ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +keystore\&.type=pkcs12 +.fi +.if n \{\ +.RE +.\} +.PP +\fB注æ„: \fRPKCS 11プロãƒã‚¤ãƒ€ãƒ»ãƒ‘ッケージを使用ã™ã‚‹å ´åˆã€http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.htmlã«ã‚ã‚‹ +Java PKCS #11リファレンス・ガイドã®ã€ŒKeyToolã€ãŠã‚ˆã³ã€ŒJarSignerã€ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.SS "サãƒãƒ¼ãƒˆã•れるアルゴリズム" +.PP +デフォルトã§ã€\fIjarsigner\fRコマンドã§ã¯æ¬¡ã®ã„ãšã‚Œã‹ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’使用ã—ã¦JARファイルã«ç½²åã—ã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +SHA1ダイジェスト・アルゴリズムを使用ã—ãŸãƒ‡ã‚¸ã‚¿ãƒ«ç½²åアルゴリズム(DSA) +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +SHA256ダイジェスト・アルゴリズムを使用ã—ãŸRSAアルゴリズム。 +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +SHA256ã¨æ¥•円曲線デジタル署åアルゴリズム(ECDSA)を使用ã—ãŸæ¥•円曲線(EC)æš—å·æ–¹å¼ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ  +.RE +.PP +ç½²å者ã®å…¬é–‹éµã¨ç§˜å¯†éµãŒDSAéµã§ã‚ã‚‹å ´åˆã€\fIjarsigner\fRã¯SHAã¨DSAアルゴリズムを使用ã—ã¦JARファイルã«ç½²åã—ã¾ã™ã€‚ç½²å者ã®éµãŒRSAéµã§ã‚ã‚‹å ´åˆã€\fIjarsigner\fRã¯SHA256ã¨RSAアルゴリズムを使用ã—ã¦JARファイルã«ç½²åã—よã†ã¨ã—ã¾ã™ã€‚ç½²å者ã®éµãŒECéµã§ã‚ã‚‹å ´åˆã€\fIjarsigner\fRã¯SHA256ã¨ECDSAアルゴリズムを使用ã—ã¦JARファイルã«ç½²åã—ã¾ã™ã€‚ +.PP +ã“れらã®ãƒ‡ãƒ•ォルトã®ç½²åアルゴリズムã¯ã€\fI\-sigalg\fRオプションを使用ã—ã¦ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã§ãã¾ã™ã€‚ +.SS "ç½²å付ãJARファイル" +.PP +\fIjarsigner\fRコマンドを使用ã—ã¦JARファイルã«ç½²åã™ã‚‹å ´åˆã€å‡ºåŠ›ã•れる署å付ãJARファイルã¯å…¥åŠ›JARファイルã¨åŒã˜ã§ã™ãŒã€æ¬¡ã®2ã¤ã®è¿½åŠ ãƒ•ã‚¡ã‚¤ãƒ«ãŒMETA\-INFディレクトリã«ç½®ã‹ã‚Œã‚‹ç‚¹ãŒç•°ãªã‚Šã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fI\&.SF\fRæ‹¡å¼µå­ã®ä»˜ã„ãŸç½²åファイル +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fI\&.DSA\fRã€\fI\&.RSA\fRã¾ãŸã¯\fI\&.EC\fRæ‹¡å¼µå­ã®ä»˜ã„ãŸç½²åブロック・ファイル +.RE +.PP +ã“れら2ã¤ã®ãƒ•ァイルã®ãƒ™ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã¯ã€\fI\-sigFile\fRオプションã®å€¤ã‹ã‚‰ä½œæˆã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€ã‚ªãƒ—ションãŒ\fI\-sigFile MKSIGN\fRã®å ´åˆã€ãƒ•ァイルã¯\fIMKSIGN\&.SF\fRãŠã‚ˆã³\fIMKSIGN\&.DSA\fRã¨ã„ã†åå‰ã«ãªã‚Šã¾ã™ã€‚ +.PP +コマンドラインã§\fI\-sigfile\fRオプションを指定ã—ãªã‹ã£ãŸå ´åˆã€\fI\&.SF\fRファイルã¨\fI\&.DSA\fRファイルã®ãƒ™ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã•れãŸåˆ¥åã®å…ˆé ­ã®8文字をã™ã¹ã¦å¤§æ–‡å­—ã«å¤‰æ›ã—ãŸã‚‚ã®ã«ãªã‚Šã¾ã™ã€‚別åãŒ8文字未満ã®å ´åˆã¯ã€åˆ¥åãŒãã®ã¾ã¾ä½¿ç”¨ã•れã¾ã™ã€‚別åã«ã€ç½²åファイルåã§ä½¿ç”¨ã§ããªã„文字ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ãƒ•ァイルåã®ä½œæˆæ™‚ã«ã€è©²å½“ã™ã‚‹æ–‡å­—ãŒä¸‹ç·š(_)文字ã«å¤‰æ›ã•れã¾ã™ã€‚æœ‰åŠ¹ãªæ–‡å­—ã¯ã€ã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆã€æ•°å­—ã€ä¸‹ç·šãŠã‚ˆã³ãƒã‚¤ãƒ•ンã§ã™ã€‚ +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBç½²åファイル\fR +.RS 4 +.PP +ç½²åファイル(\fI\&.SF\fRファイル)ã¯ã€\fIjarsigner\fRコマンドを使用ã—ã¦ãƒ•ァイルã«ç½²åã™ã‚‹éš›ã«JARファイルã«å¸¸ã«å«ã¾ã‚Œã‚‹ãƒžãƒ‹ãƒ•ェスト・ファイルã¨ä¼¼ã¦ã„ã¾ã™ã€‚JARファイルã«å«ã¾ã‚Œã¦ã„るソース・ファイルã”ã¨ã«ã€\fI\&.SF\fRファイルã«ã¯ã€ãƒžãƒ‹ãƒ•ェスト・ファイルã«ã‚るよã†ãªã€æ¬¡ã«ç¤ºã™3ã¤ã®è¡ŒãŒã‚りã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +ファイルå +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +ダイジェスト・アルゴリズム(SHA)ã®åå‰ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +SHAダイジェストã®å€¤ +.RE +.PP +マニフェスト・ファイルã§ã¯ã€å„ソース・ファイルã®SHAダイジェストã®å€¤ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ãƒã‚¤ãƒŠãƒªãƒ»ãƒ‡ãƒ¼ã‚¿ã®ãƒ€ã‚¤ã‚¸ã‚§ã‚¹ãƒˆ(ãƒãƒƒã‚·ãƒ¥)ã«ãªã‚Šã¾ã™ã€‚\fI\&.SF\fRファイルã§ã¯ã€æŒ‡å®šã•れãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ãƒ€ã‚¤ã‚¸ã‚§ã‚¹ãƒˆã®å€¤ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ãƒžãƒ‹ãƒ•ェスト・ファイル内ã®ãã®3行ã®ãƒãƒƒã‚·ãƒ¥ã«ãªã‚Šã¾ã™ã€‚ +.PP +ç½²åファイルã«ã¯ã€ãƒ‡ãƒ•ォルトã§ã€ãƒžãƒ‹ãƒ•ェスト・ファイル全体ã®ãƒãƒƒã‚·ãƒ¥ãŒæ ¼ç´ã•れãŸãƒ˜ãƒƒãƒ€ãƒ¼ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ヘッダーãŒå­˜åœ¨ã™ã‚‹ã¨ã€æ¤œè¨¼ã®æœ€é©åŒ–ãŒæœ‰åйã«ãªã‚Šã¾ã™ã€‚JARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBç½²åブロック・ファイル\fR +.RS 4 +.PP +\fI\&.SF\fRファイルã«ã¯ç½²åãŒä»˜ã‘られã€ç½²åã¯ç½²åブロック・ファイルã«ç½®ã‹ã‚Œã¾ã™ã€‚ã“ã®ãƒ•ァイルã«ã¯ã€ç½²åã«ä½¿ç”¨ã•れãŸç§˜å¯†éµã«å¯¾å¿œã™ã‚‹å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‹ã‚‰ã®è¨¼æ˜Žæ›¸ã¾ãŸã¯è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚‚ã€å†…部ã§ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã•れã¦å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ãƒ•ã‚¡ã‚¤ãƒ«ã®æ‹¡å¼µå­ã¯ã€ä½¿ç”¨ã•れるダイジェスト・アルゴリズムã«å¿œã˜ã¦ã€\fI\&.DSA\fRã€\fI\&.RSA\fRã¾ãŸã¯\fI\&.EC\fRã«ãªã‚Šã¾ã™ã€‚ +.RE +.SS "ç½²åタイムスタンプ" +.PP +\fIjarsigner\fRコマンドã§ã¯ã€JARファイルã®ç½²å時ã«ç½²åタイムスタンプを生æˆãŠã‚ˆã³ä¿å­˜ã§ãã¾ã™ã€‚ã•らã«ã€\fIjarsigner\fRã¯ä»£æ›¿ç½²å機構をサãƒãƒ¼ãƒˆã—ã¾ã™ã€‚ã“ã®å‹•作ã¯çœç•¥å¯èƒ½ã§ã€ç½²åæ™‚ã«æ¬¡ã®å„オプションã«ã‚ˆã£ã¦åˆ¶å¾¡ã•れã¾ã™ã€‚オプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-tsa \fIurl\fR +\-tsacert \fIalias\fR +\-altsigner \fIclass\fR +\-altsignerpath \fIclasspathlist\fR +\-tsapolicyid \fIpolicyid\fR +.fi +.if n \{\ +.RE +.\} +.SS "JARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼" +.PP +JARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼ãŒæˆåŠŸã™ã‚‹ã®ã¯ã€ç½²åãŒæœ‰åйã§ã‚りã€ã‹ã¤ç½²åã®ç”Ÿæˆä»¥é™ã«JARファイル内ã®ã©ã®ãƒ•ァイルも変更ã•れã¦ã„ãªã„å ´åˆã§ã™ã€‚JARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼ã¯ã€æ¬¡ã®æ‰‹é †ã§è¡Œã‚れã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04' 1.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 1." 4.2 +.\} +\fI\&.SF\fRファイルã®ç½²åを検証ã—ã¾ã™ã€‚ +.sp +検証ã§ã¯ã€å„ç½²åブロック(\fI\&.DSA\fR)ãƒ•ã‚¡ã‚¤ãƒ«ã«æ ¼ç´ã•れãŸç½²åãŒã€è¨¼æ˜Žæ›¸(ã¾ãŸã¯è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³)ã‚‚\fI\&.DSA\fRファイルã«ç¤ºã•れる公開éµã«å¯¾å¿œã™ã‚‹ç§˜å¯†éµã‚’使用ã—ã¦ç”Ÿæˆã•れãŸã“ã¨ã‚’確èªã—ã¾ã™ã€‚ã¾ãŸã€ç½²åãŒå¯¾å¿œã™ã‚‹ç½²å(\fI\&.SF\fR)ãƒ•ã‚¡ã‚¤ãƒ«ã®æœ‰åйãªç½²åã§ã‚ã‚‹ã“ã¨ãŒç¢ºèªã•れã€ãれã«ã‚ˆã‚Šã€\fI\&.SF\fRãƒ•ã‚¡ã‚¤ãƒ«ãŒæ”¹ã–ã‚“ã•れã¦ã„ãªã„ã“ã¨ã‚‚確èªã•れã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04' 2.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 2." 4.2 +.\} +\fI\&.SF\fRファイル内ã®å„エントリã«ç¤ºã•れるダイジェストをã€ãƒžãƒ‹ãƒ•ェスト内ã®å¯¾å¿œã™ã‚‹å„セクションã¨çªãã‚ã‚ã›ã¦æ¤œè¨¼ã—ã¾ã™ã€‚ +.sp +\fI\&.SF\fRファイルã«ã¯ã€ãƒžãƒ‹ãƒ•ェスト・ファイル全体ã®ãƒãƒƒã‚·ãƒ¥ãŒæ ¼ç´ã•れãŸãƒ˜ãƒƒãƒ€ãƒ¼ãŒãƒ‡ãƒ•ォルトã§å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ヘッダーãŒå­˜åœ¨ã™ã‚‹å ´åˆã€æ¤œè¨¼ã§ã¯ã€ãƒ˜ãƒƒãƒ€ãƒ¼å†…ã®ãƒãƒƒã‚·ãƒ¥ãŒãƒžãƒ‹ãƒ•ェスト・ファイルã®ãƒãƒƒã‚·ãƒ¥ã¨ä¸€è‡´ã™ã‚‹ã‹ã©ã†ã‹ã‚’確èªã™ã‚‹ãŸã‚ã«ãƒã‚§ãƒƒã‚¯ã§ãã¾ã™ã€‚一致ã™ã‚‹å ´åˆã€æ¤œè¨¼ã¯æ¬¡ã®æ‰‹é †ã«é€²ã¿ã¾ã™ã€‚ +.sp +一致ã—ãªã„å ´åˆã€\fI\&.SF\fRファイル内ã®å„ソース・ファイル情報セクションã®ãƒãƒƒã‚·ãƒ¥ãŒã€ãƒžãƒ‹ãƒ•ェスト・ファイル内ã®å¯¾å¿œã™ã‚‹ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã®ãƒãƒƒã‚·ãƒ¥ã¨ä¸€è‡´ã™ã‚‹ã“ã¨ã‚’確èªã™ã‚‹ãŸã‚ã«ã€ã‚ã¾ã‚Šæœ€é©åŒ–ã•れã¦ã„ãªã„検証ãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚ç½²åファイルをå‚ç…§ã—ã¦ãã ã•ã„。 +.sp +\fI\&.SF\fRファイルã®ãƒ˜ãƒƒãƒ€ãƒ¼ã«æ ¼ç´ã•れãŸãƒžãƒ‹ãƒ•ェスト・ファイルã®ãƒãƒƒã‚·ãƒ¥ãŒã€ç¾åœ¨ã®ãƒžãƒ‹ãƒ•ェスト・ファイルã®ãƒãƒƒã‚·ãƒ¥ã«ä¸€è‡´ã—ãªã„ç†ç”±ã®1ã¤ã¯ã€ç½²åãŠã‚ˆã³\fI\&.SF\fRファイルã®ç”Ÿæˆå¾Œã«ã€(\fIjar\fRツールを使用ã—ã¦)1ã¤ä»¥ä¸Šã®ãƒ•ァイルãŒJARファイルã«è¿½åŠ ã•れãŸã“ã¨ã§ã™ã€‚\fIjar\fRツールを使用ã—ã¦ãƒ•ァイルを追加ã—ãŸå ´åˆã€æ–°ã—ã„ファイル用ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ãŒè¿½åŠ ã•れるã“ã¨ã«ã‚ˆã‚Šã€ãƒžãƒ‹ãƒ•ェスト・ファイルã¯å¤‰æ›´ã•れã¾ã™ãŒã€\fI\&.SF\fRファイルã¯å¤‰æ›´ã•れã¾ã›ã‚“。検証ãŒã¾ã æˆåŠŸã—ã¦ã„ã‚‹ã¨ã¿ãªã•れるã®ã¯ã€ç½²åã®ç”Ÿæˆä»¥é™ã«JARファイル内ã®ã©ã®ãƒ•ァイルも変更ã•れã¦ã„ãªã„å ´åˆã§ã™ã€‚ã“れãŒç™ºç”Ÿã™ã‚‹ã®ã¯ã€\fI\&.SF\fRファイルã®ãƒ˜ãƒƒãƒ€ãƒ¼ä»¥å¤–ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã®ãƒãƒƒã‚·ãƒ¥ãŒã€ãƒžãƒ‹ãƒ•ェスト・ファイル内ã®å¯¾å¿œã™ã‚‹ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã®ãƒãƒƒã‚·ãƒ¥ã¨ä¸€è‡´ã™ã‚‹å ´åˆã§ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04' 3.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 3." 4.2 +.\} +\fI\&.SF\fRファイル内ã«ã‚¨ãƒ³ãƒˆãƒªã‚’æŒã¤JARファイル内ã®å„ファイルを読ã¿å–りã¾ã™ã€‚読å–り中ã«ãƒ•ァイルã®ãƒ€ã‚¤ã‚¸ã‚§ã‚¹ãƒˆã‚’計算ã—ã€çµæžœã‚’マニフェスト・セクション内ã®ã“ã®ãƒ•ァイルã®ãƒ€ã‚¤ã‚¸ã‚§ã‚¹ãƒˆã¨æ¯”較ã—ã¾ã™ã€‚ダイジェストã¯åŒã˜ã§ã‚ã‚‹å¿…è¦ãŒã‚りã€ãã†ã§ãªã„å ´åˆã¯æ¤œè¨¼ãŒå¤±æ•—ã—ã¾ã™ã€‚ +.sp +検証プロセス中ã«ãªã‚“らã‹ã®é‡å¤§ãªæ¤œè¨¼ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ãŸå ´åˆã€ãã®ãƒ—ロセスã¯åœæ­¢ã•れã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•れã¾ã™ã€‚\fIjarsigner\fRコマンドã§ã¯ã€ä¾‹å¤–ã‚’æ•æ‰ãŠã‚ˆã³è¡¨ç¤ºã—ã¾ã™ã€‚ +.RE +.if n \{\ +.sp +.\} +.RS 4 +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBNote\fR +.ps -1 +.br +.TS +allbox tab(:); +l. +T{ +ノート +.PP +追加ã®è­¦å‘Š(ã¾ãŸã¯ã€\fI\-strict\fRオプションを指定ã—ãŸå ´åˆã¯ã‚¨ãƒ©ãƒ¼)ã¯ã™ã¹ã¦èª­ã‚€å¿…è¦ãŒã‚りã¾ã™ã€‚åŒæ§˜ã«ã€è¨¼æ˜ŽãŒä¿¡é ¼ã§ãã‚‹ã‹ã‚’決定ã™ã‚‹ãŸã‚ã«ã€(\fI\-verbose\fRãŠã‚ˆã³\fI\-certs\fRオプションを指定ã—ã¦)証明書ã®å†…容も読む必è¦ãŒã‚りã¾ã™ã€‚ +T} +.TE +.sp 1 +.sp .5v +.RE +.SS "1ã¤ã®JARファイルを対象ã¨ã™ã‚‹è¤‡æ•°ã®ç½²å" +.PP +次ã®ã‚ˆã†ã«ã€\fIjarsigner\fRコマンドをファイルã§è¤‡æ•°å›žå®Ÿè¡Œã—ã€å®Ÿè¡Œã®ãŸã³ã«ç•°ãªã‚‹ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®åˆ¥åを指定ã™ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ã€1ã¤ã®JARファイルã«è¤‡æ•°ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ç½²åを付ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner myBundle\&.jar susan +jarsigner myBundle\&.jar kevin +.fi +.if n \{\ +.RE +.\} +.PP +JARファイルãŒè¤‡æ•°å›žç½²åã•れã¦ã„ã‚‹å ´åˆã€ãã®JARファイルã«ã¯ã€è¤‡æ•°ã®\fI\&.SF\fRファイルã¨\fI\&.DSA\fRファイルãŒå«ã¾ã‚Œã¦ãŠã‚Šã€1回ã®ç½²åã«å¯¾ã—ã¦1ã¤ã®ãƒšã‚¢ã¨ãªã‚Šã¾ã™ã€‚å‰è¿°ã®ä¾‹ã§ã¯ã€å‡ºåŠ›JARファイルã«ã¯ã€æ¬¡ã®åå‰ã®ãƒ•ァイルãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +SUSAN\&.SF +SUSAN\&.DSA +KEVIN\&.SF +KEVIN\&.DSA +.fi +.if n \{\ +.RE +.\} +.PP +\fB注æ„: \fRJARファイルã«ã¯ã€JDK 1\&.1ã®\fIjavakey\fRコマンドã«ã‚ˆã‚Šç”Ÿæˆã•れãŸç½²åã¨ã€\fIjarsigner\fRã«ã‚ˆã‚Šç”Ÿæˆã•れãŸç½²åを混在ã•ã›ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚\fIjarsigner\fRコマンドを使用ã—ã¦ã€\fIjavakey\fRコマンドã§ã™ã§ã«ç½²åã•れã¦ã„ã‚‹JARファイルã«ç½²åã§ãã¾ã™ã€‚ +.SH "オプション" +.PP +次ã®å„é …ã§ã¯ã€æ§˜ã€…ãª\fIjarsigner\fRオプションã«ã¤ã„ã¦èª¬æ˜Žã—ã¾ã™ã€‚æ¬¡ã®æ¨™æº–ã«æ³¨æ„ã—ã¦ãã ã•ã„。 +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +ã©ã®ã‚ªãƒ—ションåã«ã‚‚先頭ã«ãƒžã‚¤ãƒŠã‚¹è¨˜å·(\-)ãŒä»˜ãã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +オプションã¯ä»»æ„ã®é †åºã§æŒ‡å®šã§ãã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +イタリック体ã®é …ç›®ã®å®Ÿéš›ã®å€¤(オプションã®å€¤)ã¯ã€æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fI\-keystore\fRã€\fI\-storepass\fRã€\fI\-keypass\fRã€\fI\-sigfile\fRã€\fI\-sigalg\fRã€\fI\-digestalg\fRãŠã‚ˆã³\fI\-signedjar\fRオプションを使用ã§ãã‚‹ã®ã¯ã€JARファイルã«ç½²åã™ã‚‹å ´åˆã®ã¿ã§ã™ã€‚ç½²å付ãJARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼æ™‚ã«ã¯ã€ã“れらã¯é–¢ä¿‚ã‚りã¾ã›ã‚“ã€‚åŒæ§˜ã«ã€åˆ¥åã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã™ã‚‹ã®ã¯ã€JARファイルã¸ã®ç½²å時ã®ã¿ã§ã™ã€‚ +.RE +.PP +\-keystore \fIurl\fR +.RS 4 +キーストアã®å ´æ‰€ã‚’示ã™URLを指定ã—ã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€\fIuser\&.home\fRã‚·ã‚¹ãƒ†ãƒ ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ã§æ±ºå®šã•れãŸãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ›ãƒ¼ãƒ ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ãƒ•ァイル\fI\&.keystore\fRã«ãƒ‡ãƒ•ォルト設定ã•れã¾ã™ã€‚ +.sp +キーストアã¯ç½²å時ã«ã¯å¿…è¦ã§ã™ã€‚デフォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãŒå­˜åœ¨ã—ãªã„å ´åˆã€ã¾ãŸã¯ãƒ‡ãƒ•ォルト以外ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’使用ã™ã‚‹å ´åˆã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’æ˜Žç¤ºçš„ã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.sp +検証ã™ã‚‹ã¨ãã¯ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã¯å¿…è¦ã‚りã¾ã›ã‚“。ãŸã ã—ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãŒæŒ‡å®šã•れã¦ã„ã‚‹ã‹ã€ã‚ã‚‹ã„ã¯ãƒ‡ãƒ•ォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãŒå­˜åœ¨ã—ã¦ã„ã¦ã€ã•らã«\fI\-verbose\fRオプションも指定ã•れã¦ã„ãŸå ´åˆã€JARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼ã«ä½¿ç”¨ã•れる証明書ãŒãã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«1ã¤ã§ã‚‚å«ã¾ã‚Œã¦ã„ã‚‹ã‹ã©ã†ã‹ã«é–¢ã™ã‚‹è¿½åŠ æƒ…å ±ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.sp +\fI\-keystore\fR引数ã«ã¯ã€URLã§ã¯ãªãファイルåã¨ãƒ‘スを指定ã§ãã€ã“ã®å ´åˆã€ãƒ•ァイル: URLã¨åŒã˜ã‚ˆã†ã«å‡¦ç†ã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã«ã‚ˆã†ã«æŒ‡å®šã™ã‚‹ã¨åŒç­‰ã«ãªã‚Šã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-keystore \fIfilePathAndName\fR +.fi +.if n \{\ +.RE +.\} +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-keystore file:\fIfilePathAndName\fR +.fi +.if n \{\ +.RE +.\} +(JREã®\fI$JAVA_HOME/lib/security directory\fRã«ã‚ã‚‹) +\fIjava\&.security\fRセキュリティ・プロパティ・ファイル内ã§Sun PKCS #11プロãƒã‚¤ãƒ€ãŒæ§‹æˆã•れãŸå ´åˆã€\fIkeytool\fRãŠã‚ˆã³\fIjarsigner\fRツールã¯PKCS#11トークンã«åŸºã¥ã„ã¦å‹•作ã§ãã¾ã™ã€‚次ã®ã‚ªãƒ—ションを指定ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-keystore NONE +\-storetype PKCS11 +.fi +.if n \{\ +.RE +.\} +ãŸã¨ãˆã°ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€æ§‹æˆã•れãŸPKCS#11トークンã®å†…容を一覧表示ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-keystore NONE \-storetype PKCS11 \-list +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-storetype \fIstoretype\fR +.RS 4 +インスタンスを生æˆã™ã‚‹ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—を指定ã—ã¾ã™ã€‚デフォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¿ã‚¤ãƒ—ã¯ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ロパティ・ファイル内ã®\fIkeystore\&.type\fRプロパティã®å€¤ã§æŒ‡å®šã•れãŸã‚¿ã‚¤ãƒ—ã§ã€ã“ã®å€¤ã¯ã€\fIjava\&.security\&.KeyStore\fRã®static +\fIgetDefaultType\fRメソッドã«ã‚ˆã£ã¦è¿”ã•れã¾ã™ã€‚ +.sp +\fI\-storepass\fRオプションを使用ã—ã¦ã€PCKS #11トークンã®PINを指定ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚何も指定ã—ãªã„å ´åˆã€\fIkeytool\fRãŠã‚ˆã³\fIjarsigner\fRコマンドã«ã‚ˆã£ã¦ã€ãƒˆãƒ¼ã‚¯ãƒ³PINã®æŒ‡å®šã‚’求ã‚られã¾ã™ã€‚トークンã«ä¿è­·ã•れãŸèªè¨¼ãƒ‘ス(専用ã®PINパッドや生体読å–り機ãªã©)ãŒã‚ã‚‹å ´åˆã€\fI\-protected\fRオプションを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ãŒã€ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ãƒ»ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¯æŒ‡å®šã§ãã¾ã›ã‚“。 +.RE +.PP +\-storepass[:env | :file} \fIargument\fR +.RS 4 +キーストアã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã®ã«å¿…è¦ãªãƒ‘スワードを指定ã—ã¾ã™ã€‚ã“れãŒå¿…è¦ãªã®ã¯ã€JARファイルã«ç½²åを付ã‘ã‚‹ã¨ãã®ã¿ã§ã™(検証ã™ã‚‹ã¨ãã«ã¯ä¸è¦ã§ã™)。ãã®å ´åˆã€\fI\-storepass\fRã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãªã„ã¨ã€ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.sp +修飾å­\fIenv\fRã¾ãŸã¯\fIfile\fRãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ãƒ‘スワードã®å€¤ã¯\fIargument\fRã«ãªã‚Šã¾ã™ã€‚ãれ以外ã®å ´åˆã€ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ã¯æ¬¡ã®ã‚ˆã†ã«ã—ã¦å–å¾—ã•れã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fIenv\fR: +\fIargument\fRã¨ã„ã†åå‰ã®ç’°å¢ƒå¤‰æ•°ã‹ã‚‰ãƒ‘スワードをå–å¾—ã—ã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fIfile\fR: +\fIargument\fRã¨ã„ã†åå‰ã®ãƒ•ァイルã‹ã‚‰ãƒ‘スワードをå–å¾—ã—ã¾ã™ã€‚ +.RE +.sp +\fB注æ„:\fRテストを目的ã¨ã™ã‚‹å ´åˆã¾ãŸã¯ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ä¿è­·ã•れãŸã‚·ã‚¹ãƒ†ãƒ ã‚’使用ã—ã¦ã„ã‚‹å ´åˆä»¥å¤–ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚„スクリプトã§ãƒ‘スワードを指定ã—ãªã„ã§ãã ã•ã„。 +.RE +.PP +\-keypass [:env | :file] \fIargument\fR +.RS 4 +ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã•れãŸåˆ¥åã«å¯¾å¿œã™ã‚‹ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¨ãƒ³ãƒˆãƒªã®ç§˜å¯†éµã‚’ä¿è­·ã™ã‚‹ã®ã«ä½¿ç”¨ã™ã‚‹ãƒ‘スワードを指定ã—ã¾ã™ã€‚\fIjarsigner\fRを使用ã—ã¦JARファイルã«ç½²åを付ã‘ã‚‹ã¨ãã¯ã€ãƒ‘スワードãŒå¿…è¦ã§ã™ã€‚コマンドラインã§ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ãŒæŒ‡å®šã•れã¦ãŠã‚‰ãšã€å¿…è¦ãªãƒ‘スワードãŒã‚¹ãƒˆã‚¢ã®ãƒ‘スワードã¨ç•°ãªã‚‹å ´åˆã¯ã€ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.sp +修飾å­\fIenv\fRã¾ãŸã¯\fIfile\fRãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ãƒ‘スワードã®å€¤ã¯\fIargument\fRã«ãªã‚Šã¾ã™ã€‚ãれ以外ã®å ´åˆã€ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ã¯æ¬¡ã®ã‚ˆã†ã«ã—ã¦å–å¾—ã•れã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fIenv\fR: +\fIargument\fRã¨ã„ã†åå‰ã®ç’°å¢ƒå¤‰æ•°ã‹ã‚‰ãƒ‘スワードをå–å¾—ã—ã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fIfile\fR: +\fIargument\fRã¨ã„ã†åå‰ã®ãƒ•ァイルã‹ã‚‰ãƒ‘スワードをå–å¾—ã—ã¾ã™ã€‚ +.RE +.sp +\fB注æ„: \fRテストを目的ã¨ã™ã‚‹å ´åˆã¾ãŸã¯ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ä¿è­·ã•れãŸã‚·ã‚¹ãƒ†ãƒ ã‚’使用ã—ã¦ã„ã‚‹å ´åˆä»¥å¤–ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚„スクリプトã§ãƒ‘スワードを指定ã—ãªã„ã§ãã ã•ã„。 +.RE +.PP +\-sigfile \fIfile\fR +.RS 4 +生æˆã•れãŸ\fI\&.SF\fRファイルãŠã‚ˆã³\fI\&.DSA\fRファイルã«ä½¿ç”¨ã™ã‚‹ãƒ™ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåを指定ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ãƒ•ァイルãŒ\fIDUKESIGN\fRã®å ´åˆã€ç”Ÿæˆã•れる\fI\&.SF\fRãŠã‚ˆã³\fI\&.DSA\fRファイルã¯ã€\fIDUKESIGN\&.SF\fRãŠã‚ˆã³\fIDUKESIGN\&.DSA\fRã¨ã„ã†åå‰ã§ã€ç½²å付ãJARファイルã®\fIMETA\-INF\fRãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æ ¼ç´ã•れã¾ã™ã€‚ +.sp +ãƒ•ã‚¡ã‚¤ãƒ«å†…ã®æ–‡å­—ã¯ã€ã‚»ãƒƒãƒˆ\fIa\-zA\-Z0\-9_\-\fRã‹ã‚‰æŒ‡å®šã•れる必è¦ãŒã‚りã¾ã™ã€‚ã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆã€æ•°å­—ã€ä¸‹ç·šãŠã‚ˆã³ãƒã‚¤ãƒ•ン文字ã®ã¿ã‚’使用ã§ãã¾ã™ã€‚\fI\&.SF\fRãŠã‚ˆã³\fI\&.DSA\fRã®ãƒ•ァイルåã§ã¯ã€å°æ–‡å­—ã¯ã™ã¹ã¦å¤§æ–‡å­—ã«å¤‰æ›ã•れã¾ã™ã€‚ +.sp +コマンドラインã§\fI\-sigfile\fRオプションを指定ã—ãªã‹ã£ãŸå ´åˆã€\fI\&.SF\fRファイルã¨\fI\&.DSA\fRファイルã®ãƒ™ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã•れãŸåˆ¥åã®å…ˆé ­ã®8文字をã™ã¹ã¦å¤§æ–‡å­—ã«å¤‰æ›ã—ãŸã‚‚ã®ã«ãªã‚Šã¾ã™ã€‚別åãŒ8文字未満ã®å ´åˆã¯ã€åˆ¥åãŒãã®ã¾ã¾ä½¿ç”¨ã•れã¾ã™ã€‚別åã«ã€ç½²åファイルåã§ç„¡åŠ¹ãªæ–‡å­—ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ãƒ•ァイルåを作æˆã™ã‚‹ãŸã‚ã«ã€è©²å½“ã™ã‚‹æ–‡å­—ãŒä¸‹ç·š(_)文字ã«å¤‰æ›ã•れã¾ã™ã€‚ +.RE +.PP +\-sigalg \fIalgorithm\fR +.RS 4 +JARファイルã®ç½²åã«ä½¿ç”¨ã™ã‚‹ç½²åアルゴリズムã®åå‰ã‚’指定ã—ã¾ã™ã€‚ +.sp +標準的ãªç½²åアルゴリズムåã®ãƒªã‚¹ãƒˆã¯ã€http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppAã«ã‚ã‚‹ +Java Cryptography Architecture (JCA)リファレンス・ガイドã®ã€Œä»˜éŒ²A: 標準åã€ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.sp +ã“ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã«ã¯ã€JARファイルã®ç½²åã«ä½¿ç”¨ã™ã‚‹ç§˜å¯†éµã¨ã®äº’æ›æ€§ãŒå¿…è¦ã§ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã—ãªã„å ´åˆã€ç§˜å¯†éµã®ã‚¿ã‚¤ãƒ—ã«å¿œã˜ã¦ã€\fISHA1withDSA\fRã€\fISHA256withRSA\fRã¾ãŸã¯\fISHA256withECDSA\fRãŒä½¿ç”¨ã•れã¾ã™ã€‚指定ã•れãŸã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã®å®Ÿè£…ã‚’æä¾›ã™ã‚‹ãƒ—ロãƒã‚¤ãƒ€ãŒé™çš„ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ã‚‹ã‹ã€\fI\-providerClass\fRオプションを使用ã—ã¦ãã®ã‚ˆã†ãªãƒ—ロãƒã‚¤ãƒ€ã‚’ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒæŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãã†ã§ãªã„å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ã¯å¤±æ•—ã—ã¾ã™ã€‚ +.RE +.PP +\-digestalg \fIalgorithm\fR +.RS 4 +JARファイルã®ã‚¨ãƒ³ãƒˆãƒªã‚’ダイジェストã™ã‚‹éš›ã«ä½¿ç”¨ã™ã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãƒ»ãƒ€ã‚¤ã‚¸ã‚§ã‚¹ãƒˆãƒ»ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã®åå‰ã‚’指定ã—ã¾ã™ã€‚ +.sp +標準的ãªãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãƒ»ãƒ€ã‚¤ã‚¸ã‚§ã‚¹ãƒˆãƒ»ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ åã®ãƒªã‚¹ãƒˆã¯ã€http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppAã«ã‚ã‚‹ +Java Cryptography Architecture (JCA)リファレンス・ガイドã®ã€Œä»˜éŒ²A: 標準åã€ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.sp +ã“ã®ã‚ªãƒ—ションを指定ã—ãªã„å ´åˆã€\fISHA256\fRãŒä½¿ç”¨ã•れã¾ã™ã€‚指定ã•れãŸã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã®å®Ÿè£…ã‚’æä¾›ã™ã‚‹ãƒ—ロãƒã‚¤ãƒ€ãŒé™çš„ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ã‚‹ã‹ã€\fI\-providerClass\fRオプションを使用ã—ã¦ãã®ã‚ˆã†ãªãƒ—ロãƒã‚¤ãƒ€ã‚’ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒæŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãã†ã§ãªã„å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ã¯å¤±æ•—ã—ã¾ã™ã€‚ +.RE +.PP +\-certs +.RS 4 +コマンドラインã§ã€\fI\-certs\fRオプションを\fI\-verify\fRãŠã‚ˆã³\fI\-verbose\fRオプションã¨ã¨ã‚‚ã«æŒ‡å®šã—ãŸå ´åˆã€JARファイルã®å„ç½²å者ã®è¨¼æ˜Žæ›¸æƒ…å ±ãŒå‡ºåŠ›ã«å«ã¾ã‚Œã¾ã™ã€‚ã“ã®æƒ…å ±ã«ã¯ã€ç½²å者ã®å…¬é–‹éµã‚’証明ã™ã‚‹è¨¼æ˜Žæ›¸(\fI\&.DSA\fRãƒ•ã‚¡ã‚¤ãƒ«ã«æ ¼ç´)ã®ã‚¿ã‚¤ãƒ—ã®åå‰ãŒå«ã¾ã‚Œã€è¨¼æ˜Žæ›¸ãŒX\&.509証明書(\fIjava\&.security\&.cert\&.X509Certificate\fRã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹)ã®å ´åˆã€ç½²å者ã®è­˜åˆ¥åãŒå«ã¾ã‚Œã¾ã™ã€‚ +.sp +キーストアã®ç¢ºèªã‚‚行ã‚れã¾ã™ã€‚コマンドラインã§ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å€¤ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ãƒ‡ãƒ•ォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ãƒ•ァイル(ã‚ã‚‹å ´åˆ)ãŒãƒã‚§ãƒƒã‚¯ã•れã¾ã™ã€‚ç½²å者ã®å…¬é–‹éµã®è¨¼æ˜Žæ›¸ãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®ã‚¨ãƒ³ãƒˆãƒªã¨ä¸€è‡´ã™ã‚‹å ´åˆã€ãã®ç½²å者ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¨ãƒ³ãƒˆãƒªã®åˆ¥åãŒä¸¸ã‚«ãƒƒã‚³å†…ã«è¡¨ç¤ºã•れã¾ã™ã€‚キーストアã§ã¯ãªãJDK 1\&.1ã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã«ç”±æ¥ã™ã‚‹ç½²å者ã®å ´åˆã€åˆ¥åã¯ä¸¸ã‚«ãƒƒã‚³ã§ã¯ãªã大カッコ内ã«è¡¨ç¤ºã•れã¾ã™ã€‚ +.RE +.PP +\-certchain \fIfile\fR +.RS 4 +ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãŸåˆ¥åã«ã‚ˆã£ã¦è¡¨ã•れるキーストア・エントリã®ç§˜å¯†éµã«é–¢é€£ä»˜ã‘られãŸè¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ãŒå®Œå…¨ã§ã¯ãªã„å ´åˆã«ã€ä½¿ç”¨ã™ã‚‹è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’指定ã—ã¾ã™ã€‚ã“れã¯ã€è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³å…¨ä½“ã‚’ä¿æŒã™ã‚‹ã®ã«å分ãªé ˜åŸŸãŒãªã„ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢ãƒ»ãƒˆãƒ¼ã‚¯ãƒ³ä¸Šã«ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãŒæ ¼ç´ã•れã¦ã„ã‚‹å ´åˆã«ç™ºç”Ÿã—ã¾ã™ã€‚ã“ã®ãƒ•ァイルã¯ä¸€é€£ã®é€£çµã•れãŸX\&.509証明書ã€PKCS#7å½¢å¼ã®å˜ä¸€ãƒ‡ãƒ¼ã‚¿ãƒ»ãƒ–ロックã®ã„ãšã‚Œã‹ã¨ãªã‚Šã€ãã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°å½¢å¼ã¯ãƒã‚¤ãƒŠãƒªãƒ»ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°å½¢å¼ã€Internet RFC 1421標準ã§è¦å®šã•れるå°åˆ·å¯èƒ½ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°å½¢å¼(Base64エンコーディングã¨ã‚‚呼ã°ã‚Œã‚‹)ã®ã„ãšã‚Œã‹ã«ãªã‚Šã¾ã™ã€‚インターãƒãƒƒãƒˆRFC 1421証明書符å·åŒ–è¦æ ¼ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.PP +\-verbose +.RS 4 +コマンドラインã§\fI\-verbose\fRオプションを指定ã—ãŸå ´åˆã€å†—長モードã§å‹•作ã—ã€ã“ã®ãƒ¢ãƒ¼ãƒ‰ã§ã¯ã€\fIjarsigner\fRã¯ã€JARã®ç½²åã¾ãŸã¯æ¤œè¨¼ã®é€²è¡Œçжæ³ã«é–¢ã™ã‚‹è¿½åŠ æƒ…å ±ã‚’å‡ºåŠ›ã—ã¾ã™ã€‚ +.RE +.PP +\-internalsf +.RS 4 +以å‰ã¯ã€JARファイルã®ç½²å時ã«ç”Ÿæˆã•れãŸ\fI\&.DSA\fR +(ç½²åブロック)ファイルã«ã€ç”Ÿæˆã•れãŸ\fI\&.SF\fRファイル(ç½²åファイル)ã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã•れãŸå®Œå…¨ãªã‚³ãƒ”ーãŒå«ã¾ã‚Œã¦ã„ã¾ã—ãŸã€‚ ã“ã®å‹•作ã¯å¤‰æ›´ã•れã¾ã—ãŸã€‚出力JARファイル全体ã®ã‚µã‚¤ã‚ºã‚’å°ã•ãã™ã‚‹ãŸã‚ã«ã€ãƒ‡ãƒ•ォルトã§ã¯\fI\&.DSA\fRファイルã«ã¯\fI\&.SF\fRファイルã®ã‚³ãƒ”ーãŒå«ã¾ã‚Œãªã„よã†ã«ãªã£ã¦ã„ã¾ã™ã€‚コマンドラインã§\fI\-internalsf\fRを指定ã—ãŸå ´åˆã€ä»¥å‰ã¨åŒã˜ã‚ˆã†ã«å‹•作ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€ãƒ†ã‚¹ãƒˆã‚’行ã†å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚実際ã«ã¯ã€\fI\-internalsf\fRオプションã¯ã€ã‚ªãƒ¼ãƒãƒ¼ãƒ˜ãƒƒãƒ‰ãŒå¤§ãããªã‚‹ãŸã‚ã€ä½¿ç”¨ã—ãªã„ã§ãã ã•ã„。 +.RE +.PP +\-sectionsonly +.RS 4 +コマンドラインã§\fI\-sectionsonly\fRオプションを指定ã—ãŸå ´åˆã€JARファイルã®ç½²å時ã«ç”Ÿæˆã•れる\fI\&.SF\fRファイル(ç½²åファイル)ã«ã¯ã€ãƒžãƒ‹ãƒ•ェスト・ファイル全体ã®ãƒãƒƒã‚·ãƒ¥ã‚’å«ã‚€ãƒ˜ãƒƒãƒ€ãƒ¼ã¯å«ã¾ã‚Œã¾ã›ã‚“。ã“れã«å«ã¾ã‚Œã‚‹ã®ã¯ã€JARファイル内ã®å„ソース・ファイルã«é–¢é€£ã™ã‚‹æƒ…å ±ãŠã‚ˆã³ãƒãƒƒã‚·ãƒ¥ã®ã¿ã§ã™ã€‚ç½²åファイルをå‚ç…§ã—ã¦ãã ã•ã„。 +.sp +デフォルトã§ã¯ã€æœ€é©åŒ–ã®ãŸã‚ã«ã€ã“ã®ãƒ˜ãƒƒãƒ€ãƒ¼ãŒè¿½åŠ ã•れã¾ã™ã€‚ヘッダーãŒå­˜åœ¨ã™ã‚‹å ´åˆã€JARファイルを検証ã™ã‚‹ãŸã³ã«ã€æ¤œè¨¼ã§ã¯ã€ã¾ãšãƒ˜ãƒƒãƒ€ãƒ¼å†…ã®ãƒãƒƒã‚·ãƒ¥ãŒãƒžãƒ‹ãƒ•ェスト・ファイル全体ã®ãƒãƒƒã‚·ãƒ¥ã¨ä¸€è‡´ã™ã‚‹ã‹ã©ã†ã‹ã‚’確èªã™ã‚‹ãŸã‚ã«ãƒã‚§ãƒƒã‚¯ã§ãã¾ã™ã€‚一致ã™ã‚‹å ´åˆã€æ¤œè¨¼ã¯æ¬¡ã®æ‰‹é †ã«é€²ã¿ã¾ã™ã€‚一致ã—ãªã„å ´åˆã€\fI\&.SF\fRファイル内ã®å„ソース・ファイル情報セクションã®ãƒãƒƒã‚·ãƒ¥ãŒã€ãƒžãƒ‹ãƒ•ェスト・ファイル内ã®å¯¾å¿œã™ã‚‹ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã®ãƒãƒƒã‚·ãƒ¥ã¨ä¸€è‡´ã™ã‚‹ã¨ã„ã†ã€ã‚ã¾ã‚Šæœ€é©åŒ–ã•れã¦ã„ãªã„検証を実行ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚JARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.sp +\fI\-sectionsonly\fRオプションã¯ã€ä¸»ã«ãƒ†ã‚¹ãƒˆç”¨ã«ä½¿ç”¨ã•れã¾ã™ã€‚ã“れを使用ã™ã‚‹ã¨ã‚ªãƒ¼ãƒãƒ¼ãƒ˜ãƒƒãƒ‰ãŒå¤§ãããªã‚‹ãŸã‚ã€ãƒ†ã‚¹ãƒˆç”¨ä»¥å¤–ã§ã¯ä½¿ç”¨ã—ãªã„ã§ãã ã•ã„。 +.RE +.PP +\-protected +.RS 4 +\fItrue\fRã¾ãŸã¯\fIfalse\fRã®ã„ãšã‚Œã‹ã®å€¤ã‚’指定ã§ãã¾ã™ã€‚専用PINリーダーãªã©ã®ä¿è­·ã•れãŸèªè¨¼ãƒ‘スã«ã‚ˆã£ã¦ãƒ‘スワードを指定ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã€\fItrue\fRを指定ã—ã¾ã™ã€‚ +.RE +.PP +\-providerClass \fIprovider\-class\-name\fR +.RS 4 +æš—å·åŒ–サービス・プロãƒã‚¤ãƒ€ãŒ\fIjava\&.security\fRã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã«æŒ‡å®šã•れã¦ã„ãªã„ã¨ãã¯ã€ãã®ãƒžã‚¹ã‚¿ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®åå‰ã‚’指定ã™ã‚‹ã¨ãã«ä½¿ç”¨ã•れã¾ã™ã€‚ +.sp +\fI\-providerArg \fR\fIConfigFilePath\fRオプションã¨ã¨ã‚‚ã«ä½¿ç”¨ã—ã€\fIkeytool\fRãŠã‚ˆã³\fIjarsigner\fRツールã¯ã€ãƒ—ロãƒã‚¤ãƒ€ã‚’å‹•çš„ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ã€ãƒˆãƒ¼ã‚¯ãƒ³æ§‹æˆãƒ•ァイルã¸ã®ãƒ‘スã«\fIConfigFilePath\fRを使用ã—ã¾ã™ã€‚次ã®ä¾‹ã¯ã€Oracle PKCS #11プロãƒã‚¤ãƒ€ãŒã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã«æ§‹æˆã•れã¦ã„ãªã‹ã£ãŸå ´åˆã«\fIPKCS #11\fRキーストアを一覧表示ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã‚’示ã—ã¦ã„ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-keystore NONE \-storetype PKCS11 \e + \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e + \-providerArg /mydir1/mydir2/token\&.config \e + \-list +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-providerName \fIproviderName\fR +.RS 4 +\fIjava\&.security\fRセキュリティ・プロパティ・ファイル内ã§2ã¤ä»¥ä¸Šã®ãƒ—ロãƒã‚¤ãƒ€ãŒæ§‹æˆã•れãŸå ´åˆã€\fI\-providerName\fRオプションを使用ã—ã¦ã€ç‰¹å®šã®ãƒ—ロãƒã‚¤ãƒ€ãƒ»ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’対象ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã®å¼•æ•°ã¯ã€ãƒ—ロãƒã‚¤ãƒ€ã®åå‰ã§ã™ã€‚ +.sp +Oracle PKCS #11プロãƒã‚¤ãƒ€ã®å ´åˆã€\fIproviderName\fRã¯\fISunPKCS11\-\fR\fITokenName\fRã¨ã„ã†å½¢å¼ã«ãªã‚Šã¾ã™ã€‚ã“ã“ã§ã€æ§‹æˆå±žæ€§ã®è¡¨ã§è©³ç´°ã«èª¬æ˜Žã•れã¦ã„るよã†ã«ã€\fITokenName\fRã¯ã€ãƒ—ロãƒã‚¤ãƒ€ãƒ»ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ãŒæ§‹æˆã•れãŸåå‰ã®æŽ¥å°¾è¾žã§ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€åå‰æŽ¥å°¾è¾ž\fISmartCard\fRã®\fIPKCS #11\fRキーストア・プロãƒã‚¤ãƒ€ãƒ»ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã®å†…容を一覧表示ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-keystore NONE \-storetype PKCS11 \e + \-providerName SunPKCS11\-SmartCard \e + \-list +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-J\fIjavaoption\fR +.RS 4 +指定ã•れãŸ\fIjavaoption\fR文字列をJavaインタプリタã«ç›´æŽ¥æ¸¡ã—ã¾ã™ã€‚\fIjarsigner\fRコマンドã¯ã€ã‚¤ãƒ³ã‚¿ãƒ—リタã«å¯¾ã™ã‚‹ãƒ©ãƒƒãƒ‘ーã§ã™ã€‚ã“ã®ã‚ªãƒ—ションã«ã¯ã€ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションã¯ã€å®Ÿè¡Œç’°å¢ƒã¾ãŸã¯ãƒ¡ãƒ¢ãƒªãƒ¼ä½¿ç”¨ã‚’調整ã™ã‚‹å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚指定ã§ãるインタプリタ・オプションを一覧表示ã™ã‚‹ã«ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§\fIjava \-h\fRã¾ãŸã¯\fIjava \-X\fRã¨å…¥åŠ›ã—ã¦ãã ã•ã„。 +.RE +.PP +\-tsa \fIurl\fR +.RS 4 +\fI\-tsa http://example\&.tsa\&.url\fRãŒJARファイルã®ç½²å時ã«ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«ã‚ã‚‹å ´åˆã€ç½²åã®ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ãŒç”Ÿæˆã•れã¾ã™ã€‚URL +\fIhttp://example\&.tsa\&.url\fRã¯ã€Time Stamping Authority (TSA)ã®å ´æ‰€ã‚’特定ã—ã€\fI\-tsacert\fRオプションを指定ã—ã¦æ¤œå‡ºã•れãŸURLをオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚\fI\-tsa\fRオプションã§ã¯ã€TSAã®å…¬é–‹éµè¨¼æ˜Žæ›¸ã‚’キーストアã«é…ç½®ã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。 +.sp +タイムスタンプを生æˆã™ã‚‹ãŸã‚ã«ã€\fIjarsigner\fRã¯ã€RFC 3161ã§å®šç¾©ã•れã¦ã„るタイムスタンプ・プロトコル(TSP)を使用ã—ã¦TSAã¨é€šä¿¡ã—ã¾ã™ã€‚æˆåŠŸã™ã‚‹ã¨ã€TSAã«ã‚ˆã£ã¦è¿”ã•れãŸã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—・トークンã¯ã€ç½²åブロック・ファイルã®ç½²åã¨ã¨ã‚‚ã«ä¿å­˜ã•れã¾ã™ã€‚ +.RE +.PP +\-tsacert \fIalias\fR +.RS 4 +\fI\-tsacert\fR +\fIalias\fRãŒJARファイルã®ç½²å時ã«ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«ã‚ã‚‹å ´åˆã€ç½²åã®ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ãŒç”Ÿæˆã•れã¾ã™ã€‚別åã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®æœ‰åйãªTSAã®å…¬é–‹éµè¨¼æ˜Žæ›¸ã‚’特定ã—ã¾ã™ã€‚エントリã®è¨¼æ˜Žæ›¸ã§ã€TSAã®å ´æ‰€ã‚’特定ã™ã‚‹URLã‚’å«ã‚€Subject Information Access拡張機能ãŒç¢ºèªã•れã¾ã™ã€‚ +.sp +\fI\-tsacert\fRオプションを使用ã™ã‚‹å ´åˆã¯ã€TSAã®å…¬é–‹éµè¨¼æ˜Žæ›¸ãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«é…ç½®ã•れã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.RE +.PP +\-tsapolicyid \fIpolicyid\fR +.RS 4 +TSAサーãƒãƒ¼ã«é€ä¿¡ã™ã‚‹ãƒãƒªã‚·ãƒ¼IDを識別ã™ã‚‹ã‚ªãƒ–ジェクト識別å­(OID)を指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã—ãªã„å ´åˆã€ãƒãƒªã‚·ãƒ¼IDã¯é€ä¿¡ã•れãšã€TSAサーãƒãƒ¼ã¯ãƒ‡ãƒ•ォルトã®ãƒãƒªã‚·ãƒ¼IDã‚’é¸æŠžã—ã¾ã™ã€‚ +.sp +オブジェクト識別å­ã¯ã€ITU Telecommunication Standardization Sector (ITU\-T)標準ã§ã‚ã‚‹X\&.696ã«ã‚ˆã£ã¦å®šç¾©ã•れã¾ã™ã€‚ã“れらã®è­˜åˆ¥å­ã¯ã€é€šå¸¸ã€\fI1\&.2\&.3\&.4\fRãªã©ã®ã€è² ã§ã¯ãªã„æ•°å­—ã®ãƒ”リオド区切りã®ã‚»ãƒƒãƒˆã§ã™ã€‚ +.RE +.PP +\-altsigner \fIclass\fR +.RS 4 +ã“ã®ã‚ªãƒ—ションã¯ã€ä»£æ›¿ç½²åメカニズムを指定ã—ã¾ã™ã€‚完全修飾クラスåã¯ã€\fIcom\&.sun\&.jarsigner\&.ContentSigner\fR抽象クラスを拡張ã™ã‚‹ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを識別ã—ã¾ã™ã€‚ã“ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã¸ã®ãƒ‘スã¯ã€\fI\-altsignerpath\fRオプションã«ã‚ˆã£ã¦å®šç¾©ã•れã¾ã™ã€‚\fI\-altsigner\fRオプションを使用ã—ãŸå ´åˆã€\fIjarsigner\fRコマンドã§ã¯ã€æŒ‡å®šã•れãŸã‚¯ãƒ©ã‚¹ã«ã‚ˆã£ã¦æä¾›ã•れる署åメカニズムを使用ã—ã¾ã™ã€‚ãれ以外ã®å ´åˆã€\fIjarsigner\fRコマンドã¯ãƒ‡ãƒ•ォルトã®ç½²åメカニズムを使用ã—ã¾ã™ã€‚ +.sp +ãŸã¨ãˆã°ã€\fIcom\&.sun\&.sun\&.jarsigner\&.AuthSigner\fRã¨ã„ã†åå‰ã®ã‚¯ãƒ©ã‚¹ãŒæä¾›ã™ã‚‹ç½²åメカニズムを使用ã™ã‚‹ã«ã¯ã€jarsignerã®ã‚ªãƒ—ション\fI\-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fRを使用ã—ã¾ã™ã€‚ +.RE +.PP +\-altsignerpath \fIclasspathlist\fR +.RS 4 +クラス・ファイルãŠã‚ˆã³ãれãŒä¾å­˜ã™ã‚‹JARファイルã¸ã®ãƒ‘スを指定ã—ã¾ã™ã€‚\fI\-altsigner\fRオプションを使用ã—ã¦ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルåを指定ã—ã¾ã™ã€‚クラス・ファイルãŒJARファイル内ã«ã‚ã‚‹å ´åˆã€ã“ã®ã‚ªãƒ—ションã§ã¯ã€ãã®JARファイルã¸ã®ãƒ‘スを指定ã—ã¾ã™ã€‚ +.sp +絶対パスã¾ãŸã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¸ã®ç›¸å¯¾ãƒ‘スを指定ã§ãã¾ã™ã€‚\fIclasspathlist\fRã«è¤‡æ•°ã®ãƒ‘スやJARファイルãŒå«ã¾ã‚Œã‚‹å ´åˆã€ãれらをã€Oracle Solarisã®å ´åˆã¯ã‚³ãƒ­ãƒ³(:)ã§ã€Windowsã®å ´åˆã¯ã‚»ãƒŸã‚³ãƒ­ãƒ³(;)ã§ã€ãれãžã‚ŒåŒºåˆ‡ã‚Šã¾ã™ã€‚目的ã®ã‚¯ãƒ©ã‚¹ãŒã™ã§ã«æ¤œç´¢ãƒ‘ス内ã«ã‚ã‚‹å ´åˆã¯ã€ã“ã®ã‚ªãƒ—ションã¯ä¸è¦ã§ã™ã€‚ +.sp +次ã®ä¾‹ã§ã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルをå«ã‚€JARファイルã¸ã®ãƒ‘スを指定ã™ã‚‹æ–¹æ³•を示ã—ã¾ã™ã€‚JARファイルåã‚’å«ã‚ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-altsignerpath /home/user/lib/authsigner\&.jar +.fi +.if n \{\ +.RE +.\} +次ã®ä¾‹ã§ã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルをå«ã‚€JARファイルã¸ã®ãƒ‘スを指定ã™ã‚‹æ–¹æ³•を示ã—ã¾ã™ã€‚JARファイルåã‚’çœç•¥ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/ +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-strict +.RS 4 +ç½²åã¾ãŸã¯æ¤œè¨¼å‡¦ç†ä¸­ã«ã€ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã‚Šè­¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒç™ºè¡Œã•れる場åˆãŒã‚りã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã‚Šæ¤œå‡ºã•れãŸé‡å¤§ãªè­¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒãƒ„ールã®çµ‚了コードã«å映ã•れã¾ã™ã€‚エラーã¨è­¦å‘Šã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.PP +\-verbose \fIsuboptions\fR +.RS 4 +検証処ç†ã®å ´åˆã€\fI\-verbose\fRオプションã«ã¯ã€è¡¨ç¤ºã™ã‚‹æƒ…å ±ã®é‡ã‚’決定ã™ã‚‹ã‚µãƒ–オプションを指定ã—ã¾ã™ã€‚\fI\-certs\fRオプションも指定ã—ãŸå ´åˆã€ãƒ‡ãƒ•ォルト・モード(ã¾ãŸã¯ã‚µãƒ–オプション\fIall\fR)ã§ã¯ã€ã‚¨ãƒ³ãƒˆãƒªãŒå‡¦ç†ã•れるãŸã³ã«å„エントリãŒè¡¨ç¤ºã•れã€ãã®å¾Œã«JARファイルã®å„ç½²å者ã®è¨¼æ˜Žæ›¸æƒ…報も表示ã•れã¾ã™ã€‚\fI\-certs\fRãŠã‚ˆã³\fI\-verbose:grouped\fRサブオプションを指定ã—ãŸå ´åˆã€åŒã˜ç½²å者情報をæŒã¤ã‚¨ãƒ³ãƒˆãƒªãŒã€ãã®è¨¼æ˜Žæ›¸æƒ…å ±ã¨ã¨ã‚‚ã«ã€ã‚°ãƒ«ãƒ¼ãƒ—化ã•れã¦è¡¨ç¤ºã•れã¾ã™ã€‚\fI\-certs\fRãŠã‚ˆã³\fI\-verbose:summary\fRサブオプションを指定ã—ãŸå ´åˆã€åŒã˜ç½²å者情報をæŒã¤ã‚¨ãƒ³ãƒˆãƒªãŒã€ãã®è¨¼æ˜Žæ›¸æƒ…å ±ã¨ã¨ã‚‚ã«ã€ã‚°ãƒ«ãƒ¼ãƒ—化ã•れã¦è¡¨ç¤ºã•れã¾ã™ã€‚å„エントリã®è©³ç´°ã¯ã€\fI1ã¤ã®ã‚¨ãƒ³ãƒˆãƒª(以上)\fRã«ã¾ã¨ã‚られã¦è¡¨ç¤ºã•れã¾ã™ã€‚例をå‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.SH "エラーã¨è­¦å‘Š" +.PP +ç½²åã¾ãŸã¯æ¤œè¨¼ãƒ—ロセス中ã«ã€\fIjarsigner\fRコマンドã§ã€æ§˜ã€…ãªã‚¨ãƒ©ãƒ¼ã¾ãŸã¯è­¦å‘ŠãŒç™ºè¡Œã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.PP +障害ãŒã‚ã‚‹å ´åˆã€\fIjarsigner\fRコマンドã¯ã‚³ãƒ¼ãƒ‰1ã§çµ‚了ã—ã¾ã™ã€‚障害ã¯ãªã„ãŒã€1ã¤ä»¥ä¸Šã®é‡å¤§ãªè­¦å‘ŠãŒã‚ã‚‹å ´åˆã€\fI\-strict\fRã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦\fBã„ãªã„\fRå ´åˆã¯ã€\fIjarsigner\fRコマンドã¯ã‚³ãƒ¼ãƒ‰0ã§çµ‚了ã—ã€\fI\-strict\fRãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯è­¦å‘Šã‚³ãƒ¼ãƒ‰ã®OR値ã§çµ‚了ã—ã¾ã™ã€‚情報警告ã®ã¿ãŒã‚ã‚‹ã€ã¾ãŸã¯è­¦å‘ŠãŒã¾ã£ãŸããªã„å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ã¯å¸¸ã«ã‚³ãƒ¼ãƒ‰0ã§çµ‚了ã—ã¾ã™ã€‚ +.PP +ãŸã¨ãˆã°ã€ã‚¨ãƒ³ãƒˆãƒªã®ç½²åã«ä½¿ç”¨ã•ã‚Œã‚‹è¨¼æ˜Žæ›¸ãŒæœŸé™åˆ‡ã‚Œã§ã€ãƒ•ァイルã®ç½²åを許å¯ã—ãªã„KeyUsage拡張機能を使用ã—ã¦ã„ã‚‹å ´åˆã€\fI\-strict\fRã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹ã¨ã€\fIjarsigner\fRコマンドã¯ã‚³ãƒ¼ãƒ‰12 (=4+8)ã§çµ‚了ã—ã¾ã™ã€‚ +.if n \{\ +.sp +.\} +.RS 4 +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBNote\fR +.ps -1 +.br +.TS +allbox tab(:); +l. +T{ +ノート +.PP +Unixベースã®ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ã§ã¯0ã‹ã‚‰255ã¾ã§ã®å€¤ã®ã¿ãŒæœ‰åйã®ãŸã‚ã€çµ‚了コードã¯å†åˆ©ç”¨ã•れã¾ã™ã€‚ +T} +.TE +.sp 1 +.sp .5v +.RE +.PP +次ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã§ã¯ã€\fIjarsigner\fRコマンドã«ã‚ˆã‚Šç™ºè¡Œã§ãるエラーãŠã‚ˆã³è­¦å‘Šã®åå‰ã€ã‚³ãƒ¼ãƒ‰ã€èª¬æ˜Žã‚’記述ã—ã¾ã™ã€‚ +.SS "障害" +.PP +コマンドライン解æžã‚¨ãƒ©ãƒ¼ã€JARファイルã«ç½²åã™ã‚‹éµãƒšã‚¢ã‚’検索ã§ããªã„ã€ã¾ãŸã¯ç½²å付ãJARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼å¤±æ•—ãªã©(é™å®šã•れã¾ã›ã‚“)ã€\fIjarsigner\fRコマンドã®å¤±æ•—ç†ç”±ã€‚ +.PP +failure +.RS 4 +コード1。署åã¾ãŸã¯æ¤œè¨¼ãŒå¤±æ•—ã—ã¾ã™ã€‚ +.RE +.SS "é‡å¤§ãªè­¦å‘Š" +.if n \{\ +.sp +.\} +.RS 4 +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBNote\fR +.ps -1 +.br +.TS +allbox tab(:); +l. +T{ +ノート +.PP +\fI\-strict\fRオプションを指定ã—ãŸå ´åˆã€é‡å¤§ãªè­¦å‘Šã¯ã‚¨ãƒ©ãƒ¼ã¨ã—ã¦å ±å‘Šã•れã¾ã™ã€‚ +T} +.TE +.sp 1 +.sp .5v +.RE +.PP +JARファイルã®ç½²åã«ä½¿ç”¨ã™ã‚‹è¨¼æ˜Žæ›¸ã«ã‚¨ãƒ©ãƒ¼ãŒã‚ã‚‹ã€ã¾ãŸã¯ç½²å付ãJARファイルã«ä»–ã®å•題ãŒã‚ã‚‹ãªã©ã€\fIjarsigner\fRコマンドãŒé‡å¤§ãªè­¦å‘Šã‚’発行ã™ã‚‹ç†ç”±ã€‚ +.PP +hasExpiredCert +.RS 4 +コード4。ã“ã®jarã«ã¯ã€ç½²åè€…è¨¼æ˜Žæ›¸ãŒæœŸé™åˆ‡ã‚Œã®ã‚¨ãƒ³ãƒˆãƒªãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +notYetValidCert +.RS 4 +コード4。ã“ã®jarã«ã¯ã€ç½²å者証明書ãŒã¾ã æœ‰åйã«ãªã£ã¦ã„ãªã„エントリãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +chainNotValidated +.RS 4 +コード4。ã“ã®jarã«ã¯ã€è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ãŒæ­£ã—ãæ¤œè¨¼ã§ããªã„エントリãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +badKeyUsage +.RS 4 +コード8。ã“ã®JARã«ã¯ã€ç½²å者証明書ã®KeyUsage拡張機能ãŒã‚³ãƒ¼ãƒ‰ç½²åを許å¯ã—ãªã„エントリãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +badExtendedKeyUsage +.RS 4 +コード8。ã“ã®jarã«ã¯ã€ç½²å者証明書ã®ExtendedKeyUsage拡張機能ãŒã‚³ãƒ¼ãƒ‰ç½²åを許å¯ã—ãªã„エントリãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +badNetscapeCertType +.RS 4 +コード8。ã“ã®jarã«ã¯ã€ç½²å者証明書ã®NetscapeCertType拡張機能ãŒã‚³ãƒ¼ãƒ‰ç½²åを許å¯ã—ãªã„エントリãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +hasUnsignedEntry +.RS 4 +コード16。ã“ã®jarã«ã¯ã€æ•´åˆæ€§ãƒã‚§ãƒƒã‚¯ã‚’ã—ã¦ã„ãªã„未署åã®ã‚¨ãƒ³ãƒˆãƒªãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +notSignedByAlias +.RS 4 +コード32。ã“ã®jarã«ã¯ã€æŒ‡å®šã•れãŸåˆ¥åã«ã‚ˆã£ã¦ç½²åã•れã¦ã„ãªã„ç½²åæ¸ˆã‚¨ãƒ³ãƒˆãƒªãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +aliasNotInStore +.RS 4 +コード32。ã“ã®jarã«ã¯ã€ã“ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®åˆ¥åã«ã‚ˆã£ã¦ç½²åã•れã¦ã„ãªã„ç½²åæ¸ˆã‚¨ãƒ³ãƒˆãƒªãŒå«ã¾ã‚Œã¾ã™ã€‚ +.RE +.SS "情報警告" +.PP +情報警告ã«ã¯ã€ã‚¨ãƒ©ãƒ¼ã§ã¯ãªã„ãŒä¸é©åˆ‡ã¨ã¿ãªã•れるもã®ãŒå«ã¾ã‚Œã¾ã™ã€‚コードã¯ã‚りã¾ã›ã‚“。 +.PP +hasExpiringCert +.RS 4 +ã“ã®jarã«ã¯ã€ç½²å者証明書ãŒ6ã‹æœˆä»¥å†…ã«æœŸé™åˆ‡ã‚Œã¨ãªã‚‹ã‚¨ãƒ³ãƒˆãƒªãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.RE +.PP +noTimestamp +.RS 4 +ã“ã®jarã«ã¯ã€ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã‚’å«ã¾ãªã„ç½²åãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚タイムスタンプãªã—ã§ã¯ã€ç½²åè€…è¨¼æ˜Žæ›¸ã®æœ‰åŠ¹æœŸé™(å½¢å¼ã¯\fIYYYY\-MM\-DD\fR)後ã¾ãŸã¯å°†æ¥ã®å–消日後ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ã“ã®JARファイルを検証ã§ããªã„å ´åˆãŒã‚りã¾ã™ã€‚ +.RE +.SH "例" +.SS "JARファイルã®ç½²å" +.PP +次ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¦ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢åˆ¥åãŒ\fIworking\fRディレクトリã®\fImystore\fRã¨ã„ã†åå‰ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«ã‚ã‚‹\fIjane\fRã§ã‚るユーザーã®ç§˜å¯†éµã§bundle\&.jarã«ç½²åã—ã€ç½²å付ãJARファイルã«sbundle\&.jarã¨ã„ã†åå‰ã‚’付ã‘ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-keystore /working/mystore \-storepass + \-keypass \-signedjar sbundle\&.jar bundle\&.jar jane +.fi +.if n \{\ +.RE +.\} +.PP +å‰è¿°ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã¯\fI\-sigfile\fRãŒæŒ‡å®šã•れã¦ã„ãªã„ãŸã‚ã€ç½²å付ãJARãƒ•ã‚¡ã‚¤ãƒ«ã«æ ¼ç´ã•れる生æˆã•れãŸ\fI\&.SF\fRファイルãŠã‚ˆã³\fI\&.DSA\fRファイルã®åå‰ã¯ã€åˆ¥åã«åŸºã¥ã„ãŸãƒ‡ãƒ•ォルトã®åå‰ã«ãªã‚Šã¾ã™ã€‚ã“れらã¯ã€åå‰ä»˜ãã®\fIJANE\&.SF\fRãŠã‚ˆã³\fIJANE\&.DSA\fRã§ã™ã€‚ +.PP +ストアã®ãƒ‘スワードãŠã‚ˆã³ç§˜å¯†éµã®ãƒ‘スワードを求ã‚られる場åˆã€å‰è¿°ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’短縮ã—ã¦ã€æ¬¡ã®ã“ã¨ã‚’実行ã§ãã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-keystore /working/mystore + \-signedjar sbundle\&.jar bundle\&.jar jane +.fi +.if n \{\ +.RE +.\} +.PP +キーストアãŒãƒ‡ãƒ•ォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢(ホーム・ディレクトリ内ã®\&.keystore)ã§ã‚ã‚‹å ´åˆã€æ¬¡ã«ç¤ºã™ã‚ˆã†ã«ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã›ã‚“。 +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane +.fi +.if n \{\ +.RE +.\} +.PP +入力JARファイル(bundle\&.jar)ã‚’ç½²å付ãJARファイルã§ä¸Šæ›¸ãã™ã‚‹å ´åˆã€æ¬¡ã®ã‚ˆã†ã«\fI\-signedjar\fRオプションを指定ã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。 +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner bundle\&.jar jane +.fi +.if n \{\ +.RE +.\} +.SS "ç½²å付ãJARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œè¨¼" +.PP +ç½²å付ãJARファイルを検証ã—ã¦ã€ç½²åãŒæœ‰åйã§JARãƒ•ã‚¡ã‚¤ãƒ«ãŒæ”¹ã–ã‚“ã•れãªã‹ã£ãŸã“ã¨ã‚’確èªã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-verify sbundle\&.jar +.fi +.if n \{\ +.RE +.\} +.PP +æ¤œè¨¼ãŒæˆåŠŸã™ã‚‹ã¨ã€\fIjar verified\fRãŒè¡¨ç¤ºã•れã¾ã™ã€‚有効ã§ãªã„å ´åˆã¯ã€ã‚¨ãƒ©ãƒ¼ãƒ»ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒè¡¨ç¤ºã•れã¾ã™ã€‚\fI\-verbose\fRオプションを使用ã™ã‚‹ã¨ã€è©³ç´°æƒ…報をå–å¾—ã§ãã¾ã™ã€‚\fIjarsigner\fRã‚’\fI\-verbose\fRオプションã¨ã¨ã‚‚ã«ä½¿ç”¨ã™ã‚‹ã‚µãƒ³ãƒ—ãƒ«ã‚’ã€æ¬¡ã«ç¤ºã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-verify \-verbose sbundle\&.jar + + 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF + 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF + 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA + smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class + smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class + + s = signature was verified + m = entry is listed in manifest + k = at least one certificate was found in keystore + + jar verified\&. +.fi +.if n \{\ +.RE +.\} +.SS "証明書情報を使用ã—ãŸæ¤œè¨¼" +.PP +\fI\-certs\fRオプションを\fI\-verify\fRãŠã‚ˆã³\fI\-verbose\fRオプションã¨ã¨ã‚‚ã«æŒ‡å®šã—ãŸå ´åˆã€JARファイルã®å„ç½²å者ã®è¨¼æ˜Žæ›¸æƒ…å ±ãŒå‡ºåŠ›ã«å«ã¾ã‚Œã¾ã™ã€‚ã“ã®æƒ…å ±ã«ã¯ã€è¨¼æ˜Žæ›¸ã‚¿ã‚¤ãƒ—ã€ç½²å者ã®è­˜åˆ¥å情報(X\&.509証明書ã®å ´åˆ)ãŒå«ã¾ã‚Œã€ä¸¸ã‚«ãƒƒã‚³å†…ã«ã¯ã€JARファイルã®å…¬é–‹éµè¨¼æ˜Žæ›¸ãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¨ãƒ³ãƒˆãƒªã®å…¬é–‹éµè¨¼æ˜Žæ›¸ã«ä¸€è‡´ã™ã‚‹å ´åˆã®ç½²å者ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢åˆ¥åãŒå«ã¾ã‚Œã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar + + 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF + 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF + 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA + 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF + 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA + smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class + + X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest) + X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane) + + s = signature was verified + m = entry is listed in manifest + k = at least one certificate was found in keystore + + jar verified\&. +.fi +.if n \{\ +.RE +.\} +.PP +ç½²å者ã®è¨¼æ˜Žæ›¸ãŒX\&.509証明書ã§ã¯ãªã„å ´åˆã€è­˜åˆ¥å情報ã¯è¡¨ç¤ºã•れã¾ã›ã‚“。ãã®å ´åˆã«ã¯ã€è¨¼æ˜Žæ›¸ã®ã‚¿ã‚¤ãƒ—ã¨åˆ¥åã®ã¿ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€è¨¼æ˜Žæ›¸ãŒPGP証明書ã§ã€åˆ¥åãŒ\fIbob\fRã§ã‚ã‚‹å ´åˆã€\fIPGP, (bob)\fRã‚’å–å¾—ã—ã¾ã™ã€‚ +.SS "アイデンティティ・データベースã®ç½²å者をå«ã‚€æ¤œè¨¼" +.PP +JARファイルãŒJDK 1\&.1ã®\fIjavakey\fRツールを使用ã—ã¦ç½²åã•れã€ç½²å者ãŒã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹å†…ã®åˆ¥åã§ã‚ã‚‹å ´åˆã€æ¤œè¨¼ã®å‡ºåŠ›ã«ã¯\fIi\fRãŒå«ã¾ã‚Œã¾ã™ã€‚JARファイルãŒã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹å†…ã®åˆ¥åã¨ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®åˆ¥åã®ä¸¡æ–¹ã«ã‚ˆã£ã¦ç½²åã•れãŸå ´åˆã€\fIk\fRã¨\fIi\fRã®ä¸¡æ–¹ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.PP +\fI\-certs\fRオプションを使用ã—ãŸå ´åˆã€ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã®åˆ¥åã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®åˆ¥åã«ä½¿ç”¨ã•れる丸カッコã§ã¯ãªãã€å¤§ã‚«ãƒƒã‚³ã§å›²ã¿ã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf + jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar + + 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF + 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF + 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA + 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF + 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA + smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html + + X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane) + X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke] + + s = signature was verified + m = entry is listed in manifest + k = at least one certificate was found in keystore + i = at least one certificate was found in identity scope + + jar verified\&. +.fi +.if n \{\ +.RE +.\} +.PP +\fB注æ„: \fR別åãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®åˆ¥åã§ã¯ãªãã€ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã®åˆ¥åã§ã‚ã‚‹ã“ã¨ã‚’示ã™ã«ã¯ã€åˆ¥å\fIduke\fRを大カッコã§å›²ã¿ã¾ã™ã€‚ +.SH "JDK 1.1ã®äº’æ›æ€§" +.PP +\fIkeytool\fRãŠã‚ˆã³\fIjarsigner\fRツールã¯ã€JDK 1\&.1ã«ãŠã‘ã‚‹\fIjavakey\fRãƒ„ãƒ¼ãƒ«ã‚’ç½®ãæ›ãˆãŸã‚‚ã®ã§ã™ã€‚ã“ã‚Œã‚‰ã®æ–°ã—ã„ツールã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã¨ç§˜å¯†éµã‚’パスワードã§ä¿è­·ã™ã‚‹æ©Ÿèƒ½ã‚„ã€ç½²åã®ç”Ÿæˆã«åŠ ãˆã¦ç½²åを検証ã™ã‚‹æ©Ÿèƒ½ãªã©ã€\fIjavakey\fRより多ãã®ã‚’機能を備ãˆã¦ã„ã¾ã™ã€‚ +.PP +æ–°ã—ã„キーストア・アーキテクãƒãƒ£ã¯ã€\fIjavakey\fRãŒä½œæˆã—ã¦ç®¡ç†ã—ã¦ã„ãŸã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã«ä»£ã‚ã‚‹ã‚‚ã®ã§ã™ã€‚キーストア形å¼ã¨ã€JDK 1\&.1ã®\fIjavakey\fRãŒä½¿ç”¨ã—ã¦ã„ãŸãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹å½¢å¼ã¨ã®é–“ã«ã¯ã€ä¸‹ä½äº’æ›æ€§ã¯ã‚りã¾ã›ã‚“。ãŸã ã—ã€æ¬¡ã®ç‚¹ã«æ³¨æ„ã—ã¦ãã ã•ã„。 +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fIkeytool \-identitydb\fRコマンドを使用ã—ã¦ã€ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‹ã‚‰ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«æƒ…報をインãƒãƒ¼ãƒˆã§ãã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fIjarsigner\fRコマンドã§ã¯ã€\fIjavakey\fRコマンドã§ç½²åã•れãŸJARファイルã«ç½²åã§ãã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fIjarsigner\fRコマンドã§ã¯ã€\fIjavakey\fRã§ç½²åã•れãŸJARファイルを検証ã§ãã¾ã™ã€‚\fIjarsigner\fRコマンドã§ã¯ã€JDKã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã§ã¯ãªãJDK 1\&.1ã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã‹ã‚‰ã®ç½²å者別åã‚’èªè­˜ã—ã€ãれを対象ã«å‡¦ç†ã‚’行ã†ã“ã¨ãŒã§ãã¾ã™ã€‚ +.RE +.SS "ç½²åã®ãªã„JAR" +.PP +ç½²åã®ãªã„JARã«ã¯ã€ã™ã¹ã¦ã®ã‚³ãƒ¼ãƒ‰ã«ä»˜ä¸Žã•ã‚Œã‚‹ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ¨©é™ãŒã‚りã¾ã™ã€‚ +.SS "ç½²å付ãJAR" +.PP +ç½²å付ãJARã«ã¯ã€è¨˜è¿°ã©ãŠã‚Šã®JDK 1\&.1\&.\fIn\fRアイデンティティãŠã‚ˆã³ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã®ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹ã«åŸºã¥ã„ãŸæ¨©é™æ§‹æˆãŒã‚りã¾ã™ã€‚JDKキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã§ãã‚‹ã®ã¯ã€ä¿¡é ¼ã§ãるアイデンティティã®ã¿ã§ã™ã€‚ +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBã™ã¹ã¦ã®ã‚³ãƒ¼ãƒ‰ã«ä»˜ä¸Žã•ã‚Œã‚‹ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ¨©é™\fR +.RS 4 +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: \fBã„ã„ãˆ\fR +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã„ã„ãˆ\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã„ã„ãˆ\fR +.RE +.PP +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: \fBã„ã„ãˆ\fR +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã¯ã„\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã„ã„ãˆ\fR +.RE +.PP +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: ã¯ã„/ä¿¡é ¼ã•れãªã„ +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã„ã„ãˆ\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã„ã„ãˆ\fR +.RE +.RS 4 +注æ„ã®3ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.PP +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: ã¯ã„/ä¿¡é ¼ã•れãªã„ +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã„ã„ãˆ\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã¯ã„\fR +.RE +.RS 4 +注æ„ã®1ãŠã‚ˆã³3ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fB付与ã•ã‚Œã‚‹ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ¨©é™ãŠã‚ˆã³ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイル権é™\fR +.RS 4 +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: \fBã„ã„ãˆ\fR +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã¯ã„\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã¯ã„\fR +.RE +.PP +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: \fBã¯ã„/ä¿¡é ¼ã•れる\fR +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã¯ã„\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã¯ã„\fR +.RE +.RS 4 +注æ„ã®2ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fB付与ã•れるã™ã¹ã¦ã®æ¨©é™\fR +.RS 4 +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: \fBã¯ã„/ä¿¡é ¼ã•れる\fR +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã„ã„ãˆ\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã„ã„ãˆ\fR +.RE +.PP +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: \fBã¯ã„/ä¿¡é ¼ã•れる\fR +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã¯ã„\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã„ã„ãˆ\fR +.RE +.RS 4 +注æ„ã®1ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.RS 4 +1\&.1データベースã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£: \fBã¯ã„/ä¿¡é ¼ã•れる\fR +.RE +.RS 4 +1\&.1\&.データベースã‹ã‚‰Javaキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸä¿¡é ¼ã§ãるアイデンティティ: \fBã„ã„ãˆ\fR +.RE +.RS 4 +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã«ã‚ˆã‚‹ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£/別åã¸ã®æ¨©é™ã®ä»˜ä¸Ž: \fBã¯ã„\fR +.RE +.RS 4 +注æ„ã®1ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fB注æ„\fR +.RS 4 +.sp +.RS 4 +.ie n \{\ +\h'-04' 1.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 1." 4.2 +.\} +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイル内ã«ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã¾ãŸã¯åˆ¥åã«ã¤ã„ã¦ã®è¨€åŠãŒã‚ã‚‹å ´åˆã€ãれをキーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã—ã¦ã€ä»˜ä¸Žã•ã‚ŒãŸæ¨©é™ã«ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã®è¨­å®šãŒå映ã•れるよã†ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04' 2.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 2." 4.2 +.\} +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイル/キーストアã®çµ„åˆã›ã¯ã€ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãƒ»ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹å†…ã®ä¿¡é ¼ã§ãるアイデンティティよりも優先ã•れã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04' 3.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 3." 4.2 +.\} +Javaプラットフォームã§ã¯ã€ä¿¡é ¼ã§ããªã„アイデンティティã¯ç„¡è¦–ã•れã¾ã™ã€‚ +.RE +.RE +.SH "å‚ç…§" +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +jar(1) +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +keytool(1) +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +http://docs\&.oracle\&.com/javase/tutorial/security/index\&.htmlã«ã‚ã‚‹ +「コース: Java SEã®ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£æ©Ÿèƒ½ã€ +.RE +.br +'pl 8.5i +'bp diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/java.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/java.1 new file mode 100644 index 00000000..9849be38 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/java.1 @@ -0,0 +1,900 @@ +." Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved. +." +.TH java 1 "11 Jul 2013" + +.LP +.SH "NAME" +java \- Javaアプリケーションを起動ã—ã¾ã™ã€‚ +.SH "å½¢å¼" +.sp +.if n \{\ +.RS 4 +.\} +.nf +java [ \fIoptions\fR ] class [ \fIargument \&.\&.\&.\fR ] +java [ \fIoptions\fR ] \-jar file\&.jar [ \fIargument \&.\&.\&.\fR ] +.fi +.if n \{\ +.RE +.\} +.PP +\fIオプション\fR +.RS 4 +コマンドライン・オプション。オプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.PP +クラス +.RS 4 +コールã™ã‚‹ã‚¯ãƒ©ã‚¹ã®åå‰ã€‚ +.RE +.PP +\fIfile\&.jar\fR +.RS 4 +コールã™ã‚‹JARファイルã®åå‰ã€‚\fI\-jar\fRコマンドã§ã®ã¿ä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.PP +\fI引数\fR +.RS 4 +\fImain\fRé–¢æ•°ã«æ¸¡ã•れる引数。 +.RE +.SH "説明" +.PP +\fIjava\fRコマンドã¯Javaアプリケーションを開始ã—ã¾ã™ã€‚Java Runtime Environmentã‚’èµ·å‹•ã—ãŸå¾Œã€æŒ‡å®šã•れãŸã‚¯ãƒ©ã‚¹ã‚’ロードã—ã€ãã®ã‚¯ãƒ©ã‚¹ã®\fImain\fRメソッドをコールã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€ã“れを行ã„ã¾ã™ã€‚ +.PP +ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ã¯ã€publicãŠã‚ˆã³staticã¨ã—ã¦å®£è¨€ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã¾ãŸã€å€¤ã¯è¿”ã›ã¾ã›ã‚“。ã•らã«ã€Stringé…列をパラメータã¨ã—ã¦æŒ‡å®šã§ãã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãƒ¡ã‚½ãƒƒãƒ‰å®£è¨€ã¯æ¬¡ã®å½¢å¼ã‚’å«ã¿ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +public static void main(String args[] +.fi +.if n \{\ +.RE +.\} +.PP +デフォルトã§ã¯ã€ã‚ªãƒ—ションã®ãªã„最åˆã®å¼•æ•°ãŒã€ã‚³ãƒ¼ãƒ«ã•れるクラスã®åå‰ã«ãªã‚Šã¾ã™ã€‚完全修飾クラスåを使用ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\fI\-jar\fRオプションを指定ã—ãŸå ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ã‚·ãƒ§ãƒ³ä»¥å¤–ã®æœ€åˆã®å¼•æ•°ãŒã€ã‚¢ãƒ—リケーションã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã¨ãƒªã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルをå«ã‚€JARファイルã®åå‰ã«ãªã‚Šã¾ã™ã€‚ã“ã®å ´åˆã€ãƒžãƒ‹ãƒ•ェストã®Main\-Classãƒ˜ãƒƒãƒ€ãƒ¼ã§æŒ‡å®šã•れãŸã‚¯ãƒ©ã‚¹ãŒèµ·å‹•クラスã«ãªã‚Šã¾ã™ã€‚ +.PP +Java Runtimeã¯ã€ãƒ–ートストラップ・クラス・パスã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«æ¸ˆæ‹¡å¼µæ©Ÿèƒ½ãŠã‚ˆã³ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®3箇所ã‹ã‚‰èµ·å‹•クラスã¨ä»–ã®ä½¿ç”¨ã•れã¦ã„るクラスを検索ã—ã¾ã™ã€‚ +.PP +クラスåã¾ãŸã¯JARファイルåã®å¾Œã«ã‚ã‚‹ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ション以外ã®å¼•æ•°ã¯ã€\fImain\fRé–¢æ•°ã«æ¸¡ã•れã¾ã™ã€‚ +.SH "オプション" +.PP +起動ツールã«ã¯ã€ç¾åœ¨ã®ãƒ©ãƒ³ã‚¿ã‚¤ãƒ ç’°å¢ƒã§ã‚µãƒãƒ¼ãƒˆã•れる標準オプションã®ã‚»ãƒƒãƒˆãŒã‚りã¾ã™ã€‚ +.PP +ã¾ãŸã€ä»®æƒ³ãƒžã‚·ãƒ³ã®ç¾åœ¨ã®å®Ÿè£…ã§ã¯ã€éžæ¨™æº–オプションã®ã‚»ãƒƒãƒˆã‚‚サãƒãƒ¼ãƒˆã•れã¾ã™ã€‚ã“れã¯ã€å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§å¤‰æ›´ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚éžæ¨™æº–オプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.SS "標準オプション" +.PP +\-client +.RS 4 +Java HotSpot VMã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã‚’é¸æŠžã—ã¾ã™ã€‚64ビット対応JDKã¯ç¾æ™‚点ã§ã¯ã€ã“ã®ã‚ªãƒ—ションを無視ã—ã€ã‹ã‚りã«Java Hotspot Server VMを使用ã—ã¾ã™ã€‚ +.sp +デフォルトã®Java VMé¸æŠžã¯ã€æ¬¡ã®\fI「サーãƒãƒ¼ã‚¯ãƒ©ã‚¹ãƒ»ãƒžã‚·ãƒ³ã®æ¤œå‡ºã€\fRページをå‚ç…§ã—ã¦ãã ã•ã„: + +http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/vm/server\-class\&.html +.RE +.PP +\-server +.RS 4 +Java HotSpot VMサーãƒãƒ¼ã‚’é¸æŠžã—ã¾ã™ã€‚64ビット対応JDK上ã§ã¯ã€ã‚µãƒãƒ¼ãƒˆã•れるã®ã¯Java Hotspot Server VMã®ã¿ã§ã‚ã‚‹ãŸã‚ã€\fI\-\fR\fIserver\fRã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæš—黙的ã«é¸æŠžã•れã¾ã™ã€‚ +.sp +デフォルトã®Java VMé¸æŠžã¯ã€æ¬¡ã®ã€Œã‚µãƒ¼ãƒãƒ¼ã‚¯ãƒ©ã‚¹ãƒ»ãƒžã‚·ãƒ³ã®æ¤œå‡ºã€ãƒšãƒ¼ã‚¸ã‚’å‚ç…§ã—ã¦ãã ã•ã„: + +http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/vm/server\-class\&.html +.RE +.PP +\-agentlib:\fIlibname\fR[\fI=options\fR] +.RS 4 +次ã®ä¾‹ã®ã‚ˆã†ãªãƒã‚¤ãƒ†ã‚£ãƒ–・エージェント・ライブラリ\fIlibname\fRをロードã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-agentlib:hprof + +\-agentlib:jdwp=help + +\-agentlib:hprof=help +.fi +.if n \{\ +.RE +.\} +次ã®\fI「JVMTIエージェント・コマンドライン・オプションã€\fRã‚’å‚ç…§ã—ã¦ãã ã•ã„: + +http://docs\&.oracle\&.com/javase/7/docs/platform/jvmti/jvmti\&.html#starting +.RE +.PP +\-agentpath:\fIpathname\fR[\fI=options\fR] +.RS 4 +フル\fIパスå\fRを使用ã—ã¦ã€ãƒã‚¤ãƒ†ã‚£ãƒ–・エージェント・ライブラリをロードã—ã¾ã™ã€‚次ã®\fI「JVMTIコマンドライン・オプションã€\fRã‚’å‚ç…§ã—ã¦ãã ã•ã„: + +http://docs\&.oracle\&.com/javase/7/docs/platform/jvmti/jvmti\&.html#starting +.RE +.PP +\-classpath \fIclasspath\fR, \-cp \fIclasspath\fR +.RS 4 +クラス・ファイルを検索ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€JARファイルãŠã‚ˆã³ZIPアーカイブã®ãƒªã‚¹ãƒˆã‚’指定ã—ã¾ã™ã€‚ +\fIクラス・パス・エントリã¯ã‚³ãƒ­ãƒ³(:)ã§åŒºåˆ‡ã‚Šã¾ã™ã€‚\fR\fI\-classpath\fRã¾ãŸã¯\fI\-cp\fRを指定ã™ã‚‹ã¨ã€ã“ã®ã‚ªãƒ—ションã®å€¤ã«ã‚ˆã£ã¦\fICLASSPATH\fR環境変数ã®è¨­å®šãŒã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã•れã¾ã™ã€‚ +.sp +\fI\-classpath\fRã¨\fI\-cp\fRãŒä½¿ç”¨ã•れãšã€\fICLASSPATH\fRãŒè¨­å®šã•れã¦ã„ãªã„å ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(\&.)ã‹ã‚‰æ§‹æˆã•れã¾ã™ã€‚ +.sp +便宜上ã€\fI*\fRã®ãƒ™ãƒ¼ã‚¹åã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スè¦ç´ ã¯ã€\&.jarã¾ãŸã¯\&.JARã‚’æ‹¡å¼µå­ã«æŒã¤ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®ãƒ•ァイルã®ãƒªã‚¹ãƒˆã‚’指定ã™ã‚‹ã®ã¨åŒç­‰ã¨ã¿ãªã•れã¾ã™ã€‚Javaプログラムã¯2ã¤ã®å‘¼å‡ºã—ã®é•ã„ã‚’èªè­˜ã§ãã¾ã›ã‚“。 +.sp +ãŸã¨ãˆã°ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªmydirã«a\&.jarã¨b\&.JARãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スè¦ç´ \fImydir/*\fRã¯A\&.jar:b\&.JARã«å±•é–‹ã•れã¾ã™ãŒã€JARファイルã®é †ç•ªã¯æœªæŒ‡å®šã¨ãªã‚Šã¾ã™ã€‚ã“ã®ãƒªã‚¹ãƒˆã«ã¯ã€éš ã—ファイルもå«ã‚ã€æŒ‡å®šã•れãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®JARファイルãŒå«ã¾ã‚Œã¾ã™ã€‚\fI*\fRã®ã¿ã‹ã‚‰ãªã‚‹ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘ス・エントリã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®JARファイルã®ãƒªã‚¹ãƒˆã«å±•é–‹ã•れã¾ã™ã€‚\fICLASSPATH\fR環境変数もã€å®šç¾©æ™‚ã«ã¯åŒæ§˜ã«å±•é–‹ã•れã¾ã™ã€‚クラス・パス・ワイルドカード拡張ã¯ã€Java VMã®é–‹å§‹å‰ã«è¡Œã‚れã¾ã™ã€‚Javaプログラムã¯ã€ç’°å¢ƒã‚’å•ã„åˆã›ã‚‹å ´åˆã‚’除ãã€æ‹¡å¼µã•れã¦ã„ãªã„ワイルド・カードをå‚ç…§ã—ã¾ã›ã‚“。ãŸã¨ãˆã°ã€\fISystem\&.getenv("CLASSPATH")\fRをコールã—ã¦å•ã„åˆã›ã‚‹å ´åˆã§ã™ã€‚ +.RE +.PP +\-D\fIproperty=value\fR +.RS 4 +システム・プロパティã®å€¤ã‚’設定ã—ã¾ã™ã€‚ +.RE +.PP +\-d32 +.RS 4 +アプリケーションを32ビット環境ã§å®Ÿè¡Œã—ã¾ã™ã€‚32ビット環境ãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ãªã„ã‹ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ãªã„å ´åˆã¯ã€ã‚¨ãƒ©ãƒ¼ãŒå ±å‘Šã•れã¾ã™ã€‚デフォルトã§ã¯ã€64ビット専用システムãŒä½¿ç”¨ã•れã¦ã„ã‚‹å ´åˆã‚’除ãã€ã‚¢ãƒ—リケーションã¯32ビット環境ã§å®Ÿè¡Œã•れã¾ã™ã€‚ +.RE +.PP +\-d64 +.RS 4 +アプリケーションを64ビット環境ã§å®Ÿè¡Œã—ã¾ã™ã€‚64ビット環境ãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ãªã„ã‹ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ãªã„å ´åˆã¯ã€ã‚¨ãƒ©ãƒ¼ãŒå ±å‘Šã•れã¾ã™ã€‚デフォルトã§ã¯ã€64ビット専用システムãŒä½¿ç”¨ã•れã¦ã„ã‚‹å ´åˆã‚’除ãã€ã‚¢ãƒ—リケーションã¯32ビット環境ã§å®Ÿè¡Œã•れã¾ã™ã€‚ +.sp +ç¾åœ¨ã®ã¨ã“ã‚ã€Java HotSpot Server VMã®ã¿ãŒ64ãƒ“ãƒƒãƒˆã®æ“作をサãƒãƒ¼ãƒˆã—ã¦ã„ã‚‹ãŸã‚ã€\fI\-d64\fR使用時ã«ã¯\fI\-server\fRã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæš—黙的ã«ä½¿ç”¨ã•れã¾ã™ã€‚\fI\-d64\fR使用時ã«ã¯ã€\fI\-client\fRオプションã¯ç„¡è¦–ã•れã¾ã™ã€‚ã“ã®ä»•様ã¯ã€å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯å¤‰æ›´ã«ãªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.RE +.PP +\-disableassertions[:\fIpackage name\fR"\&.\&.\&." | :\fIclass name\fR ], \-da[:\fIpackage name\fR"\&.\&.\&." | :\fIclass name\fR ] +.RS 4 +アサーションを無効ã«ã—ã¾ã™ã€‚ã“れãŒãƒ‡ãƒ•ォルトã§ã™ã€‚ +.sp +引数ãªã—ã®\fIdisableassertions\fRã¾ãŸã¯\fI\-da\fRを指定ã™ã‚‹ã¨ã€ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ãŒç„¡åйã«ãªã‚Šã¾ã™ã€‚「\fI\&.\&.\&.\fRã€ã§çµ‚ã‚る引数を1ã¤æŒ‡å®šã™ã‚‹ã¨ã€æŒ‡å®šã—ãŸãƒ‘ッケージã¨ãã®ã‚µãƒ–パッケージ内ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ãŒç„¡åйã«ãªã‚Šã¾ã™ã€‚引数ã¨ã—ã¦\fI"\&.\&.\&."\fRを指定ã™ã‚‹ã¨ã€ç¾åœ¨ã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã‚ã‚‹åå‰ã®ãªã„パッケージ内ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ãŒç„¡åйã«ãªã‚Šã¾ã™ã€‚「\fI\&.\&.\&.\fRã€ã§çµ‚ã‚らãªã„引数を1ã¤æŒ‡å®šã™ã‚‹ã¨ã€æŒ‡å®šã—ãŸã‚¯ãƒ©ã‚¹å†…ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ãŒç„¡åйã«ãªã‚Šã¾ã™ã€‚ +.sp +パッケージ\fIcom\&.wombat\&.fruitbat\fR内ã§ã¯ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’有効ã«ã—ã€ã‚¯ãƒ©ã‚¹\fIcom\&.wombat\&.fruitbat\&.Brickbat\fR内ã§ã¯ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’無効ã«ã—ãŸã†ãˆã§ã€ãƒ—ログラムを実行ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +java \-ea:com\&.wombat\&.fruitbat\&.\&.\&. \-da:com\&.wombat\&.fruitbat\&.Brickbat
+.fi +.if n \{\ +.RE +.\} +\fI\-disableassertions\fRãŠã‚ˆã³\fI\-da\fRスイッãƒã¯ã€ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ãŠã‚ˆã³ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹ã«é©ç”¨ã•れã¾ã™ã€‚システム・クラスã«ã¯ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ã¯ã‚りã¾ã›ã‚“。ãŸã ã—ã€ã“ã®ãƒ«ãƒ¼ãƒ«ã«ã¯1ã¤ä¾‹å¤–ãŒã‚りã¾ã™ã€‚ãれã¯ã€å¼•æ•°ãªã—ã®å½¢å¼ã§ã“ã®ã‚¹ã‚¤ãƒƒãƒã‚’指定ã™ã‚‹ã¨ã€ãã®æŒ‡å®šãŒã‚·ã‚¹ãƒ†ãƒ ã«é©ç”¨ã•れãªã„ã€ã¨ã„ã†ã“ã¨ã§ã™ã€‚ã“ã®ä¾‹å¤–を利用ã™ã‚Œã°ã€ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹ã‚’除ãã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’ç°¡å˜ã«æœ‰åйã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚\fI\-disablesystemassertions\fRオプションã¯ã€ã™ã¹ã¦ã®ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’有効ã«ã™ã‚‹åˆ¥ã®ã‚¹ã‚¤ãƒƒãƒã‚’æä¾›ã—ã¾ã™ã€‚ +.RE +.PP +\-enableassertions[:\fIpackage name\fR"\&.\&.\&." | :\fIclass name\fR ], \-ea[:\fIpackage name\fR"\&.\&.\&." | :\fIclass name\fR ] +.RS 4 +アサーションを有効ã«ã—ã¾ã™ã€‚アサーションã¯ã€ãƒ‡ãƒ•ォルトã§ã¯ç„¡åйã«ãªã£ã¦ã„ã¾ã™ã€‚ +.sp +引数ãªã—ã®\fIenableassertions\fRã¾ãŸã¯\fI\-ea\fRを指定ã™ã‚‹ã¨ã€ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ãŒæœ‰åйã«ãªã‚Šã¾ã™ã€‚「\fI\&.\&.\&.\fRã€ã§çµ‚ã‚る引数を1ã¤æŒ‡å®šã™ã‚‹ã¨ã€æŒ‡å®šã—ãŸãƒ‘ッケージã¨ãã®ã‚µãƒ–パッケージ内ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ãŒæœ‰åйã«ãªã‚Šã¾ã™ã€‚引数ã¨ã—ã¦\fI"\&.\&.\&."\fRを指定ã™ã‚‹ã¨ã€ç¾åœ¨ã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã‚ã‚‹åå‰ã®ãªã„パッケージ内ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ãŒæœ‰åйã«ãªã‚Šã¾ã™ã€‚「\fI\&.\&.\&.\fRã€ã§çµ‚ã‚らãªã„引数を1ã¤æŒ‡å®šã™ã‚‹ã¨ã€æŒ‡å®šã—ãŸã‚¯ãƒ©ã‚¹å†…ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ãŒæœ‰åйã«ãªã‚Šã¾ã™ã€‚ +.sp +å˜ä¸€ã‚³ãƒžãƒ³ãƒ‰ã«ã“れらã®ã‚¹ã‚¤ãƒƒãƒã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’複数指定ã—ãŸå ´åˆã¯ã€æŒ‡å®šã—ãŸã‚¹ã‚¤ãƒƒãƒãŒé †ç•ªã«å‡¦ç†ã•れã¦ã‹ã‚‰ã‚¯ãƒ©ã‚¹ãŒãƒ­ãƒ¼ãƒ‰ã•れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ãŸã¨ãˆã°ã€ãƒ‘ッケージcom\&.wombat\&.fruitbat(サブパッケージをå«ã‚€)内ã§ã®ã¿ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’有効ã«ã—ã¦ãƒ—ログラムを実行ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +java \-ea:com\&.wombat\&.fruitbat\&.\&.\&.
+.fi +.if n \{\ +.RE +.\} +\fI\-enableassertions\fRãŠã‚ˆã³\fI\-ea\fRスイッãƒã¯ã€ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ãŠã‚ˆã³ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹ã«é©ç”¨ã•れã¾ã™ã€‚システム・クラスã«ã¯ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ã¯ã‚りã¾ã›ã‚“。ãŸã ã—ã€ã“ã®ãƒ«ãƒ¼ãƒ«ã«ã¯1ã¤ä¾‹å¤–ãŒã‚りã¾ã™ã€‚ãれã¯ã€å¼•æ•°ãªã—ã®å½¢å¼ã§ã“ã®ã‚¹ã‚¤ãƒƒãƒã‚’指定ã™ã‚‹ã¨ã€ãã®æŒ‡å®šãŒã‚·ã‚¹ãƒ†ãƒ ã«é©ç”¨ã•れãªã„ã€ã¨ã„ã†ã“ã¨ã§ã™ã€‚ã“ã®ä¾‹å¤–を利用ã™ã‚Œã°ã€ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹ã‚’除ãã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’ç°¡å˜ã«æœ‰åйã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚\fI\-enablesystemassertions\fRオプションã¯ã€ã™ã¹ã¦ã®ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’有効ã«ã™ã‚‹åˆ¥ã®ã‚¹ã‚¤ãƒƒãƒã‚’æä¾›ã—ã¾ã™ã€‚ +.RE +.PP +\-enablesystemassertions, \-esa +.RS 4 +ã™ã¹ã¦ã®ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹å†…ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’有効ã«ã—ã¾ã™ã€‚ã¤ã¾ã‚Šã€ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹ã«ã¤ã„ã¦ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã®ãƒ‡ãƒ•ォルト・ステータスをtrueã«è¨­å®šã—ã¾ã™ã€‚ +.RE +.PP +\-disablesystemassertions, \-dsa +.RS 4 +ã™ã¹ã¦ã®ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚¯ãƒ©ã‚¹å†…ã§ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’無効ã«ã—ã¾ã™ã€‚ +.RE +.PP +\-helpã¾ãŸã¯\-? +.RS 4 +使用方法を表示ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.RE +.PP +\-jar +.RS 4 +JARファイルã«ã‚«ãƒ—セル化ã•れãŸãƒ—ログラムを実行ã—ã¾ã™ã€‚最åˆã®å¼•æ•°ã¯ã€èµ·å‹•クラスã®åå‰ã§ã¯ãªãã€JARファイルã®åå‰ã«ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæ©Ÿèƒ½ã™ã‚‹ã«ã¯ã€JARファイルã®ãƒžãƒ‹ãƒ•ェストã«\fIMain\-Class\fR: +\fIclassname\fRã¨ã„ã†å½¢å¼ã®è¡Œã‚’指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\fIclassname\fRã«ã¯ã€ã‚¢ãƒ—リケーションã®é–‹å§‹ä½ç½®ã¨ã—ã¦æ©Ÿèƒ½ã™ã‚‹\fIpublic static void main(String[] args)\fRメソッドをå«ã‚€ã‚¯ãƒ©ã‚¹ã‚’指定ã—ã¾ã™ã€‚ +.sp +ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€æŒ‡å®šã—ãŸJARファイルãŒã™ã¹ã¦ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ã®ã‚½ãƒ¼ã‚¹ã«ãªã‚Šã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®ä»–ã®è¨­å®šã¯ç„¡è¦–ã•れã¾ã™ã€‚ +.sp +\fIjava \-jar\fRオプションã§å®Ÿè¡Œã§ãã‚‹JARファイルã¯ã€å®Ÿè¡Œæ¨©é™ã®ã‚»ãƒƒãƒˆã‚’ä¿æŒã—ã¦ã„ã¾ã™ã€‚ã“ã®ãŸã‚ã€\fIjava \-jar\fRを使用ã—ãªã„ã§å®Ÿè¡Œã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚次ã®ã€ŒJARãƒ•ã‚¡ã‚¤ãƒ«ã®æ¦‚è¦ã€ã‚’å‚ç…§ã—ã¦ãã ã•ã„: + +http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/jar/jarGuide\&.html +.RE +.PP +\-javaagent:\fIjarpath\fR[\fI=options\fR] +.RS 4 +Javaプログラミング言語エージェントをロードã—ã¾ã™ã€‚ +.RE +.PP +\-jre\-restrict\-search +.RS 4 +ユーザー・プライベートãªJREã‚’ãƒãƒ¼ã‚¸ãƒ§ãƒ³æ¤œç´¢ã«å«ã‚ã¾ã™ã€‚ +.RE +.PP +\-no\-jre\-restrict\-search +.RS 4 +ユーザー・プライベートãªJREã‚’ãƒãƒ¼ã‚¸ãƒ§ãƒ³æ¤œç´¢ã‹ã‚‰é™¤å¤–ã—ã¾ã™ã€‚ +.RE +.PP +\-showversion +.RS 4 +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を表示ã—ã¦ç¶šè¡Œã—ã¾ã™ã€‚(ã‚‚å‚ç…§ã—ã¦ãã ã•ã„。) +.RE +.PP +\-splash:\fIimagepath\fR +.RS 4 +\fIimagepath\fRã«æŒ‡å®šã•れãŸç”»åƒã‚’å«ã‚€ã‚¹ãƒ—ラッシュ画é¢ã‚’表示ã—ã¾ã™ã€‚ +.RE +.PP +\-verbose, \-verbose:class +.RS 4 +クラスãŒãƒ­ãƒ¼ãƒ‰ã•れるãŸã³ã«ã‚¯ãƒ©ã‚¹ã«é–¢ã™ã‚‹æƒ…報を表示ã—ã¾ã™ã€‚ +.RE +.PP +\-verbose:gc +.RS 4 +ガベージ・コレクション・イベントãŒç™ºç”Ÿã™ã‚‹ãŸã³ã«å ±å‘Šã—ã¾ã™ã€‚ +.RE +.PP +\-verbose:jni +.RS 4 +ãƒã‚¤ãƒ†ã‚£ãƒ–・メソッドã®ä½¿ç”¨ãŠã‚ˆã³ãã®ä»–ã®Java Native Interfaceアクティビティã«é–¢ã™ã‚‹æƒ…報を報告ã—ã¾ã™ã€‚ +.RE +.PP +\-version +.RS 4 +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を表示ã—ã¦çµ‚了ã—ã¾ã™ã€‚\fI\-showversion\fRオプションもå‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.PP +\-version:\fIrelease\fR +.RS 4 +ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã•れãŸã‚¯ãƒ©ã‚¹ã¾ãŸã¯JARファイルãŒã€releaseã§æŒ‡å®šã•れãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’å¿…è¦ã¨ã—ã¦ã„ã‚‹ã“ã¨ã‚’示ã—ã¾ã™ã€‚コールã•れãŸ\fIjava\fRコマンドã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒã“ã®æŒ‡å®šå†…容を満ãŸã•ãšã€ã‹ã¤é©åˆ‡ãªå®Ÿè£…ãŒã‚·ã‚¹ãƒ†ãƒ ä¸Šã§è¦‹ã¤ã‹ã£ãŸå ´åˆã«ã¯ã€ãã®é©åˆ‡ãªå®Ÿè£…ãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.sp +\fIrelease\fRオプションã§ã¯ã€ç‰¹å®šã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¨ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³æ–‡å­—列ã¨å‘¼ã°ã‚Œã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒªã‚¹ãƒˆã‚’指定ã—ã¾ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³æ–‡å­—列ã¯ã€ã„ãã¤ã‹ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç¯„囲を空白ã§åŒºåˆ‡ã£ãŸå½¢å¼ã®é †åºä»˜ãリストã§ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç¯„囲ã¯ã€\fIãƒãƒ¼ã‚¸ãƒ§ãƒ³ID\fRã€\fIãƒãƒ¼ã‚¸ãƒ§ãƒ³ID\fRã¨ãれã«ç¶šãアスタリスク(\fI*\fR)ã€\fIãƒãƒ¼ã‚¸ãƒ§ãƒ³ID\fRã¨ãれã«ç¶šãプラス記å·(\fI+\fR)ã€ã¾ãŸã¯ã‚¢ãƒ³ãƒ‘サンド(\fI&\fR)を使用ã—ã¦çµåˆã•れãŸ2ã¤ã®\fIãƒãƒ¼ã‚¸ãƒ§ãƒ³ID\fRã‹ã‚‰æ§‹æˆã•れるãƒãƒ¼ã‚¸ãƒ§ãƒ³ç¯„囲ã§ã™ã€‚次ã®ä¾‹ã®ã‚ˆã†ã«ã€ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã¯ãƒ—レフィックス一致をã€ãƒ—ラス記å·ã¯æŒ‡å®šã•れãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ä»¥ä¸Šã‚’ã€ã‚¢ãƒ³ãƒ‘サンドã¯2ã¤ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç¯„囲ã®è«–ç†\fIand\fRã‚’ãれãžã‚Œæ„味ã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-version:"1\&.6\&.0_13 1\&.6* & 1\&.6\&.0_10+" +.fi +.if n \{\ +.RE +.\} +å‰ã®ä¾‹ã®æ„味ã¯ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³1\&.6\&.0_13ã€ã¾ãŸã¯1\&.6ã‚’\fIãƒãƒ¼ã‚¸ãƒ§ãƒ³ID\fRãƒ—ãƒ¬ãƒ•ã‚£ãƒƒã‚¯ã‚¹ã«æŒã¤1\&.6\&.0_10以上ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’クラスã¾ãŸã¯JARファイルãŒå¿…è¦ã¨ã—ã¦ã„ã‚‹ã€ã¨ã„ã†ã“ã¨ã§ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³æ–‡å­—列ã®åŽ³å¯†ãªæ§‹æ–‡ã‚„定義ã«ã¤ã„ã¦ã¯ã€ã€ŒJavaãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯èµ·å‹•プロトコル & API仕様(JSR\-56)ã€ã®ã€Œä»˜éŒ²Aã€ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.sp +JARファイルã®å ´åˆã¯ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³è¦ä»¶ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã™ã‚‹ã‚ˆã‚Šã‚‚ã€JARファイルã®ãƒžãƒ‹ãƒ•ã‚§ã‚¹ãƒˆå†…ã«æŒ‡å®šã™ã‚‹ã“ã¨ãŒæŽ¨å¥¨ã•れã¦ã„ã¾ã™ã€‚ +.sp +ã“ã®ã‚ªãƒ—ションã®ä½¿ç”¨ã«é–¢ã™ã‚‹é‡è¦ãªãƒãƒªã‚·ãƒ¼æƒ…å ±ã¯ã€æ³¨æ„ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.SS "éžæ¨™æº–オプション" +.PP +\-X +.RS 4 +éžæ¨™æº–オプションã«é–¢ã™ã‚‹æƒ…報を表示ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.RE +.PP +\-Xint +.RS 4 +インタプリタ専用モードã§å‹•作ã—ã¾ã™ã€‚ãƒã‚¤ãƒ†ã‚£ãƒ–・コードã¸ã®ã‚³ãƒ³ãƒ‘イルã¯ç„¡åйã«ãªã‚Šã€ã™ã¹ã¦ã®ãƒã‚¤ãƒˆã‚³ãƒ¼ãƒ‰ãŒã‚¤ãƒ³ã‚¿ãƒ—リタã«ã‚ˆã£ã¦å®Ÿè¡Œã•れã¾ã™ã€‚Java HotSpot VMクライアントã«å¯¾å¿œã™ã‚‹ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ãŒæä¾›ã™ã‚‹ãƒ‘フォーマンス上ã®åˆ©ç‚¹ã¯ã€ã“ã®ãƒ¢ãƒ¼ãƒ‰ã§ã¯å®Ÿç¾ã•れã¾ã›ã‚“。 +.RE +.PP +\-Xbatch +.RS 4 +ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ãƒ»ã‚³ãƒ³ãƒ‘イルを無効ã«ã—ã¾ã™ã€‚通常ã€Java VMã§ã¯ã€ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ãƒ»ã‚³ãƒ³ãƒ‘イルãŒçµ‚了ã™ã‚‹ã¾ã§ã€ãƒ¡ã‚½ãƒƒãƒ‰ã‚’ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ãƒ»ã‚¿ã‚¹ã‚¯ã¨ã—ã¦ã‚³ãƒ³ãƒ‘イルã—ã€ã‚¤ãƒ³ã‚¿ãƒ—リタ・モードã§ãƒ¡ã‚½ãƒƒãƒ‰ã‚’実行ã—ã¾ã™ã€‚\-Xbatchフラグを指定ã™ã‚‹ã¨ã€ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ãƒ»ã‚³ãƒ³ãƒ‘イルãŒç„¡åйã«ãªã‚Šã€ã™ã¹ã¦ã®ãƒ¡ã‚½ãƒƒãƒ‰ã®ã‚³ãƒ³ãƒ‘イルãŒå®Œäº†ã™ã‚‹ã¾ã§ãƒ•ォアグラウンド・タスクã¨ã—ã¦å‡¦ç†ã•れã¾ã™ã€‚ +.RE +.PP +\-X\fIbootclasspath\fR:\fIbootclasspath\fR +.RS 4 +\fIブート・クラス・ファイルを検索ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€JARファイルãŠã‚ˆã³ZIPアーカイブã®ã‚³ãƒ­ãƒ³ã§åŒºåˆ‡ã‚‰ã‚ŒãŸãƒªã‚¹ãƒˆã‚’指定ã—ã¾ã™ã€‚\fR指定ã—ãŸãƒ‘スã«å­˜åœ¨ã™ã‚‹ãƒ–ート・クラス・ファイルãŒã€JavaプラットフォームJDKã«å«ã¾ã‚Œã‚‹ãƒ–ート・クラス・ファイルã®ã‹ã‚りã«ä½¿ç”¨ã•れã¾ã™ã€‚ +.sp +rt\&.jar内ã®ã‚¯ãƒ©ã‚¹ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã™ã‚‹ç›®çš„ã§ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã‚¢ãƒ—リケーションã¯ã€ã‚·ã‚¹ãƒ†ãƒ ã«é…ç½®ã—ãªã„ã§ãã ã•ã„。Java Runtime Environmentãƒã‚¤ãƒŠãƒªãƒ»ã‚³ãƒ¼ãƒ‰ãƒ»ãƒ©ã‚¤ã‚»ãƒ³ã‚¹é•åã«ãªã‚Šã¾ã™ã€‚ +.RE +.PP +\-X\fIbootclasspath\fR/a:\fIpath\fR +.RS 4 +ディレクトリã€JARファイルãŠã‚ˆã³ZIPアーカイブã®ãƒ‘スをコロンã§åŒºåˆ‡ã£ã¦æŒ‡å®šã—ã¾ã™ã€‚パスã¯ãƒ‡ãƒ•ォルトã®ãƒ–ートストラップ・クラス・パスã®å¾Œã«è¿½åŠ ã•れã¾ã™ã€‚ +.RE +.PP +\-X\fIbootclasspath\fR/p:\fIpath\fR +.RS 4 +ディレクトリã€JARファイルãŠã‚ˆã³ZIPアーカイブã®ãƒ‘スをコロンã§åŒºåˆ‡ã£ã¦æŒ‡å®šã—ã¾ã™ã€‚パスã¯ãƒ‡ãƒ•ォルトã®ãƒ–ートストラップ・クラス・パスã®å‰ã«è¿½åŠ ã•れã¾ã™ã€‚ +.sp +rt\&.jar内ã®ã‚¯ãƒ©ã‚¹ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã™ã‚‹ç›®çš„ã§ã€ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã‚¢ãƒ—リケーションをデプロイã—ãªã„ã§ãã ã•ã„。Java Runtime Environmentãƒã‚¤ãƒŠãƒªãƒ»ã‚³ãƒ¼ãƒ‰ãƒ»ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã«é•åã—ã¾ã™ã€‚ +.RE +.PP +\-Xcheck:jni +.RS 4 +Java Native Interface (JNI)機能ã«å¯¾ã—ã¦è¿½åŠ ãƒã‚§ãƒƒã‚¯ã‚’行ã„ã¾ã™ã€‚具体的ã«ã¯ã€Java仮想マシンã¯JNIリクエストを処ç†ã™ã‚‹å‰ã«ã€JNIé–¢æ•°ã«æ¸¡ã•れるパラメータã¨ã€å®Ÿè¡Œç’°å¢ƒã®ãƒ‡ãƒ¼ã‚¿ã‚’検証ã—ã¾ã™ã€‚無効ãªãƒ‡ãƒ¼ã‚¿ãŒè¦‹ã¤ã‹ã£ãŸå ´åˆã¯ã€ãƒã‚¤ãƒ†ã‚£ãƒ–・コードã«å•題ãŒã‚ã‚‹ã“ã¨ã‚’示ã—ã¦ã„ã‚‹ãŸã‚ã€Java仮想マシンã¯è‡´å‘½çš„エラーを発生ã—ã¦çµ‚了ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ãƒ‘フォーマンス低下ãŒäºˆæƒ³ã•れã¾ã™ã€‚ +.RE +.PP +\-Xfuture +.RS 4 +クラスã¨ãƒ•ァイルã®å½¢å¼ã‚’厳密ã«ãƒã‚§ãƒƒã‚¯ã—ã¾ã™ã€‚下ä½äº’æ›æ€§ã‚’ä¿ã¤ãŸã‚ã€SDK仮想マシンãŒå®Ÿè¡Œã™ã‚‹ãƒ‡ãƒ•ォルトã®å½¢å¼ãƒã‚§ãƒƒã‚¯ã¯ã€JDKソフトウェアã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³1\&.1\&.xãŒå®Ÿè¡Œã™ã‚‹ãƒã‚§ãƒƒã‚¯ã¨åŒç¨‹åº¦ã®å޳坆ã•ã«ãªã£ã¦ã„ã¾ã™ã€‚\fI\-Xfuture\fRオプションを指定ã™ã‚‹ã¨ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイル形å¼ã®ä»•様ã¸ã®æº–拠を強化ã™ã‚‹ãŸã‚ã®ã‚ˆã‚Šå޳坆ãªãƒã‚§ãƒƒã‚¯ãŒæœ‰åйã«ãªã‚Šã¾ã™ã€‚Javaアプリケーション起動ツールã®å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯ã€ã‚ˆã‚Šå޳坆ãªãƒã‚§ãƒƒã‚¯ãŒãƒ‡ãƒ•ォルトã«ãªã‚‹ãŸã‚ã€æ–°ã—ã„コードを開発ã™ã‚‹ã¨ãã«ã¯ã“ã®ãƒ•ラグを使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.RE +.PP +\-Xnoclassgc +.RS 4 +クラスã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã‚’無効ã«ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ãƒ­ãƒ¼ãƒ‰æ¸ˆã‚¯ãƒ©ã‚¹ã‹ã‚‰ãƒ¡ãƒ¢ãƒªãƒ¼ãŒå›žå¾©ã•れるã“ã¨ãŒãªããªã‚‹ãŸã‚ã€å…¨ä½“çš„ãªãƒ¡ãƒ¢ãƒªãƒ¼ä½¿ç”¨é‡ãŒå¢—大ã—ã¾ã™ã€‚ã“ã®å ´åˆã€ã‚¢ãƒ—リケーションã«ã‚ˆã£ã¦ã¯\fIOutOfMemoryError\fRãŒã‚¹ãƒ­ãƒ¼ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.RE +.PP +\-Xincgc +.RS 4 +インクリメンタル・ガベージ・コレクタを有効ã«ã—ã¾ã™ã€‚インクリメンタル・ガベージ・コレクタã¯ã€ãƒ‡ãƒ•ォルトã§ã¯ç„¡åйã«ãªã£ã¦ã„ã¾ã™ã€‚有効ã«ã™ã‚‹ã¨ã€ãƒ—ログラムã®å®Ÿè¡Œä¸­ã«ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã«ã‚ˆã‚‹ä¸€æ™‚åœæ­¢ãŒç™ºç”Ÿã—ãªããªã‚Šã¾ã™ã€‚インクリメンタル・ガベージ・コレクタã¯ã€ãƒ—ログラムã¨åŒæ™‚ã«å®Ÿè¡Œã™ã‚‹ã“ã¨ãŒã‚りã€ã“ã®å ´åˆã€ãƒ—ログラムã®åˆ©ç”¨ã§ãるプロセッサ能力ãŒä½Žä¸‹ã—ã¾ã™ã€‚ +.RE +.PP +\-Xloggc:\fIfile\fR +.RS 4 +\fI\-verbose:gc\fRã¨åŒæ§˜ã«ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ãƒ»ã‚¤ãƒ™ãƒ³ãƒˆãŒç™ºç”Ÿã™ã‚‹ãŸã³ã«å ±å‘Šã—ã¾ã™ãŒã€ãã®ãƒ‡ãƒ¼ã‚¿ã‚’ファイルã«è¨˜éŒ²ã—ã¾ã™ã€‚\fI\-verbose:gc\fRを指定ã—ãŸã¨ãã«å ±å‘Šã•れる情報ã®ä»–ã«ã€å ±å‘Šã•れるå„イベントã®å…ˆé ­ã«ã€æœ€åˆã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ãƒ»ã‚¤ãƒ™ãƒ³ãƒˆã‹ã‚‰ã®çµŒéŽæ™‚é–“(ç§’å˜ä½)ãŒä»˜ã‘加ãˆã‚‰ã‚Œã¾ã™ã€‚ +.sp +ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ã®ãƒ¬ã‚¹ãƒãƒ³ã‚¹æ™‚é–“ã«ã‚ˆã£ã¦Java VMã®å®Ÿè¡Œé€Ÿåº¦ãŒä½Žä¸‹ã™ã‚‹ã®ã‚’é¿ã‘ã‚‹ãŸã‚ã€ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã®æ ¼ç´å…ˆã¯ã€å¸¸ã«ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ•ァイル・システムã«ã—ã¦ãã ã•ã„ã€‚ãƒ•ã‚¡ã‚¤ãƒ«ãƒ»ã‚·ã‚¹ãƒ†ãƒ ãŒæº€æ¯ã«ãªã‚‹ã¨ã€ãƒ•ァイルã¯åˆ‡ã‚Šè©°ã‚られã€ãã®ãƒ•ァイルã«ãƒ‡ãƒ¼ã‚¿ãŒå¼•ç¶šã記録ã•れã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¨\fI\-verbose:gc\fRã®ä¸¡æ–¹ãŒã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€ã“ã®ã‚ªãƒ—ションãŒå„ªå…ˆã•れã¾ã™ã€‚ +.RE +.PP +\-Xmnsizeã¾ãŸã¯\-XX:\fINewSize\fR +.RS 4 +è‹¥ã„世代(ナーサリ)ã®ã‚µã‚¤ã‚ºã‚’設定ã—ã¾ã™ã€‚ +.RE +.PP +\-Xms\fIn\fR +.RS 4 +メモリー割当ã¦ãƒ—ールã®åˆæœŸã‚µã‚¤ã‚ºã‚’ãƒã‚¤ãƒˆæ•°ã§æŒ‡å®šã—ã¾ã™ã€‚指定ã™ã‚‹å€¤ã¯ã€1MBより大ãã„1024ã®å€æ•°ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚キロãƒã‚¤ãƒˆã‚’指定ã™ã‚‹ã«ã¯ã€æ–‡å­—\fIk\fRã¾ãŸã¯\fIK\fRを付ã‘ã¾ã™ã€‚メガãƒã‚¤ãƒˆã‚’指定ã™ã‚‹ã«ã¯ã€æ–‡å­—\fIm\fRã¾ãŸã¯\fIM\fRを付ã‘ã¾ã™ã€‚デフォルト値ã¯ã€å®Ÿè¡Œæ™‚ã«ã‚·ã‚¹ãƒ†ãƒ æ§‹æˆã«åŸºã¥ã„ã¦é¸æŠžã•れã¾ã™ã€‚次ã®\fI「ガベージ・コレクタã®ã‚¨ãƒ«ã‚´ãƒŽãƒŸã‚¯ã‚¹ã€\fRã‚’å‚ç…§ã—ã¦ãã ã•ã„: + +http://docs\&.oracle\&.com/javase/7/docs/technotes/guide/vm/gc\-ergonomics\&.html +.sp +例: +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-Xms6291456 +\-Xms6144k +\-Xms6m +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-Xmx\fIn\fR +.RS 4 +メモリー割当ã¦ãƒ—ãƒ¼ãƒ«ã®æœ€å¤§ã‚µã‚¤ã‚ºã‚’ãƒã‚¤ãƒˆæ•°ã§æŒ‡å®šã—ã¾ã™ã€‚指定ã™ã‚‹å€¤ã¯ã€2MBより大ãã„1024ã®å€æ•°ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚キロãƒã‚¤ãƒˆã‚’指定ã™ã‚‹ã«ã¯ã€æ–‡å­—\fIk\fRã¾ãŸã¯\fIK\fRを付ã‘ã¾ã™ã€‚メガãƒã‚¤ãƒˆã‚’指定ã™ã‚‹ã«ã¯ã€æ–‡å­—\fIm\fRã¾ãŸã¯\fIM\fRを付ã‘ã¾ã™ã€‚デフォルト値ã¯ã€å®Ÿè¡Œæ™‚ã«ã‚·ã‚¹ãƒ†ãƒ æ§‹æˆã«åŸºã¥ã„ã¦é¸æŠžã•れã¾ã™ã€‚ +.sp +サーãƒãƒ¼ãƒ»ãƒ‡ãƒ—ロイメントã§ã¯ã€\fI\-Xms\fRãŠã‚ˆã³\fI\-Xmx\fRã¯é€šå¸¸åŒã˜å€¤ã«è¨­å®šã•れã¾ã™ã€‚次ã®\fI「ガベージ・コレクタã®ã‚¨ãƒ«ã‚´ãƒŽãƒŸã‚¯ã‚¹ã€\fRã‚’å‚ç…§ã—ã¦ãã ã•ã„: + +http://docs\&.oracle\&.com/javase/7/docs/technotes/guide/vm/gc\-ergonomics\&.html +.sp +例: +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-Xmx83886080 +\-Xmx81920k +\-Xmx80m +.fi +.if n \{\ +.RE +.\} +Solaris 7ãŠã‚ˆã³Solaris 8 SPARCプラットフォームã®å ´åˆã®ã“ã®å€¤ã®ä¸Šé™ã¯ã€ãŠã‚ˆã4000mã‹ã‚‰ã‚ªãƒ¼ãƒãƒ¼ãƒ˜ãƒƒãƒ‰ã®é‡ã‚’引ã„ãŸã‚‚ã®ã§ã™ã€‚Solaris 2\&.6ãŠã‚ˆã³x86プラットフォームã®å ´åˆã®ä¸Šé™ã¯ã€ãŠã‚ˆã2000mã‹ã‚‰ã‚ªãƒ¼ãƒãƒ¼ãƒ˜ãƒƒãƒ‰ã®é‡ã‚’引ã„ãŸã‚‚ã®ã§ã™ã€‚Linuxプラットフォームã®å ´åˆã®ä¸Šé™ã¯ã€ãŠã‚ˆã2000mã‹ã‚‰ã‚ªãƒ¼ãƒãƒ¼ãƒ˜ãƒƒãƒ‰ã®é‡ã‚’引ã„ãŸã‚‚ã®ã§ã™ã€‚ +.RE +.PP +\-Xprof +.RS 4 +実行中ã®ãƒ—ログラムã®ãƒ—ロファイルを生æˆã—ã€ãƒ—ロファイル・データを標準出力ã«å‡ºåŠ›ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€ãƒ—ログラム開発用ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã¨ã—ã¦æä¾›ã•れã¦ã„ã¾ã™ã€‚本番稼åƒã‚·ã‚¹ãƒ†ãƒ ã§ã®ä½¿ç”¨ã‚’目的ã¨ã—ãŸã‚‚ã®ã§ã¯ã‚りã¾ã›ã‚“。 +.RE +.PP +\-Xrs +.RS 4 +Java VMã«ã‚ˆã‚‹ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚·ã‚°ãƒŠãƒ«ã®ä½¿ç”¨ã‚’減らã—ã¾ã™ã€‚ +.sp +以å‰ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯ã€Javaã‚¢ãƒ—ãƒªã‚±ãƒ¼ã‚·ãƒ§ãƒ³ã‚’ç§©åºæ­£ã—ãシャットダウンã™ã‚‹ãŸã‚ã®ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³ãƒ»ãƒ•ック機能ãŒè¿½åŠ ã•れã¾ã—ãŸã€‚ã“ã®æ©Ÿèƒ½ã«ã‚ˆã‚Šã€Java VMãŒçªç„¶çµ‚了ã—ãŸå ´åˆã§ã‚‚ã€ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³æ™‚ã«ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒªãƒ¼ãƒ³ãƒ»ã‚¢ãƒƒãƒ—コード(データベース接続ã®ã‚¯ãƒ­ãƒ¼ã‚ºãªã©)を実行ã§ãるよã†ã«ãªã‚Šã¾ã—ãŸã€‚ +.sp +Java VMã¯ã€äºˆæœŸã—ãªã„Java VM終了ã®ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³ãƒ»ãƒ•ックを実装ã™ã‚‹ãŸã‚ã«ã‚·ã‚°ãƒŠãƒ«ã‚’キャッãƒã—ã¾ã™ã€‚Java VMã¯ã€\fISIGHUP\fRã€\fISIGINT\fRãŠã‚ˆã³\fISIGTERM\fRを使用ã—ã¦ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³ãƒ»ãƒ•ックã®å®Ÿè¡Œã‚’é–‹å§‹ã—ã¾ã™ã€‚ +.sp +JVMã¯ã€ãƒ‡ãƒãƒƒã‚°ã®ç›®çš„ã§ã‚¹ãƒ¬ãƒƒãƒ‰ãƒ»ã‚¹ã‚¿ãƒƒã‚¯ã‚’ダンプã™ã‚‹ã¨ã„ã†æ©Ÿèƒ½ã‚’実ç¾ã™ã‚‹ãŸã‚ã«ã€åŒæ§˜ã®ãƒ¡ã‚«ãƒ‹ã‚ºãƒ ã‚’使用ã—ã¾ã™ã€‚JVMã¯ã€ã‚¹ãƒ¬ãƒƒãƒ‰ãƒ»ãƒ€ãƒ³ãƒ—を実行ã™ã‚‹ãŸã‚ã«\fISIGQUIT\fRを使用ã—ã¾ã™ã€‚ +.sp +Java VMを埋ã‚込んã§ã„るアプリケーションã¯\fISIGINT\fRã‚„\fISIGTERM\fRãªã©ã®ã‚·ã‚°ãƒŠãƒ«ã‚’é »ç¹ã«ãƒˆãƒ©ãƒƒãƒ—ã™ã‚‹å¿…è¦ãŒã‚りã€ãã®çµæžœJava VMã®ã‚·ã‚°ãƒŠãƒ«ãƒ»ãƒãƒ³ãƒ‰ãƒ©ã¨è¡çªã™ã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚\fI\-Xrs\fRコマンドライン・オプションを使用ã™ã‚‹ã¨ã€ã“ã®å•題ã«å¯¾å‡¦ã§ãã¾ã™ã€‚\fI\-Xrs\fRãŒJava VMã§ä½¿ç”¨ã•れã¦ã„ã‚‹å ´åˆã€\fISIGINT\fRã€\fISIGTERM\fRã€\fISIGHUP\fRãŠã‚ˆã³\fISIGQUIT\fRã®ã‚·ã‚°ãƒŠãƒ«ãƒ»ãƒžã‚¹ã‚¯ã¯Java VMã«ã‚ˆã£ã¦å¤‰æ›´ã•れãšã€ã“れらã®ã‚·ã‚°ãƒŠãƒ«ã®ã‚·ã‚°ãƒŠãƒ«ãƒ»ãƒãƒ³ãƒ‰ãƒ©ã¯ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¾ã›ã‚“。 +.sp +\fI\-Xrs\fRを指定ã™ã‚‹ã¨ã€æ¬¡ã®2ã¤ã®çµæžœãŒç”Ÿã˜ã¾ã™: +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fISIGQUIT\fRã«ã‚ˆã‚‹ã‚¹ãƒ¬ãƒƒãƒ‰ãƒ»ãƒ€ãƒ³ãƒ—ã¯ä½¿ç”¨ã§ãã¾ã›ã‚“。 +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +シャットダウン・フック処ç†ã®å®Ÿè¡Œã¯ã€Java VMãŒçµ‚了ã—よã†ã¨ã—ã¦ã„る時点ã§\fISystem\&.exit()\fRを呼ã³å‡ºã™ãªã©ã—ã¦ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚³ãƒ¼ãƒ‰å´ã§è¡Œã†å¿…è¦ãŒã‚りã¾ã™ã€‚ +.RE +.RE +.PP +\-Xss\fIn\fR +.RS 4 +スレッドã®ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ã‚µã‚¤ã‚ºã‚’設定ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:AllocationPrefetchStyle=\fIn\fR +.RS 4 +割当中ã«ä½¿ç”¨ã•れるプリフェッãƒã®ã‚¹ã‚¿ã‚¤ãƒ«ã‚’設定ã—ã¾ã™ã€‚デフォルトã¯2ã§ã™ã€‚ +.RE +.PP +\-XX:+AggressiveOpts +.RS 4 +ç©æ¥µçš„ãªæœ€é©åŒ–を有効ã«ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:+|\-DisableAttachMechanism +.RS 4 +コマンド(\fIjmap\fRã‚„\fIjconsole\fRãªã©)ãŒJava VMã«æŽ¥ç¶šã§ãã‚‹ã‹ã©ã†ã‹ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ã“ã®æ©Ÿèƒ½ã¯ç„¡åйã«ãªã£ã¦ã„ã¾ã™ã€‚ã¤ã¾ã‚Šã€æ¬¡ã®ä¾‹ã®ã‚ˆã†ã«æŽ¥ç¶šãŒæœ‰åйã§ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +java \-XX:+DisableAttachMechanism +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-XX:+|\-FlightRecorder +.RS 4 +アプリケーションã®å®Ÿè¡Œä¸­ã«ã€Javaフライト・レコーダ(JFR)ã®ä½¿ç”¨ã‚’切り替ãˆã¾ã™ã€‚ã“れã¯å•†ç”¨æ©Ÿèƒ½ã§ã€\fI\-XX:+UnlockCommercialFeatures\fRオプションを次ã®ã‚ˆã†ã«æŒ‡å®šã™ã‚‹ã“ã¨ã‚‚å¿…è¦ã«ãªã‚Šã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +java \-XX:UnlockCommercialFeatures \-XX:+FlightRecorder +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-XX:FlightRecorderOptions=\fIparameter\fR=\fIvalue\fR +.RS 4 +JFRã®å‹•作を制御ã™ã‚‹ãƒ‘ラメータを設定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã§ãã‚‹ã®ã¯ã€JFRãŒæœ‰åйãªå ´åˆ(\fI\-XX:+FlightRecorder\fRã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆ)ã®ã¿ã§ã™ã€‚ +.sp +次ã®ãƒªã‚¹ãƒˆã«ã¯ã€ä½¿ç”¨å¯èƒ½ãªã™ã¹ã¦ã®JFRパラメータãŒå«ã¾ã‚Œã¾ã™ã€‚ +.PP +defaultrecording=true|false +.RS 4 +ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰è¨˜éŒ²ãŒæœ‰åйã‹ã©ã†ã‹ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ã“ã®ãƒ‘ラメータã¯\fIfalse\fR +(ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰è¨˜éŒ²ã¯ç„¡åй)ã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚有効ã«ã™ã‚‹ã«ã¯ã€ãƒ‘ラメータを\fItrue\fRã«è¨­å®šã—ã¾ã™ã€‚ +.RE +.PP +disk=true|false +.RS 4 +JFRã§ãƒ‡ã‚£ã‚¹ã‚¯ã«é€£ç¶šè¨˜éŒ²ã‚’書ã込む必è¦ãŒã‚ã‚‹ã‹ã©ã†ã‹ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ã“ã®ãƒ‘ラメータã¯\fIfalse\fR +(ディスクã¸ã®é€£ç¶šè¨˜éŒ²ã¯ç„¡åй)ã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚有効ã«ã™ã‚‹ã«ã¯ã€ãƒ‘ラメータを\fItrue\fRã«è¨­å®šã—ã¾ã™ã€‚ +.RE +.PP +dumponexit=true|false +.RS 4 +JVMãŒåˆ¶å¾¡ã•ã‚ŒãŸæ–¹å¼ã§çµ‚了ã—ãŸã¨ãã«ã€JFRデータã®ãƒ€ãƒ³ãƒ—・ファイルを生æˆã™ã‚‹ã‹ã©ã†ã‹ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ã“ã®ãƒ‘ラメータã¯\fIfalse\fR +(終了時ã«ãƒ€ãƒ³ãƒ—・ファイルã¯ç”Ÿæˆã•れãªã„)ã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚有効ã«ã™ã‚‹ã«ã¯ã€ãƒ‘ラメータを\fItrue\fRã«è¨­å®šã—ã¾ã™ã€‚ +.sp +ダンプ・ファイルã¯ã€\fIdumponexitpath\fRパラメータã«ã‚ˆã£ã¦æŒ‡å®šã•れãŸå ´æ‰€ã«æ›¸ãè¾¼ã¾ã‚Œã¾ã™ã€‚ +.RE +.PP +dumponexitpath=\fIpath\fR +.RS 4 +\fIdumponexit=true\fRパラメータãŒè¨­å®šã•れã¦ã„ã‚‹å ´åˆã«ã€JVMãŒåˆ¶å¾¡ã•ã‚ŒãŸæ–¹å¼ã§çµ‚了ã™ã‚‹ã¨ãã«ä½œæˆã•れるã€JFRデータをå«ã‚€ãƒ€ãƒ³ãƒ—・ファイルã®ãƒ‘スã¨åå‰ã‚’指定ã—ã¾ã™ã€‚指定ã—ãŸãƒ‘スãŒãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®å ´åˆã€JVMã¯ä½œæˆæ—¥æ™‚を示ã™ãƒ•ァイルåを割り当ã¦ã¾ã™ã€‚指定ã—ãŸãƒ‘スã«ã™ã§ã«å­˜åœ¨ã™ã‚‹ãƒ•ァイルã®ãƒ•ァイルåãŒå«ã¾ã‚Œã‚‹å ´åˆã€æŒ‡å®šã—ãŸãƒ•ァイルåã«æ—¥ä»˜ãŠã‚ˆã³ã‚¿ã‚¤ãƒ ãƒ»ã‚¹ã‚¿ãƒ³ãƒ—を追加ã—ã¦æ–°ã—ã„ファイルãŒä½œæˆã•れã¾ã™ã€‚ +.RE +.PP +globalbuffersize=\fIsize\fR +.RS 4 +データä¿å­˜ã«ä½¿ç”¨ã™ã‚‹ç·ãƒ—ライマリ・メモリーé‡(MBå˜ä½)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ã‚µã‚¤ã‚ºã¯10MBã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚ +.RE +.PP +maxage=\fItime\fR +.RS 4 +デフォルト記録ã®ãƒ‡ã‚£ã‚¹ã‚¯ãƒ»ãƒ‡ãƒ¼ã‚¿ã®æœ€å¤§ä¿æŒæ™‚é–“(分å˜ä½)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€æœ€å¤§ä¿æŒæ™‚é–“ã¯15分ã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚ã“ã®ãƒ‘ラメータã¯ã€\fIdisk=true\fRパラメータãŒè¨­å®šã•れã¦ã„ã‚‹å ´åˆã®ã¿æœ‰åйã§ã™ã€‚ +.RE +.PP +maxchunksize=\fIsize\fR +.RS 4 +記録内ã®ãƒ‡ãƒ¼ã‚¿ãƒ»ãƒãƒ£ãƒ³ã‚¯ã®æœ€å¤§ã‚µã‚¤ã‚º(MBå˜ä½)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ãƒ‡ãƒ¼ã‚¿ãƒ»ãƒãƒ£ãƒ³ã‚¯ã®æœ€å¤§ã‚µã‚¤ã‚ºã¯12MBã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚ +.RE +.PP +maxsize=\fIsize\fR +.RS 4 +デフォルト記録ã®ãƒ‡ã‚£ã‚¹ã‚¯ãƒ»ãƒ‡ãƒ¼ã‚¿ã®æœ€å¤§ã‚µã‚¤ã‚º(MBå˜ä½)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ãƒ‡ã‚£ã‚¹ã‚¯ãƒ»ãƒ‡ãƒ¼ã‚¿ã®æœ€å¤§ã‚µã‚¤ã‚ºã¯åˆ¶é™ã•れã¦ã„ã¾ã›ã‚“。 +.sp +ã“ã®ãƒ‘ラメータã¯ã€\fIdisk=true\fRパラメータãŒè¨­å®šã•れã¦ã„ã‚‹å ´åˆã«ã®ã¿æœ‰åйã§ã™ã€‚ +.RE +.PP +repository=\fIpath\fR +.RS 4 +一時ディスク記憶域ã®ãƒªãƒã‚¸ãƒˆãƒª(ディレクトリ)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ã‚·ã‚¹ãƒ†ãƒ ã®ä¸€æ™‚ディレクトリãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.PP +settings=\fIpath\fR +.RS 4 +イベント設定ファイル(タイプã¯JFS)ã®ãƒ‘スã¨åå‰ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€\fIJAVA_HOME/jre/lib/jfr\fRã«ã‚ã‚‹\fIdefault\&.jfs\fRファイルãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.PP +threadbuffersize=\fIsize\fR +.RS 4 +スレッドã”ã¨ã®ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒãƒƒãƒ•ァ・サイズ(KBå˜ä½)を指定ã—ã¾ã™ã€‚ã“ã®ãƒ‘ラメータã®å€¤ãŒé«˜ã„ã¨ã€ç«¶åˆã™ã‚‹ã“ã¨ãªãã€ã‚ˆã‚Šå¤šãã®ãƒ‡ãƒ¼ã‚¿ã‚’åŽé›†ã—ã¦ã‚°ãƒ­ãƒ¼ãƒãƒ«è¨˜æ†¶åŸŸã«ãƒ•ラッシュã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚スレッドãŒå¤šã„環境ã§ã¯ã‚¢ãƒ—リケーションã®ãƒ•ットプリントも増加ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒãƒƒãƒ•ァ・サイズã¯5KBã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚ +.RE +.sp +カンマã§åŒºåˆ‡ã£ã¦ã€è¤‡æ•°ã®ãƒ‘ラメータã®å€¤ã‚’指定ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€ãƒ‡ã‚£ã‚¹ã‚¯ã«é€£ç¶šè¨˜éŒ²ã‚’書ãè¾¼ã¿ã€ãƒ‡ãƒ¼ã‚¿ãƒ»ãƒãƒ£ãƒ³ã‚¯ã®æœ€å¤§ã‚µã‚¤ã‚ºã‚’10MBã«è¨­å®šã™ã‚‹ã‚ˆã†ã«JFRã«æŒ‡ç¤ºã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-XX:FlightRecorderOptions=disk=true,maxchunksize=10M +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-XXLargePageSizeInBytes=\fIn\fR +.RS 4 +ãƒ©ãƒ¼ã‚¸ãƒ»ãƒšãƒ¼ã‚¸ã®æœ€å¤§ã‚µã‚¤ã‚ºã‚’指定ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:MaxGCPauseMillis=\fIn\fR +.RS 4 +最大GC休止時間ã®ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚’設定ã—ã¾ã™ã€‚ +.sp +ã“れã¯ã‚½ãƒ•ト・ゴールã®ãŸã‚ã€Java VMã¯å®Ÿç¾ã®ãŸã‚ã«æœ€å–„ã®åŠªåŠ›ã‚’ã—ã¾ã™ã€‚デフォルトã§è¨­å®šã•れã¦ã„る最大値ã¯ã‚りã¾ã›ã‚“。 +.RE +.PP +\-XX:NewSize +.RS 4 +è‹¥ã„世代(ナーサリ)ã®ã‚µã‚¤ã‚ºã‚’設定ã—ã¾ã™ã€‚\fI\-Xmnsize\fRã¨åŒã˜ã§ã™ã€‚ +.RE +.PP +\-XX:ParallelGCThreads=\fIn\fR +.RS 4 +パラレル・コレクタ内ã®GCã‚¹ãƒ¬ãƒƒãƒ‰ã®æ•°ã‚’設定ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:PredictedClassLoadCount=\fIn\fR +.RS 4 +ã“ã®ã‚ªãƒ—ションã§ã¯ã€æœ€åˆã«\fIUnlockExperimentalVMOptions\fRフラグを設定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚アプリケーションãŒå¤šæ•°ã®ã‚¯ãƒ©ã‚¹ã‚’ロードã™ã‚‹å ´åˆã§ã€ç‰¹ã«\fIclass\&.forName()\fRãŒé »ç¹ã«ä½¿ç”¨ã•れる場åˆã¯\fIPredictedClassLoadCount\fRフラグを使用ã—ã¾ã™ã€‚推奨値ã¯ã€\fI\-verbose:class\fRã‹ã‚‰ã®å‡ºåŠ›ã«ç¤ºã•れã¦ã„ã‚‹ãƒ­ãƒ¼ãƒ‰æ¸ˆã‚¯ãƒ©ã‚¹ã®æ•°ã§ã™ã€‚ +.sp +例: +.sp +.if n \{\ +.RS 4 +.\} +.nf +java \-XX:+UnlockExperimentalVMOptions \-XX:PredictedClassLoadCount=60013 +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-XX:+PrintCompilation +.RS 4 +Java HotSpot VMダイナミック・ランタイム・コンパイラã‹ã‚‰ã®è©³ç´°å‡ºåŠ›ã‚’å°åˆ·ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:+PrintGCDetails \-XX:+PrintGCTimeStamps +.RS 4 +ガベージ・コレクション出力をタイムスタンプã¨ã¨ã‚‚ã«å°åˆ·ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:SoftRefLRUPolicyMSPerMB=0 +.RS 4 +ã“ã®ãƒ•ラグã¯ã€ã‚½ãƒ•トウェアå‚ç…§ã®ç©æ¥µçš„処ç†ã‚’有効ã«ã—ã¾ã™ã€‚ã“ã®ãƒ•ラグã¯ã€ã‚½ãƒ•トウェアå‚照カウントãŒJava HotSpot VMガベージ・コレクタã«å½±éŸ¿ã™ã‚‹å ´åˆã«ä½¿ç”¨ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:StartFlightRecording=\fIparameter\fR=\fIvalue\fR +.RS 4 +Javaアプリケーションã®JFR記録を開始ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€å®Ÿè¡Œæ™‚ã«JFRã‚’èµ·å‹•ã™ã‚‹\fIstart_flightrecording\fR診断コマンドã«ç›¸å½“ã—ã¾ã™ã€‚JFR記録ã®é–‹å§‹æ™‚ã«ã€æ¬¡ã®ãƒ‘ラメータを設定ã§ãã¾ã™ã€‚ +.PP +compress=true|false +.RS 4 +\fIgzip\fRファイル圧縮ユーティリティを使用ã—ã¦ã€ãƒ‡ã‚£ã‚¹ã‚¯ã§JFR記録ログ・ファイル(タイプã¯JFR)を圧縮ã™ã‚‹ã‹ã©ã†ã‹ã‚’指定ã—ã¾ã™ã€‚ã“ã®ãƒ‘ラメータã¯ã€\fIfilename\fRãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã®ã¿æœ‰åйã§ã™ã€‚デフォルトã§ã¯ã€\fIfalse\fR +(記録を圧縮ã—ãªã„)ã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚圧縮を有効ã«ã™ã‚‹ã«ã¯ã€ãƒ‘ラメータを\fItrue\fRã«è¨­å®šã—ã¾ã™ã€‚ +.RE +.PP +defaultrecording=true|false +.RS 4 +記録ãŒé€£ç¶šçš„ã‹ã€ã¾ãŸã¯é™å®šã•ã‚ŒãŸæ™‚é–“ã«å¯¾ã—ã¦å®Ÿè¡Œã•れるã‹ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ã“ã®ãƒ‘ラメータã¯\fIfalse\fR +(記録ã¯é™å®šã•ã‚ŒãŸæ™‚é–“ã«å¯¾ã—ã¦å®Ÿè¡Œã•れる)ã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚記録を連続的ã«å®Ÿè¡Œã™ã‚‹ã«ã¯ã€ãƒ‘ラメータを\fItrue\fRã«è¨­å®šã—ã¾ã™ã€‚ +.RE +.PP +delay=\fItime\fR +.RS 4 +Javaアプリケーションã®èµ·å‹•時間ã¨è¨˜éŒ²é–‹å§‹ã¨ã®é–“ã®é…å»¶(ミリ秒å˜ä½)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€é…å»¶ã¯å­˜åœ¨ã›ãšã€ã“ã®ãƒ‘ラメータã¯0ã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚ +.RE +.PP +duration=\fItime\fR +.RS 4 +è¨˜éŒ²ã®æœŸé–“(ミリ秒å˜ä½)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€æœŸé–“ã¯åˆ¶é™ã•れã¦ã„ã¾ã›ã‚“。 +.RE +.PP +filename=\fIpath\fR +.RS 4 +JFR記録ログ・ファイルã®ãƒ‘スã¨åå‰ã‚’指定ã—ã¾ã™ã€‚ +.RE +.PP +name=\fIidentifier\fR +.RS 4 +JFR記録ã®è­˜åˆ¥å­ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€Recording xã«è¨­å®šã•れã¦ã„ã¾ã™ +.RE +.PP +maxage=\fItime\fR +.RS 4 +デフォルト記録ã®ãƒ‡ã‚£ã‚¹ã‚¯ãƒ»ãƒ‡ãƒ¼ã‚¿ã®æœ€å¤§ä¿æŒæ™‚é–“(分å˜ä½)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€æœ€å¤§ä¿æŒæ™‚é–“ã¯15分ã«è¨­å®šã•れã¦ã„ã¾ã™ã€‚ +.RE +.PP +maxsize=\fIsize\fR +.RS 4 +スレッド・ãƒãƒƒãƒ•ã‚¡ã‹ã‚‰ã‚°ãƒ­ãƒ¼ãƒãƒ«ãƒ»ãƒãƒƒãƒ•ã‚¡ã«ãƒ•ラッシュã•れるã¾ã§ã®ã€è¨˜éŒ²ã®æœ€å¤§ã‚µã‚¤ã‚º(MBå˜ä½)を指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€æœ€å¤§ã‚µã‚¤ã‚ºã¯åˆ¶é™ã•れã¦ã„ã¾ã›ã‚“。 +.sp +ã“ã®ãƒ‘ラメータã¯ã€ã‚µã‚¤ã‚ºãŒåˆ¶é™ã•れãŸè¨˜éŒ²ã®å ´åˆã®ã¿æœ‰åйã§ã™ã€‚ +.RE +.PP +settings=\fIpath\fR +.RS 4 +イベント設定ファイル(タイプã¯JFS)ã®ãƒ‘スã¨åå‰ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€\fIJAVA_HOME/jre/lib/jfr\fRã«ã‚ã‚‹\fIdefault\&.jfs\fRファイルãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.sp +カンマã§åŒºåˆ‡ã£ã¦ã€è¤‡æ•°ã®ãƒ‘ラメータã®å€¤ã‚’指定ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€è¨˜éŒ²ã‚’ç¾åœ¨ã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®test\&.jfrã«ä¿å­˜ã—ã€ãƒ­ã‚°ãƒ»ãƒ•ァイルを圧縮ã™ã‚‹ã‚ˆã†JFRã«æŒ‡ç¤ºã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +\-XX:StartFlightRecording=filename=test\&.jfr,compress=true +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-XX:TLABSize=\fIn\fR +.RS 4 +スレッド・ローカル割当ã¦ãƒãƒƒãƒ•ã‚¡(TLAB)ãŒJava HotSpot VMã§ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§æœ‰åйã«ãªã£ã¦ã„ã¾ã™ã€‚Java HotSpot VMã§ã¯ã€TLABã®ã‚µã‚¤ã‚ºã‚’割当ã¦ãƒ‘ターンã«åŸºã¥ã„ã¦æ±ºå®šã—ã¾ã™ã€‚\fI\-XX:TLABSize\fRオプションã§TLABã®ã‚µã‚¤ã‚ºã‚’微調整ã§ãã¾ã™ã€‚ +.RE +.PP +\-XX:+UnlockCommercialFeatures +.RS 4 +ã“ã®ãƒ•ラグã¯ã€å•†ç”¨æ©Ÿèƒ½ã®ä½¿ç”¨ã‚’能動的ã«ãƒ­ãƒƒã‚¯è§£é™¤ã™ã‚‹å ´åˆã«ä½¿ç”¨ã—ã¾ã™ã€‚商用機能ã¨ã¯ã€ã€ŒJava SE Productsã€Webページã§è¦å®šã•れã¦ã„ã‚‹ã¨ãŠã‚Šã€Oracle Java SE Advanced製å“ã¾ãŸã¯Oracle Java SE Suite製å“ã§ã™ã€‚ +.sp +ã“ã®ãƒ•ãƒ©ã‚°ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ãƒ‡ãƒ•ォルトã¯Java仮想マシンを使用å¯èƒ½ãªå•†ç”¨æ©Ÿèƒ½ãªã—ã§å®Ÿè¡Œã™ã‚‹ã“ã¨ã§ã™ã€‚ãれらを有効ã«ã—ãŸå¾Œã€å®Ÿè¡Œæ™‚ã«ãれらã®ä½¿ç”¨ã‚’無効ã«ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。 +.RE +.PP +\-XX:+UseAltSigs +.RS 4 +Java VMã§ã¯ãƒ‡ãƒ•ォルトã§\fISIGUSR1\fRãŠã‚ˆã³\fISIGUSR2\fRを使用ã—ã¾ã™ãŒã€\fISIGUSR1\fRãŠã‚ˆã³\fISIGUSR2\fRをシグナル連鎖ã™ã‚‹ã‚¢ãƒ—リケーションã¨ç«¶åˆã™ã‚‹å ´åˆãŒã‚りã¾ã™ã€‚\fI\-XX:+UseAltSigs\fRオプションを指定ã™ã‚‹ã¨ã€Java VMã¯ãƒ‡ãƒ•ォルトã¨ã—ã¦\fISIGUSR1\fRã¨\fISIGUSR2\fR以外ã®ã‚·ã‚°ãƒŠãƒ«ã‚’使用ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:+|\-UseCompressedOops +.RS 4 +64ビットJava VMã§åœ§ç¸®ã•れãŸå‚照を有効ã«ã—ã¾ã™ã€‚ +.sp +ã“ã®ã‚ªãƒ—ションã¯ã€ãƒ‡ãƒ•ォルトã§trueã«ãªã‚Šã¾ã™ã€‚ +.RE +.PP +\-XX:+UseConcMarkSweepGCã¾ãŸã¯\-XX:+UseG1GC +.RS 4 +Concurrent Mark Sweep (CMS)ã¾ãŸã¯G1ガベージ・コレクションを有効ã«ã—ã¾ã™ã€‚ +.RE +.PP +\-XX:+|\-UseLargePages +.RS 4 +ラージ・ページ・サãƒãƒ¼ãƒˆã‚’有効ã«ã—ã¾ã™ã€‚ +.sp +ラージ・ページã¯ã€Solarisã§ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§æœ‰åйã«ãªã£ã¦ã„ã¾ã™ã€‚ +.RE +.PP +\-XX:+UseParallelOldGC +.RS 4 +パラレル・ガベージ・コレクタを有効ã«ã—ã¾ã™ã€‚ã“れã¯ã‚¹ãƒ«ãƒ¼ãƒ—ットãŠã‚ˆã³å¹³å‡ãƒ¬ã‚¹ãƒãƒ³ã‚¹æ™‚é–“ã«å¯¾ã—ã¦æœ€é©åŒ–ã•れã¾ã™ã€‚ +.RE +.SH "注æ„" +.PP +\fI\-version:release\fRオプションã§ã¯ã€ãƒªãƒªãƒ¼ã‚¹æŒ‡å®šã®è¤‡é›‘ã•ã«åˆ¶é™ã¯ã‚りã¾ã›ã‚“。ãŸã ã—ã€å¯èƒ½ãªãƒªãƒªãƒ¼ã‚¹æŒ‡å®šã®é™ã‚‰ã‚ŒãŸã‚µãƒ–セットã®ã¿ãŒé©åˆ‡ãªã‚µã‚¦ãƒ³ãƒ‰ãƒ»ãƒãƒªã‚·ãƒ¼ã‚’表ç¾ã§ãã€ãれらã®ã¿ãŒå®Œå…¨ã«ã‚µãƒãƒ¼ãƒˆã•れã¾ã™ã€‚ãれらã®ãƒãƒªã‚·ãƒ¼ã‚’次ã«ç¤ºã—ã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04' 1.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 1." 4.2 +.\} +ä»»æ„ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€‚ã“れã¯ã€ã“ã®ã‚ªãƒ—ションを使用ã—ãªã„ã“ã¨ã§è¡¨ç¾ã§ãã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04' 2.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 2." 4.2 +.\} +次ã®ä¾‹ã®ã‚ˆã†ã«ã€ã‚る特定ã®\fIãƒãƒ¼ã‚¸ãƒ§ãƒ³ID\fR値よりも大ãã„ä»»æ„ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +"1\&.6\&.0_10+" +.fi +.if n \{\ +.RE +.\} +ã“ã®å ´åˆã€1\&.6\&.0_10よりも大ãã„ä»»æ„ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒä½¿ç”¨ã•れã¾ã™ã€‚ã“れã¯ã€æŒ‡å®šã•れãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ç‰¹å®šã®ã‚¤ãƒ³ã‚¿ãƒ•ェースãŒå°Žå…¥ã•れãŸ(ã‚ã‚‹ã„ã¯ãã®ãƒã‚°ãŒä¿®æ­£ã•れãŸ)å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04' 3.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 3." 4.2 +.\} +次ã®ä¾‹ã®ã‚ˆã†ã«ã€ã‚る特定ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³IDよりも大ãã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã€ãã®ãƒªãƒªãƒ¼ã‚¹ãƒ»ãƒ•ァミリã®ä¸Šé™ã«ã‚ˆã£ã¦åˆ¶é™ã•れるもã®ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +"1\&.6\&.0_10+ & 1\&.6*" +.fi +.if n \{\ +.RE +.\} +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04' 4.\h'+01'\c +.\} +.el \{\ +.sp -1 +.IP " 4." 4.2 +.\} +次ã®ä¾‹ã®ã‚ˆã†ã«ã€é …ç›®2ã¾ãŸã¯3ã®\fIor\fRå¼ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf + "1\&.6\&.0_10+ & 1\&.6* 1\&.7+" +.fi +.if n \{\ +.RE +.\} +é …ç›®2ã¨åŒæ§˜ã§ã™ã€‚ã“れã¯ã€ã‚る変更ãŒç‰¹å®šã®ãƒªãƒªãƒ¼ã‚¹(1\&.7)ã§å°Žå…¥ã•れãŸãŒã€ãã®åŒã˜å¤‰æ›´ãŒä»¥å‰ã®ãƒªãƒªãƒ¼ã‚¹ã®ã‚¢ãƒƒãƒ—デートã§ã‚‚利用å¯èƒ½ã«ãªã£ãŸã€ã¨ã„ã†å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ +.RE +.SH "パフォーマンス・ãƒãƒ¥ãƒ¼ãƒ‹ãƒ³ã‚°ã®ä¾‹" +.PP +スループットã¾ãŸã¯ãƒ¬ã‚¹ãƒãƒ³ã‚¹æ™‚é–“ã®é«˜é€ŸåŒ–ã®ã©ã¡ã‚‰ã‹ã‚’最é©åŒ–ã™ã‚‹ãŸã‚ã®ã€è©¦é¨“çš„ãªãƒãƒ¥ãƒ¼ãƒ‹ãƒ³ã‚°ãƒ»ãƒ•ラグã®ä½¿ç”¨ä¾‹ã‚’次ã«ç¤ºã—ã¾ã™ã€‚ +.PP +\fBExample 1\fR, スループットをå‘上ã™ã‚‹ãŸã‚ã®ãƒãƒ¥ãƒ¼ãƒ‹ãƒ³ã‚° +.RS 4 +.sp +.if n \{\ +.RS 4 +.\} +.nf +java \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\fBExample 2\fR, レスãƒãƒ³ã‚¹æ™‚間を速ãã™ã‚‹ãŸã‚ã®ãƒãƒ¥ãƒ¼ãƒ‹ãƒ³ã‚° +.RS 4 +.sp +.if n \{\ +.RS 4 +.\} +.nf + java \-d64 \-XX:+UseG1GC \-Xms26g Xmx26g \-XX:MaxGCPauseMillis=500 \-XX:+PrintGCTimeStamps +.fi +.if n \{\ +.RE +.\} +.RE +.SH "終了ステータス" +.PP +一般ã«ã€æ¬¡ã®çµ‚了値ãŒèµ·å‹•ツールã‹ã‚‰è¿”ã•れるã®ã¯é€šå¸¸ã€èµ·å‹•å…ƒãŒä¸æ­£ãªå¼•æ•°ã§å‘¼ã³å‡ºã•れãŸã‹ã€æ·±åˆ»ãªã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ãŸã‹ã€ã‚ã‚‹ã„ã¯Java仮想マシンã‹ã‚‰ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•れãŸå ´åˆã§ã™ã€‚ãŸã ã—Javaアプリケーションã¯ã€API呼出ã—\fISystem\&.exit(exitValue)\fRを使用ã—ã¦ä»»æ„ã®å€¤ã‚’è¿”ã™ã“ã¨ã‚’é¸æŠžã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fI0\fR: 正常終了 +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fI>0\fR: エラー発生 +.RE +.SH "関連項目" +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +javac [SolarisãŠã‚ˆã³Linux] [Windows] +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +jdb [SolarisãŠã‚ˆã³Linux] [Windows] +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +javah [SolarisãŠã‚ˆã³Linux] [Windows] +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +jar [SolarisãŠã‚ˆã³Linux] [Windows] +.RE +.br +'pl 8.5i +'bp diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javac.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javac.1 new file mode 100644 index 00000000..54a95c69 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javac.1 @@ -0,0 +1,1221 @@ +." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javac 1 "05 Jul 2012" + +.LP +.SH "åå‰" +javac \- Javaプログラミング言語コンパイラ +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +コマンドライン引数ファイル +.TP 2 +o +æ³¨é‡ˆå‡¦ç† +.TP 2 +o +åž‹ã®æ¤œç´¢ +.TP 2 +o +プログラマティック・インタフェース +.TP 2 +o +例 +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl + \fP\f3javac\fP [ options ] [ sourcefiles ] [ classes ] [ @argfiles ] +.fl + +.fl +.fi + +.LP +.LP +引数ã¯é †ä¸åŒã§ã™ã€‚ +.LP +.RS 3 +.TP 3 +options +コマンドライン・オプション。 +.TP 3 +sourcefiles +コンパイルã•れる1ã¤ä»¥ä¸Šã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル(MyClass.javaãªã©)。 +.TP 3 +classes +注釈ã®å‡¦ç†å¯¾è±¡ã¨ãªã‚‹1ã¤ä»¥ä¸Šã®ã‚¯ãƒ©ã‚¹(MyPackage.MyClassãªã©)。 +.TP 3 +@argfiles +オプションã¨ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを列挙ã—ãŸ1ã¤ä»¥ä¸Šã®ãƒ•ァイル。ã“ã®ãƒ•ァイルã®ä¸­ã§ã¯\f2\-J\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¯æŒ‡å®šã§ãã¾ã›ã‚“。 +.RE + +.LP +.SH "説明" +.LP +.LP +\f3javac\fPツールã¯ã€Javaプログラミング言語ã§è¨˜è¿°ã•れãŸã‚¯ãƒ©ã‚¹ã¨ã‚¤ãƒ³ã‚¿ãƒ•ェースã®å®šç¾©ã‚’読ã¿å–りã€ãƒã‚¤ãƒˆã‚³ãƒ¼ãƒ‰ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã«ã‚³ãƒ³ãƒ‘イルã—ã¾ã™ã€‚ã¾ãŸã€Javaソース・ファイルãŠã‚ˆã³ã‚¯ãƒ©ã‚¹å†…ã®æ³¨é‡ˆã®å‡¦ç†ã‚‚行ã„ã¾ã™ã€‚ +.LP +.LP +ソース・コードã®ãƒ•ァイルåã‚’\f3javac\fPã«æ¸¡ã™ã«ã¯ã€æ¬¡ã®2ã¤ã®æ–¹æ³•ãŒã‚りã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ•°ãŒå°‘ãªã„å ´åˆã¯ã€ãƒ•ァイルåをコマンドラインã§ç›´æŽ¥æŒ‡å®šã—ã¾ã™ã€‚ +.TP 2 +o +ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ•°ãŒå¤šã„å ´åˆã¯ã€ãƒ•ァイルåを空白ã¾ãŸã¯æ”¹è¡Œã§åŒºåˆ‡ã£ã¦ã€1ã¤ã®ãƒ•ァイルã«åˆ—挙ã—ã¾ã™ã€‚次ã«ã€ã“ã®ãƒªã‚¹ãƒˆãƒ»ãƒ•ァイルåã®å…ˆé ­ã«\f3@\fPを付ã‘ã¦ã€\f3javac\fPã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ã¾ã™ã€‚ +.RE + +.LP +.LP +ソース・コードã®ãƒ•ァイルåã¯\f2.java\fPæ‹¡å¼µå­ã‚’ã€ã‚¯ãƒ©ã‚¹ã®ãƒ•ァイルåã¯\f2.class\fPæ‹¡å¼µå­ã‚’æŒã£ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã¾ãŸã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®ã©ã¡ã‚‰ã‚‚ã€è©²å½“ã™ã‚‹ã‚¯ãƒ©ã‚¹ã«å¯¾å¿œã™ã‚‹ãƒ«ãƒ¼ãƒˆåã‚’æŒã£ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2MyClass\fPã¨ã„ã†åå‰ã®ã‚¯ãƒ©ã‚¹ã¯ã€\f2MyClass.java\fPã¨ã„ã†åå‰ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã«è¨˜è¿°ã•れã¾ã™ã€‚ã“ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¯ã€\f2MyClass.class\fPã¨ã„ã†åå‰ã®ãƒã‚¤ãƒˆã‚³ãƒ¼ãƒ‰ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã«ã‚³ãƒ³ãƒ‘イルã•れã¾ã™ã€‚ +.LP +.LP +内部クラスãŒå®šç¾©ã•れã¦ã„ã‚‹ã¨ã€è¿½åŠ ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルãŒç”Ÿæˆã•れã¾ã™ã€‚ã“れらã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®åå‰ã¯ã€\f2MyClass$MyInnerClass.class\fPã®ã‚ˆã†ã«ã€å¤–部クラスåã¨å†…部クラスåを組ã¿åˆã›ãŸã‚‚ã®ã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +ソース・ファイルã¯ã€ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ»ãƒ„ãƒªãƒ¼ã‚’åæ˜ ã—ãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ»ãƒ„リーã«é…ç½®ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€ã™ã¹ã¦ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを\f3/workspace\fPã«ç½®ã„ã¦ã„ã‚‹å ´åˆã€\f2com.mysoft.mypack.MyClass\fPã®ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã¯\f3/workspace/com/mysoft/mypack/MyClass.java\fPã«ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +デフォルトã§ã¯ã€ã‚³ãƒ³ãƒ‘イラã¯ã€å„クラス・ファイルを対応ã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æ ¼ç´ã—ã¾ã™ã€‚別ã®å‡ºåŠ›å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’æŒ‡å®šã™ã‚‹ã«ã¯ã€\f3\-d\fPを使用ã—ã¾ã™(ã“ã®å¾Œã®ã‚ªãƒ—ションをå‚ç…§)。 +.LP +.SH "オプション" +.LP +.LP +コンパイラã«ã¯ã€ç¾åœ¨ã®é–‹ç™ºç’°å¢ƒã§ã‚µãƒãƒ¼ãƒˆã•れã¦ãŠã‚Šã€å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚サãƒãƒ¼ãƒˆã•れる標準オプションã®ã‚»ãƒƒãƒˆãŒã‚りã¾ã™ã€‚ã“れ以外ã®éžæ¨™æº–オプションã¯ã€ç¾åœ¨ã®ä»®æƒ³ãƒžã‚·ãƒ³ãŠã‚ˆã³ã‚³ãƒ³ãƒ‘イラã®å®Ÿè£…ã«å›ºæœ‰ã®ã‚ªãƒ—ションã§ã€å°†æ¥ã«å¤‰æ›´ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚éžæ¨™æº–オプションã¯ã€\f3\-X\fPã§å§‹ã¾ã‚Šã¾ã™ã€‚ +.LP +.SS +標準オプション +.LP +.RS 3 +.TP 3 +\-Akey[=value] +æ³¨é‡ˆãƒ—ãƒ­ã‚»ãƒƒã‚µã«æ¸¡ã•れるオプション。ã“れらã¯ã€javacã«ã‚ˆã£ã¦ç›´æŽ¥è§£é‡ˆã•れãšã€å€‹ã€…ã®ãƒ—ロセッサã«ã‚ˆã£ã¦ä½¿ç”¨ã•れã¾ã™ã€‚\f2key\fPã«ã¯ã€1ã¤ã¾ãŸã¯è¤‡æ•°ã®è­˜åˆ¥å­ã‚’「.ã€ã§åŒºåˆ‡ã£ãŸã‚‚ã®ã‚’指定ã—ã¦ãã ã•ã„。 +.TP 3 +\-cppathã¾ãŸã¯\-classpathpath +ユーザーã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルãŠã‚ˆã³(å ´åˆã«ã‚ˆã£ã¦ã¯)æ³¨é‡ˆãƒ—ãƒ­ã‚»ãƒƒã‚µã‚„ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œç´¢å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚ã“ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã¯\f3CLASSPATH\fP環境変数ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スをオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚\f3CLASSPATH\fPã€\f3\-cp\fPã€\f3\-classpath\fPã®ã„ãšã‚Œã‚‚指定ã•れã¦ã„ãªã„å ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ãªã‚Šã¾ã™ã€‚詳細ã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®è¨­å®šã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +\f3\-sourcepath\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルもユーザー・クラス・パスã‹ã‚‰æ¤œç´¢ã•れã¾ã™ã€‚ +.br +.br +\f3\-processorpath\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€æ³¨é‡ˆãƒ—ロセッサもユーザー・クラス・パスã‹ã‚‰æ¤œç´¢ã•れã¾ã™ã€‚ +.TP 3 +\-Djava.ext.dirs=directories +インストール済拡張機能ã®ä½ç½®ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ +.TP 3 +\-Djava.endorsed.dirs=directories +承èªã•ã‚ŒãŸæ¨™æº–パスã®ä½ç½®ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ +.TP 3 +\-d directory +クラス・ファイルã®å‡ºåŠ›å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’è¨­å®šã—ã¾ã™ã€‚ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã™ã§ã«å­˜åœ¨ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f3javac\fPã§ã¯ä½œæˆã•れã¾ã›ã‚“。クラスãŒãƒ‘ッケージã®ä¸€éƒ¨ã§ã‚ã‚‹å ´åˆã€\f3javac\fPã¯ã€å¿…è¦ã«å¿œã˜ã¦ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’作æˆã—ã€ãƒ‘ッケージåã‚’åæ˜ ã—ãŸã‚µãƒ–ディレクトリã«ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを格ç´ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-d/home/myclasses\fPã¨æŒ‡å®šã—ã€ã‚¯ãƒ©ã‚¹ã®åå‰ãŒ\f2com.mypackage.MyClass\fPã§ã‚ã‚‹å ´åˆã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã¯\f2/home/myclasses/com/mypackage/MyClass.class\fPã«ãªã‚Šã¾ã™ã€‚ +.br +.br +\f3\-d\fPãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã€\f3javac\fPã¯å„クラス・ファイルをã€ãã®ç”Ÿæˆå…ƒã¨ãªã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã«æ ¼ç´ã—ã¾ã™ã€‚ +.br +.br +\f3注æ„:\fP \f3\-d\fPã§æŒ‡å®šã—ãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã«è‡ªå‹•çš„ã«ã¯è¿½åŠ ã•れã¾ã›ã‚“。 +.TP 3 +\-deprecation +推奨ã•れãªã„メンãƒãƒ¼ã‚„クラスãŒã€ä½¿ç”¨ã¾ãŸã¯ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã•れるãŸã³ã«èª¬æ˜Žã‚’表示ã—ã¾ã™ã€‚\f3\-deprecation\fPãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€\f3javac\fPã¯ã€æŽ¨å¥¨ã•れãªã„メンãƒãƒ¼ã‚„クラスを使用ã¾ãŸã¯ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã„るソース・ファイルã®è¦ç´„を表示ã—ã¾ã™ã€‚\f3\-deprecation\fPã¯\f3\-Xlint:deprecation\fPã®çœç•¥è¡¨è¨˜ã§ã™ã€‚ +.TP 3 +\-encoding encoding +ソース・ファイルã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°å(\f2EUC\-JPã‚„UTF\-8\fPãªã©)を指定ã—ã¾ã™ã€‚\f3\-encoding\fPãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ãƒ—ラットフォームã®ãƒ‡ãƒ•ォルト・コンãƒãƒ¼ã‚¿ãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +\-endorseddirs directories +承èªã•ã‚ŒãŸæ¨™æº–パスã®ä½ç½®ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ +.TP 3 +\-extdirs directories +\f2ext\fPディレクトリã®ä½ç½®ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚\f2directories\fP変数ã«ã¯ã€ã‚³ãƒ­ãƒ³ã§åŒºåˆ‡ã£ãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®ãƒªã‚¹ãƒˆã‚’指定ã—ã¾ã™ã€‚指定ã—ãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®å„JARアーカイブã‹ã‚‰ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ¤œç´¢ã•れã¾ã™ã€‚見ã¤ã‹ã£ãŸã™ã¹ã¦ã®JARアーカイブã¯è‡ªå‹•çš„ã«ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®ä¸€éƒ¨ã«ãªã‚Šã¾ã™ã€‚ +.br +.br +クロスコンパイル(ç•°ãªã‚‹Javaプラットフォームã«å®Ÿè£…ã•れãŸãƒ–ートストラップ・クラスや拡張機能クラスã«å¯¾ã—ã¦ã‚³ãƒ³ãƒ‘イルを行ã†)を実行ã™ã‚‹å ´åˆã€ã“ã®ã‚ªãƒ—ションã«ã¯æ‹¡å¼µæ©Ÿèƒ½ã‚¯ãƒ©ã‚¹ã‚’å«ã‚€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’指定ã—ã¾ã™ã€‚詳細ã¯ã€ã‚¯ãƒ­ã‚¹ã‚³ãƒ³ãƒ‘イル・オプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-g +ローカル変数をå«ã‚€ã™ã¹ã¦ã®ãƒ‡ãƒãƒƒã‚°æƒ…報を生æˆã—ã¾ã™ã€‚デフォルトã§ã¯ã€è¡Œç•ªå·ãŠã‚ˆã³ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル情報ã®ã¿ãŒç”Ÿæˆã•れã¾ã™ã€‚ +.TP 3 +\-g:none +デãƒãƒƒã‚°æƒ…報を生æˆã—ã¾ã›ã‚“。 +.TP 3 +\-g:{keyword list} +カンマã§åŒºåˆ‡ã‚‰ã‚ŒãŸã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰ãƒ»ãƒªã‚¹ãƒˆã«ã‚ˆã‚ŠæŒ‡å®šã•れãŸã€ç‰¹å®šã®ç¨®é¡žã®ãƒ‡ãƒãƒƒã‚°æƒ…å ±ã®ã¿ã‚’生æˆã—ã¾ã™ã€‚次ã®ã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰ãŒæœ‰åйã§ã™ã€‚ +.RS 3 +.TP 3 +source +ソース・ファイルã®ãƒ‡ãƒãƒƒã‚°æƒ…å ± +.TP 3 +lines +行番å·ã®ãƒ‡ãƒãƒƒã‚°æƒ…å ± +.TP 3 +vars +ローカル変数ã®ãƒ‡ãƒãƒƒã‚°æƒ…å ± +.RE +.TP 3 +\-help +標準オプションã®å½¢å¼ã‚’表示ã—ã¾ã™ã€‚ +.TP 3 +\-implicit:{class,none} +暗黙的ã«ãƒ­ãƒ¼ãƒ‰ã•れãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã«å¯¾ã™ã‚‹ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®ç”Ÿæˆã‚’制御ã—ã¾ã™ã€‚クラス・ファイルを自動生æˆã™ã‚‹ã«ã¯ã€\f3\-implicit:class\fPを使用ã—ã¾ã™ã€‚クラス・ファイルã®ç”Ÿæˆã‚’抑制ã™ã‚‹ã«ã¯ã€\f3\-implicit:none\fPを使用ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã®ãƒ‡ãƒ•ォルト動作ã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®è‡ªå‹•生æˆã«ãªã‚Šã¾ã™ã€‚ãã®å ´åˆã€ãã®ã‚ˆã†ãªã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルãŒç”Ÿæˆã•ã‚ŒãŸæ™‚ã«æ³¨é‡ˆå‡¦ç†ã‚‚実行ã•れるã¨ã€ã‚³ãƒ³ãƒ‘イラã‹ã‚‰è­¦å‘ŠãŒç™ºè¡Œã•れã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæ˜Žç¤ºçš„ã«è¨­å®šã•れãŸå ´åˆã«ã¯ã€è­¦å‘Šã¯ç™ºè¡Œã•れã¾ã›ã‚“ã€‚åž‹ã®æ¤œç´¢ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-Joption +\f3javac\fPãŒå‘¼ã³å‡ºã™\f3java\fP起動ツールã«ã€\f2option\fPを渡ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚\f3\-J\fPを使用ã—ã¦ã€Javaã§è¨˜è¿°ã•れãŸã‚¢ãƒ—リケーションを実行ã™ã‚‹èƒŒå¾Œã®VMã«ã‚ªãƒ—ションを渡ã™ã“ã¨ã¯ã€ã‚ˆã行ã‚れã¦ã„ã¾ã™ã€‚ +.br +.br +\f3注æ„:\fP \f3CLASSPATH\fPã€\f3\-classpath\fPã€\f3\-bootclasspath\fPãŠã‚ˆã³\f3\-extdirs\fPã¯ã€\f3javac\fPを実行ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ã‚¯ãƒ©ã‚¹ã‚’指定ã™ã‚‹ã‚‚ã®ã§ã¯\f2ã‚りã¾ã›ã‚“\fP。ã“ã®ã‚ˆã†ãªæ–¹æ³•ã§ã‚³ãƒ³ãƒ‘イラã®å®Ÿè£…ã‚’æ“作ã™ã‚‹ã“ã¨ã¯ã€é€šå¸¸ã¯ç„¡æ„味ã§ã‚りã€å¸¸ã«å±é™ºã‚’ä¼´ã„ã¾ã™ã€‚ã“ã®ã‚ˆã†ãªæ–¹æ³•を使用ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã¯ã€\f3\-J\fPオプションを使用ã—ã¦ã€å¿…è¦ãªã‚ªãƒ—ションを背後ã®\f3java\fPèµ·å‹•ãƒ„ãƒ¼ãƒ«ã«æ¸¡ã—ã¦ãã ã•ã„。 +.TP 3 +\-nowarn +警告メッセージを無効ã«ã—ã¾ã™ã€‚ã“れã¯\f3\-Xlint:none\fPã¨åŒã˜æ„味ã§ã™ã€‚ +.TP 3 +\-proc: {none,only} +注釈処ç†ã€ã‚³ãƒ³ãƒ‘イルã€ãã®ä¸¡æ–¹ã€ã®ã„ãšã‚Œã‚’実行ã™ã‚‹ã‹ã‚’制御ã—ã¾ã™ã€‚\f3\-proc:none\fPã¯ã€æ³¨é‡ˆå‡¦ç†ãªã—ã§ã‚³ãƒ³ãƒ‘イルãŒå®Ÿè¡Œã•れるã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚\f3\-proc:only\fPã¯ã€æ³¨é‡ˆå‡¦ç†ã®ã¿ãŒå®Ÿè¡Œã•れã€å¾Œç¶šã®ã‚³ãƒ³ãƒ‘イルã¯ã¾ã£ãŸã実行ã•れãªã„ã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚ +.TP 3 +\-processor class1[,class2,class3...] +実行ã™ã‚‹æ³¨é‡ˆãƒ—ロセッサã®åå‰ã€‚ã“れを指定ã—ãŸå ´åˆã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ¤œç´¢å‡¦ç†ã¯çœç•¥ã•れã¾ã™ã€‚ +.TP 3 +\-processorpath path +æ³¨é‡ˆãƒ—ãƒ­ã‚»ãƒƒã‚µã®æ¤œç´¢å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã—ãªã‹ã£ãŸå ´åˆã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘ス内ã§ãƒ—ãƒ­ã‚»ãƒƒã‚µã®æ¤œç´¢ãŒè¡Œã‚れã¾ã™ã€‚ +.TP 3 +\-s dir +生æˆã•れãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ ¼ç´å…ˆã¨ãªã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’指定ã—ã¾ã™ã€‚ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã™ã§ã«å­˜åœ¨ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f3javac\fPã§ã¯ä½œæˆã•れã¾ã›ã‚“。クラスãŒãƒ‘ッケージã®ä¸€éƒ¨ã«ãªã£ã¦ã„ãŸå ´åˆã€ã‚³ãƒ³ãƒ‘イラã¯ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルをã€ãƒ‘ッケージåã‚’åæ˜ ã—ãŸã‚µãƒ–ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã«æ ¼ç´ã—ã¾ã™ã€‚ãã®éš›ã€å¿…è¦ã«å¿œã˜ã¦ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’作æˆã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒ\f3\-s/home/mysrc\fPã¨æŒ‡å®šã—ã€ã‚¯ãƒ©ã‚¹ã®åå‰ãŒ\f2com.mypackage.MyClass\fPã§ã‚ã£ãŸå ´åˆã€ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¯\f2/home/mysrc/com/mypackage/MyClass.java\fPå†…ã«æ ¼ç´ã•れã¾ã™ã€‚ +.TP 3 +\-source release +å—ã‘付ã‘るソース・コードã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’指定ã—ã¾ã™ã€‚\f2release\fPã«ã¯æ¬¡ã®å€¤ã‚’指定ã§ãã¾ã™ã€‚ +.RS 3 +.TP 3 +1.3 +ã“ã®ã‚³ãƒ³ãƒ‘イラã§ã¯ã€Java SE 1.3以é™ã«å°Žå…¥ã•れãŸã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã€ç·ç§°ã¾ãŸã¯ä»–ã®è¨€èªžæ©Ÿèƒ½ã‚’サãƒãƒ¼ãƒˆ\f2ã—ã¾ã›ã‚“\fP。 +.TP 3 +1.4 +Java SE 1.4ã§å°Žå…¥ã•れãŸã€ã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’å«ã‚€ã‚³ãƒ¼ãƒ‰ã‚’å—ã‘付ã‘ã¾ã™ã€‚ +.TP 3 +1.5 +Java SE 5ã§å°Žå…¥ã•れãŸç·ç§°ãŠã‚ˆã³ä»–ã®è¨€èªžæ©Ÿèƒ½ã‚’å«ã‚“ã ã‚³ãƒ¼ãƒ‰ã‚’å—ã‘付ã‘ã¾ã™ã€‚ +.TP 3 +5 +1.5ã¨åŒç¾©ã§ã™ã€‚ +.TP 3 +1.6 +Java SE 6ã§ã¯è¨€èªžã«å¯¾ã™ã‚‹å¤‰æ›´ã¯å°Žå…¥ã•れã¾ã›ã‚“ã§ã—ãŸã€‚ã—ã‹ã—ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル内ã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚¨ãƒ©ãƒ¼ãŒã€Java SE以å‰ã®ã‚ˆã†ãªã€Œè­¦å‘Šã€ã§ã¯ãªãã€ã€Œã‚¨ãƒ©ãƒ¼ã€ã¨ã—ã¦å ±å‘Šã•れるよã†ã«ãªã‚Šã¾ã—ãŸã€‚ +.TP 3 +6 +1.6ã¨åŒç¾©ã§ã™ã€‚ +.TP 3 +1.7 +ã“れãŒãƒ‡ãƒ•ォルト値ã§ã™ã€‚Java SE 7ã§å°Žå…¥ã•ã‚ŒãŸæ©Ÿèƒ½ã‚’å«ã‚€ã‚³ãƒ¼ãƒ‰ã‚’å—ã‘付ã‘ã¾ã™ã€‚ +.TP 3 +7 +1.7ã¨åŒç¾©ã§ã™ã€‚ +.RE +.TP 3 +\-sourcepath sourcepath +クラスã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã®å®šç¾©ã‚’検索ã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ãƒ»ãƒ‘スを指定ã—ã¾ã™ã€‚ユーザー・クラス・パスã¨åŒæ§˜ã«ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ‘スã®è¤‡æ•°ã®ã‚¨ãƒ³ãƒˆãƒªã¯ã‚³ãƒ­ãƒ³(\f3:\fP)ã§åŒºåˆ‡ã‚Šã¾ã™ã€‚ソース・パスã®ã‚¨ãƒ³ãƒˆãƒªã«ã¯ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€JARアーカイブã¾ãŸã¯ZIPアーカイブを指定ã§ãã¾ã™ã€‚パッケージを使用ã—ã¦ã„ã‚‹å ´åˆã¯ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¾ãŸã¯ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–内ã®ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ‘スåãŒãƒ‘ッケージåã‚’åæ˜ ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.br +.br +\f3注æ„:\fP クラス・パスã‹ã‚‰ã‚¯ãƒ©ã‚¹ã®ã¿ã§ãªããã®ã‚½ãƒ¼ã‚¹ã‚‚見ã¤ã‹ã£ãŸå ´åˆã€ãã®ã‚¯ãƒ©ã‚¹ã¯è‡ªå‹•å†ã‚³ãƒ³ãƒ‘イルã®å¯¾è±¡ã«ãªã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚åž‹ã®æ¤œç´¢ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-verbose +詳細ãªå‡ºåŠ›ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚ロードã•れるクラスãŠã‚ˆã³ã‚³ãƒ³ãƒ‘イルã•れるソース・ファイルã”ã¨ã®æƒ…å ±ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.TP 3 +\-version +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¾ã™ã€‚ +.TP 3 +\-Werror +警告ãŒç™ºç”Ÿã—ãŸå ´åˆã«ã‚³ãƒ³ãƒ‘イルを終了ã—ã¾ã™ã€‚ +.TP 3 +\-X +éžæ¨™æº–オプションã«é–¢ã™ã‚‹æƒ…報を表示ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.RE + +.LP +.SS +クロスコンパイル・オプション +.LP +.LP +デフォルトã§ã¯ã€ã‚¯ãƒ©ã‚¹ã®ã‚³ãƒ³ãƒ‘イルã¯ã€\f3javac\fPãŒæ·»ä»˜ã•れã¦ã„るプラットフォームã®ãƒ–ートストラップ・クラスãŠã‚ˆã³æ‹¡å¼µæ©Ÿèƒ½ã‚¯ãƒ©ã‚¹ã«å¯¾ã—ã¦è¡Œã‚れã¾ã™ã€‚ãŸã ã—ã€\f3javac\fPã¯ã€ç•°ãªã‚‹Javaプラットフォームã«å®Ÿè£…ã•れãŸãƒ–ートストラップ・クラスãŠã‚ˆã³æ‹¡å¼µæ©Ÿèƒ½ã‚¯ãƒ©ã‚¹ã«å¯¾ã—ã¦ã‚³ãƒ³ãƒ‘イルを行ã†ã€Œ\f2クロスコンパイル\fPã€ã‚‚サãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚クロスコンパイルを行ã†å ´åˆã¯ã€\f3\-bootclasspath\fPãŠã‚ˆã³\f3\-extdirs\fPを使用ã™ã‚‹ã“ã¨ãŒé‡è¦ã§ã™ã€‚ã“ã®å¾Œã®ã‚¯ãƒ­ã‚¹ã‚³ãƒ³ãƒ‘イルã®ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.RS 3 +.TP 3 +\-target version +指定ã•れãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®VMをターゲットã«ã—ãŸã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを生æˆã—ã¾ã™ã€‚ã“ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã¯ã€æŒ‡å®šã•れãŸã‚¿ãƒ¼ã‚²ãƒƒãƒˆä»¥é™ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯å‹•作ã—ã¾ã™ãŒã€ãれよりå‰ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®VMã§ã¯å‹•作ã—ã¾ã›ã‚“。有効ãªã‚¿ãƒ¼ã‚²ãƒƒãƒˆã¯ã€\f31.1\fPã€\f31.2\fPã€\f31.3\fPã€\f31.4\fPã€\f31.5\fP(\f35\fPã‚‚å¯)ã€\f31.6\fP(\f36\fPã‚‚å¯)ãŠã‚ˆã³\f31.7\fP(\f37\fPã‚‚å¯)ã§ã™ã€‚ +.LP +\f3\-target\fPã®ãƒ‡ãƒ•ォルトã¯ã€æ¬¡ã®ã‚ˆã†ã«\f3\-source\fPã®å€¤ã«ã‚ˆã£ã¦æ±ºã¾ã‚Šã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\-sourceãŒ\f3指定ã•れãªã‹ã£ãŸ\fPå ´åˆã€\-targetã®å€¤ã¯\f31.7\fPã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +\-sourceãŒ\f31.2\fPã®å ´åˆã€\-targetã®å€¤ã¯\f31.4\fPã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +\-sourceãŒ\f31.3\fPã®å ´åˆã€\-targetã®å€¤ã¯\f31.4\fPã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +\-sourceãŒ\f31.5\fPã®å ´åˆã€\-targetã®å€¤ã¯\f31.7\fPã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +\-sourceãŒ\f31.6\fPã®å ´åˆã€\-targetã®å€¤ã¯\f31.7\fPã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +\-sourceãŒ\f3ãれ以外ã®å€¤ã®å ´åˆã¯ã™ã¹ã¦\fPã€\f3\-target\fPã®å€¤ã¯\f3\-source\fPã®å€¤ã«ãªã‚Šã¾ã™ã€‚ +.RE +.TP 3 +\-bootclasspath bootclasspath +指定ã•れãŸä¸€é€£ã®ãƒ–ート・クラスã«å¯¾ã—ã¦ã‚¯ãƒ­ã‚¹ã‚³ãƒ³ãƒ‘イルを行ã„ã¾ã™ã€‚ユーザー・クラス・パスã¨åŒæ§˜ã«ã€ãƒ–ート・クラス・パスã®è¤‡æ•°ã®ã‚¨ãƒ³ãƒˆãƒªã¯ã‚³ãƒ­ãƒ³(\f3:\fP)ã§åŒºåˆ‡ã‚Šã¾ã™ã€‚ブート・クラス・パスã®ã‚¨ãƒ³ãƒˆãƒªã«ã¯ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€JARアーカイブã¾ãŸã¯ZIPアーカイブを指定ã§ãã¾ã™ã€‚ +.RE + +.LP +.SS +éžæ¨™æº–オプション +.LP +.RS 3 +.TP 3 +\-Xbootclasspath/p:path +ブートストラップ・クラス・パスã®å‰ã«è¿½åŠ ã—ã¾ã™ã€‚ +.TP 3 +\-Xbootclasspath/a:path +ブートストラップ・クラス・パスã®å¾Œã«è¿½åŠ ã—ã¾ã™ã€‚ +.TP 3 +\-Xbootclasspath/:path +ブートストラップ・クラス・ファイルã®ä½ç½®ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ +.TP 3 +\-Xlint +推奨ã•れるã™ã¹ã¦ã®è­¦å‘Šã‚’有効ã«ã—ã¾ã™ã€‚ã“ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯ã€åˆ©ç”¨å¯èƒ½ãªã™ã¹ã¦ã®è­¦å‘Šã‚’有効ã«ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.TP 3 +\-Xlint:all +推奨ã•れるã™ã¹ã¦ã®è­¦å‘Šã‚’有効ã«ã—ã¾ã™ã€‚ã“ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯ã€åˆ©ç”¨å¯èƒ½ãªã™ã¹ã¦ã®è­¦å‘Šã‚’有効ã«ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.TP 3 +\-Xlint:none +ã™ã¹ã¦ã®è­¦å‘Šã‚’無効ã«ã—ã¾ã™ã€‚ +.TP 3 +\-Xlint:name +警告\f2name\fPを有効ã«ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§æœ‰åйã«ã§ãる警告ã®ãƒªã‚¹ãƒˆã«ã¤ã„ã¦ã¯ã€\-Xlintオプションを使用ã—ã¦æœ‰åйã¾ãŸã¯ç„¡åйã«ã§ãる警告をå‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-Xlint:\-name +警告\f2name\fPを無効ã«ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã§ç„¡åйã«ã§ãる警告ã®ãƒªã‚¹ãƒˆã«ã¤ã„ã¦ã¯ã€\-Xlintオプションを使用ã—ã¦æœ‰åйã¾ãŸã¯ç„¡åйã«ã§ãる警告をå‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-Xmaxerrs number +å°åˆ·ã™ã‚‹ã‚¨ãƒ©ãƒ¼ã®æœ€å¤§æ•°ã‚’設定ã—ã¾ã™ã€‚ +.TP 3 +\-Xmaxwarns number +å°åˆ·ã™ã‚‹è­¦å‘Šã®æœ€å¤§æ•°ã‚’設定ã—ã¾ã™ã€‚ +.TP 3 +\-Xstdout filename +コンパイラã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’ã€æŒ‡å®šã•れãŸãƒ•ァイルã«é€ã‚Šã¾ã™ã€‚デフォルトã§ã¯ã€ã‚³ãƒ³ãƒ‘イラã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã¯\f2System.err\fPã«é€ã‚‰ã‚Œã¾ã™ã€‚ +.TP 3 +\-Xprefer:{newer,source} +ã‚ã‚‹åž‹ã«å¯¾ã—ã¦ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®ä¸¡æ–¹ãŒè¦‹ã¤ã‹ã£ãŸå ´åˆã€ãã®ã©ã¡ã‚‰ã®ãƒ•ァイルを読ã¿å–ã‚‹ã‹ã‚’指定ã—ã¾ã™(åž‹ã®æ¤œç´¢ã‚’å‚ç…§)。\f2\-Xprefer:newer\fPを使用ã—ãŸå ´åˆã€ã‚ã‚‹åž‹ã«å¯¾ã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–°ã—ã„æ–¹ãŒèª­ã¿å–られã¾ã™(デフォルト)。\f2\-Xprefer:source\fPオプションを使用ã—ãŸå ´åˆã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒèª­ã¿å–られã¾ã™ã€‚\f2SOURCE\fPã®ä¿å­˜ãƒãƒªã‚·ãƒ¼ã‚’使用ã—ã¦å®£è¨€ã•ã‚ŒãŸæ³¨é‡ˆã«ä»»æ„ã®æ³¨é‡ˆãƒ—ロセッサãŒã‚¢ã‚¯ã‚»ã‚¹ã§ãるよã†ã«ã™ã‚‹å ´åˆã¯ã€\f2\-Xprefer:source\fPを使用ã—ã¦ãã ã•ã„。 +.TP 3 +\-Xpkginfo:{always,legacy,nonempty} +パッケージ情報ファイルã®å‡¦ç†ã‚’指定ã—ã¾ã™ã€‚ +.TP 3 +\-Xprint +指定ã•れãŸåž‹ã®ãƒ†ã‚­ã‚¹ãƒˆè¡¨ç¾ã‚’デãƒãƒƒã‚°ç›®çš„ã§å‡ºåŠ›ã—ã¾ã™ã€‚注釈処ç†ã€ã‚³ãƒ³ãƒ‘イルã®ã©ã¡ã‚‰ã‚‚実行ã—ã¾ã›ã‚“。出力形å¼ã¯å¤‰æ›´ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-XprintProcessorInfo +ã‚る特定ã®ãƒ—ロセッサãŒå‡¦ç†ã‚’ä¾é ¼ã•れã¦ã„る注釈ã«é–¢ã™ã‚‹æƒ…報を出力ã—ã¾ã™ã€‚ +.TP 3 +\-XprintRounds +åˆå›žãŠã‚ˆã³å¾Œç¶šã®æ³¨é‡ˆå‡¦ç†ãƒ©ã‚¦ãƒ³ãƒ‰ã«é–¢ã™ã‚‹æƒ…報を出力ã—ã¾ã™ã€‚ +.RE + +.LP +.SS +\-Xlintオプションを使用ã—ã¦æœ‰åйã¾ãŸã¯ç„¡åйã«ã§ãる警告 +.LP +.LP +\f3\-Xlint:\fP\f2name\fPオプションを使用ã—ã¦è­¦å‘Š\f2name\fPを有効ã«ã—ã¾ã™ã€‚ãŸã ã—ã€\f2name\fPã¯æ¬¡ã®è­¦å‘Šåã®ã„ãšã‚Œã‹ã«ãªã‚Šã¾ã™ã€‚åŒæ§˜ã«ã€\f3\-Xlint:\-\fP\f2name\fPオプションを使用ã—ã¦è­¦å‘Š\f2name\fPを無効ã«ã§ãã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +cast +ä¸è¦ã§å†—é•·ãªã‚­ãƒ£ã‚¹ãƒˆã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +String s = (String)"Hello!" +.fl +\fP +.fi +.TP 3 +classfile +クラス・ファイルã®å†…容ã«é–¢é€£ã—ãŸå•題ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚ +.TP 3 +deprecation +éžæŽ¨å¥¨é …ç›®ã®ä½¿ç”¨ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + java.util.Date myDate = new java.util.Date(); +.fl + int currentDay = myDate.getDay(); +.fl +\fP +.fi +メソッド\f2java.util.Date.getDay\fPã¯JDK 1.1以é™ã¯æŽ¨å¥¨ã•れã¦ã„ã¾ã›ã‚“。 +.TP 3 +dep\-ann +\f2@deprecated\fP Javadocコメントã§ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れã¦ã„ã‚‹ãŒã€\f2@Deprecated\fP注釈ãŒä»˜ã„ã¦ã„ãªã„é …ç›®ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + /** +.fl + * @deprecated As of Java SE 7, replaced by {@link #newMethod()} +.fl + */ +.fl + +.fl + public static void deprecatedMethood() { } +.fl + +.fl + public static void newMethod() { } +.fl +\fP +.fi +.TP 3 +divzero +定整数0ã§é™¤ç®—ã•れるã“ã¨ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + int divideByZero = 42 / 0; +.fl +\fP +.fi +.TP 3 +empty +\f2if\fP文以é™ãŒç©ºã®æ–‡ã§ã‚ã‚‹ã“ã¨ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +class E { +.fl + void m() { +.fl + if (true) ; +.fl + } +.fl +} +.fl +\fP +.fi +.TP 3 +fallthrough +fall\-throughケースã®\f2switch\fPブロックをãƒã‚§ãƒƒã‚¯ã—ã€æ¤œå‡ºã•れãŸã‚‚ã®ã«å¯¾ã—ã¦è­¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’表示ã—ã¾ã™ã€‚Fall\-throughケースã¯ã€\f2switch\fPãƒ–ãƒ­ãƒƒã‚¯å†…ã®æœ€å¾Œã®ã‚±ãƒ¼ã‚¹ã‚’除ãケースã§ã™ã€‚ã“ã®ã‚³ãƒ¼ãƒ‰ã«ã¯\f2break\fPæ–‡ã¯å«ã¾ã‚Œã¾ã›ã‚“。コードã®å®Ÿè¡Œã‚’ãã®ã‚±ãƒ¼ã‚¹ã‹ã‚‰æ¬¡ã®ã‚±ãƒ¼ã‚¹ã¸ç§»å‹•ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ã“ã®\f2switch\fPブロック内ã®\f2case 1\fPラベルã«ç¶šãコードã¯ã€\f2break\fPæ–‡ã§çµ‚ã‚ã£ã¦ã„ã¾ã›ã‚“。 +.nf +\f3 +.fl +switch (x) { +.fl +case 1: +.fl + System.out.println("1"); +.fl + // No break statement here. +.fl +case 2: +.fl + System.out.println("2"); +.fl +} +.fl +\fP +.fi +ã“ã®ã‚³ãƒ¼ãƒ‰ã®ã‚³ãƒ³ãƒ‘イル時ã«\f2\-Xlint:fallthrough\fPフラグãŒä½¿ç”¨ã•れã¦ã„ãŸå ´åˆã€ã‚³ãƒ³ãƒ‘イラã¯å½“該ケースã®è¡Œç•ªå·ã¨ã¨ã‚‚ã«ã€fall\-throughケースã®å¯èƒ½æ€§ãŒã‚ã‚‹ã“ã¨ã‚’示ã™è­¦å‘Šã‚’発行ã—ã¾ã™ã€‚ +.TP 3 +finally +正常ã«å®Œäº†ã§ããªã„\f2finally\fP節ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + public static int m() { +.fl + try { +.fl + throw new NullPointerException(); +.fl + } catch (NullPointerException e) { +.fl + System.err.println("Caught NullPointerException."); +.fl + return 1; +.fl + } finally { +.fl + return 0; +.fl + } +.fl + } +.fl +\fP +.fi +ã“ã®ä¾‹ã§ã¯ã€ã‚³ãƒ³ãƒ‘イラã¯\f2finally\fPブロックã«é–¢ã™ã‚‹è­¦å‘Šã‚’生æˆã—ã¾ã™ã€‚ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ãŒå‘¼ã³å‡ºã•れるã¨ã€å€¤\f21\fPã§ã¯ãªã\f20\fPãŒè¿”ã•れã¾ã™ã€‚\f2finally\fPブロックã¯ã€\f2try\fPブロックãŒçµ‚了ã™ã‚‹ã¨å¿…ãšå®Ÿè¡Œã•れã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€åˆ¶å¾¡ãŒ\f2catch\fPã«ç§»ã•れãŸå ´åˆã€ãƒ¡ã‚½ãƒƒãƒ‰ã¯çµ‚了ã—ã¾ã™ã€‚ãŸã ã—ã€\f2finally\fPブロックã¯å®Ÿè¡Œã•れる必è¦ãŒã‚ã‚‹ãŸã‚ã€åˆ¶å¾¡ãŒã™ã§ã«ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ã®å¤–部ã«ç§»ã•れã¦ã„ã¦ã‚‚ã€ã“ã®ãƒ–ロックã¯å®Ÿè¡Œã•れã¾ã™ã€‚ +.TP 3 +options +コマンドライン・オプションã®ä½¿ç”¨ã«é–¢ã™ã‚‹å•題ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚ã“ã®ç¨®ã®è­¦å‘Šã®ä¾‹ã«ã¤ã„ã¦ã¯ã€ã‚¯ãƒ­ã‚¹ã‚³ãƒ³ãƒ‘イルã®ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +overrides +メソッドã®ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã«é–¢ã™ã‚‹å•題ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®2ã¤ã®ã‚¯ãƒ©ã‚¹ãŒã‚ã‚‹ã¨ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +public class ClassWithVarargsMethod { +.fl + void varargsMethod(String... s) { } +.fl +} +.fl +\fP +.fi +.nf +\f3 +.fl +public class ClassWithOverridingMethod extends ClassWithVarargsMethod { +.fl + @Override +.fl + void varargsMethod(String[] s) { } +.fl +} +.fl +\fP +.fi +ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ã¯æ¬¡ã®ã‚ˆã†ãªè­¦å‘Šã‚’生æˆã—ã¾ã™ã€‚ +.br +.br +\f2warning: [override] varargsMethod(String[]) in ClassWithOverridingMethod overrides varargsMethod(String...) in ClassWithVarargsMethod; overriding method is missing '...'\fP +.br +.br +コンパイラã¯ã€varargsメソッドを検出ã™ã‚‹ã¨ã€varargsã®ä»®ãƒ‘ラメータをé…列ã«å¤‰æ›ã—ã¾ã™ã€‚メソッド\f2ClassWithVarargsMethod.varargsMethod\fPã§ã¯ã€ã‚³ãƒ³ãƒ‘イラã¯varargsã®ä»®ãƒ‘ラメータ\f2String... s\fPを仮パラメータ\f2String[] s\fPã«å¤‰æ›ã—ã¾ã™ã€‚String[] sã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰\f2ClassWithOverridingMethod.varargsMethod\fPã®ä»®ãƒ‘ラメータã«å¯¾å¿œã™ã‚‹é…列ã§ã™ã€‚ãã®çµæžœã€ã“ã®ä¾‹ã§ã¯ã‚³ãƒ³ãƒ‘イルãŒè¡Œã‚れã¾ã™ã€‚ +.TP 3 +path +コマンドラインã§ã®ç„¡åйãªãƒ‘スè¦ç´ ã¨å­˜åœ¨ã—ãªã„パス・ディレクトリã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™(クラス・パスã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ‘スãªã©ã®ãƒ‘ス関連)。ã“ã®ã‚ˆã†ãªè­¦å‘Šã‚’\f2@SuppressWarnings\fPæ³¨é‡ˆã§æŠ‘åˆ¶ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +javac \-Xlint:path \-classpath /nonexistentpath Example.java +.fl +\fP +.fi +.TP 3 +processing +注釈処ç†ã«é–¢ã™ã‚‹å•題ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚コンパイラãŒã“ã®è­¦å‘Šã‚’生æˆã™ã‚‹ã®ã¯ã€æ³¨é‡ˆã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ãŒã‚ã‚‹ã¨ãã«ã€ä½¿ç”¨ã—ã¦ã„る注釈プロセッサã§ãã®ã‚¿ã‚¤ãƒ—ã®ä¾‹å¤–を処ç†ã§ããªã„å ´åˆã§ã™ã€‚å˜ç´”ãªæ³¨é‡ˆãƒ—ロセッサã®ä¾‹ã‚’次ã«ç¤ºã—ã¾ã™ã€‚ +.br +.br +\f3ソース・ファイル\fP\f4AnnoProc.java\fP: +.nf +\f3 +.fl +import java.util.*; +.fl +import javax.annotation.processing.*; +.fl +import javax.lang.model.*; +.fl +import javax.lang.model.element.*; +.fl + +.fl +@SupportedAnnotationTypes("NotAnno") +.fl +public class AnnoProc extends AbstractProcessor { +.fl + public boolean process(Set elems, RoundEnvironment renv) { +.fl + return true; +.fl + } +.fl + +.fl + public SourceVersion getSupportedSourceVersion() { +.fl + return SourceVersion.latest(); +.fl + } +.fl +} +.fl +\fP +.fi +\f3ソース・ファイル\fP\f4AnnosWithoutProcessors.java\fP\f3:\fP +.nf +\f3 +.fl +@interface Anno { } +.fl + +.fl +@Anno +.fl +class AnnosWithoutProcessors { } +.fl +\fP +.fi +次ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€æ³¨é‡ˆãƒ—ロセッサ\f2AnnoProc\fPをコンパイルã—ã€ã“ã®æ³¨é‡ˆãƒ—ロセッサをソース・ファイル\f2AnnosWithoutProcessors.java\fPã«å¯¾ã—ã¦å®Ÿè¡Œã—ã¾ã™ã€‚ +.nf +\f3 +.fl +% \fP\f3javac AnnoProc.java\fP +.fl +% \f3javac \-cp . \-Xlint:processing \-processor AnnoProc \-proc:only AnnosWithoutProcessors.java\fP +.fl +.fi +コンパイラãŒã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル\f2AnnosWithoutProcessors.java\fPã«å¯¾ã—ã¦æ³¨é‡ˆãƒ—ロセッサを実行ã™ã‚‹ã¨ã€æ¬¡ã®è­¦å‘ŠãŒç”Ÿæˆã•れã¾ã™ã€‚ +.br +.br +\f2warning: [processing] No processor claimed any of these annotations: Anno\fP +.br +.br +ã“ã®å•題を解決ã™ã‚‹ã«ã¯ã€ã‚¯ãƒ©ã‚¹\f2AnnosWithoutProcessors\fPã§å®šç¾©ãŠã‚ˆã³ä½¿ç”¨ã•れる注釈ã®åå‰ã‚’\f2Anno\fPã‹ã‚‰\f2NotAnno\fPã«å¤‰æ›´ã—ã¾ã™ã€‚ +.TP 3 +rawtypes +rawåž‹ã«å¯¾ã™ã‚‹æœªæ¤œæŸ»æ“作ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚æ¬¡ã®æ–‡ã§ã¯ã€\f2rawtypes\fP警告ãŒç”Ÿæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl +void countElements(List l) { ... } +.fl +\fP +.fi +æ¬¡ã®æ–‡ã§ã¯ã€\f2rawtypes\fP警告ã¯ç”Ÿæˆã•れã¾ã›ã‚“。 +.nf +\f3 +.fl +void countElements(List l) { ... } +.fl +\fP +.fi +\f2List\fPã¯rawåž‹ã§ã™ã€‚ãŸã ã—ã€\f2List\fPã¯ã‚¢ãƒ³ãƒã‚¦ãƒ³ãƒ‰å½¢å¼ã®ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ã®ãƒ‘ラメータ化ã•れãŸåž‹ã§ã™ã€‚\f2List\fPã¯ãƒ‘ラメータ化ã•れãŸã‚¤ãƒ³ã‚¿ãƒ•ェースãªã®ã§ã€å¿…ãšãã®åž‹å¼•数を指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€\f2List\fPã®ä»®å¼•æ•°ã¯ã‚¢ãƒ³ãƒã‚¦ãƒ³ãƒ‰å½¢å¼ã®ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰(\f2?\fP)を使用ã—ã¦ãã®ä»®åž‹ãƒ‘ラメータã¨ã—ã¦æŒ‡å®šã•れã¾ã™ã€‚ã¤ã¾ã‚Šã€\f2countElements\fPメソッドã¯\f2List\fPインタフェースã®ã©ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹åŒ–ã‚‚å—ã‘付ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.TP 3 +serial +直列化å¯èƒ½ã‚¯ãƒ©ã‚¹ã«\f2serialVersionUID\fP定義ãŒãªã„ã“ã¨ã‚’警告ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +public class PersistentTime implements Serializable +.fl +{ +.fl + private Date time; +.fl + +.fl + public PersistentTime() { +.fl + time = Calendar.getInstance().getTime(); +.fl + } +.fl + +.fl + public Date getTime() { +.fl + return time; +.fl + } +.fl +} +.fl +\fP +.fi +ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ã¯æ¬¡ã®è­¦å‘Šã‚’生æˆã—ã¾ã™ã€‚ +.br +.br +\f2warning: [serial] serializable class PersistentTime has no definition of serialVersionUID\fP +.br +.br +直列化å¯èƒ½ã‚¯ãƒ©ã‚¹ãŒ\f2serialVersionUID\fPã¨ã„ã†åå‰ã®ãƒ•ィールドを明示的ã«å®£è¨€ã—ãªã„å ´åˆã€ç›´åˆ—化ランタイムã¯ã€ŒJavaオブジェクト直列化仕様ã€ã§èª¬æ˜Žã•れã¦ã„るよã†ã«ã€ã‚¯ãƒ©ã‚¹ã®æ§˜ã€…ãªå´é¢ã«åŸºã¥ã„ã¦ã€ã‚¯ãƒ©ã‚¹ã®\f2serialVersionUID\fPã®ãƒ‡ãƒ•ォルト値を計算ã—ã¾ã™ã€‚ãŸã ã—ã€ã™ã¹ã¦ã®ç›´åˆ—化å¯èƒ½ã‚¯ãƒ©ã‚¹ãŒ\f2serialVersionUID\fP値を明示的ã«å®£è¨€ã™ã‚‹ã“ã¨ã‚’å¼·ããŠè–¦ã‚ã—ã¾ã™ã€‚ ã“れã¯ã€\f2serialVersionUID\fP値を計算ã™ã‚‹ãƒ‡ãƒ•ォルトã®ãƒ—ロセスãŒã€ã‚³ãƒ³ãƒ‘イラã®å®Ÿè£…ã«ã‚ˆã£ã¦ç•°ãªã‚‹å¯èƒ½æ€§ã®ã‚るクラスã®è©³ç´°ã«ãã‚ã‚ã¦å½±éŸ¿ã‚’å—ã‘ã‚„ã™ãã€ç›´åˆ—化復元中ã«äºˆæœŸã—ãªã„\f2InvalidClassExceptions\fPãŒç™ºç”Ÿã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã§ã™ã€‚ã—ãŸãŒã£ã¦ã€Javaコンパイラã®å®Ÿè£…ãŒç•°ãªã£ã¦ã‚‚\f2serialVersionUID\fP値ã®ä¸€è²«æ€§ã‚’確ä¿ã«ã™ã‚‹ã«ã¯ã€ç›´åˆ—化å¯èƒ½ã‚¯ãƒ©ã‚¹ãŒ\f2serialVersionUID\fP値を明示的ã«å®£è¨€ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +static +staticã®ä½¿ç”¨ã«é–¢ã™ã‚‹å•題ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +class XLintStatic { +.fl + static void m1() { } +.fl + void m2() { this.m1(); } +.fl +} +.fl +\fP +.fi +ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ã¯æ¬¡ã®è­¦å‘Šã‚’生æˆã—ã¾ã™ã€‚ +.nf +\f3 +.fl +warning: [static] static method should be qualified by type name, XLintStatic, instead of by an expression +.fl +\fP +.fi +ã“ã®å•題を解決ã™ã‚‹ãŸã‚ã«ã€æ¬¡ã®ã‚ˆã†ã«staticメソッド\f2m1\fPを呼ã³å‡ºã™ã“ã¨ãŒã§ãã¾ã™ã€‚ +.nf +\f3 +.fl +XLintStatic.m1(); +.fl +\fP +.fi +ã‚ã‚‹ã„ã¯ã€\f2static\fPキーワードをメソッド\f2m1\fPã®å®£è¨€ã‹ã‚‰å‰Šé™¤ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.TP 3 +try +try\-with\-resources文をå«ã‚€ã€\f2try\fPブロックã®ä½¿ç”¨ã«é–¢ã™ã‚‹å•題ã«ã¤ã„ã¦è­¦å‘Šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2try\fPæ–‡ã§å®£è¨€ã•れãŸãƒªã‚½ãƒ¼ã‚¹\f2ac\fPãŒä½¿ç”¨ã•れãªã„ãŸã‚ã«ã€æ¬¡ã®æ–‡ã«å¯¾ã—ã¦è­¦å‘ŠãŒç”Ÿæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl +try ( AutoCloseable ac = getResource() ) { +.fl + // do nothing +.fl +} +.fl +\fP +.fi +.TP 3 +unchecked +Javaè¨€èªžä»•æ§˜ã§æŒ‡å®šã•れã¦ã„る未検査変æ›è­¦å‘Šã®è©³ç´°ã‚’示ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + List l = new ArrayList(); +.fl + List ls = l; // unchecked warning +.fl +\fP +.fi +åž‹ã®æ¶ˆå޻䏭ã«ã€åž‹\f2ArrayList\fPãŠã‚ˆã³\f2List\fPã¯ãれãžã‚Œ\f2ArrayList\fPãŠã‚ˆã³\f2List\fPã«ãªã‚Šã¾ã™ã€‚ +.br +.br +変数\f2ls\fPã«ã¯ãƒ‘ラメータ化ã•れãŸåž‹\f2List\fPãŒæŒ‡å®šã•れã¦ã„ã¾ã™ã€‚\f2l\fPã«ã‚ˆã£ã¦å‚ç…§ã•れる\f2List\fPãŒ\f2ls\fPã«ä»£å…¥ã•れるã¨ã€ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ã¯æœªæ¤œæŸ»è­¦å‘Šã‚’生æˆã—ã¾ã™ã€‚コンパイラã¯\f2l\fPãŒ\f2List\fP型をå‚ç…§ã™ã‚‹ã‹ã©ã†ã‹ã‚’コンパイル時ã«åˆ¤æ–­ã§ãã¾ã›ã‚“。ã¾ãŸã€JVMãŒå®Ÿè¡Œæ™‚ã«ãれを判断ã§ããªã„ã“ã¨ã‚‚èªè­˜ã—ã¦ã„ã¾ã™ã€‚lã¯List型をå‚ç…§ã—ã¾ã›ã‚“。ãã®çµæžœã€ãƒ’ープ汚染ãŒç™ºç”Ÿã—ã¾ã™ã€‚ +.br +.br +詳ã—ã説明ã™ã‚‹ã¨ã€ãƒ’ープ汚染状態ãŒç™ºç”Ÿã™ã‚‹ã®ã¯ã€\f2List\fPオブジェクト\f2l\fP(ãã®staticåž‹ã¯\f2List\fP)ãŒåˆ¥ã®\f2List\fPオブジェクト\f2ls\fP(ç•°ãªã‚‹staticåž‹\f2List\fPã‚’æŒã¤)ã«ä»£å…¥ã•れる場åˆã§ã™ã€‚ã—ã‹ã—ã€ã‚³ãƒ³ãƒ‘イラã§ã¯ã“ã®ä»£å…¥ã‚’ã„ã¾ã ã«è¨±å¯ã—ã¦ã„ã¾ã™ã€‚ç·ç§°ã‚’サãƒãƒ¼ãƒˆã—ãªã„Java SEã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¨ã®ä¸‹ä½äº’æ›æ€§ã‚’確ä¿ã™ã‚‹ãŸã‚ã«ã€ã“ã®ä»£å…¥ã‚’許å¯ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚型消去ã®ãŸã‚ã«ã€\f2List\fPã¨\f2List\fPã¯\f2List\fPã«ãªã‚Šã¾ã™ã€‚ãã®çµæžœã€ã‚³ãƒ³ãƒ‘イラã¯ã‚ªãƒ–ジェクト\f2l\fP(\f2List\fPã¨ã„ã†raw型をæŒã¤)をオブジェクト\f2ls\fPã«ä»£å…¥ã™ã‚‹ã“ã¨ã‚’許å¯ã—ã¾ã™ã€‚ +.TP 3 +varargs +å¯å¤‰å¼•æ•°(varargs)メソッドã€ç‰¹ã«éžå…·è±¡åŒ–å¯èƒ½å¼•æ•°ã‚’å«ã‚€ã‚‚ã®ã®ä½¿ç”¨ãŒå®‰å…¨ã§ãªã„ã“ã¨ã‚’警告ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +public class ArrayBuilder { +.fl + public static void addToList (List listArg, T... elements) { +.fl + for (T x : elements) { +.fl + listArg.add(x); +.fl + } +.fl + } +.fl +} +.fl +\fP +.fi +コンパイラã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰\f2ArrayBuilder.addToList\fPã®å®šç¾©ã«é–¢ã™ã‚‹æ¬¡ã®è­¦å‘Šã‚’生æˆã—ã¾ã™ã€‚ +.nf +\f3 +.fl +warning: [varargs] Possible heap pollution from parameterized vararg type T +.fl +\fP +.fi +コンパイラã¯ã€varargsメソッドを検出ã™ã‚‹ã¨ã€varargsã®ä»®ãƒ‘ラメータをé…列ã«å¤‰æ›ã—ã¾ã™ã€‚ã—ã‹ã—ã€Javaプログラミング言語ã§ã¯ã€ãƒ‘ラメータ化ã•れãŸåž‹ã®é…列ã®ä½œæˆã‚’許å¯ã—ã¦ã„ã¾ã›ã‚“。メソッド\f2ArrayBuilder.addToList\fPã§ã¯ã€ã‚³ãƒ³ãƒ‘イラã¯varargsã®ä»®ãƒ‘ラメータ\f2T... elements\fPを仮パラメータ\f2T[] elements\fP(é…列)ã«å¤‰æ›ã—ã¾ã™ã€‚ã—ã‹ã—ã€åž‹æ¶ˆåŽ»ã®ãŸã‚ã«ã€ã‚³ãƒ³ãƒ‘イラã¯varargsã®ä»®ãƒ‘ラメータを\f2Object[] elements\fPã«å¤‰æ›ã—ã¾ã™ã€‚ãã®çµæžœã€ãƒ’ープ汚染ãŒç™ºç”Ÿã™ã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.RE + +.LP +.SH "コマンドライン引数ファイル" +.LP +.LP +javacã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚’短ãã—ãŸã‚Šç°¡æ½”ã«ã—ãŸã‚Šã™ã‚‹ãŸã‚ã«ã€\f2javac\fPコマンドã«å¯¾ã™ã‚‹å¼•æ•°(\f2\-J\fPオプションを除ã)ã‚’å«ã‚€1ã¤ä»¥ä¸Šã®ãƒ•ァイルを指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®æ–¹æ³•を使用ã™ã‚‹ã¨ã€ã©ã®ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ä¸Šã§ã‚‚ã€ä»»æ„ã®é•·ã•ã®javacコマンドを作æˆã§ãã¾ã™ã€‚ +.LP +.LP +引数ファイルã«ã¯ã€javacã®ã‚ªãƒ—ションã¨ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåを自由ã«çµ„ã¿åˆã›ã¦è¨˜è¿°ã§ãã¾ã™ã€‚ファイル内ã®å„引数ã¯ã€ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯æ”¹è¡Œã§åŒºåˆ‡ã‚Šã¾ã™ã€‚ファイルåã«ç©ºç™½ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã¯ã€ãã®ãƒ•ァイルå全体を二é‡å¼•用符ã§å›²ã¿ã¾ã™ã€‚ +.LP +.LP +引数ファイル内ã®ãƒ•ァイルåã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã«ãªã‚Šã¾ã™ã€‚引数ファイルã®ä½ç½®ã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã§ã¯ã‚りã¾ã›ã‚“。引数ファイル内ã®ãƒ•ァイルåリストã§ã¯ã€ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰(*)ã¯ä½¿ç”¨ã§ãã¾ã›ã‚“。ãŸã¨ãˆã°ã€\f2*.java\fPã¨ã¯æŒ‡å®šã§ãã¾ã›ã‚“。引数ファイル内ã®å¼•æ•°ã§\f2@\fP文字を使用ã—ã¦ã€è¤‡æ•°ã®ãƒ•ァイルをå†å¸°çš„ã«è§£é‡ˆã™ã‚‹ã“ã¨ã¯ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã›ã‚“。ã¾ãŸã€\f2\-J\fPオプションもサãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションã¯èµ·å‹•ãƒ„ãƒ¼ãƒ«ã«æ¸¡ã•れã¾ã™ãŒã€èµ·å‹•ツールã§ã¯å¼•数ファイルをサãƒãƒ¼ãƒˆã—ã¦ã„ãªã„ã‹ã‚‰ã§ã™ã€‚ +.LP +.LP +javacを実行ã™ã‚‹ã¨ãã«ã€å„引数ファイルã®ãƒ‘スã¨ãƒ•ァイルåã®å…ˆé ­ã«\f2@\fP文字を付ã‘ã¦æ¸¡ã—ã¾ã™ã€‚javacã¯ã€\f2@\fP文字ã§å§‹ã¾ã‚‹å¼•数を見ã¤ã‘ã‚‹ã¨ã€ãã®ãƒ•ァイルã®å†…容を展開ã—ã¦å¼•æ•°ãƒªã‚¹ãƒˆã«æŒ¿å…¥ã—ã¾ã™ã€‚ +.LP +.SS +引数ファイルを1ã¤æŒ‡å®šã™ã‚‹ä¾‹ +.LP +.LP +「\f2argfile\fPã€ã¨ã„ã†åå‰ã®å¼•数ファイルã«ã™ã¹ã¦ã®javac引数を格ç´ã™ã‚‹å ´åˆã¯ã€æ¬¡ã®ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3javac @argfile\fP +.fl +.fi + +.LP +.LP +ã“ã®å¼•数ファイルã«ã¯ã€æ¬¡ã®ä¾‹ã§ç¤ºã•れã¦ã„ã‚‹2ã¤ã®ãƒ•ァイルã®å†…容を両方ã¨ã‚‚入れるã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +.SS +引数ファイルを2ã¤æŒ‡å®šã™ã‚‹ä¾‹ +.LP +.LP +ãŸã¨ãˆã°ã€javacオプション用ã«1ファイルã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルå用ã«1ファイルã¨ã„ã†ã‚ˆã†ã«ã€2ã¤ã®å¼•数ファイルを作æˆã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ãªãŠã€ã“ã®å¾Œã®ãƒªã‚¹ãƒˆã§ã¯ã€è¡Œã®ç¶™ç¶šæ–‡å­—を使用ã—ã¦ã„ã¾ã›ã‚“。 +.LP +.LP +次ã®å†…容をå«ã‚€ã€ã€Œ\f2options\fPã€ã¨ã„ã†åå‰ã®ãƒ•ァイルを作æˆã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + \-d classes +.fl + \-g +.fl + \-sourcepath /java/pubs/ws/1.3/src/share/classes +.fl + +.fl +\fP +.fi + +.LP +.LP +次ã®å†…容をå«ã‚€\f2classes\fPã¨ã„ã†ãƒ•ァイルを作æˆã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + MyClass1.java +.fl + MyClass2.java +.fl + MyClass3.java +.fl + +.fl +\fP +.fi + +.LP +.LP +次ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¦\f3javac\fPを実行ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + % \fP\f3javac @options @classes\fP +.fl + +.fl +.fi + +.LP +.SS +パス付ãã®å¼•数ファイルã®ä¾‹ +.LP +.LP +引数ファイルã«ã¯ã€ãƒ‘スを指定ã§ãã¾ã™ã€‚ãŸã ã—ã€ãã®ãƒ•ã‚¡ã‚¤ãƒ«å†…ã«æŒ‡å®šã•れãŸãƒ•ァイルåã¯ã€ç¾åœ¨ã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã«ãªã‚Šã¾ã™ã€‚ã¤ã¾ã‚Šã€ä¸‹ã®ä¾‹ã®å ´åˆã¯ã€\f2path1\fPã‚„\f2path2\fPã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã§ã¯ã‚りã¾ã›ã‚“。 +.LP +.nf +\f3 +.fl +% \fP\f3javac @path1/options @path2/classes\fP +.fl +.fi + +.LP +.SH "注釈処ç†" +.LP +.LP +\f3javac\fPãŒæ³¨é‡ˆå‡¦ç†ã‚’直接サãƒãƒ¼ãƒˆã—ã¦ã„ã‚‹ãŸã‚ã€ç‹¬ç«‹ã—ãŸæ³¨é‡ˆå‡¦ç†ãƒ„ールã§ã‚ã‚‹\f3apt\fPを使用ã™ã‚‹å¿…è¦ãŒãªããªã‚Šã¾ã—ãŸã€‚ +.LP +.LP +注釈処ç†ã®APIã¯ã€\f2javax.annotation.processing\fPãŠã‚ˆã³\f2javax.lang.model\fPパッケージã¨ãã®ã‚µãƒ–パッケージ内ã«å®šç¾©ã•れã¦ã„ã¾ã™ã€‚ +.LP +.SS +注釈処ç†ã®æ¦‚è¦ +.LP +.LP +\f3\-proc:none\fPオプションã«ã‚ˆã£ã¦æ³¨é‡ˆå‡¦ç†ãŒç„¡åŠ¹åŒ–ã•れãªã„é™ã‚Šã€ã‚³ãƒ³ãƒ‘イラã¯ä½¿ç”¨å¯èƒ½ãªã™ã¹ã¦ã®æ³¨é‡ˆãƒ—ロセッサを検索ã—ã¾ã™ã€‚検索パスã¯\f3\-processorpath\fPオプションを使用ã—ã¦æŒ‡å®šã§ãã¾ã™ã€‚検索パスを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スãŒä½¿ç”¨ã•れã¾ã™ã€‚ãƒ—ãƒ­ã‚»ãƒƒã‚µã®æ¤œç´¢ã¯ã€æ¤œç´¢ãƒ‘ス上ã®\f2META\-INF/services/javax.annotation.processing.Processor\fPã¨ã„ã†åå‰ã®ã‚µãƒ¼ãƒ“ス・プロãƒã‚¤ãƒ€æ§‹æˆãƒ•ァイルã«åŸºã¥ã„ã¦è¡Œã‚れã¾ã™ã€‚ã“ã®ã‚ˆã†ãªãƒ•ァイルã«ã¯ã€ä½¿ç”¨ã™ã‚‹ã™ã¹ã¦ã®æ³¨é‡ˆãƒ—ロセッサã®åå‰ã‚’ã€1行ã«1ã¤ãšã¤å«ã‚ã¦ãã ã•ã„。ã¾ãŸã€åˆ¥ã®æ–¹æ³•ã¨ã—ã¦ã€\f3\-processor\fPオプションを使用ã—ã¦ãƒ—ãƒ­ã‚»ãƒƒã‚µã‚’æ˜Žç¤ºçš„ã«æŒ‡å®šã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.LP +.LP +コンパイラã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルやクラスを走査ã™ã‚‹ã“ã¨ã§ã€ã©ã®ã‚ˆã†ãªæ³¨é‡ˆãŒå­˜åœ¨ã—ã¦ã„ã‚‹ã‹ã‚’確èªã—終ã‚ã‚‹ã¨ã€ãƒ—ロセッサã«å¯¾ã—ã¦å•åˆã›ã‚’行ã„ã€ãれらã®ãƒ—ロセッサãŒã©ã®æ³¨é‡ˆã‚’処ç†ã§ãã‚‹ã®ã‹ã‚’確èªã—ã¾ã™ã€‚一致ã™ã‚‹ã‚‚ã®ãŒè¦‹ã¤ã‹ã£ãŸå ´åˆã€ãã®ãƒ—ロセッサãŒå‘¼ã³å‡ºã•れã¾ã™ã€‚å„プロセッサã¯ã€è‡ªèº«ãŒå‡¦ç†ã™ã‚‹æ³¨é‡ˆã‚’ã€Œè¦æ±‚ã€ã§ãã¾ã™ã€‚ãã®å ´åˆã€ãã‚Œã‚‰ã®æ³¨é‡ˆã«å¯¾ã™ã‚‹åˆ¥ã®ãƒ—ロセッサを見ã¤ã‘る試ã¿ã¯è¡Œã‚れã¾ã›ã‚“。ã™ã¹ã¦ã®æ³¨é‡ˆãŒè¦æ±‚ã•れã¦ã—ã¾ã†ã¨ã€ã‚³ãƒ³ãƒ‘イラã¯ãã‚Œä»¥ä¸Šãƒ—ãƒ­ã‚»ãƒƒã‚µã®æ¤œç´¢ã‚’行ã„ã¾ã›ã‚“。 +.LP +.LP +ã„ãšã‚Œã‹ã®ãƒ—ロセッサã«ã‚ˆã£ã¦æ–°ã—ã„ソース・ファイルãŒç”Ÿæˆã•れるã¨ã€æ³¨é‡ˆå‡¦ç†ã®2回目ã®ãƒ©ã‚¦ãƒ³ãƒ‰ãŒé–‹å§‹ã•れã¾ã™ã€‚æ–°ã—ã生æˆã•れãŸã™ã¹ã¦ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒèµ°æŸ»ã•れã€å‰å›žã¨åŒæ§˜ã«æ³¨é‡ˆãŒå‡¦ç†ã•れã¾ã™ã€‚以å‰ã®ãƒ©ã‚¦ãƒ³ãƒ‰ã§å‘¼ã³å‡ºã•れãŸãƒ—ロセッサã¯ã™ã¹ã¦ã€å¾Œç¶šã®ã©ã®ãƒ©ã‚¦ãƒ³ãƒ‰ã§ã‚‚呼ã³å‡ºã•れã¾ã™ã€‚ã“れãŒã€æ–°ã—ã„ソース・ファイルãŒç”Ÿæˆã•れãªããªã‚‹ã¾ã§ç¶šãã¾ã™ã€‚ +.LP +.LP +ã‚ã‚‹ãƒ©ã‚¦ãƒ³ãƒ‰ã§æ–°ã—ã„ソース・ファイルãŒç”Ÿæˆã•れãªã‹ã£ãŸå ´åˆã€æ³¨é‡ˆãƒ—ロセッサãŒã‚ã¨1回ã®ã¿å‘¼ã³å‡ºã•れã€å¿…è¦ãªå‡¦ç†ã‚’実行ã™ã‚‹æ©Ÿä¼šãŒä¸Žãˆã‚‰ã‚Œã¾ã™ã€‚最後ã«ã€\f3\-proc:only\fPオプションãŒä½¿ç”¨ã•れãªã„é™ã‚Šã€ã‚³ãƒ³ãƒ‘イラã¯ã€å…ƒã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ç”Ÿæˆã•れãŸã™ã¹ã¦ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルをコンパイルã—ã¾ã™ã€‚ +.LP +.SS +暗黙的ã«ãƒ­ãƒ¼ãƒ‰ã•れãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル +.LP +.LP +コンパイラã¯ã€ä¸€é€£ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルをコンパイルã™ã‚‹éš›ã«ã€åˆ¥ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを暗黙的ã«ãƒ­ãƒ¼ãƒ‰ã™ã‚‹ã“ã¨ãŒå¿…è¦ãªå ´åˆãŒã‚りã¾ã™ã€‚(åž‹ã®æ¤œç´¢ã‚’å‚ç…§)。ãã®ã‚ˆã†ãªãƒ•ァイルã¯ã€ç¾æ™‚点ã§ã¯æ³¨é‡ˆå‡¦ç†ã®å¯¾è±¡ã«ãªã‚Šã¾ã›ã‚“。デフォルトã§ã¯ã€æ³¨é‡ˆå‡¦ç†ãŒå®Ÿè¡Œã•れã€ã‹ã¤æš—黙的ã«ãƒ­ãƒ¼ãƒ‰ã•れãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒ1ã¤ã§ã‚‚コンパイルã•れãŸå ´åˆã«ã‚³ãƒ³ãƒ‘イラã¯è­¦å‘Šã‚’発行ã—ã¾ã™ã€‚ã“ã®è­¦å‘Šã‚’抑制ã™ã‚‹æ–¹æ³•ã«ã¤ã„ã¦ã¯ã€\-implicitオプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "åž‹ã®æ¤œç´¢" +.LP +.LP +ソース・ファイルをコンパイルã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã«åž‹ã®å®šç¾©ãŒè¦‹ã¤ã‹ã‚‰ãªã„ã¨ãã€ã‚³ãƒ³ãƒ‘イラã¯é€šå¸¸ã€ãã®åž‹ã«é–¢ã™ã‚‹æƒ…報を必è¦ã¨ã—ã¾ã™ã€‚コンパイラã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã§ä½¿ç”¨ã•れã¦ã„るクラスã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ã‚§ãƒ¼ã‚¹ã€æ‹¡å¼µã•れã¦ã„るクラスã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚ã‚‹ã„ã¯å®Ÿè£…ã•れã¦ã„るクラスã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã™ã¹ã¦ã«ã¤ã„ã¦ã€åž‹ã®æƒ…報を必è¦ã¨ã—ã¾ã™ã€‚ã“れã«ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã§æ˜Žç¤ºçš„ã«ã¯è¨€åŠã•れã¦ã„ãªãã¦ã‚‚ã€ç¶™æ‰¿ã‚’通ã˜ã¦æƒ…報をæä¾›ã™ã‚‹ã‚¯ãƒ©ã‚¹ã¨ã‚¤ãƒ³ã‚¿ãƒ•ェースもå«ã¾ã‚Œã¾ã™ã€‚ +.LP +.LP +ãŸã¨ãˆã°ã€\f3java.applet.Applet\fPをサブクラスã«ã—ãŸå ´åˆã€\f3アプレットã®\fP祖先ã®ã‚¯ãƒ©ã‚¹(\f3java.awt.Panel\fPã€\f3java.awt.Container\fPã€\f3java.awt.Component\fPã€\f3java.lang.Object\fP)を使用ã—ã¦ã„ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +コンパイラã¯ã€åž‹ã®æƒ…å ±ãŒå¿…è¦ã«ãªã‚‹ã¨ã€ãã®åž‹ã‚’定義ã—ã¦ã„るソース・ファイルã¾ãŸã¯ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを探ã—ã¾ã™ã€‚ã¾ãšã€ãƒ–ãƒ¼ãƒˆã‚¹ãƒˆãƒ©ãƒƒãƒ—ãƒ»ã‚¯ãƒ©ã‚¹ã¨æ‹¡å¼µæ©Ÿèƒ½ã‚¯ãƒ©ã‚¹ã‚’検索ã—ã€ç¶šã„ã¦ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘ス(デフォルトã§ã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª)を検索ã—ã¾ã™ã€‚ユーザー・クラス・パスã¯ã€\f3CLASSPATH\fP環境変数を設定ã—ã¦å®šç¾©ã™ã‚‹ã‹ã€ã¾ãŸã¯\f3\-classpath\fPコマンドライン・オプションを使用ã—ã¦è¨­å®šã—ã¾ã™ã€‚詳細ã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®è¨­å®šã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +\-sourcepathã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€ã‚³ãƒ³ãƒ‘イラã¯ã€æŒ‡å®šã•れãŸãƒ‘スã‹ã‚‰ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを検索ã—ã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã‹ã‚‰ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã¨ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ä¸¡æ–¹ã‚’検索ã—ã¾ã™ã€‚ +.LP +.LP +\f3\-bootclasspath\fPオプションã¨\f3\-extdirs\fPオプションを使用ã™ã‚‹ã¨ã€åˆ¥ã®ãƒ–ートストラップ・クラスや拡張機能クラスを指定ã§ãã¾ã™ã€‚ã“ã®å¾Œã®ã‚¯ãƒ­ã‚¹ã‚³ãƒ³ãƒ‘イル・オプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +åž‹ã®æ¤œç´¢ã«æˆåŠŸã—ãŸã¨ãã«å¾—ã‚‰ã‚Œã‚‹çµæžœã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã€ã¾ãŸã¯ãã®ä¸¡æ–¹ã§ã‚ã‚‹å ´åˆãŒã‚りã¾ã™ã€‚両方ãŒè¦‹ã¤ã‹ã£ãŸå ´åˆã€ãã®ã©ã¡ã‚‰ã‚’使用ã™ã‚‹ã‹ã‚’\-Xpreferオプションã§ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ã«æŒ‡ç¤ºã§ãã¾ã™ã€‚\f3newer\fPãŒæŒ‡å®šã•れãŸå ´åˆã€ã‚³ãƒ³ãƒ‘イラã¯2ã¤ã®ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–°ã—ã„æ–¹ã‚’使用ã—ã¾ã™ã€‚\f3source\fPãŒæŒ‡å®šã•れãŸå ´åˆã€ã‚³ãƒ³ãƒ‘イラã¯ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを使用ã—ã¾ã™ã€‚デフォルトã¯\f3newer\fPã§ã™ã€‚ +.LP +.LP +åž‹ã®æ¤œç´¢è‡ªä½“ã«ã‚ˆã£ã¦ã€ã¾ãŸã¯\f3\-Xprefer\fPãŒè¨­å®šã•れãŸçµæžœã¨ã—ã¦å¿…è¦ãªåž‹ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒè¦‹ã¤ã‹ã£ãŸå ´åˆã€ã‚³ãƒ³ãƒ‘イラã¯ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを読ã¿å–りã€å¿…è¦ãªæƒ…報をå–å¾—ã—ã¾ã™ã€‚ã•らã«ã€ã‚³ãƒ³ãƒ‘イラã¯ãƒ‡ãƒ•ォルトã§ã€ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ã‚³ãƒ³ãƒ‘イルも行ã„ã¾ã™ã€‚\-implicitオプションを使用ã—ã¦ãã®å‹•作を指定ã§ãã¾ã™ã€‚\f3none\fPを指定ã—ãŸå ´åˆã€ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã¯ç”Ÿæˆã•れã¾ã›ã‚“。\f3class\fPを指定ã—ãŸå ´åˆã€ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルãŒç”Ÿæˆã•れã¾ã™ã€‚ +.LP +.LP +コンパイラã¯ã€æ³¨é‡ˆå‡¦ç†ã®å®Œäº†å¾Œã«ã€ã‚る型情報ã®å¿…è¦æ€§ã‚’èªè­˜ã—ãªã„å ´åˆãŒã‚りã¾ã™ã€‚ãã®åž‹æƒ…å ±ãŒã‚るソース・ファイル内ã«è¦‹ã¤ã‹ã‚Šã€ã‹ã¤\f3\-implicit\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ãã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ³¨é‡ˆå‡¦ç†ã®å¯¾è±¡ã¨ãªã‚‰ãšã«ã‚³ãƒ³ãƒ‘イルã•れるã“ã¨ã‚’ã€ã‚³ãƒ³ãƒ‘イラãŒãƒ¦ãƒ¼ã‚¶ãƒ¼ã«è­¦å‘Šã—ã¾ã™ã€‚ã“ã®è­¦å‘Šã‚’無効ã«ã™ã‚‹ã«ã¯ã€(ãã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ³¨é‡ˆå‡¦ç†ã®å¯¾è±¡ã¨ãªã‚‹ã‚ˆã†ã«)ãã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã™ã‚‹ã‹ã€ã‚ã‚‹ã„ã¯ãã®ã‚ˆã†ãªã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã«å¯¾ã—ã¦ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを生æˆã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã‹ã©ã†ã‹ã‚’\f3\-implicit\fPオプションを使用ã—ã¦æŒ‡å®šã—ã¾ã™ã€‚ +.LP +.SH "プログラマティック・インタフェース" +.LP +.LP +\f3javac\fPã¯ã€\f2javax.tools\fPパッケージ内ã®ã‚¯ãƒ©ã‚¹ã¨ã‚¤ãƒ³ã‚¿ãƒ•ェースã«ã‚ˆã£ã¦å®šç¾©ã•れる新ã—ã„Java Compiler APIをサãƒãƒ¼ãƒˆã—ã¾ã™ã€‚ +.LP +.SS +例 +.LP +.LP +コマンドラインã‹ã‚‰æŒ‡å®šã•れãŸå¼•数を使用ã—ã¦ã‚³ãƒ³ãƒ‘イルを実行ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ãªã‚³ãƒ¼ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +JavaCompiler javac = ToolProvider.getSystemJavaCompiler(); +.fl +int rc = javac.run(null, null, null, args); +.fl +\fP +.fi + +.LP +.LP +ã“ã®å ´åˆã€æ¨™æº–出力ストリームã«ã™ã¹ã¦ã®è¨ºæ–­ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒæ›¸ã出ã•れã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‹ã‚‰å‘¼ã³å‡ºã•れãŸ\f3javac\fPãŒè¿”ã™ã®ã¨åŒã˜çµ‚了コードãŒè¿”ã•れã¾ã™ã€‚ +.LP +.LP +\f2javax.tools.JavaCompiler\fPインタフェース上ã®ä»–ã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’使用ã™ã‚‹ã¨ã€è¨ºæ–­ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã®å‡¦ç†ã‚„ファイルã®èª­å–り元/書込ã¿å…ˆã®åˆ¶å¾¡ãªã©ã‚’行ãˆã¾ã™ã€‚ +.LP +.SS +æ—§å¼ã®ã‚¤ãƒ³ã‚¿ãƒ•ェース +.LP +.LP +\f3注æ„:\fP ã“ã®APIã¯ã€ä¸‹ä½äº’æ›æ€§ã‚’確ä¿ã™ã‚‹ãŸã‚ã«ã®ã¿æ®‹ã•れã¦ã„ã¾ã™ã€‚æ–°ã—ã„コードã§ã¯ã€å¿…ãšå‰è¿°ã®Java Compiler APIを使用ã—ã¦ãã ã•ã„。 +.LP +.LP +\f2com.sun.tools.javac.Main\fPクラスã«ã¯ã€ãƒ—ログラム内ã‹ã‚‰ã‚³ãƒ³ãƒ‘イラを呼ã³å‡ºã™ãŸã‚ã®staticメソッドãŒ2ã¤ç”¨æ„ã•れã¦ã„ã¾ã™ã€‚ãれらを次ã«ç¤ºã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +public static int compile(String[] args); +.fl +public static int compile(String[] args, PrintWriter out); +.fl +\fP +.fi + +.LP +.LP +\f2args\fPパラメータã¯ã€javacプログラムã«é€šå¸¸æ¸¡ã•れる任æ„ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å¼•数を表ã—ã¦ã„ã¾ã™ã€‚ãã®æ¦‚è¦ã«ã¤ã„ã¦ã¯ã€å‰å‡ºã®å½¢å¼ã®é …ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +\f2out\fPパラメータã¯ã€ã‚³ãƒ³ãƒ‘イラã®è¨ºæ–­ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã®å‡ºåŠ›å…ˆã‚’ç¤ºã—ã¾ã™ã€‚ +.LP +.LP +戻り値ã¯ã€\f3javac\fPã®çµ‚了値ã¨åŒã˜ã§ã™ã€‚ +.LP +.LP +åå‰ãŒ\f2com.sun.tools.javac\fPã§å§‹ã¾ã‚‹ãƒ‘ッケージ(éžå…¬å¼ã«ã¯\f2com.sun.tools.javac\fPã®ã‚µãƒ–パッケージã¨ã—ã¦çŸ¥ã‚‰ã‚Œã‚‹)ã«å«ã¾ã‚Œã‚‹ãã®ä»–ã®ã‚¯ãƒ©ã‚¹ã‚„メソッドã¯ã€ã©ã‚Œã‚‚完全ã«å†…部用ã§ã‚りã€ã„ã¤ã§ã‚‚変更ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.LP +.SH "例" +.LP +.SS +ç°¡å˜ãªãƒ—ログラムã®ã‚³ãƒ³ãƒ‘イル +.LP +.LP +\f2Hello.java\fPã¨ã„ã†ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã§ã€\f3greetings.Hello\fPã¨ã„ã†åå‰ã®ã‚¯ãƒ©ã‚¹ã‚’定義ã—ã¦ã„ã‚‹ã¨ã—ã¾ã™ã€‚\f2greetings\fPディレクトリã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®ä¸¡æ–¹ãŒã‚るパッケージ・ディレクトリã§ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®ã™ã下ã«ã‚りã¾ã™ã€‚ã“ã®ãŸã‚ã€ã“ã®ä¾‹ã§ã¯ã€ãƒ‡ãƒ•ォルトã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スを使用ã§ãã¾ã™ã€‚ã¾ãŸã€\f3\-d\fPを使用ã—ã¦åˆ¥ã®å‡ºåŠ›å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’æŒ‡å®šã™ã‚‹å¿…è¦ã‚‚ã‚りã¾ã›ã‚“。 +.LP +.nf +\f3 +.fl +% \fP\f3ls\fP +.fl +greetings/ +.fl +% \f3ls greetings\fP +.fl +Hello.java +.fl +% \f3cat greetings/Hello.java\fP +.fl +package greetings; +.fl + +.fl +public class Hello { +.fl + public static void main(String[] args) { +.fl + for (int i=0; i < args.length; i++) { +.fl + System.out.println("Hello " + args[i]); +.fl + } +.fl + } +.fl +} +.fl +% \f3javac greetings/Hello.java\fP +.fl +% \f3ls greetings\fP +.fl +Hello.class Hello.java +.fl +% \f3java greetings.Hello World Universe Everyone\fP +.fl +Hello World +.fl +Hello Universe +.fl +Hello Everyone +.fl +.fi + +.LP +.SS +複数ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ã‚³ãƒ³ãƒ‘イル +.LP +.LP +次ã®ä¾‹ã§ã¯ã€ãƒ‘ッケージ\f2greetings\fP内ã®ã™ã¹ã¦ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルをコンパイルã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3ls\fP +.fl +greetings/ +.fl +% \f3ls greetings\fP +.fl +Aloha.java GutenTag.java Hello.java Hi.java +.fl +% \f3javac greetings/*.java\fP +.fl +% \f3ls greetings\fP +.fl +Aloha.class GutenTag.class Hello.class Hi.class +.fl +Aloha.java GutenTag.java Hello.java Hi.java +.fl +.fi + +.LP +.SS +ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘ã‚¹ã®æŒ‡å®š +.LP +.LP +上ã®ä¾‹ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ã†ã¡1ã¤ã‚’変更ã—ã€å¤‰æ›´å¾Œã®ãƒ•ァイルをå†ã‚³ãƒ³ãƒ‘イルã™ã‚‹ã¨ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3pwd\fP +.fl +/examples +.fl +% \f3javac greetings/Hi.java\fP +.fl +.fi + +.LP +.LP +\f2greetings.Hi\fPã¯ã€\f2greetings\fPパッケージ内ã®ä»–ã®ã‚¯ãƒ©ã‚¹ã‚’å‚ç…§ã—ã¦ã„ã‚‹ãŸã‚ã€ã‚³ãƒ³ãƒ‘イラã¯ã“れらã®ã‚¯ãƒ©ã‚¹ã‚’探ã™å¿…è¦ãŒã‚りã¾ã™ã€‚上ã®ä¾‹ã§ã¯ã€ãƒ‡ãƒ•ォルトã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スãŒã€ãƒ‘ッケージ・ディレクトリをå«ã‚€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¨åŒã˜ã§ã‚ã‚‹ãŸã‚ã€ã‚³ãƒ³ãƒ‘ã‚¤ãƒ«ã¯æ­£å¸¸ã«å®Ÿè¡Œã•れã¾ã™ã€‚ã—ã‹ã—ã€ç¾åœ¨ã©ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã„ã‚‹ã‹ã«é–¢ä¿‚ãªãã€ã“ã®ãƒ•ァイルをå†ã‚³ãƒ³ãƒ‘イルã™ã‚‹å ´åˆã‚’考ãˆã¦ã¿ã¾ã—ょã†ã€‚ãã®ã‚ˆã†ãªå ´åˆã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã«\f2/examples\fPを追加ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ユーザー・クラス・パスã«ã‚¨ãƒ³ãƒˆãƒªã‚’追加ã™ã‚‹ã«ã¯ã€\f3CLASSPATH\fPを設定ã™ã‚‹æ–¹æ³•ã‚‚ã‚りã¾ã™ãŒã€ã“ã“ã§ã¯\f3\-classpath\fPオプションを使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3javac \-classpath /examples /examples/greetings/Hi.java\fP +.fl +.fi + +.LP +.LP +å†åº¦\f2greetings.Hi\fPを変更ã—ã¦ãƒãƒŠãƒ¼ãƒ»ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã‚’使用ã™ã‚‹ã‚ˆã†ã«ã—ãŸå ´åˆã¯ã€ã“ã®ãƒãƒŠãƒ¼ãƒ»ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã‚‚ユーザー・クラス・パスを通ã˜ã¦ã‚¢ã‚¯ã‚»ã‚¹ã§ãるよã†ã«ãªã£ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3javac \-classpath /examples:/lib/Banners.jar \\ +.fl + /examples/greetings/Hi.java\fP +.fl +.fi + +.LP +.LP +\f2greetings\fP内ã®ã‚¯ãƒ©ã‚¹ã‚’実行ã™ã‚‹ã«ã¯ã€\f2greetings\fPã¨ã€ãれãŒä½¿ç”¨ã™ã‚‹ã‚¯ãƒ©ã‚¹ã®ä¸¡æ–¹ã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3java \-classpath /examples:/lib/Banners.jar greetings.Hi\fP +.fl +.fi + +.LP +.SS +ソース・ファイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®åˆ†é›¢ +.LP +.LP +特ã«å¤§è¦æ¨¡ãƒ—ロジェクトã®å ´åˆã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを別々ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç½®ãã¨ä¾¿åˆ©ãªã“ã¨ãŒã‚りã¾ã™ã€‚クラス・ファイルã®å‡ºåŠ›å…ˆã‚’åˆ¥ã«æŒ‡å®šã™ã‚‹ã«ã¯ã€\f3\-d\fPを使用ã—ã¾ã™ã€‚ソース・ファイルã¯ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã«ã¯ãªã„ã®ã§ã€\f3\-sourcepath\fPを使用ã—ã¦ã€ã‚³ãƒ³ãƒ‘イラãŒã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを見ã¤ã‘ã‚‹ã“ã¨ãŒã§ãるよã†ã«ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3ls\fP +.fl +classes/ lib/ src/ +.fl +% \f3ls src\fP +.fl +farewells/ +.fl +% \f3ls src/farewells\fP +.fl +Base.java GoodBye.java +.fl +% \f3ls lib\fP +.fl +Banners.jar +.fl +% \f3ls classes\fP +.fl +% \f3javac \-sourcepath src \-classpath classes:lib/Banners.jar \\ +.fl + src/farewells/GoodBye.java \-d classes\fP +.fl +% \f3ls classes\fP +.fl +farewells/ +.fl +% \f3ls classes/farewells\fP +.fl +Base.class GoodBye.class +.fl +.fi + +.LP +.LP +\f3注æ„:\fP コマンドラインã§ã¯\f2src/farewells/Base.java\fPを指定ã—ã¦ã„ã¾ã›ã‚“ãŒã€ã“ã®ãƒ•ァイルもコンパイラã«ã‚ˆã£ã¦ã‚³ãƒ³ãƒ‘イルã•れã¦ã„ã¾ã™ã€‚自動コンパイルを監視ã™ã‚‹ã«ã¯ã€\f3\-verbose\fPオプションを使用ã—ã¾ã™ã€‚ +.LP +.SS +クロスコンパイルã®ä¾‹ +.LP +.LP +次ã®ä¾‹ã¯ã€1.6 VM上ã§å‹•作ã™ã‚‹ã‚³ãƒ¼ãƒ‰ã‚’コンパイルã™ã‚‹ãŸã‚ã«\f3javac\fPを使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3javac \-source 1.6 \-target 1.6 \-bootclasspath jdk1.6.0/lib/rt.jar \\ +.fl + \-extdirs "" OldCode.java\fP +.fl +.fi + +.LP +.LP +\f2\-source 1.6\fPオプションã«ã‚ˆã‚Šã€\f2OldCode.java\fPã®ã‚³ãƒ³ãƒ‘イルã«ã¯ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.6(ã¾ãŸã¯6)ã®Javaプログラミング言語ãŒä½¿ç”¨ã•れã¾ã™ã€‚\f3\-target 1.6\fPオプションã«ã‚ˆã‚Šã€1.6 VMã¨äº’æ›æ€§ã®ã‚るクラス・ファイルãŒç”Ÿæˆã•れã¾ã™ã€‚ã»ã¨ã‚“ã©ã®å ´åˆã€\f3\-target\fPオプションã®å€¤ã¯\f3\-source\fPオプションã®å€¤ã«ãªã‚Šã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€\f3\-target\fPオプションをçœç•¥ã§ãã¾ã™ã€‚ +.LP +.LP +\f3\-bootclasspath\fPオプションを使用ã—ã¦ã€é©åˆ‡ãªãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ–ートストラップ・クラス(\f2rt.jar\fPライブラリ)を指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚指定ã—ãªã„å ´åˆã¯ã€ã‚³ãƒ³ãƒ‘イラã«ã‚ˆã£ã¦æ¬¡ã®è­¦å‘ŠãŒç”Ÿæˆã•れã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% \fP\f3javac \-source 1.6 OldCode.java\fP +.fl +warning: [options] bootstrap class path not set in conjunction with \-source 1.6 +.fl +.fi + +.LP +.LP +é©åˆ‡ãªãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ–ートストラップ・クラスを指定ã—ãªã„å ´åˆã€ã‚³ãƒ³ãƒ‘イラã¯å¤ã„言語仕様(ã“ã®ä¾‹ã§ã¯ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.6ã®Javaプログラミング言語)ã‚’æ–°ã—ã„ブートストラップ・クラスã¨çµ„ã¿åˆã›ã¦ä½¿ç”¨ã—ã¾ã™ã€‚ãã®çµæžœã€å­˜åœ¨ã—ãªã„メソッドã¸ã®å‚ç…§ãŒå«ã¾ã‚Œã¦ã„ã‚‹ã“ã¨ãŒã‚ã‚‹ãŸã‚ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルãŒå¤ã„プラットフォーム(ã“ã®å ´åˆã¯Java SE 6)ã§å‹•作ã—ãªã„å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +.na +\f2javacガイド\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javac/index.html +.TP 2 +o +java(1) \- Javaアプリケーション起動ツール +.TP 2 +o +jdb(1) \- Javaデãƒãƒƒã‚¬ +.TP 2 +o +javah(1) \- Cヘッダーã¨ã‚¹ã‚¿ãƒ–・ファイル・ジェãƒãƒ¬ãƒ¼ã‚¿ +.TP 2 +o +javap(1) \- クラス・ファイル逆アセンブラ +.TP 2 +o +javadoc(1) \- APIドキュメント・ジェãƒãƒ¬ãƒ¼ã‚¿ +.TP 2 +o +jar(1) \- JARアーカイブ・ツール +.TP 2 +o +.na +\f2Java拡張機能フレームワーク\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/extensions/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javadoc.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javadoc.1 new file mode 100644 index 00000000..f4832d2e --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javadoc.1 @@ -0,0 +1,4178 @@ +." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javadoc 1 "05 Jul 2012" +.SH "åå‰" +javadoc \- Java APIドキュメント・ジェãƒãƒ¬ãƒ¼ã‚¿ +.LP +Javaソース・ファイルã‹ã‚‰ã€APIドキュメントã®HTMLページを生æˆã—ã¾ã™ã€‚ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã§ç´¹ä»‹ã•れã¦ã„ã‚‹Javadocã®ä¾‹ã¯ã€Solarisを使用ã—ãŸå ´åˆã®ã‚‚ã®ã§ã™ã€‚ +.SH "å½¢å¼" +.LP +\f4javadoc\fP\f2\ [\ \fP\f2options\fP\f2\ ]\ [\ packagenames\ ]\ [\ sourcefilenames\ ]\ [\ \-subpackages\fP\ \f2pkg1:pkg2:...\fP\f2\ ]\ [\ \fP\f2@argfiles\fP\f2\ ]\fP +.LP +引数を指定ã™ã‚‹é †åºã¯ä»»æ„ã§ã™ã€‚Javadocツールã§ã®ã€å‡¦ç†å¯¾è±¡ã®\f2.java\fPファイルを決定ã™ã‚‹æ–¹æ³•ã®è©³ç´°ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®å‡¦ç†ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RS 3 +.TP 3 +options +ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã§èª¬æ˜Žã•れã¦ã„るコマンドライン・オプションã§ã™ã€‚Javadocã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æ¨™æº–çš„ãªä½¿ç”¨æ–¹æ³•ã«ã¤ã„ã¦ã¯ã€ä½¿ç”¨ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +packagenames +空白文字ã§åŒºåˆ‡ã‚‰ã‚ŒãŸä¸€é€£ã®ãƒ‘ッケージåã§ã™ã€‚ãŸã¨ãˆã°ã€\f2java.lang\ java.lang.reflect\ java.awt\fPã®ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ドキュメント化ã™ã‚‹ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’å€‹åˆ¥ã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ワイルドカードã¯ä½¿ç”¨ä¸å¯ã§ã™ã€‚å†å¸°çš„処ç†ã®ãŸã‚ã«ã¯ã€\-subpackagesを使用ã—ã¾ã™ã€‚Javadocツールã¯ã€\f2\-sourcepath\fPを使用ã—ã¦ã“れらã®ãƒ‘ッケージåを検索ã—ã¾ã™ã€‚例 \- 1ã¤ä»¥ä¸Šã®ãƒ‘ッケージã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +sourcefilenames +空白文字ã§åŒºåˆ‡ã‚‰ã‚ŒãŸä¸€é€£ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã§ã™ã€‚å„ファイルã¯ã€ãƒ‘スã§å§‹ã¾ã‚Šã¾ã™ã€‚アスタリスク(*)ãªã©ã®ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚JavadocツールãŒå‡¦ç†ã™ã‚‹ã®ã¯ã€ãƒ•ァイルåãŒã€Œ.javaã€ã¨ã„ã†æ‹¡å¼µå­ã§çµ‚ã‚りã€ãã®æ‹¡å¼µå­ã‚’除ã„ãŸåå‰ãŒå®Ÿéš›ã«æœ‰åйãªã‚¯ãƒ©ã‚¹åã§ã‚ã‚‹ã™ã¹ã¦ã®ãƒ•ァイルã§ã™(Java言語仕様をå‚ç…§)。ã—ãŸãŒã£ã¦ã€ãƒã‚¤ãƒ•ンをå«ã‚€åå‰(\f2X\-Buffer\fPãªã©)ã‚„ã€ãã®ä»–ã®ç„¡åŠ¹ãªæ–‡å­—ã‚’å«ã‚€åå‰ã‚’付ã‘ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ã€ãれらã®ãƒ•ァイルをドキュメント化ã®å¯¾è±¡ã‹ã‚‰é™¤å¤–ã§ãã¾ã™ã€‚ã“れã¯ã€ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルやテンプレート・ファイルã®å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ソース・ファイルåã®å‰ã«æŒ‡å®šã—ãŸãƒ‘スã«ã‚ˆã£ã¦ã€javadocãŒãã®ãƒ•ァイルを検索ã™ã‚‹å ´æ‰€ãŒæ±ºã¾ã‚Šã¾ã™ã€‚(Javadocツールã¯ã€ã“れらã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåを検索ã™ã‚‹ã¨ãã«\f2\-sourcepath\fPを使用\f2ã—ã¾ã›ã‚“\fP。)相対パスã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’起点ã¨ã™ã‚‹ãŸã‚ã€\f2Button.java\fPを渡ã™ã“ã¨ã¯ã€\f2./Button.java\fPを渡ã™ã“ã¨ã¨åŒã˜ã§ã™ã€‚ソース・ファイルåをワイルドカードをå«ã‚€ãƒ•ãƒ«ãƒ‘ã‚¹ã§æŒ‡å®šã™ã‚‹ã¨ã€\f2/home/src/java/awt/Graphics*.java\fPã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚例 \- 1ã¤ä»¥ä¸Šã®ã‚¯ãƒ©ã‚¹ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã‚’å‚ç…§ã—ã¦ãã ã•ã„。ã¾ãŸã€ä¾‹ \- パッケージã¨ã‚¯ãƒ©ã‚¹ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã®ã‚ˆã†ã«ã€ãƒ‘ッケージåã¨ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåを混在ã•ã›ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.TP 3 +\-subpackages pkg1:pkg2:... +ソース・ファイルã‹ã‚‰æŒ‡å®šã•れãŸãƒ‘ッケージãŠã‚ˆã³ãã®ã‚µãƒ–パッケージ内ã«å†å¸°çš„ã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã—ã¾ã™ã€‚パッケージåã¾ãŸã¯ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåを指定ã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。 +.TP 3 +@argfiles +Javadocオプションã€ãƒ‘ッケージåã€ãŠã‚ˆã³ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã‚’ä»»æ„ã®é †åºã§ä¸¦ã¹ãŸãƒªã‚¹ãƒˆãŒå«ã¾ã‚Œã‚‹1ã¤ä»¥ä¸Šã®ãƒ•ァイルã§ã™ã€‚ã“ã®ãƒ•ァイルã®ä¸­ã§ã¯ã€ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰(*)ãŠã‚ˆã³\f2\-J\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¯æŒ‡å®šã§ãã¾ã›ã‚“。 +.RE +.SH "説明" +.LP +\f3Javadoc\fPツールã¯ã€ä¸€é€£ã®Javaソース・ファイルã«ã‚る宣言ãŠã‚ˆã³ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’è§£æžã—ã€ãƒ‡ãƒ•ォルトã§ã¯publicクラスã€protectedクラスã€ãƒã‚¹ãƒˆã•れãŸã‚¯ãƒ©ã‚¹(匿åã®å†…部クラスã¯é™¤ã)ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ãŠã‚ˆã³ãƒ•ィールドã«ã¤ã„ã¦è¨˜è¿°ã—ãŸä¸€é€£ã®HTMLページを生æˆã—ã¾ã™ã€‚ã¾ãŸã€API(アプリケーション・プログラミング・インタフェース)ドキュメントã®ç”Ÿæˆã‚„ã€ä¸€é€£ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®å®Ÿè£…ドキュメントã®ç”Ÿæˆã«ä½¿ç”¨ã§ãã¾ã™ã€‚ +.LP +Javadocツールã¯ã€ãƒ‘ッケージ全体ã€å€‹ã€…ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã€ã¾ãŸã¯ãã®ä¸¡æ–¹ã«å¯¾ã—ã¦å®Ÿè¡Œã§ãã¾ã™ã€‚パッケージ全体ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–を行ã†ã«ã¯ã€\f2\-subpackages\fPを使用ã—ã¦æœ€ä¸Šä½ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ä¸‹æ–¹ã«å†å¸°çš„ã«ãŸã©ã‚‹ã‹ã€ãƒ‘ッケージåã®æ˜Žç¤ºçš„ãªãƒªã‚¹ãƒˆã‚’渡ã—ã¾ã™ã€‚個々ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–を行ã†ã«ã¯ã€ã‚½ãƒ¼ã‚¹(.\f2.java\fP)ファイルåã®ãƒªã‚¹ãƒˆã‚’渡ã—ã¾ã™ã€‚具体的ãªä¾‹ã¯ã€ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®æœ€å¾Œã«ç´¹ä»‹ã—ã¾ã™ã€‚次ã«ã€Javadocã«ã‚ˆã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®å‡¦ç†ã«ã¤ã„ã¦èª¬æ˜Žã—ã¾ã™ã€‚ +.SS +ソース・ファイルã®å‡¦ç† +.LP +Javadocツールã¯ã€æœ«å°¾ãŒã€Œ\f2.java\fPã€ã®ãƒ•ァイル以外ã«ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã§è¨˜è¿°ã•れã¦ã„ã‚‹ä»–ã®ãƒ•ァイルも処ç†ã—ã¾ã™ã€‚個々ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã‚’æ˜Žç¤ºçš„ã«æ¸¡ã—ã¦Javadocツールを実行ã™ã‚‹å ´åˆã€ã©ã®\f2.java\fPファイルを処ç†ã™ã‚‹ã‹ã‚’æ­£ç¢ºã«æŒ‡å®šã§ãã¾ã™ã€‚ãŸã ã—ã€å¤šãã®é–‹ç™ºè€…ã¯ã“ã®æ–¹æ³•ã§ã¯ä½œæ¥­ã—ã¾ã›ã‚“。パッケージåを渡ã™ã»ã†ãŒç°¡å˜ã ã‹ã‚‰ã§ã™ã€‚ソース・ファイルåã‚’æ˜Žç¤ºçš„ã«æŒ‡å®šã—ãªãã¦ã‚‚ã€Javadocツールã¯3ã¤ã®æ–¹æ³•ã§å®Ÿè¡Œã§ãã¾ã™ã€‚ãれã¯ã€(1)パッケージåを渡ã™ã€(2)\f2\-subpackages\fPを使用ã™ã‚‹ã€(3)ソース・ファイルåã§ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ã‚’使用ã™ã‚‹(\f2*.java\fP)ã€ã¨ã„ã†æ–¹æ³•ã§ã™ã€‚ã“れらã®å ´åˆã€JavadocツールãŒ\f2.java\fPファイルã®å‡¦ç†ã‚’行ã†ã®ã¯ã€ãã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ¬¡ã®ã™ã¹ã¦ã®è¦ä»¶ã‚’満ãŸã™å ´åˆã®ã¿ã§ã™ã€‚ +.RS 3 +.TP 2 +o +接尾辞「\f2.java\fPã€ã‚’除ã„ãŸåå‰ãŒå®Ÿéš›ã«æœ‰åйãªã‚¯ãƒ©ã‚¹åã§ã‚ã‚‹å ´åˆ(æœ‰åŠ¹ãªæ–‡å­—ã«ã¤ã„ã¦ã¯ã€Java言語仕様をå‚ç…§) +.TP 2 +o +ソース・ツリーã®ãƒ«ãƒ¼ãƒˆã‹ã‚‰ç›¸å¯¾çš„ãªãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ»ãƒ‘スãŒã€åŒºåˆ‡ã‚Šæ–‡å­—をドットã«å¤‰æ›ã™ã‚‹ã¨ã€å®Ÿéš›ã«æœ‰åйãªãƒ‘ッケージåã§ã‚ã‚‹å ´åˆ +.TP 2 +o +packageæ–‡ã«æœ‰åйãªãƒ‘ッケージå(å‰ç®‡æ¡æ›¸ãã§æŒ‡å®š)ãŒå«ã¾ã‚Œã‚‹å ´åˆ +.RE +.LP +\f3リンクã®å‡¦ç†\fP \- Javadocツールã¯ã€å‡¦ç†ã®å®Ÿè¡Œä¸­ã«ã€ãã®å®Ÿè¡Œã§ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるパッケージã€ã‚¯ãƒ©ã‚¹ã€ãŠã‚ˆã³ãƒ¡ãƒ³ãƒãƒ¼ã®åå‰ã«å¯¾ã—ã¦ã€è‡ªå‹•çš„ã«ç›¸äº’å‚照リンクを追加ã—ã¾ã™ã€‚ã“ã®ã‚ˆã†ãªãƒªãƒ³ã‚¯ã¯ã€æ¬¡ã®ã‚ˆã†ãªå ´æ‰€ã«è¿½åŠ ã•れã¾ã™ã€‚ +.RS 3 +.TP 2 +o +宣言(戻り値ã®åž‹ã€å¼•æ•°ã®åž‹ã€ãƒ•ィールドã®åž‹) +.TP 2 +o +\f2@see\fPã‚¿ã‚°ã‹ã‚‰ç”Ÿæˆã•れãŸã€Œé–¢é€£é …ç›®ã€ã‚»ã‚¯ã‚·ãƒ§ãƒ³ +.TP 2 +o +\f2{@link}\fPã‚¿ã‚°ã‹ã‚‰ç”Ÿæˆã•れãŸã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ãƒ†ã‚­ã‚¹ãƒˆ +.TP 2 +o +\f2@throws\fPã‚¿ã‚°ã‹ã‚‰ç”Ÿæˆã•れãŸä¾‹å¤–ã®åå‰ +.TP 2 +o +インタフェースã®ãƒ¡ãƒ³ãƒãƒ¼ã«å¯¾ã™ã‚‹ã€Œå®šç¾©ã€ãƒªãƒ³ã‚¯ã¨ã€ã‚¯ãƒ©ã‚¹ã®ãƒ¡ãƒ³ãƒãƒ¼ã«å¯¾ã™ã‚‹ã€Œã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã€ãƒªãƒ³ã‚¯ +.TP 2 +o +パッケージã€ã‚¯ãƒ©ã‚¹ã€ãŠã‚ˆã³ãƒ¡ãƒ³ãƒãƒ¼ã‚’リストã—ã¦ã„る概è¦è¡¨ +.TP 2 +o +パッケージãŠã‚ˆã³ã‚¯ãƒ©ã‚¹ã®ç¶™æ‰¿ãƒ„リー +.TP 2 +o +索引 +.RE +.LP +ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãªã‹ã£ãŸã‚¯ãƒ©ã‚¹ã«ã¤ã„ã¦ã®æ—¢å­˜ã®ãƒ†ã‚­ã‚¹ãƒˆ(別ã«ç”Ÿæˆã—ãŸãƒ†ã‚­ã‚¹ãƒˆ)ã«å¯¾ã—ã¦ãƒã‚¤ãƒ‘ーリンクを追加ã™ã‚‹ã«ã¯ã€\f2\-link\fPãŠã‚ˆã³\f2\-linkoffline\fPオプションを利用ã§ãã¾ã™ã€‚ +.LP +\f3ãã®ä»–ã®å‡¦ç†ã«ã¤ã„ã¦ã®è©³ç´°\fP \- Javadocツールã¯ã€å®Ÿè¡Œã™ã‚‹ãŸã³ã«1ã¤ã®å®Œå…¨ãªãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’作æˆã—ã¾ã™ã€‚ドキュメントを追加生æˆã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。ã¤ã¾ã‚Šã€Javadocツールã®ä»¥å‰ã®å®Ÿè¡Œçµæžœã‚’修正ã—ãŸã‚Šã€ãã®å†…容を\f2直接\fP組ã¿å…¥ã‚ŒãŸã‚Šã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。ãŸã ã—ã€å‰è¿°ã®ã‚ˆã†ã«ã€ä»–ã®å®Ÿè¡Œçµæžœã«ãƒªãƒ³ã‚¯ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã™ã€‚ +.LP +実装上ã®ç†ç”±ã‹ã‚‰ã€Javadocツールã¯ã€ã‚¸ãƒ§ãƒ–を実行ã™ã‚‹ãŸã‚ã«javaコンパイラを必è¦ã¨ã—ã€javaコンパイラã«ä¾å­˜ã—ã¦ã„ã¾ã™ã€‚Javadocツールã¯ã€\f2javac\fPã®ä¸€éƒ¨ã‚’呼ã³å‡ºã—ã¦å®£è¨€ã‚’コンパイルã—ã¾ã™ãŒã€ãƒ¡ãƒ³ãƒãƒ¼ã®å®Ÿè£…ã¯ç„¡è¦–ã—ã¾ã™ã€‚ã“れã¯ã€ã‚¯ãƒ©ã‚¹éšŽå±¤ã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ã®è±Šå¯Œãªå†…部表ç¾ã¨ã‚¯ãƒ©ã‚¹ã®ã€Œä½¿ç”¨ã€é–¢ä¿‚を構築ã—ã€ãã®æƒ…å ±ã‹ã‚‰HTMLを生æˆã—ã¾ã™ã€‚ã•らã«ã€Javadocツールã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‹ã‚‰ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®æä¾›ã—ãŸãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚‚å–å¾—ã—ã¾ã™ã€‚ +.LP +実際ã«ã¯ã€Javadocツールã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰æœ¬ä½“ã‚’æŒãŸãªã„純粋ãªã‚¹ã‚¿ãƒ–・ファイルã§ã‚ã‚‹\f2.java\fPソース・ファイルã«å¯¾ã—ã¦ã‚‚実行ã§ãã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€APIã®ä½œæˆæ™‚ã«ã¯ã€å®Ÿè£…を記述ã™ã‚‹å‰ã®è¨­è¨ˆã®æ—©ã„段階ã§ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’記述ã—ã¦javadocツールを実行ã§ãã¾ã™ã€‚ +.LP +コンパイラã«ä¾å­˜ã™ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ã€HTML出力ã¯ã€å®Ÿéš›ã®å®Ÿè£…ã«æ­£ç¢ºã«å¯¾å¿œã—ã¾ã™ã€‚実際ã®å®Ÿè£…ã¯ã€æ˜Žç¤ºçš„ãªã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã«ã§ã¯ãªãã€æš—é»™ã®ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã«ä¾å­˜ã™ã‚‹å ´åˆãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€Javadocツールã¯ã€\f2.class\fPファイルã«ã¯å­˜åœ¨ã™ã‚‹ãŒã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã«ã¯å­˜åœ¨ã—ãªã„デフォルト・コンストラクタ(Java言語仕様をå‚ç…§)をドキュメント化ã—ã¾ã™ã€‚ +.LP +通常ã€Javadocツールã§ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ã‚³ãƒ¼ãƒ‰ãŒä¸å®Œå…¨ã¾ãŸã¯ã‚¨ãƒ©ãƒ¼ã‚’å«ã‚“ã§ã„ã‚‹å ´åˆã§ã‚‚ドキュメントを生æˆã§ãã¾ã™ã€‚ã“ã®ãŸã‚ã€ãƒ‡ãƒãƒƒã‚°ã‚„トラブルシューティングを完了ã™ã‚‹å‰ã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2Java言語仕様\fPã«ã‚ˆã‚‹ã¨ã€æŠ½è±¡ãƒ¡ã‚½ãƒƒãƒ‰ã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ã¯ã€ãれ自体を抽象ã¨ã—ã¦å®£è¨€ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚javacコンパイラã¯ã“ã®ã‚¨ãƒ©ãƒ¼ã‚’検出ã™ã‚‹ã¨åœæ­¢ã—ã¾ã™ãŒã€Javadocツールã¯ã“ã®ãƒã‚§ãƒƒã‚¯ã‚’行ã‚ãšã€è­¦å‘Šã‚’出ã•ãšã«å‡¦ç†ã‚’続行ã—ã¾ã™ã€‚Javadocツールã¯ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®åŸºæœ¬çš„ãªãƒã‚§ãƒƒã‚¯ã‚’行ã„ã¾ã™ã€‚ドキュメンテーション・コメントをより詳ã—ããƒã‚§ãƒƒã‚¯ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã¯ã€DocCheckドックレットを使用ã—ã¦ãã ã•ã„。 +.LP +Javadocツールã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®å†…部構造を構築ã™ã‚‹éš›ã€å‚照クラスをã™ã¹ã¦ãƒ­ãƒ¼ãƒ‰ã—ã¾ã™ã€‚ã“ã®ãŸã‚ã€Javadocツールã¯ã€ãƒ–ãƒ¼ãƒˆã‚¹ãƒˆãƒ©ãƒƒãƒ—ãƒ»ã‚¯ãƒ©ã‚¹ã€æ‹¡å¼µæ©Ÿèƒ½ã€ã¾ãŸã¯ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ã«ã‹ã‹ã‚らãšã€ã™ã¹ã¦ã®å‚照クラスを検索ã§ãã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚詳細ã¯ã€ +.na +\f2ã‚¯ãƒ©ã‚¹ã®æ¤œç´¢æ–¹æ³•\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。通常ã€ä½œæˆã™ã‚‹ã‚¯ãƒ©ã‚¹ã¯ã€æ‹¡å¼µæ©Ÿèƒ½ã¨ã—ã¦ãƒ­ãƒ¼ãƒ‰ã™ã‚‹ã‹ã€Javadocツールã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘ス内ã«ç½®ãå¿…è¦ãŒã‚りã¾ã™ã€‚ +.SS +Javadocã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆ +.LP +Javadocツールã®å‡ºåŠ›ã®å†…容ã¨å½¢å¼ã¯ã€ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã‚’使用ã—ã¦ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºã§ãã¾ã™ã€‚Javadocツールã«ã¯ã€æ¨™æº–ドックレットã¨å‘¼ã°ã‚Œã‚‹ãƒ‡ãƒ•ォルトã®ã€Œçµ„è¾¼ã¿ã€ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆãŒã‚りã¾ã™ã€‚標準ドックレットã¯ã€HTMLå½¢å¼ã®APIドキュメントを生æˆã—ã¾ã™ã€‚標準ドックレットを修正ã¾ãŸã¯ã‚µãƒ–クラス化ã™ã‚‹ã“ã¨ã‚„ã€HTMLã€XMLã€MIFã€RTFãªã©ã®å¥½ã¿ã®å‡ºåЛ形å¼ã‚’生æˆã™ã‚‹ç‹¬è‡ªã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã‚’記述ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚ドックレットã¨ãã®ä½¿ç”¨æ–¹æ³•ã«ã¤ã„ã¦ã¯ã€æ¬¡ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RS 3 +.TP 2 +o +.na +\f2Javadocã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆ\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html +.TP 2 +o +\f2\-doclet\fPコマンドライン・オプション +.RE +.LP +\f2\-doclet\fPコマンドライン・オプションã§ã‚«ã‚¹ã‚¿ãƒ ãƒ»ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€Javadocツールã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ¨™æº–ドックレットを使用ã—ã¾ã™ã€‚javadocツールã«ã¯ã€ä½¿ç”¨ã•れã¦ã„るドックレットã«é–¢ä¿‚ãªã使用ã§ãるコマンドライン・オプションãŒã‚りã¾ã™ã€‚標準ドックレットã§ã¯ã€ã“れらã®ä»–ã«ã€ã„ãã¤ã‹ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションãŒè¿½åŠ ã•れã¾ã™ã€‚ã©ã¡ã‚‰ã®ã‚ªãƒ—ションã«ã¤ã„ã¦ã‚‚ã€å¾Œè¿°ã®ã‚ªãƒ—ションã§èª¬æ˜Žã—ã¾ã™ã€‚ +.SS +関連ドキュメントãŠã‚ˆã³ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆ +.RS 3 +.TP 2 +o +.na +\f2Javadocã«æ–½ã•ã‚ŒãŸæ‹¡å¼µæ©Ÿèƒ½\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html \- Javadocã§è¿½åŠ ã•ã‚ŒãŸæ”¹è‰¯ç‚¹ã®è©³ç´°ã€‚ +.TP 2 +o +.na +\f2Javadoc FAQ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137483.html \- é »ç¹ã«å¯„ã›ã‚‰ã‚Œã‚‹è³ªå•ã«å¯¾ã™ã‚‹å›žç­”ã€Javadoc関連ã®ãƒ„ールã«ã¤ã„ã¦ã®æƒ…å ±ã€ãŠã‚ˆã³ãƒã‚°ã®å›žé¿æ–¹æ³•。 +.TP 2 +o +.na +\f2How to Write Doc Comments for Javadoc\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html \- ドキュメンテーション・コメントã®è¨˜è¿°æ–¹æ³•ã«é–¢ã™ã‚‹Sunã®è¦ç´„。 +.TP 2 +o +.na +\f2API仕様を記述ã™ã‚‹ãŸã‚ã®è¦ä»¶\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-142372.html \- Java SEプラットフォーム仕様を記述ã™ã‚‹éš›ã«ä½¿ç”¨ã•ã‚ŒãŸæ¨™æº–è¦ä»¶ã€‚ã“ã®æƒ…å ±ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå½¢å¼ã§API仕様を記述ã™ã‚‹å ´åˆã«ã‚‚ã€ãã®ä»–ã®å½¢å¼ã§è¨˜è¿°ã™ã‚‹å ´åˆã«ã‚‚役立ã¡ã¾ã™ã€‚検証å¯èƒ½ãªã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’満ãŸã™ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ãƒ•ィールドã€ãŠã‚ˆã³ãƒ¡ã‚½ãƒƒãƒ‰ã«ã¤ã„ã¦ã®è¦ä»¶ã‚’定ã‚ã¦ã„ã¾ã™ã€‚ +.TP 2 +o +.na +\f2ドキュメンテーション・コメントã®ä»•様\fP @ +.fi +http://docs.oracle.com/javase/specs/ \- ドキュメンテーション・コメントã®ã‚ªãƒªã‚¸ãƒŠãƒ«ä»•様ã«ã¤ã„ã¦ã¯ã€\f2Java Language Specification\fP (James Goslingã€Bill Joyã€Guy Steele共著)ã®åˆç‰ˆã®ç¬¬18ç« ã€Documentation Commentsã‚’å‚ç…§ã—ã¦ãã ã•ã„。(ã“ã®ç« ã¯ã€ç¬¬2版ã§ã¯å‰Šé™¤ã•れã¾ã—ãŸã€‚) +.TP 2 +o +.na +\f2DocCheckドックレット\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-141437.html \- ソース・ファイル内ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’ãƒã‚§ãƒƒã‚¯ã—ã€æ¤œå‡ºã•れãŸã‚¨ãƒ©ãƒ¼ã‚„䏿­£ã®ãƒ¬ãƒãƒ¼ãƒˆã‚’生æˆã—ã¾ã™ã€‚Doc Checkユーティリティã®ä¸€éƒ¨ã§ã™ã€‚ +.RE +.SS +用語 +.LP +\f2ドキュメンテーション・コメント\fPã€\f2docコメント\fPã€\f2主説明\fPã€\f2ã‚¿ã‚°\fPã€\f2ブロック・タグ\fPã€ãŠã‚ˆã³\f2インライン・タグ\fPã®ç”¨èªžã«ã¤ã„ã¦ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§èª¬æ˜Žã—ã¾ã™ã€‚次ã®ãã®ä»–ã®ç”¨èªžã¯ã€Javadocツールã®ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã§ç‰¹å®šã®æ„味をæŒã¡ã¾ã™ã€‚ +.RS 3 +.TP 3 +生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ(generated document) +JavadocツールãŒJavaソース・コード内ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‹ã‚‰ç”Ÿæˆã—ãŸãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®ã“ã¨ã§ã™ã€‚デフォルトã®ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¯HTMLå½¢å¼ã§ã€æ¨™æº–ドックレットã«ã‚ˆã£ã¦ä½œæˆã•れã¾ã™ã€‚ +.LP +.TP 3 +åå‰(name) +Javaè¨€èªžã§æ›¸ã‹ã‚ŒãŸãƒ—ログラムè¦ç´ ã®åå‰ã€ã¤ã¾ã‚Šãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ãƒ•ィールドã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ã¾ãŸã¯ãƒ¡ã‚½ãƒƒãƒ‰ã®åå‰ã®ã“ã¨ã§ã™ã€‚åå‰ã¯ã€\f2java.lang.String.equals(java.lang.Object)\fPã®ã‚ˆã†ãªå®Œå…¨ä¿®é£¾åã«ã™ã‚‹ã“ã¨ã‚‚ã€\f2equals(Object)\fPã®ã‚ˆã†ãªéƒ¨åˆ†ä¿®é£¾åã«ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.LP +.TP 3 +ドキュメント化ã•れるクラス(documented classes) +Javadocã®å®Ÿè¡Œã«ã‚ˆã£ã¦è©³ç´°ãªãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れるクラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ã“ã¨ã§ã™ã€‚ドキュメント化ã™ã‚‹ã«ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒä½¿ç”¨å¯èƒ½ã§ã‚りã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã¾ãŸã¯ãƒ‘ッケージåã‚’javadocã‚³ãƒžãƒ³ãƒ‰ã«æ¸¡ã™å¿…è¦ãŒã‚りã€ã‚¢ã‚¯ã‚»ã‚¹ä¿®é£¾å­(publicã€protectedã€package\-privateã¾ãŸã¯private)ã«ã‚ˆã£ã¦ãƒ•ィルタ処ç†ã•れãªã„よã†ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ドキュメント化ã•れるクラスã¯ã€javadocツールã®å‡ºåŠ›ã«çµ„ã¿è¾¼ã¾ã‚Œã‚‹ã‚¯ãƒ©ã‚¹ã€ã¤ã¾ã‚Š\f2包å«ã‚¯ãƒ©ã‚¹\fPã¨ã‚‚呼ã°ã‚Œã¾ã™ã€‚ +.LP +.TP 3 +包å«ã‚¯ãƒ©ã‚¹(included classes) +Javadocツールã®å®Ÿè¡Œã«ã‚ˆã£ã¦è©³ç´°ãªãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れるクラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ã“ã¨ã§ã™ã€‚\f2ドキュメント化ã•れるクラス\fPã¨åŒã˜ã§ã™ã€‚ +.LP +.TP 3 +除外クラス(excluded classes) +Javadocツールã®å®Ÿè¡Œã«ã‚ˆã£ã¦è©³ç´°ãªãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆ\f2ã•れãªã„\fPクラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ã“ã¨ã§ã™ã€‚ +.LP +.TP 3 +å‚照クラス(referenced classes) +ドキュメント化ã•れるクラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã®å®šç¾©(実装)ã¾ãŸã¯ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®ä¸­ã§æ˜Žç¤ºçš„ã«å‚ç…§ã•れã¦ã„るクラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ã“ã¨ã§ã™ã€‚å‚ç…§ã®ä¾‹ã¨ã—ã¦ã¯ã€æˆ»ã‚Šå€¤ã®åž‹ã€ãƒ‘ラメータã®åž‹ã€ã‚­ãƒ£ã‚¹ãƒˆã®åž‹ã€æ‹¡å¼µã•れãŸã‚¯ãƒ©ã‚¹ã€å®Ÿè£…ã•れãŸã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸã‚¯ãƒ©ã‚¹ã€ãƒ¡ã‚½ãƒƒãƒ‰æœ¬ä½“ã§ä½¿ç”¨ã•れるクラスã€@seeã€{@link}ã€{@linkplain}ã€{@inheritDoc}ã‚¿ã‚°ãªã©ãŒã‚りã¾ã™ã€‚(ã“ã®å®šç¾©ã¯ +.na +\f21.3\fP @ +.fi +http://docs.oracle.com/javase/1.3/docs/tooldocs/solaris/javadoc.html#referencedclassesã‹ã‚‰å¤‰æ›´ã•れã¦ã„ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。)Javadocツールを実行ã™ã‚‹ã¨ãã¯ã€Javadocã®ãƒ–ート・クラスパスãŠã‚ˆã³ã‚¯ãƒ©ã‚¹ãƒ‘ス内ã«ã‚ã‚‹ã™ã¹ã¦ã®å‚照クラスをメモリーã«ãƒ­ãƒ¼ãƒ‰ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚(å‚照クラスãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã¯ã€ã€Œã‚¯ãƒ©ã‚¹ãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã€ã¨ã„ã†è­¦å‘ŠãŒè¡¨ç¤ºã•れã¾ã™ã€‚)Javadocツールã¯ã€ã‚¯ãƒ©ã‚¹ã®å­˜åœ¨ã¨ãã®ãƒ¡ãƒ³ãƒãƒ¼ã®å®Œå…¨ä¿®é£¾åを判別ã™ã‚‹ã®ã«å¿…è¦ååˆ†ãªæƒ…報をã€.classファイルã‹ã‚‰å¼•ã出ã™ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +.TP 3 +外部å‚照クラス(external referenced classes) +å‚照クラスã®ã†ã¡ã€Javadocã®å®Ÿè¡Œä¸­ã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れãªã„クラスã®ã“ã¨ã§ã™ã€‚ã¤ã¾ã‚Šã€ã“れらã®ã‚¯ãƒ©ã‚¹ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§Javadocãƒ„ãƒ¼ãƒ«ã«æ¸¡ã•れã¦ã„ã¾ã›ã‚“。生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆå†…ã§ã“れらã®ã‚¯ãƒ©ã‚¹ã«ãƒªãƒ³ã‚¯ã—ã¦ã„る箇所ã¯ã€\f2外部å‚ç…§\fPã¾ãŸã¯\f2外部リンク\fPã¨å‘¼ã°ã‚Œã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2java.awt\fPパッケージã«å¯¾ã—ã¦ã®ã¿Javadocツールを実行ã—ãŸå ´åˆã€\f2Object\fPãªã©ã®\f2java.lang\fP内ã®ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ãŒå¤–部å‚照クラスã«ãªã‚Šã¾ã™ã€‚外部å‚照クラスã«ãƒªãƒ³ã‚¯ã™ã‚‹ã«ã¯ã€\f2\-link\fPãŠã‚ˆã³\f2\-linkoffline\fPオプションを使用ã—ã¾ã™ã€‚外部å‚照クラスã«ã¯ã€é€šå¸¸ãã®ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’Javadocツールã®å®Ÿè¡Œã§åˆ©ç”¨ã§ããªã„ã¨ã„ã†é‡è¦ãªç‰¹å¾´ãŒã‚りã¾ã™ã€‚ã“ã®å ´åˆã€ãれらã®ã‚³ãƒ¡ãƒ³ãƒˆã‚’継承ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。 +.RE +.SH "ソース・ファイル" +.LP +Javadocツールã¯ã€4ã¤ã®ã‚¿ã‚¤ãƒ—ã®ç•°ãªã‚‹ã€Œã‚½ãƒ¼ã‚¹ã€ãƒ•ァイルã‹ã‚‰å‡ºåŠ›ã‚’ç”Ÿæˆã—ã¾ã™ã€‚ãã®ãƒ•ァイルã¯ã€ã‚¯ãƒ©ã‚¹ã®Java言語ソース・ファイル(\f2.java\fP)ã€ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã€æ¦‚è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイルã€ãŠã‚ˆã³ãã®ä»–ã®æœªå‡¦ç†ã®ãƒ•ァイルã§ã™ã€‚ã“ã“ã§ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã—ãªã„ãŒã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リーã«å­˜åœ¨ã™ã‚‹å ´åˆãŒã‚るテスト・ファイルやテンプレート・ファイルã«ã¤ã„ã¦ã‚‚説明ã—ã¾ã™ã€‚ +.SS +クラス・ソース・コード・ファイル +.LP +ãれãžã‚Œã®ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ãŠã‚ˆã³ãã®ãƒ¡ãƒ³ãƒãƒ¼ã¯ã€ç‹¬è‡ªã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’æŒã¤ã“ã¨ãŒã§ãã€ãれを\f2.java\fPファイル内ã«ä¿æŒã—ã¾ã™ã€‚ドキュメンテーション・コメントã®è©³ç´°ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.SS +パッケージ・コメント・ファイル +.LP +ãれãžã‚Œã®ãƒ‘ッケージã¯ã€ç‹¬è‡ªã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’æŒã¤ã“ã¨ãŒã§ãã€ãれを専用ã®ã€Œã‚½ãƒ¼ã‚¹ã€ãƒ•ァイルã«ä¿æŒã—ã¾ã™ã€‚ãã®å†…容ã¯ã€Javadocツールã«ã‚ˆã£ã¦ç”Ÿæˆã•ã‚Œã‚‹ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æ¦‚è¦ãƒšãƒ¼ã‚¸ã«çµ„ã¿è¾¼ã¾ã‚Œã¾ã™ã€‚ã“ã®ã‚³ãƒ¡ãƒ³ãƒˆã«ã¯ã€é€šå¸¸ã€ãã®ãƒ‘ッケージ全体ã«å½“ã¦ã¯ã¾ã‚‹ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’記述ã—ã¾ã™ã€‚ +.LP +パッケージ・コメント・ファイルを作æˆã™ã‚‹å ´åˆã€ã‚³ãƒ¡ãƒ³ãƒˆã®æ ¼ç´å…ˆã¨ã—ã¦ã€æ¬¡ã®2ã¤ã®ãƒ•ァイルã®ã„ãšã‚Œã‹ã‚’é¸æŠžã§ãã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f2package\-info.java\fP \- パッケージ宣言ã€ãƒ‘ッケージ注釈ã€ãƒ‘ッケージ・コメントã€ãŠã‚ˆã³Javadocã‚¿ã‚°ã‚’æ ¼ç´ã§ãã¾ã™ã€‚ã“ã®ãƒ•ァイルã¯ä¸€èˆ¬ã«ã€package.htmlよりも推奨ã•れã¾ã™ã€‚ +.TP 2 +o +\f2package.html\fP \- æ ¼ç´ã§ãã‚‹ã®ã¯ãƒ‘ッケージ・コメントã¨Javadocã‚¿ã‚°ã®ã¿ã§ã™ã€‚ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸æ³¨é‡ˆã¯æ ¼ç´ã§ãã¾ã›ã‚“。 +.RE +.LP +å„パッケージã¯ã€\f2package.html\fPファイルã¾ãŸã¯\f2package\-info.java\fPファイルã®ã„ãšã‚Œã‹ã‚’1ã¤æŒã¤ã“ã¨ãŒã§ãã¾ã™ãŒã€ãã®ä¸¡æ–¹ã‚’æŒã¤ã“ã¨ã¯ã§ãã¾ã›ã‚“。ã“ã®ã©ã¡ã‚‰ã‹ã®ãƒ•ァイルを\f2.java\fPファイルã¨ã¨ã‚‚ã«ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リー内ã®ãã®ãƒ‘ッケージ・ディレクトリ内ã«é…ç½®ã—ã¦ãã ã•ã„。 +.LP +\f4package\-info.java\fP \- ã“ã®ãƒ•ァイルã«ã¯ã€æ¬¡ã®æ§‹é€ ã®ãƒ‘ッケージ・コメントを格ç´ã§ãã¾ã™ã€‚コメントã¯ãƒ‘ッケージ宣言ã®å‰ã«é…ç½®ã—ã¾ã™ã€‚ +.LP +ファイル: \f2java/applet/package\-info.java\fP +.nf +\f3 +.fl +/** +.fl + * Provides the classes necessary to create an +.fl + * applet and the classes an applet uses +.fl + * to communicate with its applet context. +.fl + *

+.fl + * The applet framework involves two entities: +.fl + * the applet and the applet context. +.fl + * An applet is an embeddable window (see the +.fl + * {@link java.awt.Panel} class) with a few extra +.fl + * methods that the applet context can use to +.fl + * initialize, start, and stop the applet. +.fl + * +.fl + * @since 1.0 +.fl + * @see java.awt +.fl + */ +.fl +package java.lang.applet; +.fl +\fP +.fi +.LP +コメント区切り文字ã®\f2/**\fPã¨\f2*/\fPã¯å­˜åœ¨ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ãŒã€ä¸­é–“行ã®è¡Œé ­ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã¯çœç•¥ã—ã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。 +.LP +\f4package.html\fP \- ã“ã®ãƒ•ァイルã«ã¯ã€æ¬¡ã®æ§‹é€ ã®ãƒ‘ッケージ・コメントを格ç´ã§ãã¾ã™ã€‚コメントã¯\f2\fPè¦ç´ å†…ã«é…ç½®ã—ã¾ã™ã€‚ +.LP +ファイル: \f2java/applet/package.html\fP +.nf +\f3 +.fl + +.fl + +.fl +Provides the classes necessary to create an applet and the +.fl +classes an applet uses to communicate with its applet context. +.fl +

+.fl +The applet framework involves two entities: the applet +.fl +and the applet context. An applet is an embeddable +.fl +window (see the {@link java.awt.Panel} class) with a +.fl +few extra methods that the applet context can use to +.fl +initialize, start, and stop the applet. +.fl + +.fl +@since 1.0 +.fl +@see java.awt +.fl + +.fl + +.fl +\fP +.fi +.LP +ã“れã¯å˜ãªã‚‹é€šå¸¸ã®HTMLファイルã§ã‚りã€ãƒ‘ッケージ宣言をå«ã‚“ã§ã„ãªã„ç‚¹ã«æ³¨æ„ã—ã¦ãã ã•ã„。パッケージ・コメント・ファイルã®å†…容ã¯ã€ä»–ã®ã™ã¹ã¦ã®ã‚³ãƒ¡ãƒ³ãƒˆã¨åŒæ§˜ã«HTMLã§è¨˜è¿°ã—ã¾ã™ãŒã€ä¾‹å¤–ãŒ1ã¤ã‚りã¾ã™ã€‚ãれã¯ã€ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã«ã¯ã€ã‚³ãƒ¡ãƒ³ãƒˆåŒºåˆ‡ã‚Šæ–‡å­—ã§ã‚ã‚‹\f2/**\fPã¨\f2*/\fPã€ã¾ãŸã¯è¡Œé ­ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã‚’å«ã‚ãªã„ã€ã¨ã„ã†ç‚¹ã§ã™ã€‚コメントを書ãå ´åˆã¯ã€æœ€åˆã®æ–‡ã‚’ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æ¦‚è¦ã¨ã—ã€\f2\fPã¨æœ€åˆã®æ–‡ã®é–“ã«ã‚¿ã‚¤ãƒˆãƒ«ã‚„ãã®ä»–ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’å«ã‚ãªã„よã†ã«ã—ã¾ã™ã€‚パッケージ・タグをå«ã‚ã‚‹ã“ã¨ã¯ã§ãã¾ã™ãŒã€ä»–ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã¨åŒæ§˜ã€ã™ã¹ã¦ã®ãƒ–ロック・タグã¯ã€ä¸»èª¬æ˜Žã®å¾Œã«é…ç½®ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f2@see\fPタグをパッケージ・コメント・ファイルã«è¿½åŠ ã™ã‚‹å ´åˆã«ã¯ã€å®Œå…¨ä¿®é£¾åを使用ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚詳細ã¯ã€ +.na +\f2package.html\fPã®ä¾‹ @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#packagecommentsã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +\f3パッケージ・コメント・ファイルã®å‡¦ç†\fP \- Javadocツールã¯ã€å®Ÿè¡Œæ™‚ã«ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã‚’è‡ªå‹•çš„ã«æ¤œç´¢ã—ã€ã“ã®ãƒ•ァイルを見ã¤ã‘ã‚‹ã¨æ¬¡ã®å‡¦ç†ã‚’行ã„ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +処ç†ã§ãるよã†ã«ã‚³ãƒ¡ãƒ³ãƒˆã‚’コピーã—ã¾ã™ã€‚(\f2package.html\fPã®å ´åˆã§ã‚れã°ã€\f2\fPã¨\f2\fP HTMLã‚¿ã‚°ã®é–“ã«ã‚る内容をã™ã¹ã¦ã‚³ãƒ”ーã—ã¾ã™ã€‚\f2\fPセクションをå«ã‚ã€ãã“ã«\f2\fPやソース・ファイルã®è‘—作権記述ãªã©ã®æƒ…報をé…ç½®ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ãŒã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã¯ãれらã¯ä¸€åˆ‡è¡¨ç¤ºã•れã¾ã›ã‚“。) +.TP 2 +o +パッケージ・タグãŒã‚れã°ã€ã™ã¹ã¦å‡¦ç†ã—ã¾ã™ã€‚ +.TP 2 +o +生æˆã—ãŸãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æ¦‚è¦ãƒšãƒ¼ã‚¸ã®æœ€å¾Œã«ã€å‡¦ç†ã—ãŸãƒ†ã‚­ã‚¹ãƒˆã‚’挿入ã—ã¾ã™( +.na +\f2ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æ¦‚è¦\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/applet/package\-summary.htmlã‚’å‚ç…§)。 +.TP 2 +o +ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æ¦‚è¦ãƒšãƒ¼ã‚¸ã®å…ˆé ­ã«ã€ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®æœ€åˆã®æ–‡ã‚’コピーã—ã¾ã™ã€‚ã•らã«ã€æ¦‚è¦ãƒšãƒ¼ã‚¸ã®ãƒ‘ッケージ・リストã«ã€ãƒ‘ッケージåã¨ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®æœ€åˆã®æ–‡ã‚’追加ã—ã¾ã™( +.na +\f2概è¦ã®è¦ç´„\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/overview\-summary.htmlã‚’å‚ç…§)。文ã®çµ‚ã‚りã¯ã€ã‚¯ãƒ©ã‚¹ã‚„メンãƒãƒ¼ã®ä¸»èª¬æ˜Žã®æœ€åˆã®æ–‡ã®çµ‚ã‚りã¨åŒã˜ãƒ«ãƒ¼ãƒ«ã«ã‚ˆã£ã¦åˆ¤æ–­ã•れã¾ã™ã€‚ +.RE +.SS +概è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイル +.LP +ドキュメント化ã™ã‚‹å„アプリケーションã¾ãŸã¯ãƒ‘ッケージ・セットã¯ã€ç‹¬è‡ªã®æ¦‚è¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’æŒã¤ã“ã¨ãŒã§ãã€ãれã¯å°‚用ã®ã€Œã‚½ãƒ¼ã‚¹ã€ãƒ•ァイルã«ä¿æŒã•れã¾ã™ã€‚ãã®å†…容ã¯ã€Javadocツールã«ã‚ˆã£ã¦ç”Ÿæˆã•れる概è¦ãƒšãƒ¼ã‚¸ã«çµ„ã¿è¾¼ã¾ã‚Œã¾ã™ã€‚ã“ã®ã‚³ãƒ¡ãƒ³ãƒˆã«ã¯ã€é€šå¸¸ã€ã‚¢ãƒ—リケーションã¾ãŸã¯ãƒ‘ッケージ・セット全体ã«å½“ã¦ã¯ã¾ã‚‹ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’記述ã—ã¾ã™ã€‚ +.LP +概è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイルを作æˆã™ã‚‹ã«ã¯ã€ãƒ•ァイルã«ä»»æ„ã®åå‰(通常ã¯\f4overview.html\fP)を付ã‘ã€ä»»æ„ã®å ´æ‰€(通常ã¯ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„ãƒªãƒ¼ã®æœ€ä¸Šä½ãƒ¬ãƒ™ãƒ«)ã«é…ç½®ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2java.applet\fPパッケージã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒ\f2/home/user/src/java/applet\fPãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æ ¼ç´ã•れã¦ã„ã‚‹å ´åˆã€æ¦‚è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイルã¯\f2/home/user/src/overview.html\fPã«ä½œæˆã§ãã¾ã™ã€‚ +.LP +ç•°ãªã‚‹ãƒ‘ッケージã®ã‚»ãƒƒãƒˆã«å¯¾ã—ã¦Javadocを複数回実行ã™ã‚‹å ´åˆã¯ã€åŒã˜1ã¤ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ã‚»ãƒƒãƒˆã«å¯¾ã—ã¦è¤‡æ•°ã®æ¦‚è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイルを作æˆã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€å†…部ドキュメント用ã«\-privateを指定ã—ã¦Javadocã‚’1回実行ã—ãŸå¾Œã€å…¬é–‹ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆç”¨ã«ãã®ã‚ªãƒ—ションを指定ã—ãªã„ã§å†åº¦å®Ÿè¡Œã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®å ´åˆã€å„概è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイルã®1文目ã§ã€ãã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’公開用ã¾ãŸã¯å†…部用ã¨ã—ã¦è¨˜è¿°ã§ãã¾ã™ã€‚ +.LP +概è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイルã®å†…容ã¯ã€å‰è¿°ã®ãƒ‘ッケージ・コメント・ファイルã¨åŒæ§˜ã€HTMLã§è¨˜è¿°ã•れãŸ1ã¤ã®å¤§ããªãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ã™ã€‚詳細ã¯ã€å‰è¿°ã®èª¬æ˜Žã‚’å‚ç…§ã—ã¦ãã ã•ã„。è¦ç‚¹ã‚’繰り返ã™ã¨ã€ã‚³ãƒ¡ãƒ³ãƒˆã‚’書ãå ´åˆã¯ã€æœ€åˆã®æ–‡ã‚’アプリケーションã¾ãŸã¯ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ»ã‚»ãƒƒãƒˆã®æ¦‚è¦ã¨ã—ã€\f2<body>\fPã¨æœ€åˆã®æ–‡ã®é–“ã«ã‚¿ã‚¤ãƒˆãƒ«ã‚„ãã®ä»–ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’å«ã‚ãªã„よã†ã«ã—ã¾ã™ã€‚概è¦ã‚¿ã‚°ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ä»–ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã¨åŒã˜ãã€\f2{@link}\fPãªã©ã®ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ã‚¿ã‚°ã‚’除ãã™ã¹ã¦ã®ã‚¿ã‚°ã¯ã€ä¸»èª¬æ˜Žã®å¾Œã«é…ç½®ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f2@see\fPタグを追加ã™ã‚‹å ´åˆã«ã¯ã€å®Œå…¨ä¿®é£¾åを使用ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +Javadocツールã®å®Ÿè¡Œæ™‚ã«ã€\-overviewオプションを使用ã—ã¦æ¦‚è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイルåを指定ã—ã¾ã™ã€‚ã“ã®ãƒ•ァイルã¯ã€ãƒ‘ッケージ・コメント・ファイルã¨åŒã˜ã‚ˆã†ã«å‡¦ç†ã•れã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f2<body>\fPã¨\f2</body>\fPã‚¿ã‚°ã®é–“ã«ã‚る内容をã™ã¹ã¦å‡¦ç†å¯¾è±¡ã¨ã—ã¦ã‚³ãƒ”ーã—ã¾ã™ã€‚ +.TP 2 +o +概è¦ã‚¿ã‚°ãŒã‚れã°ã€ã™ã¹ã¦å‡¦ç†ã—ã¾ã™ã€‚ +.TP 2 +o +生æˆã—ãŸæ¦‚è¦ãƒšãƒ¼ã‚¸ã®æœ€å¾Œã«ã€å‡¦ç†ã—ãŸãƒ†ã‚­ã‚¹ãƒˆã‚’挿入ã—ã¾ã™( +.na +\f2概è¦ã®è¦ç´„\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/overview\-summary.htmlã‚’å‚ç…§)。 +.TP 2 +o +概è¦ãƒšãƒ¼ã‚¸ã®å…ˆé ­ã«ã€æ¦‚è¦ã‚³ãƒ¡ãƒ³ãƒˆã®æœ€åˆã®æ–‡ã‚’コピーã—ã¾ã™ã€‚ +.RE +.SS +ãã®ä»–ã®æœªå‡¦ç†ã®ãƒ•ァイル +.LP +ソースã«ã¯ã€Javadocツールã«ã‚ˆã£ã¦å®›å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã‚³ãƒ”ーã•れるã€ãã®ä»–ã®ä»»æ„ã®ãƒ•ァイルをå«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚一般ã«ã€ã“ã®ã‚ˆã†ãªãƒ•ァイルã«ã¯ã€ã‚°ãƒ©ãƒ•ィック・ファイルã€ã‚µãƒ³ãƒ—ルã®Javaソース(.java)ãŠã‚ˆã³ã‚¯ãƒ©ã‚¹(.class)ファイルã€å†…容ãŒé€šå¸¸ã®Javaソース・ファイルã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®å½±éŸ¿ã‚’å—ã‘ãªã„独立ã—ãŸHTMLファイルãªã©ãŒã‚りã¾ã™ã€‚ +.LP +未処ç†ã®ãƒ•ァイルをå«ã‚ã‚‹ã«ã¯ã€ãれらã®ãƒ•ァイルを\f4doc\-files\fPã¨ã„ã†åå‰ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç½®ãã¾ã™ã€‚ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ ¼ç´ã•れãŸä»»æ„ã®ãƒ‘ッケージ・ディレクトリã®ã‚µãƒ–ディレクトリã§ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。ã“ã®ã‚ˆã†ãªã‚µãƒ–ディレクトリã¯ã€ãƒ‘ッケージã”ã¨ã«1ã¤ç”¨æ„ã§ãã¾ã™ã€‚イメージã€ã‚µãƒ³ãƒ—ル・コードã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã€.classファイルã€ã‚¢ãƒ—レットã€ãŠã‚ˆã³HTMLファイルをã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æ ¼ç´ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€ãƒœã‚¿ãƒ³ã®ã‚¤ãƒ¡ãƒ¼ã‚¸\f2button.gif\fPã‚’\f2java.awt.Button\fPクラスã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«å«ã‚ã‚‹å ´åˆã«ã¯ã€ãã®ãƒ•ァイルを\f2/home/user/src/java/awt/doc\-files/\fPディレクトリã«ç½®ãã¾ã™ã€‚ãªãŠã€\f2doc\-files\fPディレクトリを\f2/home/user/src/java/doc\-files\fPã«ç½®ãã“ã¨ã¯ã§ãã¾ã›ã‚“。ã“れã¯ã€\f2java\fPãŒãƒ‘ッケージã§ã¯ãªã„ã‹ã‚‰ã§ã™ã€‚ã¤ã¾ã‚Šã€javaãã®ã‚‚ã®ã«ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒ1ã¤ã‚‚æ ¼ç´ã•れã¦ã„ãªã„ã‹ã‚‰ã§ã™ã€‚ +.LP +ã“ã‚Œã‚‰ã®æœªå‡¦ç†ã®ãƒ•ァイルã¸ã®ãƒªãƒ³ã‚¯ã¯ã€ã™ã¹ã¦ãƒãƒ¼ãƒ‰ã‚³ãƒ¼ãƒ‰ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“れã¯ã€JavadocツールãŒãれらã®ãƒ•ァイルを見ãšã«ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¨ãã®å†…容を宛先ã«ãã®ã¾ã¾ã‚³ãƒ”ーã™ã‚‹ã‹ã‚‰ã§ã™ã€‚ãŸã¨ãˆã°ã€\f2Button.java\fPã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã®ãƒªãƒ³ã‚¯ã¯ã€æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl + /** +.fl + * This button looks like this: +.fl + * <img src="doc\-files/Button.gif"> +.fl + */ +.fl +\fP +.fi +.SS +テスト・ファイルãŠã‚ˆã³ãƒ†ãƒ³ãƒ—レート・ファイル +.LP +一部ã®é–‹ç™ºè€…ã‹ã‚‰ã€ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルãŠã‚ˆã³ãƒ†ãƒ³ãƒ—レート・ファイルを対応ã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®è¿‘ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リーã«ä¿å­˜ã—ãŸã„ã¨ã„ã†è¦æœ›ãŒã‚りã¾ã—ãŸã€‚ã¤ã¾ã‚Šã€ã“れらã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¾ãŸã¯ã‚µãƒ–ディレクトリã«ä¿å­˜ã—ãŸã„ã¨ã„ã†ã“ã¨ã§ã™ã€‚ +.LP +個々ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã§æ˜Žç¤ºçš„ã«æ¸¡ã—ã¦Javadocツールを実行ã™ã‚‹å ´åˆã€ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルãŠã‚ˆã³ãƒ†ãƒ³ãƒ—レート・ファイルをæ„図的ã«é™¤å¤–ã—ã¦ã€å‡¦ç†ã•れãªã„よã†ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãŸã ã—ã€ãƒ‘ッケージåã¾ãŸã¯ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ã§æ¸¡ã™å ´åˆã¯ã€ç‰¹å®šã®ãƒ«ãƒ¼ãƒ«ã«å¾“ã£ã¦ã€ã“れらã®ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルãŠã‚ˆã³ãƒ†ãƒ³ãƒ—レート・ファイルãŒå‡¦ç†ã•れãªã„よã†ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +テスト・ファイルã¨ãƒ†ãƒ³ãƒ—レート・ファイルã®é•ã„ã¯ã€ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルã¯ã€æœ‰åйã§ã‚³ãƒ³ãƒ‘イルå¯èƒ½ãªã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã§ã‚ã‚‹ã®ã«å¯¾ã—ã¦ã€ãƒ†ãƒ³ãƒ—レート・ファイルã¯ã€ãã†ã§ã¯ãªã„ã¨ã„ã†ç‚¹ã§ã™ã€‚ãŸã ã—ã€ãƒ†ãƒ³ãƒ—レート・ファイルも「.javaã€ã§çµ‚ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +\f3テスト・ファイル\fP \- 開発者ã®å¤šãã¯ã€ã‚るパッケージã®ã‚³ãƒ³ãƒ‘イルå¯èƒ½ã§å®Ÿè¡Œå¯èƒ½ãªãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルをãã®ãƒ‘ッケージã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨\f2åŒã˜\fPディレクトリã«é…ç½®ã—ãŸã„ã¨è€ƒãˆã¦ã„ã¾ã™ã€‚ã—ã‹ã—テスト・ファイルã¯ã€åå‰ãªã—パッケージãªã©ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル・パッケージã¨ã¯åˆ¥ã®ãƒ‘ッケージã«å±žã•ã›ãŸã„ã¨ã‚‚考ãˆã¦ã„ã¾ã™(ãã®ãŸã‚ã€ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルã«ã¯packageæ–‡ãŒãªã„ã‹ã€ã¾ãŸã¯ã‚½ãƒ¼ã‚¹ã¨ã¯åˆ¥ã®packageæ–‡ãŒã‚りã¾ã™)。ã“ã®ã‚ˆã†ãªçжæ³ã§ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã•れã¦ã„るソースã®ãƒ‘ッケージåを指定ã—ã¦ãã®ã‚½ãƒ¼ã‚¹ãŒãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れã¦ã„ã‚‹ã¨ãã«ã€ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルã¯è­¦å‘Šã¾ãŸã¯ã‚¨ãƒ©ãƒ¼ã‚’引ãèµ·ã“ã—ã¾ã™ã€‚ãã®ã‚ˆã†ãªãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルã¯ã‚µãƒ–ディレクトリã«é…ç½®ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2com.package1\fP内ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã«å¯¾ã™ã‚‹ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルを追加ã™ã‚‹å ´åˆã¯ã€æ¬¡ã®ã‚ˆã†ã«ãƒã‚¤ãƒ•ンをå«ã‚“ã§ã„ã‚‹ãŸã‚ã«ãƒ‘ッケージåã¨ã—ã¦ã¯ç„¡åйãªåå‰ã®ã‚µãƒ–ディレクトリ内ã«é…ç½®ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + com/package1/test\-files/ +.fl +\fP +.fi +.LP +ã“れã§ã€Javadocツールã¯è­¦å‘Šãªã—ã§testディレクトリをスキップã—ã¾ã™ã€‚ +.LP +テスト・ファイルã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãŒå«ã¾ã‚Œã‚‹å ´åˆã€Javadocツールã®å€‹åˆ¥ã®å®Ÿè¡Œã§ã€ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ã‚’å«ã‚“ã ãƒ†ã‚¹ãƒˆãƒ»ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルå(\f2com/package1/test\-files/*.java\fPãªã©)ã§æ¸¡ã—ã¦ãƒ†ã‚¹ãƒˆãƒ»ãƒ•ァイルã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã™ã‚‹ã‚ˆã†ã«è¨­å®šã§ãã¾ã™ã€‚ +.LP +\f3ソース・ファイルã®ãƒ†ãƒ³ãƒ—レート\fP \- テンプレート・ファイルã®åå‰ã¯ã€Œ.javaã€ã§çµ‚ã‚ã‚‹ã“ã¨ã‚‚ã‚りã¾ã™ãŒã€ãƒ†ãƒ³ãƒ—レート・ファイルã¯ã‚³ãƒ³ãƒ‘イルã§ãã¾ã›ã‚“。ソース・ディレクトリ内ã«ä¿æŒã—ãŸã„ソース・ファイルã®ãƒ†ãƒ³ãƒ—レートãŒã‚ã‚‹å ´åˆã¯ã€\f2Buffer\-Template.java\fPã®ã‚ˆã†ã«ãƒã‚¤ãƒ•ンやãã®ä»–ã®ç„¡åйãªJava文字をåå‰ã«å«ã‚ã‚‹ã“ã¨ã§ã€ãƒ†ãƒ³ãƒ—レートãŒå‡¦ç†ã•れãªã„よã†ã«ã—ã¾ã™ã€‚ã“れã¯ã€JavadocツールãŒå‡¦ç†ã™ã‚‹ã®ã¯ã€ã€Œ.javaã€æŽ¥å°¾è¾žã‚’é™¤ã„ãŸåå‰ãŒæœ‰åйãªã‚¯ãƒ©ã‚¹åã§ã‚るソース・ファイルã®ã¿ã§ã‚ã‚‹ãŸã‚ã§ã™(Java言語仕様ã®è­˜åˆ¥å­ã«é–¢ã™ã‚‹æƒ…報をå‚ç…§)。 +.SH "生æˆã•れるファイル" +.LP +デフォルトã§ã¯ã€Javadocã¯ã€HTMLå½¢å¼ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã™ã‚‹æ¨™æº–ドックレットを使用ã—ã¾ã™ã€‚ã“ã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã¯ã€æ¬¡ã®ã‚¿ã‚¤ãƒ—ã®ãƒ•ァイルを生æˆã—ã¾ã™ã€‚(ãれãžã‚Œã®HTMLページã¯ã€åˆ¥å€‹ã®ãƒ•ァイルã«ç›¸å½“ã—ã¾ã™ã€‚)JavadocãŒç”Ÿæˆã™ã‚‹ãƒ•ァイルã®åå‰ã«ã¯ã€ã‚¯ãƒ©ã‚¹ã‚„インタフェースã®åå‰ã«ã¡ãªã‚“ã ã‚‚ã®ã¨ã€ãã†ã§ãªã„ã‚‚ã®(\f2package\-summary.htmlãªã©\fP)ã®2ã¤ã®ã‚¿ã‚¤ãƒ—ãŒã‚りã¾ã™ã€‚後者ã®ã‚°ãƒ«ãƒ¼ãƒ—ã®ãƒ•ァイルåã«ã¯ã€å‰è€…ã®ã‚°ãƒ«ãƒ¼ãƒ—ã¨ãƒ•ァイルåãŒç«¶åˆã—ãªã„よã†ã«ã€ãƒã‚¤ãƒ•ンãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.LP +\f3基本内容ページ\fP +.RS 3 +.TP 2 +o +ドキュメント化ã™ã‚‹ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã”ã¨ã«1ã¤ã®\f3クラス・ページã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェース・ページ\fP(\f2クラスå\fP\f2.html\fP) +.TP 2 +o +ドキュメント化ã™ã‚‹ãƒ‘ッケージã”ã¨ã«1ã¤ã®\f3パッケージ・ページ\fP(\f2package\-summary.html\fP)。Javadocツールã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リーã®ãƒ‘ッケージ・ディレクトリ内ã«ã‚ã‚‹\f2package.html\fPã¾ãŸã¯\f2package\-info.java\fPã¨ã„ã†åå‰ã®ãƒ•ァイル内ã®HTMLテキストをã™ã¹ã¦çµ„ã¿å…¥ã‚Œã¾ã™ã€‚ +.TP 2 +o +パッケージã®ã‚»ãƒƒãƒˆå…¨ä½“ã«å¯¾ã—ã¦1ã¤ã®\f3概è¦ãƒšãƒ¼ã‚¸\fP(\f2overview\-summary.html\fP)。ã“れã¯ã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®å…ˆé ­ãƒšãƒ¼ã‚¸ã«ãªã‚Šã¾ã™ã€‚Javadocツールã¯ã€\f2\-overview\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§æŒ‡å®šã•れãŸãƒ•ァイル内ã®HTMLテキストをã™ã¹ã¦çµ„ã¿å…¥ã‚Œã¾ã™ã€‚ã“ã®ãƒ•ァイルã¯ã€Javadocã«è¤‡æ•°ã®ãƒ‘ッケージåを渡ã—ãŸå ´åˆã«ã®ã¿ä½œæˆã•れã¾ã™ã€‚詳細ã¯ã€HTMLフレームをå‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.LP +\f3相互å‚照ページ\fP +.RS 3 +.TP 2 +o +\f3パッケージã®ã‚»ãƒƒãƒˆå…¨ä½“ã«å¯¾ã—ã¦1ã¤ã®ã‚¯ãƒ©ã‚¹éšŽå±¤ãƒšãƒ¼ã‚¸\fP(\f2overview\-tree.html\fP)。ã“ã®ãƒšãƒ¼ã‚¸ã‚’表示ã™ã‚‹ã«ã¯ã€ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®ã€Œæ¦‚è¦ã€ã‚’クリックã—ã¦ã‹ã‚‰ã€ã€ŒéšŽå±¤ãƒ„リーã€ã‚’クリックã—ã¾ã™ã€‚ +.TP 2 +o +\f3パッケージã”ã¨ã«1ã¤ã®ã‚¯ãƒ©ã‚¹éšŽå±¤ãƒšãƒ¼ã‚¸\fP(\f2package\-tree.html\fP)。ã“ã®ãƒšãƒ¼ã‚¸ã‚’表示ã™ã‚‹ã«ã¯ã€ç‰¹å®šã®ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ãƒšãƒ¼ã‚¸ã«ç§»å‹•ã—ã€ã€ŒéšŽå±¤ãƒ„リーã€ã‚’クリックã—ã¦ãã®ãƒ‘ッケージã®éšŽå±¤ã‚’表示ã—ã¾ã™ã€‚ +.TP 2 +o +\f3パッケージã”ã¨ã«1ã¤ã®ã€Œä½¿ç”¨ã€ãƒšãƒ¼ã‚¸\fP(\f2package\-use.html\fP)ã¨ã€ã‚¯ãƒ©ã‚¹ãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã”ã¨ã«1ã¤ãšã¤ã®ã€Œä½¿ç”¨ã€ãƒšãƒ¼ã‚¸(\f2class\-use/\fP\f2クラスå\fP\f2.html\fP)。ã“ã®ãƒšãƒ¼ã‚¸ã«ã¯ã€ç‰¹å®šã®ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã¾ãŸã¯ãƒ‘ッケージã®ä¸€éƒ¨ã‚’使用ã—ã¦ã„るパッケージã€ã‚¯ãƒ©ã‚¹ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãŠã‚ˆã³ãƒ•ィールドã«ã¤ã„ã¦è¨˜è¿°ã•れã¾ã™ã€‚クラスã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースAを例ã«ã—ã¦è€ƒãˆã‚‹ã¨ã€ãã®ã€Œä½¿ç”¨ã€ãƒšãƒ¼ã‚¸ã«ã¯ã€Aã®ã‚µãƒ–クラスã€Aã¨ã—ã¦å®£è¨€ã•れãŸãƒ•ィールドã€Aã‚’è¿”ã™ãƒ¡ã‚½ãƒƒãƒ‰ã€Aåž‹ã®ãƒ‘ラメータをæŒã¤ãƒ¡ã‚½ãƒƒãƒ‰ãŠã‚ˆã³ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ãŒçµ„ã¿è¾¼ã¾ã‚Œã¾ã™ã€‚ã“ã®ãƒšãƒ¼ã‚¸ã‚’表示ã™ã‚‹ã«ã¯ã€ã¾ãšã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã«ç§»å‹•ã—ã¦ã‹ã‚‰ã€ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®ã€Œä½¿ç”¨ã€ãƒªãƒ³ã‚¯ã‚’クリックã—ã¾ã™ã€‚ +.TP 2 +o +\f3éžæŽ¨å¥¨APIページ\fP(\f2deprecated\-list.html\fP)。推奨ã•れãªã„åå‰ãŒã™ã¹ã¦ãƒªã‚¹ãƒˆã•れã¾ã™ã€‚(éžæŽ¨å¥¨åã¯ã€ä¸€èˆ¬ã«æ”¹è‰¯ã•れãŸãŸã‚ã«ä½¿ç”¨ãŒæŽ¨å¥¨ã•れã¦ã„ãªã„APIã®åå‰ã§ã‚りã€é€šå¸¸ã€ãれã«ç½®ãæ›ã‚ã‚‹åå‰ãŒæç¤ºã•れã¦ã„ã¾ã™ã€‚éžæŽ¨å¥¨APIã¯ã€å°†æ¥ã®å®Ÿè£…ã§ã¯å‰Šé™¤ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚) +.TP 2 +o +\f3定数フィールド値ページ\fP(\f2constant\-values.html\fP)。staticフィールドã®å€¤ç”¨ã§ã™ã€‚ +.TP 2 +o +\f3直列化ã•れãŸå½¢å¼ãƒšãƒ¼ã‚¸\fP(\f2serialized\-form.html\fP)。直列化å¯èƒ½ã‹ã¤å¤–部化å¯èƒ½ãªã‚¯ãƒ©ã‚¹ã«é–¢ã™ã‚‹æƒ…報用ã®ãƒšãƒ¼ã‚¸ã§ã™ã€‚ã“れらã®å„クラスã«ã¯ã€ç›´åˆ—化フィールドãŠã‚ˆã³ãƒ¡ã‚½ãƒƒãƒ‰ã«é–¢ã™ã‚‹è¨˜è¿°ãŒã‚りã¾ã™ã€‚ã“ã‚Œã‚‰ã®æƒ…å ±ã¯ã€APIを使用ã™ã‚‹é–‹ç™ºè€…ã§ã¯ãªãã€å†å®Ÿè£…者ã«å¿…è¦ãªæƒ…å ±ã§ã™ã€‚ナビゲーション・ãƒãƒ¼ã«ã“ã®ãƒšãƒ¼ã‚¸ã¸ã®ãƒªãƒ³ã‚¯ã¯ã‚りã¾ã›ã‚“ãŒã€ç›´åˆ—化ã•れãŸã‚¯ãƒ©ã‚¹ã«ç§»å‹•ã—ã¦ã€ãã®ã‚¯ãƒ©ã‚¹ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã«ã‚る「関連項目ã€ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã§ã€Œç›´åˆ—化ã•れãŸå½¢å¼ã€ã‚’クリックã™ã‚‹ã¨ã€ã“ã®æƒ…報をå–å¾—ã§ãã¾ã™ã€‚標準ドックレットã¯ç›´åˆ—化ã•れãŸå½¢å¼ãƒšãƒ¼ã‚¸ã‚’自動生æˆã—ã¾ã™ã€‚ã“ã®ãƒšãƒ¼ã‚¸ã«ã¯ã€Serializableを実装ã™ã‚‹ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹(publicã¾ãŸã¯éžpublic)ãŒçµ„ã¿è¾¼ã¾ã‚Œã‚‹ä»–ã€\f2readObject\fPメソッドや\f2writeObject\fPメソッドã€ç›´åˆ—化ã•れãŸãƒ•ィールドã€ãŠã‚ˆã³\f2@serial\fPã€\f2@serialField\fPã€\f2@serialData\fPã‚¿ã‚°ã‹ã‚‰ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚‚組ã¿è¾¼ã¾ã‚Œã¾ã™ã€‚直列化å¯èƒ½ãªpublicクラスを除外ã™ã‚‹ã«ã¯ã€ãã®ã‚¯ãƒ©ã‚¹(ã¾ãŸã¯ãã®ã‚¯ãƒ©ã‚¹ãŒå±žã™ã‚‹ãƒ‘ッケージ)ã‚’\f2@serial exclude\fPã§ãƒžãƒ¼ã‚¯ã—ã¾ã™ã€‚直列化å¯èƒ½ãªpackage\-privateクラスをå«ã‚ã‚‹ã«ã¯ã€ãã®ã‚¯ãƒ©ã‚¹(ã¾ãŸã¯ãã®ã‚¯ãƒ©ã‚¹ãŒå±žã™ã‚‹ãƒ‘ッケージ)ã‚’\f2@serial include\fPã§ãƒžãƒ¼ã‚¯ã—ã¾ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.4ã§ã¯ã€\f2\-private\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æŒ‡å®š\f2ãªã—\fPã§Javadocツールを実行ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€publicクラスãŠã‚ˆã³privateクラスã®å®Œå…¨ã«ç›´åˆ—化ã•れãŸå½¢å¼ã‚’生æˆã§ãã¾ã™ã€‚ +.TP 2 +o +\f3索引\fP(\f2index\-*.html\fP)。ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹åã€ã‚¤ãƒ³ã‚¿ãƒ•ェースåã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿åã€ãƒ•ィールドåã€ãŠã‚ˆã³ãƒ¡ã‚½ãƒƒãƒ‰åãŒã‚¢ãƒ«ãƒ•ァベット順ã«ä¸¦ã‚“ã§ã„ã¾ã™ã€‚索引ã¯ã€Unicodeを扱ãˆã‚‹ã‚ˆã†ã«å›½éš›åŒ–ã•れã¦ã„ã¾ã™ã€‚1ã¤ã®ãƒ•ァイルã¨ã—ã¦ç”Ÿæˆã™ã‚‹ã“ã¨ã‚‚ã€å…ˆé ­æ–‡å­—(英語ã®å ´åˆA\-Z)ã”ã¨ã«åˆ¥ã€…ã®ãƒ•ァイルã¨ã—ã¦ç”Ÿæˆã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.RE +.LP +\f3サãƒãƒ¼ãƒˆãƒ»ãƒ•ァイル\fP +.RS 3 +.TP 2 +o +\f3ヘルプ・ページ\fP(\f2help\-doc.html\fP)。ナビゲーション・ãƒãƒ¼ã‚„å‰è¿°ã®å„ページã«é–¢ã™ã‚‹èª¬æ˜ŽãŒè¨˜è¼‰ã•れã¦ã„ã¾ã™ã€‚\f2\-helpfile\fPを使用ã™ã‚‹ã¨ã€ãƒ‡ãƒ•ォルトã®ãƒ˜ãƒ«ãƒ—・ファイルã«ä»£ã‚る独自ã®ã‚«ã‚¹ã‚¿ãƒ ãƒ»ãƒ˜ãƒ«ãƒ—・ファイルをæä¾›ã§ãã¾ã™ã€‚ +.TP 2 +o +表示用ã®HTMLフレームを作æˆã™ã‚‹1ã¤ã®\f3index.htmlファイル\fP。ã“ã®ãƒ•ァイルã¯ã€ãƒ•レーム付ãã®å…ˆé ­ãƒšãƒ¼ã‚¸ã‚’表示ã™ã‚‹å ´åˆã«ãƒ­ãƒ¼ãƒ‰ã—ã¾ã™ã€‚ã“ã®ãƒ•ァイル自体ã«ã¯ã€ãƒ†ã‚­ã‚¹ãƒˆãƒ»ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ã¯å«ã¾ã‚Œã¦ã„ã¾ã›ã‚“。 +.TP 2 +o +複数ã®\f3フレーム・ファイル\fP(\f2*\-frame.html\fP)。パッケージã€ã‚¯ãƒ©ã‚¹ã€ãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ãƒªã‚¹ãƒˆãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚HTMLフレームを表示ã™ã‚‹ã¨ãã«ä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 2 +o +\f3パッケージ・リスト\fPファイル(\f2package\-list\fP)。\f2\-link\fPãŠã‚ˆã³\f2\-linkoffline\fPオプションã§ä½¿ç”¨ã•れã¾ã™ã€‚ã“れã¯ã€HTMLファイルã§ã¯ãªãテキスト・ファイルã§ã‚りã€ã©ã®ãƒªãƒ³ã‚¯ã‹ã‚‰ã‚‚アクセスã§ãã¾ã›ã‚“。 +.TP 2 +o +\f3スタイルシート\fP・ファイル(\f2stylesheet.css\fP)。生æˆã•れるページã®ä¸€éƒ¨ã®è¦ç´ ã«ã¤ã„ã¦è‰²ã€ãƒ•ォント・ファミリã€ãƒ•ォント・サイズã€ãƒ•ォント・スタイルã€ãŠã‚ˆã³é…置を制御ã—ã¾ã™ã€‚ +.TP 2 +o +\f3doc\-files\fPディレクトリ。宛先ディレクトリã«ã‚³ãƒ”ーã™ã‚‹ã‚¤ãƒ¡ãƒ¼ã‚¸ã€ã‚µãƒ³ãƒ—ル・コードã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ãªã©ã®ãƒ•ァイルãŒã™ã¹ã¦æ ¼ç´ã•れã¾ã™ã€‚ã“れらã®ãƒ•ァイルã¯ã€ã„ã‹ãªã‚‹æ–¹æ³•ã§ã‚‚Javadocツールã«ã‚ˆã£ã¦å‡¦ç†ã•れã¾ã›ã‚“。ã¤ã¾ã‚Šã€ãƒ•ァイル内ã«javadocã‚¿ã‚°ãŒã‚ã£ã¦ã‚‚無視ã•れã¾ã™ã€‚ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リーã®ä¸­ã«å­˜åœ¨ã™ã‚‹å ´åˆã«ã®ã¿ç”Ÿæˆã•れã¾ã™ã€‚ +.RE +.LP +\f3HTMLフレーム\fP +.LP +Javadocツールã¯ã€ä¸‹ã®å›³ã«ç¤ºã™ã‚ˆã†ã«ã€2ã€3個ã®HTMLフレームを生æˆã—ã¾ã™ã€‚1ã¤ã®ãƒ‘ッケージã—ã‹ãªã„å ´åˆ(ã¾ãŸã¯ãƒ‘ッケージãŒãªã„å ´åˆ)ã¯ã€ãƒ‘ッケージã®ãƒªã‚¹ãƒˆã‚’çœç•¥ã™ã‚‹ã“ã¨ã«ã‚ˆã£ã¦æœ€ä½Žé™å¿…è¦ãªæ•°ã®ãƒ•レームを作æˆã—ã¾ã™ã€‚ã¤ã¾ã‚Šã€å˜ä¸€ã®ãƒ‘ッケージã«å±žã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル(*.java)ã¾ãŸã¯å˜ä¸€ã®ãƒ‘ッケージåを引数ã¨ã—ã¦javadocã‚³ãƒžãƒ³ãƒ‰ã«æ¸¡ã™å ´åˆã¯ã€å·¦å´ã®åˆ—ã«ã‚¯ãƒ©ã‚¹ã®ãƒªã‚¹ãƒˆã‚’表示ã™ã‚‹ãƒ•レーム(C)ãŒ1ã¤ã®ã¿ä½œæˆã•れã¾ã™ã€‚Javadocã«è¤‡æ•°ã®ãƒ‘ッケージåを渡ã—ãŸå ´åˆã¯ã€æ¦‚è¦ãƒšãƒ¼ã‚¸(Detail)ã«åŠ ãˆã¦ã€ã™ã¹ã¦ã®ãƒ‘ッケージをリストã™ã‚‹ç¬¬3ã®ãƒ•レーム(P)ãŒä½œæˆã•れã¾ã™ã€‚ã“ã®æ¦‚è¦ãƒšãƒ¼ã‚¸ã®ãƒ•ァイルåã¯ã€\f2overview\-summary.html\fPã§ã™ã€‚ã—ãŸãŒã£ã¦ã€ã“ã®ãƒ•ァイルã¯ã€è¤‡æ•°ã®ãƒ‘ッケージåを渡ã—ãŸå ´åˆã«ã®ã¿ä½œæˆã•れã¾ã™ã€‚「フレームãªã—ã€ãƒªãƒ³ã‚¯ã‚’クリックã™ã‚‹ã‹ã€overview\-summary.htmlを最åˆã«è¡¨ç¤ºã™ã‚‹ã¨ã€ãƒ•レームをçœç•¥ã§ãã¾ã™ã€‚ +.LP +HTMLãƒ•ãƒ¬ãƒ¼ãƒ ã«æ…£ã‚Œã¦ã„ãªã„å ´åˆã¯ã€ç‰¹å®šã®ãƒ•レームをå°åˆ·ãŠã‚ˆã³ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«ã™ã‚‹ã«ã¯ã€ãã®ãƒ•レームã«\f2フォーカス\fPãŒå¿…è¦ã§ã‚ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。フレームã«ãƒ•ォーカスを与ãˆã‚‹ã«ã¯ã€ãã®ãƒ•レームをクリックã—ã¾ã™ã€‚ã“れã§ã€å¤šãã®ãƒ–ラウザã§ã¯ã€çŸ¢å°ã‚­ãƒ¼ã‚„ページ・キーを使用ã—ã¦ãã®ãƒ•レームをスクロールã—ãŸã‚Šã€ã€Œå°åˆ·ã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ãƒ»ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¦ãã®ãƒ•レームをå°åˆ·ã—ãŸã‚Šã§ãã¾ã™ã€‚ +.LP +HTMLフレームãŒå¿…è¦ã‹ã©ã†ã‹ã«ã‚ˆã£ã¦ã€æ¬¡ã®ã„ãšã‚Œã‹ã®ãƒ•ァイルを開始ページã¨ã—ã¦ãƒ­ãƒ¼ãƒ‰ã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f2index.html\fP(フレームã‚り) +.TP 2 +o +\f2overview\-summary.html\fP(フレームãªã—) +.RE +.LP +\f3生æˆã•ã‚Œã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹é€ \fP +.LP +生æˆã•れるクラス・ファイルãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェース・ファイルã¯ã€Javaソース・ファイルãŠã‚ˆã³ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã¨åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªéšŽå±¤ã«ç·¨æˆã•れã¾ã™ã€‚1ã¤ã®ã‚µãƒ–パッケージã«ã¤ã1ã¤ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€ã¨ã„ã†æ§‹é€ ã«ãªã‚Šã¾ã™ã€‚ +.LP +ãŸã¨ãˆã°ã€\f2java.applet.Applet\fPクラス用ã«ç”Ÿæˆã•れるドキュメントã¯ã€\f2java/applet/Applet.html\fPã«æ ¼ç´ã•れã¾ã™ã€‚生æˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®åå‰ãŒ\f2apidocs\fPã ã¨ã™ã‚‹ã¨ã€java.appletパッケージã®ãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹é€ ã¯ã€æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚å‰è¿°ã®ã‚ˆã†ã«ã€ã€Œframeã€ã¨ã„ã†èªžã‚’åå‰ã«å«ã‚€ãƒ•ァイルã¯ã€ã™ã¹ã¦å·¦ä¸Šã¾ãŸã¯å·¦ä¸‹ã®ãƒ•レームã«è¡¨ç¤ºã•れã¾ã™ã€‚ãれ以外ã®HTMLファイルã¯ã€ã™ã¹ã¦å³å´ã®ãƒ•レームã«è¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +æ³¨æ„ \- ディレクトリã¯\f3太字\fPã§ç¤ºã—ã¦ã„ã¾ã™ã€‚アスタリスク(\f2*\fP)ã¯ã€Javadocã¸ã®å¼•æ•°ãŒãƒ‘ッケージåã§ã¯ãªãソース・ファイルå(*.java)ã§ã‚ã‚‹å ´åˆã«\f2çœç•¥ã•れる\fPファイルãŠã‚ˆã³ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’示ã—ã¦ã„ã¾ã™ã€‚ã¾ãŸã€å¼•æ•°ãŒã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåã®å ´åˆã€\f2package\-list\fPã¯ä½œæˆã•れã¾ã™ãŒã€ãã®ä¸­èº«ã¯ç©ºã§ã™ã€‚doc\-filesディレクトリã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リー内ã«å­˜åœ¨ã™ã‚‹å ´åˆã«ã®ã¿ã€ç”Ÿæˆå…ˆã«ä½œæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl + +.fl +\fP\f3apidocs\fP Top directory +.fl + index.html Initial page that sets up HTML frames +.fl + * overview\-summary.html Lists all packages with first sentence summaries +.fl + overview\-tree.html Lists class hierarchy for all packages +.fl + deprecated\-list.html Lists deprecated API for all packages +.fl + constant\-values.html Lists values of static fields for all packages +.fl + serialized\-form.html Lists serialized form for all packages +.fl + * overview\-frame.html Lists all packages, used in upper\-left frame +.fl + allclasses\-frame.html Lists all classes for all packages, used in lower\-left frame +.fl + help\-doc.html Lists user help for how these pages are organized +.fl + index\-all.html Default index created without \-splitindex option +.fl + \f3index\-files\fP Directory created with \-splitindex option +.fl + index\-<number>.html Index files created with \-splitindex option +.fl + package\-list Lists package names, used only for resolving external refs +.fl + stylesheet.css HTML style sheet for defining fonts, colors and positions +.fl + \f3java\fP Package directory +.fl + \f3applet\fP Subpackage directory +.fl + Applet.html Page for Applet class +.fl + AppletContext.html Page for AppletContext interface +.fl + AppletStub.html Page for AppletStub interface +.fl + AudioClip.html Page for AudioClip interface +.fl + * package\-summary.html Lists classes with first sentence summaries for this package +.fl + * package\-frame.html Lists classes in this package, used in lower left\-hand frame +.fl + * package\-tree.html Lists class hierarchy for this package +.fl + package\-use Lists where this package is used +.fl + \f3doc\-files\fP Directory holding image and example files +.fl + \f3class\-use\fP Directory holding pages API is used +.fl + Applet.html Page for uses of Applet class +.fl + AppletContext.html Page for uses of AppletContext interface +.fl + AppletStub.html Page for uses of AppletStub interface +.fl + AudioClip.html Page for uses of AudioClip interface +.fl + \f3src\-html\fP Source code directory +.fl + \f3java\fP Package directory +.fl + \f3applet\fP Subpackage directory +.fl + Applet.html Page for Applet source code +.fl + AppletContext.html Page for AppletContext source code +.fl + AppletStub.html Page for AppletStub source code +.fl + AudioClip.html Page for AudioClip source code +.fl +.fi +.SS +生æˆã•れるAPI宣言 +.LP +Javadocツールã¯ã€ãれãžã‚Œã®ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ãƒ•ィールドã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãŠã‚ˆã³ãƒ¡ã‚½ãƒƒãƒ‰ã®è¨˜è¿°ã®æœ€åˆã«ã€ãã®API用ã®å®£è¨€ã‚’生æˆã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2Boolean\fPクラスã®å®£è¨€ã¯ã€æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +\f2public final class Boolean\fP +.br +\f2extends Object\fP +.br +\f2implements Serializable\fP +.LP +ã¾ãŸã€\f2Boolean.valueOf\fPメソッドã®å®£è¨€ã¯ã€æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +\f2public static Boolean valueOf(String s)\fP +.LP +Javadocツールã§ã¯ã€ä¿®é£¾å­\f2public\fPã€\f2protected\fPã€\f2private\fPã€\f2abstract\fPã€\f2final\fPã€\f2static\fPã€\f2transient\fPã€ãŠã‚ˆã³\f2volatile\fPを組ã¿è¾¼ã‚€ã“ã¨ã¯ã§ãã¾ã™ãŒã€\f2synchronized\fPã¨\f2native\fPを組ã¿è¾¼ã‚€ã“ã¨ã¯ã§ãã¾ã›ã‚“。ã“れら後者ã®2ã¤ã®ä¿®é£¾å­ã¯ã€å®Ÿè£…ã®è©³ç´°ã¨è¦‹ãªã•れã¦ã„ã‚‹ãŸã‚ã€API仕様ã«ã¯å«ã¾ã‚Œã¾ã›ã‚“。 +.LP +APIã§ã¯ã€ä¸¦è¡Œæ€§ã‚»ãƒžãƒ³ãƒ†ã‚£ã‚¯ã‚¹ã«ã¤ã„ã¦ã€ã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰\f2synchronized\fPã«ä¾å­˜ã™ã‚‹ã®ã§ã¯ãªãã€ã‚³ãƒ¡ãƒ³ãƒˆã®ä¸»èª¬æ˜Žã¨ã—ã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€ã€Œ1ã¤ã®\f2Enumeration\fPを複数ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã‹ã‚‰ä¸¦è¡Œã—ã¦ä½¿ç”¨ã™ã‚‹ã“ã¨ã¯ã§ããªã„ã€ã®ã‚ˆã†ã«è¨˜è¿°ã—ã¾ã™ã€‚ドキュメントã«ã¯ã€ã“れらã®ã‚»ãƒžãƒ³ãƒ†ã‚£ã‚¯ã‚¹ã‚’実ç¾ã™ã‚‹æ–¹æ³•を記述ã—ãªã„ã§ãã ã•ã„。ãŸã¨ãˆã°ã€\f2Hashtable\fPã¯ã‚¹ãƒ¬ãƒƒãƒ‰ã‚»ãƒ¼ãƒ•ã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ãŒã€ã€Œã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã•れるã™ã¹ã¦ã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’åŒæœŸåŒ–ã—ã¦ãれを実ç¾ã™ã‚‹ã€ã®ã‚ˆã†ã«æŒ‡å®šã™ã‚‹æ ¹æ‹ ã¯ã‚りã¾ã›ã‚“。ãƒã‚±ãƒƒãƒˆãƒ»ãƒ¬ãƒ™ãƒ«ã§å†…部的ã«åŒæœŸåŒ–ã™ã‚‹æ¨©é™ã‚’ä¿æœ‰ã—ã¦ãŠãå¿…è¦ãŒã‚りã¾ã™ã€‚ãã†ã™ã‚Œã°ã€ã‚ˆã‚Šé«˜åº¦ãªä¸¦è¡Œæ€§ãŒæä¾›ã•れã¾ã™ã€‚ +.SH "ドキュメンテーション・コメント" +.LP +オリジナルã®ã€Œãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®ä»•様ã€ã¯ã€é–¢é€£é …目をå‚ç…§ã—ã¦ãã ã•ã„。 +.SS +ソース・コードã¸ã®ã‚³ãƒ¡ãƒ³ãƒˆã®æŒ¿å…¥ +.LP +ソース・コードã®ä»»æ„ã®ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ã¾ãŸã¯ãƒ•ィールドã®å®£è¨€ã®å‰ã«ã€\f2ドキュメンテーション・コメント\fP("doc comments")を記述ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚å„パッケージã«ã‚‚ドキュメンテーション・コメントを作æˆã§ãã¾ã™ã€‚æ§‹æ–‡ã¯è‹¥å¹²ç•°ãªã‚Šã¾ã™ãŒã€æ¦‚è¦ã«ã‚‚ドキュメンテーション・コメントを作æˆã§ãã¾ã™ã€‚ドキュメンテーション・コメントã¯ã€éžå…¬å¼ã«ã€ŒJavadocコメントã€ã¨å‘¼ã°ã‚Œã¦ã„ã¾ã™(ã“ã®ç”¨èªžã¯å•†æ¨™é–¢é€£ã®ä½¿ç”¨æ–¹æ³•ã«é•å)。ドキュメンテーション・コメントã¯ã€ã‚³ãƒ¡ãƒ³ãƒˆã‚’å§‹ã¾ã‚Šã‚’ç¤ºã™æ–‡å­—列\f2/**\fPã¨ã€ã‚³ãƒ¡ãƒ³ãƒˆã‚’終ã‚ã‚Šã‚’ç¤ºã™æ–‡å­—列\f2*/\fPã®é–“ã«ã‚る文字ã‹ã‚‰æ§‹æˆã•れã¾ã™ã€‚行頭ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã¯ã€å„行ã«è¨˜è¿°ã§ãã¾ã™ã€‚詳細ã¯ã€å¾Œè¿°ã—ã¾ã™ã€‚コメントã®ãƒ†ã‚­ã‚¹ãƒˆã¯ã€è¤‡æ•°è¡Œã«ã‚ãŸã£ã¦è¨˜è¿°ã§ãã¾ã™ã€‚ +.nf +\f3 +.fl +/** +.fl + * This is the typical format of a simple documentation comment +.fl + * that spans two lines. +.fl + */ +.fl +\fP +.fi +.LP +スペースを節約ã™ã‚‹ã«ã¯ã€ã‚³ãƒ¡ãƒ³ãƒˆã‚’1行ã«å…¥ã‚Œã¾ã™ã€‚ +.nf +\f3 +.fl +/** This comment takes up only one line. */ +.fl +\fP +.fi +.LP +\f3コメントã®é…ç½®\fP \- ドキュメンテーション・コメントã¯ã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã¾ãŸã¯ãƒ•ィールドã®å®£è¨€ã®ç›´å‰ã«ç½®ã‹ã‚Œã¦ã„ã‚‹ã¨ãã«ã®ã¿èªè­˜ã•れã¾ã™ã€‚クラスã®ä¾‹ã€ãƒ¡ã‚½ãƒƒãƒ‰ã®ä¾‹ã€ãŠã‚ˆã³ãƒ•ィールドã®ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„ã€‚ãƒ¡ã‚½ãƒƒãƒ‰ã®æœ¬ä½“ã«ç½®ã‹ã‚Œã¦ã„るドキュメンテーション・コメントã¯ç„¡è¦–ã•れã¾ã™ã€‚Javadocツールã§ã¯ã€1ã¤ã®å®£è¨€æ–‡ã«ã¤ã1ã¤ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®ã¿ãŒèªè­˜ã•れã¾ã™ã€‚ +.LP +よãã‚ã‚‹é–“é•ã„ã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã¨ã‚¯ãƒ©ã‚¹å®£è¨€ã®é–“ã«\f2import\fP文を置ã„ã¦ã—ã¾ã†ã“ã¨ã§ã™ã€‚ã“ã®ã‚ˆã†ãªè¨˜è¿°ã¯ã—ãªã„ã§ãã ã•ã„。ã“ã®ã‚ˆã†ãªã‚¯ãƒ©ã‚¹ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã¯ç„¡è¦–ã•れã¾ã™ã€‚ +.nf +\f3 +.fl + /** +.fl + * This is the class comment for the class Whatever. +.fl + */ +.fl + +.fl + import com.sun; // MISTAKE \- Important not to put import statement here +.fl + +.fl + public class Whatever { +.fl + } +.fl +\fP +.fi +.LP +\f3ドキュメンテーション・コメントã¯\fP\f4主説明\fP\f3ã®å¾Œã«\fP\f4タグ・セクション\fP\f3ãŒç¶šã\fP \- 開始区切り文字ã§ã‚ã‚‹\f2/**\fPã®å¾Œã‹ã‚‰ã‚¿ã‚°ãƒ»ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã¾ã§ãŒ\f2主説明\fPã«ãªã‚Šã¾ã™ã€‚\f2タグ・セクション\fPã¯ã€å…ˆé ­æ–‡å­—ãŒ\f2@\fPã®è¡Œã§å®šç¾©ã•れる最åˆã®ãƒ–ロック・タグã‹ã‚‰å§‹ã¾ã‚Šã¾ã™(先頭ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã€ç©ºç™½æ–‡å­—ã€å…ˆé ­ã®åŒºåˆ‡ã‚Šæ–‡å­—\f2/**\fPã¯é™¤ã)。主説明を記述ã›ãšã€ã‚¿ã‚°ãƒ»ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã®ã¿ã®ã‚³ãƒ¡ãƒ³ãƒˆã‚’記述ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚主説明ã¯ã€ã‚¿ã‚°ãƒ»ã‚»ã‚¯ã‚·ãƒ§ãƒ³ä»¥é™ã«ç¶šã‘ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。タグã®å¼•æ•°ã¯ã€è¤‡æ•°è¡Œã«ã‚ãŸã£ã¦è¨˜è¿°ã§ãã¾ã™ã€‚ã‚¿ã‚°ã®æ•°ã«åˆ¶é™ã¯ã‚りã¾ã›ã‚“。何回も記述ã§ãã‚‹ã‚¿ã‚°ã¨ã€1回ã—ã‹è¨˜è¿°ã§ããªã„ã‚¿ã‚°ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®\f2@see\fPã‹ã‚‰ã‚¿ã‚°ãƒ»ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã¯å§‹ã¾ã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl +/** +.fl + * This sentence would hold the main description for this doc comment. +.fl + * @see java.lang.Object +.fl + */ +.fl +\fP +.fi +.LP +\f3ブロック・タグã¨ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ã‚¿ã‚°\fP \- \f2ã‚¿ã‚°\fPã¯ã€JavadocツールãŒå‡¦ç†ã§ãã‚‹ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã®ç‰¹åˆ¥ãªã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰ã§ã™ã€‚ã‚¿ã‚°ã«ã¯2ã¤ã®ã‚¿ã‚¤ãƒ—ãŒã‚りã¾ã™ã€‚1ã¤ã¯\f2@tag\fPã®ã‚ˆã†ã«è¡¨è¨˜ã•れるブロック・タグ(「スタンドアロン・タグã€ã¨ã‚‚呼ã°ã‚Œã‚‹)ã€ã‚‚ã†1ã¤ã¯\f2{@tag}\fPã®ã‚ˆã†ã«ä¸­æ‹¬å¼§ã§å›²ã‚“ã§è¡¨è¨˜ã•れるインライン・タグã§ã™ã€‚ブロック・タグãŒè§£é‡ˆã•れるã«ã¯ã€è¡Œé ­ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã€ç©ºç™½æ–‡å­—ã€åŒºåˆ‡ã‚Šæ–‡å­—(\f2/**\fP)を除ã„ã¦ã€è¡Œã®å…ˆé ­ã«ç½®ãå¿…è¦ãŒã‚りã¾ã™ã€‚ã“れã¯ã€\f2@\fP文字をテキスト内ã®åˆ¥ã®å ´æ‰€ã§ä½¿ç”¨ã—ã¦ã‚‚ã€ã‚¿ã‚°ã®é–‹å§‹ã¨ã—ã¦è§£é‡ˆã•れãªã„ã“ã¨ã‚’æ„味ã—ã¦ã„ã¾ã™ã€‚\f2@\fP文字を使用ã—ã¦è¡Œã‚’é–‹å§‹ã—ã¦ã‚‚ã€ãれãŒè§£é‡ˆã•れãªã„よã†ã«ã™ã‚‹ã«ã¯ã€HTMLエンティティ\f2@\fPを使用ã—ã¾ã™ã€‚ãれãžã‚Œã®ãƒ–ロック・タグã«ã¯ã€é–¢é€£ä»˜ã‘られãŸãƒ†ã‚­ã‚¹ãƒˆãŒã‚りã¾ã™ã€‚ã“ã®ãƒ†ã‚­ã‚¹ãƒˆã¯ã€ã‚¿ã‚°ã®å¾Œã‹ã‚‰ã€æ¬¡ã®ã‚¿ã‚°ã®å‰ã€ã¾ãŸã¯ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®æœ€å¾Œã¾ã§ã®é–“ã«è¨˜è¿°ã•れãŸãƒ†ã‚­ã‚¹ãƒˆã§ã™(ã‚¿ã‚°ã¾ãŸã¯ã‚³ãƒ¡ãƒ³ãƒˆåŒºåˆ‡ã‚Šæ–‡å­—を除ã)。ã“ã®é–¢é€£ãƒ†ã‚­ã‚¹ãƒˆã¯ã€è¤‡æ•°è¡Œã«ã‚ãŸã£ã¦è¨˜è¿°ã§ãã¾ã™ã€‚インライン・タグã¯ã€ãƒ†ã‚­ã‚¹ãƒˆã‚’記述ã§ãる場所ã§ã‚れã°ã©ã“ã«ã§ã‚‚ç½®ãã“ã¨ãŒã§ãã€è§£é‡ˆã•れã¾ã™ã€‚次ã®ä¾‹ã«ã¯ãƒ–ロック・タグ\f2@deprecated\fPã¨ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ã‚¿ã‚°\f2{@link}\fPãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.nf +\f3 +.fl +/** +.fl + * @deprecated As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)} +.fl + */ +.fl +\fP +.fi +.LP +\f3コメントã¯HTMLã§è¨˜è¿°ã™ã‚‹\fP \- テキストã¯HTMLã§è¨˜è¿°ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“れã¯ã€HTMLã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã‚’使用ã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã“ã¨ã€ãŠã‚ˆã³HTMLタグを使用ã§ãã‚‹ã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚HTMLã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¨ã—ã¦ã¯ã€ä½¿ç”¨ã™ã‚‹ãƒ–ラウザãŒã‚µãƒãƒ¼ãƒˆã™ã‚‹ä»»æ„ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’使用ã§ãã¾ã™ã€‚標準ドックレットã¯ã€ã‚«ã‚¹ã‚±ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚¹ã‚¿ã‚¤ãƒ«ãƒ»ã‚·ãƒ¼ãƒˆãŠã‚ˆã³ãƒ•レームをå«ã‚ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆä»¥å¤–ã®éƒ¨åˆ†ã§HTML 3.2ã«æº–æ‹ ã—ãŸã‚³ãƒ¼ãƒ‰ã‚’生æˆã™ã‚‹ã‚ˆã†ã«ä½œæˆã•れã¦ã„ã¾ã™ã€‚(ãŸã ã—ã€ãƒ•レーム・セット対応ã®ãŸã‚ã€ç”Ÿæˆã•れるå„ファイルã«ã¯ã€ŒHTML 4.0ã€ã¨å…ˆé ­ã«è¨˜è¿°ã•れã¾ã™ã€‚) +.LP +ãŸã¨ãˆã°ã€ã‚ˆã‚Šå°ã•ã„(\f2<\fP)記å·ãŠã‚ˆã³ã‚ˆã‚Šå¤§ãã„(\f2>\fP)記å·ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã¯ã€\f2<\fPãŠã‚ˆã³\f2>\fPã¨è¨˜è¿°ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚åŒæ§˜ã«ã€ã‚¢ãƒ³ãƒ‘サンド(\f2&\fP)ã¯\f2&\fPã¨è¨˜è¿°ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚次ã®ä¾‹ã§ã¯ã€å¤ªå­—ã®HTMLã‚¿ã‚°\f2<b>\fPを使用ã—ã¦ã„ã¾ã™ã€‚ +.LP +次ã«ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +/** +.fl + * This is a <b>doc</b> comment. +.fl + * @see java.lang.Object +.fl + */ +.fl +\fP +.fi +.LP +\f3行頭ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯\fP \- Javadocã«ã‚ˆã‚‹ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®è§£æžæ™‚ã«ã€å„行ã®å…ˆé ­ã«ã‚るアスタリスク(\f2*\fP)文字ã¯ç ´æ£„ã•れã¾ã™ã€‚最åˆã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯(\f2*\fP)文字よりå‰ã«ã‚る空白やタブも破棄ã•れã¾ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.4ã‹ã‚‰ã¯ã€è¡Œã®å…ˆé ­ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã‚’çœç•¥ã—ã¦ã‚‚ã€å…ˆé ­ã®ç©ºç™½æ–‡å­—ã¯å‰Šé™¤ã•れãªããªã‚Šã¾ã—ãŸã€‚ã“ã®ãŸã‚ã€ã‚³ãƒ¼ãƒ‰ä¾‹ã‚’直接ドキュメンテーション・コメントã®\f2<PRE>\fPタグ内ã«å¼µã‚Šä»˜ã‘ã¦ã‚‚ã€ã‚¤ãƒ³ãƒ‡ãƒ³ãƒˆãŒä¿æŒã•れã¾ã™ã€‚通常ã€ãƒ–ラウザã¯ã€ç©ºç™½æ–‡å­—をタブよりも一律ã«è§£é‡ˆã—ã¾ã™ã€‚インデントã®èµ·ç‚¹ã¯(区切り文字\f2/**\fPã¾ãŸã¯\f2<PRE>\fPã‚¿ã‚°ã§ã¯ãªã)左マージンã«ãªã‚Šã¾ã™ã€‚ +.LP +\f3最åˆã®æ–‡\fP \- å„ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®æœ€åˆã®æ–‡ã¯ã€å®£è¨€ã•れã¦ã„るエンティティã«é–¢ã™ã‚‹ç°¡æ½”ã‹ã¤å®Œå…¨ãªè¦ç´„æ–‡ã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®æ–‡ã¯ã€ç©ºç™½ã€ã‚¿ãƒ–ã€ã¾ãŸã¯è¡Œçµ‚了文字ãŒç¶šã最åˆã®ãƒ”リオドã€ã¾ãŸã¯æœ€åˆã®ãƒ–ロック・タグãŒã‚ã‚‹ä½ç½®ã§çµ‚ã‚りã¾ã™ã€‚最åˆã®æ–‡ã¯ã€Javadocツールã«ã‚ˆã£ã¦HTMLページã®å…ˆé ­ã«ã‚るメンãƒãƒ¼ã®æ¦‚è¦ã®éƒ¨åˆ†ã«ã‚³ãƒ”ーã•れã¾ã™ã€‚ +.LP +\f3複数フィールドã®å®£è¨€\fP \- Javaã§ã¯ã€1ã¤ã®æ–‡ã§è¤‡æ•°ã®ãƒ•ィールドを宣言ã§ãã¾ã™ã€‚ãŸã ã—ã€ã“ã®æ–‡ã«ã¯ã€1ã¤ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã—ã‹è¨˜è¿°ã§ãã¾ã›ã‚“。ãã®ã‚³ãƒ¡ãƒ³ãƒˆãŒã€ã™ã¹ã¦ã®ãƒ•ィールドã«å¯¾ã—ã¦ã‚³ãƒ”ーã•れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ãƒ•ィールドã”ã¨ã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’記述ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã¯ã€å„ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã‚’åˆ¥ã€…ã®æ–‡ã§å®£è¨€ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã¯ã€1ã¤ã®å®£è¨€ã¨ã—ã¦è¨˜è¿°ã™ã‚‹ã¨ä¸é©åˆ‡ã§ã™ã€‚ã“ã®å ´åˆã¯ã€å®£è¨€ã‚’2ã¤ã«åˆ†ã‘ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +/** +.fl + * The horizontal and vertical distances of point (x,y) +.fl + */ +.fl +public int x, y; // Avoid this +.fl +\fP +.fi +.LP +上ã®ã‚³ãƒ¼ãƒ‰ã‹ã‚‰ã¯ã€æ¬¡ã®ã‚ˆã†ãªãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl +public int \fP\f3x\fP +.fl +.fi +.RS 3 +The horizontal and vertical distances of point (x,y) +.RE +.nf +\f3 +.fl +public int \fP\f3y\fP +.fl +.fi +.RS 3 +The horizontal and vertical distances of point (x,y) +.RE +.LP +\f3見出ã—ã‚¿ã‚°ã®ä½¿ç”¨ã«ã¯è¦æ³¨æ„\fP \- メンãƒãƒ¼ã«å¯¾ã—ã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’記述ã™ã‚‹ã¨ãã«ã¯ã€<H1>ã‚„<H2>ãªã©ã®HTML見出ã—タグを使用ã—ãªã„ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚Javadocツールã¯ã€å®Œå…¨ãªæ§‹é€ åŒ–ドキュメントを作æˆã™ã‚‹ã®ã§ã€ã“ã®ã‚ˆã†ãªæ§‹é€ åŒ–ã‚¿ã‚°ãŒä½¿ç”¨ã•れã¦ã„ã‚‹ã¨ã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®å½¢å¼ãŒæ‚ªå½±éŸ¿ã‚’å—ã‘ã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚ãŸã ã—ã€ã‚¯ãƒ©ã‚¹ã‚„パッケージã®ã‚³ãƒ¡ãƒ³ãƒˆã§ã¯ã€ã“れらã®è¦‹å‡ºã—を使用ã—ã¦ç‹¬è‡ªã®æ§‹é€ ã‚’指定ã—ã¦ã‹ã¾ã„ã¾ã›ã‚“。 +.SS +メソッド・コメントã®è‡ªå‹•コピー +.LP +Javadocツールã«ã¯ã€æ¬¡ã®2ã¤ã®å ´åˆã«ã€ã‚¯ãƒ©ã‚¹ãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ãƒ¡ã‚½ãƒƒãƒ‰ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’コピーã¾ãŸã¯ã€Œç¶™æ‰¿ã€ã™ã‚‹æ©Ÿèƒ½ãŒã‚りã¾ã™ã€‚コンストラクタã€ãƒ•ィールドã€ãŠã‚ˆã³ãƒã‚¹ãƒˆã•れãŸã‚¯ãƒ©ã‚¹ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’継承ã—ã¾ã›ã‚“。 +.RS 3 +.TP 2 +o +\f3自動的ã«ã‚³ãƒ¡ãƒ³ãƒˆã‚’継承ã—ã¦è¦‹ã¤ã‹ã‚‰ãªã„テキストを埋ã‚ã‚‹\fP \- 主説明ã€\f2@return\fPã‚¿ã‚°ã€\f2@param\fPã‚¿ã‚°ã€ã¾ãŸã¯\f2@throws\fP ã‚¿ã‚°ãŒãƒ¡ã‚½ãƒƒãƒ‰ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã«è¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã€Javadocツールã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã¾ãŸã¯å®Ÿè£…ã—ã¦ã„ã‚‹å ´åˆã¯ãã®ãƒ¡ã‚½ãƒƒãƒ‰ã‹ã‚‰ã€å¯¾å¿œã™ã‚‹ä¸»èª¬æ˜Žã¾ãŸã¯ã‚¿ã‚°ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’ã€æ¬¡ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã«å¾“ã£ã¦ã‚³ãƒ”ーã—ã¾ã™ã€‚ +.LP +厳密ã«ã¯ã€ç‰¹å®šã®ãƒ‘ラメータã®\f2@param\fPã‚¿ã‚°ãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã€ãã®ãƒ‘ラメータã®ã‚³ãƒ¡ãƒ³ãƒˆãŒã€ä¸Šä½ã®ç¶™æ‰¿éšŽå±¤ã®ãƒ¡ã‚½ãƒƒãƒ‰ã‹ã‚‰ã‚³ãƒ”ーã•れã¾ã™ã€‚特定ã®ä¾‹å¤–ã®\f2@throws\fPã‚¿ã‚°ãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã€ãã®ä¾‹å¤–ãŒå®£è¨€ã•れã¦ã„ã‚‹å ´åˆã«\f2ã‹ãŽã‚Š\fPã€\f2@throws\fPã‚¿ã‚°ãŒã‚³ãƒ”ーã•れã¾ã™ã€‚ +.LP +ã“ã®å‹•作ã¯ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.3以å‰ã®å‹•作ã¨ã¯å¯¾ç…§çš„ã§ã™ã€‚ã“れã¾ã§ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯ã€ä¸»èª¬æ˜Žã¾ãŸã¯ã‚¿ã‚°ãŒå­˜åœ¨ã™ã‚Œã°ã€ã‚³ãƒ¡ãƒ³ãƒˆã¯ä¸€åˆ‡ç¶™æ‰¿ã•れã¾ã›ã‚“ã§ã—ãŸã€‚ +.TP 2 +o +\f3{@inheritDoc}ã‚¿ã‚°ã‚’å«ã‚€ã‚³ãƒ¡ãƒ³ãƒˆã‚’明示的ã«ç¶™æ‰¿ã™ã‚‹\fP \- インライン・タグ\f2{@inheritDoc}\fPã‚’ã€ãƒ¡ã‚½ãƒƒãƒ‰ã®ä¸»èª¬æ˜Žå†…ã¾ãŸã¯\f2@return\fPã‚¿ã‚°ã€\f2@param\fPã‚¿ã‚°ã€ã¾ãŸã¯\f2@throws\fPã®ã„ãšã‚Œã‹ã®ã‚¿ã‚°ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã«æŒ¿å…¥ã—ã¾ã™ã€‚対応ã™ã‚‹ç¶™æ‰¿ã•れãŸä¸»èª¬æ˜Žã¾ãŸã¯ã‚¿ã‚°ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãŒãã®ä½ç½®ã«ã‚³ãƒ”ーã•れã¾ã™ã€‚ +.RE +.LP +ドキュメンテーション・コメントを実際ã«ã‚³ãƒ”ーã«åˆ©ç”¨ã™ã‚‹ã«ã¯ã€ç¶™æ‰¿ã—ãŸãƒ¡ã‚½ãƒƒãƒ‰ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒ\-sourcepathã§æŒ‡å®šã—ãŸãƒ‘スã®ã¿ã«ç½®ã‹ã‚Œã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚コマンドラインã§ã€ã‚¯ãƒ©ã‚¹ã‚‚パッケージも渡ã™å¿…è¦ã¯ã‚りã¾ã›ã‚“。ã“ã®ç‚¹ã¯ã€ã‚¯ãƒ©ã‚¹ãŒãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるクラスã§ã‚ã‚‹ã“ã¨ãŒå¿…è¦ã ã£ãŸ1.3.x以å‰ã®ãƒªãƒªãƒ¼ã‚¹ã¨ç•°ãªã‚Šã¾ã™ã€‚ +.LP +\f3クラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã‹ã‚‰ã®ç¶™æ‰¿\fP \- クラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã‹ã‚‰ç¶™æ‰¿ã™ã‚‹æ¬¡ã®3ã¤ã®å ´åˆã«ã€ã‚³ãƒ¡ãƒ³ãƒˆã®ç¶™æ‰¿ãŒè¡Œã‚れã¾ã™ã€‚ +.RS 3 +.TP 2 +o +クラスã®ãƒ¡ã‚½ãƒƒãƒ‰ãŒã‚¹ãƒ¼ãƒ‘ークラスã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã„ã‚‹å ´åˆ +.TP 2 +o +インタフェースã®ãƒ¡ã‚½ãƒƒãƒ‰ãŒã‚¹ãƒ¼ãƒ‘ーインタフェースã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã„ã‚‹å ´åˆ +.TP 2 +o +クラスã®ãƒ¡ã‚½ãƒƒãƒ‰ãŒã‚¤ãƒ³ã‚¿ãƒ•ェースã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’実装ã—ã¦ã„ã‚‹å ´åˆ +.RE +.LP +最åˆã®2ã¤ã®ã‚±ãƒ¼ã‚¹(メソッドãŒã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã„ã‚‹å ´åˆ)ã§ã¯ã€Javadocツールã¯ã€ãã®ã‚³ãƒ¡ãƒ³ãƒˆãŒç¶™æ‰¿ã•れã¦ã„ã‚‹ã‹ã©ã†ã‹ã«ã‹ã‹ã‚らãšã€ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã„るメソッドã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆå†…ã«ã€Œã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã€ã¨ã„ã†å°è¦‹å‡ºã—を生æˆã—ã€ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã•れã¦ã„るメソッドã¸ã®ãƒªãƒ³ã‚¯ã‚’書ãè¾¼ã¿ã¾ã™ã€‚ +.LP +3ã¤ç›®ã®ã‚±ãƒ¼ã‚¹(特定ã®ã‚¯ãƒ©ã‚¹ã®ãƒ¡ã‚½ãƒƒãƒ‰ãŒã‚¤ãƒ³ã‚¿ãƒ•ェースã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’実装ã—ã¦ã„ã‚‹å ´åˆ)ã§ã¯ã€Javadocツールã¯ã€ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã„るメソッドã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆå†…ã«ã€Œå®šç¾©ã€ã¨ã„ã†å°è¦‹å‡ºã—を生æˆã—ã€å®Ÿè£…ã•れã¦ã„るメソッドã¸ã®ãƒªãƒ³ã‚¯ã‚’書ãè¾¼ã¿ã¾ã™ã€‚ã“れã¯ã€ã‚³ãƒ¡ãƒ³ãƒˆãŒç¶™æ‰¿ã•れã¦ã„ã‚‹ã‹ã©ã†ã‹ã«ã‹ã‹ã‚りã¾ã›ã‚“。 +.LP +\f3メソッド・コメントãŒç¶™æ‰¿ã•れるアルゴリズム\fP \- ã‚るメソッドã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãŒè¨˜è¿°ã•れã¦ã„ãªã„å ´åˆã€ã¾ãŸã¯{@inheritDoc}ã‚¿ã‚°ãŒã‚ã‚‹å ´åˆã€Javadocツールã¯ã€æ¬¡ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’使用ã—ã¦é©åˆ‡ãªã‚³ãƒ¡ãƒ³ãƒˆã‚’検索ã—ã¾ã™ã€‚ã“ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã¯ã€æœ€ã‚‚厳密ã«é©åˆ‡ãªãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’検索ã§ãるよã†ã«è¨­è¨ˆã•れã¦ãŠã‚Šã€ã‚¹ãƒ¼ãƒ‘ークラスよりもインタフェースãŒå„ªå…ˆã•れるよã†ã«ãªã£ã¦ã„ã¾ã™ã€‚ +.RS 3 +.TP 3 +1. +直接ã«å®Ÿè£…ã•れã¦ã„ã‚‹(ã¾ãŸã¯ã€æ‹¡å¼µã•れã¦ã„ã‚‹)インタフェースをã€ãƒ¡ã‚½ãƒƒãƒ‰ã®å®£è¨€ã§ã€Œimplementsã€(ã¾ãŸã¯ã€Œextendsã€)ã¨ã„ã†èªžã®å¾Œã«å‡ºç¾ã™ã‚‹é †åºã§ã€1ã¤ãšã¤èª¿ã¹ã¾ã™ã€‚ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ã«ã¤ã„ã¦æœ€åˆã«è¦‹ã¤ã‹ã£ãŸãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’採用ã—ã¾ã™ã€‚ +.TP 3 +2. +手順1ã§ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãŒè¦‹ã¤ã‹ã‚‰ãªã‹ã£ãŸå ´åˆã¯ã€ç›´æŽ¥å®Ÿè£…ã•れã¦ã„ã‚‹(ã¾ãŸã¯ã€æ‹¡å¼µã•れã¦ã„ã‚‹)インタフェースã®ãれãžã‚Œã«å¯¾ã—ã¦ã€ã“ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ å…¨ä½“ã‚’å†å¸°çš„ã«é©ç”¨ã—ã¾ã™(ãã®éš›ã®é †åºã¯ã€æ‰‹é †1ã§ã‚¤ãƒ³ã‚¿ãƒ•ェースを調ã¹ãŸã¨ãã®é †åºã¨åŒã˜)。 +.TP 3 +3. +手順2ã§ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãŒè¦‹ã¤ã‹ã‚‰ãªã‹ã£ãŸå ´åˆã§ã€ã“ã®ã‚¯ãƒ©ã‚¹ãŒObject以外ã®ã‚¯ãƒ©ã‚¹ã§ã‚ã‚‹(インタフェースã§ã¯ãªã„)å ´åˆã¯ã€æ¬¡ã®ã‚ˆã†ã«å‡¦ç†ã—ã¾ã™ã€‚ +.RS 3 +.TP 3 +a. +スーパークラスã«ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ã«ã¤ã„ã¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãŒè¨˜è¿°ã•れã¦ã„ã‚‹å ´åˆã¯ã€ãã®ã‚³ãƒ¡ãƒ³ãƒˆã‚’採用ã—ã¾ã™ã€‚ +.TP 3 +b. +手順3aã§ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆãŒè¦‹ã¤ã‹ã‚‰ãªã‹ã£ãŸå ´åˆã¯ã€ã‚¹ãƒ¼ãƒ‘ークラスã«å¯¾ã—ã¦ã€ã“ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ å…¨ä½“ã‚’å†å¸°çš„ã«é©ç”¨ã—ã¾ã™ã€‚ +.RE +.RE +.SH "javadocã‚¿ã‚°" +.LP +Javadocツールã¯ã€Javaã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã«åŸ‹ã‚è¾¼ã¾ã‚ŒãŸç‰¹åˆ¥ãªã‚¿ã‚°ã‚’è§£æžã—ã¾ã™ã€‚ã“れらã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚¿ã‚°ã‚’使用ã™ã‚‹ã¨ã€å®Œå…¨ãªæ•´å½¢å¼ã®APIをソース・コードã‹ã‚‰è‡ªå‹•çš„ã«ç”Ÿæˆã§ãã¾ã™ã€‚ã‚¿ã‚°ã¯ã€Œã‚¢ãƒƒãƒˆãƒžãƒ¼ã‚¯ã€è¨˜å·(\f2@\fP)ã§å§‹ã¾ã‚Šã€å¤§æ–‡å­—ã¨å°æ–‡å­—ãŒåŒºåˆ¥ã•れã¾ã™ã€‚ã“れらã®ã‚¿ã‚°ã¯ã€è¡¨ç¤ºã•れã¦ã„ã‚‹ã¨ãŠã‚Šã«å¤§æ–‡å­—ã¨å°æ–‡å­—を使用ã—ã¦å…¥åŠ›ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã‚¿ã‚°ã¯ã€è¡Œã®å…ˆé ­(先頭ã®ç©ºç™½æ–‡å­—ã¨çœç•¥å¯èƒ½ãªã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã®å¾Œ)ã«ç½®ãå¿…è¦ãŒã‚りã¾ã™ã€‚ãã†ã—ãªã„ã¨ã€é€šå¸¸ã®ãƒ†ã‚­ã‚¹ãƒˆã¨ã—ã¦æ‰±ã‚れã¾ã™ã€‚慣例ã¨ã—ã¦ã€åŒã˜åå‰ã®ã‚¿ã‚°ã¯1箇所ã«ã¾ã¨ã‚ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2@see\fPã‚¿ã‚°ãŒè¤‡æ•°ã‚ã‚‹å ´åˆã¯ã€ã™ã¹ã¦åŒã˜å ´æ‰€ã«ã¾ã¨ã‚ã¦é…ç½®ã—ã¾ã™ã€‚ +.LP +ã‚¿ã‚°ã«ã¯æ¬¡ã®2ã¤ã®ã‚¿ã‚¤ãƒ—ãŒã‚りã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f3ブロック・タグ\fP \- 主説明ã«ç¶šãタグ・セクション内ã«ã®ã¿è¨˜è¿°å¯èƒ½ã€‚ブロック・タグã¯ã€\f2@tag\fPã®å½¢å¼ã‚’ã¨ã‚Šã¾ã™ã€‚ +.TP 2 +o +\f3インライン・タグ\fP \- 主説明内ã€ã¾ãŸã¯ãƒ–ロック・タグã®ã‚³ãƒ¡ãƒ³ãƒˆå†…ã«è¨˜è¿°å¯èƒ½ã€‚インライン・タグã¯ã€\f2{@tag}\fPã®ã‚ˆã†ã«ä¸­æ‹¬å¼§ã§å›²ã¿ã¾ã™ã€‚ +.RE +.LP +ç¾æ™‚ç‚¹ã§æœ‰åйãªã‚¿ã‚°ã¯ã€æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 80 0 +.nr 38 \w\f3ã‚¿ã‚°\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@author\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@code}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@docRoot}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@deprecated\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@exception\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@inheritDoc}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@link}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@linkplain}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@literal}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@param\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@return\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@see\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@serial\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@serialData\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@serialField\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@since\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@throws\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@value}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@version\fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3å°Žå…¥ã•れãŸJDK/SDK\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.5 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.3 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.4 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.4 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.5 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.1 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.4 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 861 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3ã‚¿ã‚°\fP\h'|\n(41u'\f3å°Žå…¥ã•れãŸJDK/SDK\fP +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@author\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@code}\fP\h'|\n(41u'1.5 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@docRoot}\fP\h'|\n(41u'1.3 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@deprecated\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@exception\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@inheritDoc}\fP\h'|\n(41u'1.4 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@link}\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@linkplain}\fP\h'|\n(41u'1.4 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@literal}\fP\h'|\n(41u'1.5 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@param\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@return\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@see\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@serial\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@serialData\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@serialField\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@since\fP\h'|\n(41u'1.1 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@throws\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@value}\fP\h'|\n(41u'1.4 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@version\fP\h'|\n(41u'1.0 +.fc +.nr T. 1 +.T# 1 +.35 +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-42 +.LP +カスタム・タグã«ã¤ã„ã¦ã¯ã€\-tagオプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.RS 3 +.TP 3 +@author\ name\-text +\-authorオプションãŒä½¿ç”¨ã•れã¦ã„ã‚‹å ´åˆã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã€Œä½œæˆè€…ã€ã‚¨ãƒ³ãƒˆãƒªã‚’追加ã—ã¦ã€æŒ‡å®šã•れãŸ\f2name\-text\fPを書ãè¾¼ã¿ã¾ã™ã€‚1ã¤ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã«è¤‡æ•°ã®\f2@author\fPã‚¿ã‚°ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚1ã¤ã®\f2@author\fPã‚¿ã‚°ã«1ã¤ã®åå‰ã‚’指定ã™ã‚‹ã“ã¨ã‚‚ã€è¤‡æ•°ã®åå‰ã‚’指定ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚å‰è€…ã®å ´åˆã¯ã€Javadocツールã«ã‚ˆã£ã¦åå‰ã¨åå‰ã®é–“ã«ã‚«ãƒ³ãƒž(\f2,\fP)ã¨ç©ºç™½æ–‡å­—ãŒæŒ¿å…¥ã•れã¾ã™ã€‚後者ã®å ´åˆã¯ã€ãƒ†ã‚­ã‚¹ãƒˆå…¨ä½“ãŒã€è§£æžã•れるã“ã¨ãªãã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ãã®ã¾ã¾ã‚³ãƒ”ーã•れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ã‚«ãƒ³ãƒžã§ã¯ãªãã€å„言語ã«å¯¾å¿œã—ãŸåå‰åŒºåˆ‡ã‚Šæ–‡å­—を使用ã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã¨ãã¯ã€1ã¤ã®ã‚¿ã‚°ã«è¤‡æ•°ã®åå‰ã‚’指定ã—ã¦ãã ã•ã„。 +.RE +.LP +詳細ã¯ã€ã‚¿ã‚°ã‚’使用ã§ãる場所ãŠã‚ˆã³ +.na +\f2@authorã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@authorã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.RS 3 +.TP 3 +@deprecated\ deprecated\-text 注æ„: @Deprecated注釈を使用ã—ã¦ã€ãƒ—ログラムè¦ç´ ã‚’éžæŽ¨å¥¨ã«ã§ãã¾ã™ã€‚ +.RE +.LP +ã“ã®APIã¯å‹•作ã—ç¶šã‘ã¾ã™ãŒã€ã“ã®APIを使用ã—ãªã„ã“ã¨ã‚’è–¦ã‚るコメントを追加ã—ã¾ã™ã€‚Javadocツールã¯ã€\f2deprecated\-text\fPを主説明ã®å‰ã«ç§»å‹•ã—ã¦ã‚¤ã‚¿ãƒªãƒƒã‚¯ã«ã—ã€ãã®å‰ã«å¤ªå­—ã®è­¦å‘Šã€ŒæŽ¨å¥¨ã•れã¦ã„ã¾ã›ã‚“。ã€ã‚’追加ã—ã¾ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€ã™ã¹ã¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã€ã¤ã¾ã‚Šæ¦‚è¦ã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ãŠã‚ˆã³ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã§æœ‰åйã§ã™ã€‚ +.LP +\f2deprecated\-text\fPã®æœ€åˆã®æ–‡ã§ã¯ã€å°‘ãªãã¨ã‚‚ã€ãã®APIãŒæŽ¨å¥¨ã•れãªããªã£ãŸæ™‚期ã¨ã€ä»£æ›¿ã¨ã—ã¦ä½¿ç”¨ã™ã‚‹APIã‚’ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«æç¤ºã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚Javadocツールã¯ã€ã“ã®æœ€åˆã®æ–‡ã®ã¿ã‚’ã€æ¦‚è¦ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã¨ç´¢å¼•ã«ã‚³ãƒ”ーã—ã¾ã™ã€‚ãã®å¾Œã®æ–‡ã§ã¯ã€æŽ¨å¥¨ã•れãªã„ç†ç”±ã‚’説明ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ã‹ã‚りã®APIを指ã—示ã™\f2{@link}\fPã‚¿ã‚°(Javadoc 1.2以é™ã®å ´åˆ)ã‚’å«ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +詳細ã¯ã€ +.na +\f2@deprecatedã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@deprecatedã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RS 3 +.TP 2 +o +Javadoc 1.2以é™ã§ã¯ã€\f2{@link}\fPタグを使用ã—ã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€å¿…è¦ãªå ´æ‰€ã«ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ã§ãƒªãƒ³ã‚¯ã‚’作æˆã§ãã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +/** +.fl + * @deprecated As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)} +.fl + */ +.fl + +.fl +\fP +.fi +.TP 2 +o +Javadoc 1.1ã§ã¯ã€\f2@see\fPã‚¿ã‚°(インラインã¯ä¸å¯)ã‚’\f2@deprecated\fPã‚¿ã‚°ã”ã¨ã«ä½œæˆã™ã‚‹ã®ãŒæ¨™æº–ã®å½¢å¼ã§ã™ã€‚ +.RE +.LP +推奨ã•れãªã„ã‚¿ã‚°ã®è©³ç´°ã¯ã€ +.na +\f2@deprecatedã‚¿ã‚°\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/deprecation/index.htmlã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.RS 3 +.TP 3 +{@code\ text} +\f2<code>{@literal}</code>\fPã¨åŒç­‰ã§ã™ã€‚ +.LP +テキストをHTMLマークアップã¾ãŸã¯ãƒã‚¹ãƒˆã•れãŸjavadocã‚¿ã‚°ã¨ã—ã¦è§£é‡ˆã›ãšã«ã€\f2text\fPã‚’\f2コード\fP・フォントã§è¡¨ç¤ºã—ã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ã¯ã€ãƒ‘ラメータã®åž‹(\f2<Object>\fP)ã€ä¸ç­‰å·(\f23 < 4\fP)ã€çŸ¢å°(\f2<\-\fP)ãªã©ã§ã€é€šå¸¸ã®å±±æ‹¬å¼§(\f2<\fPãŠã‚ˆã³\f2>\fP)ã‚’HTMLエンティティ(\f2<\fPãŠã‚ˆã³\f2>\fP)ã®ã‹ã‚りã«ä½¿ç”¨ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆ +.nf +\f3 +.fl + \fP\f4{@code A<B>C}\fP\f3 +.fl + +.fl +\fP +.fi +.LP +ã¯ã€ç”Ÿæˆã•れãŸHTMLページã§ã€æ¬¡ã®ã‚ˆã†ã«ãã®ã¾ã¾è¡¨ç¤ºã•れã¾ã™ã€‚ +.nf +\f3 +.fl + \fP\f4A<B>C\fP\f3 +.fl + +.fl +\fP +.fi +.LP +ã“ã“ã§æ³¨ç›®ã«å€¤ã™ã‚‹ã®ã¯ã€\f2<B>\fPãŒå¤ªå­—ã¨ã—ã¦è§£é‡ˆã•れãšã€ãã®ãƒ•ォントã¯ã‚³ãƒ¼ãƒ‰ãƒ»ãƒ•ォントã«ãªã‚‹ã€ã¨ã„ã†ç‚¹ã§ã™ã€‚ +.LP +コード・フォントãªã—ã§åŒã˜æ©Ÿèƒ½ã‚’実ç¾ã™ã‚‹ã«ã¯ã€\f2{@literal}\fPを使用ã—ã¾ã™ã€‚ +.LP +.TP 3 +{@docRoot} +生æˆã•れるページã‹ã‚‰ã®ã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®(生æˆå…ˆ)ルート・ディレクトリã¸ã®ç›¸å¯¾ãƒ‘スを表ã—ã¾ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€è‘—作権ã®ãƒšãƒ¼ã‚¸ã‚„会社ã®ãƒ­ã‚´ãªã©ã€ç”Ÿæˆã•れるã™ã¹ã¦ã®ãƒšãƒ¼ã‚¸ã‹ã‚‰å‚ç…§ã™ã‚‹ãƒ•ァイルを組ã¿è¾¼ã‚€ã¨ãã«ä¾¿åˆ©ã§ã™ã€‚通常ã¯ã€å„ãƒšãƒ¼ã‚¸ã®æœ€ä¸‹éƒ¨ã‹ã‚‰è‘—作権ã®ãƒšãƒ¼ã‚¸ã«ãƒªãƒ³ã‚¯ã—ã¾ã™ã€‚ +.LP +ã“ã®\f2{@docRoot}\fPã‚¿ã‚°ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§ã‚‚ドキュメンテーション・コメント内ã§ã‚‚使用ã§ãã¾ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€@returnã€@paramã€@deprecatedãªã©ã®ä»»æ„ã®ã‚¿ã‚°ã®ãƒ†ã‚­ã‚¹ãƒˆéƒ¨åˆ†ã‚’å«ã‚€ã€ã™ã¹ã¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã€ã¤ã¾ã‚Šæ¦‚è¦ã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ãŠã‚ˆã³ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã§æœ‰åйã§ã™ã€‚ +.RS 3 +.TP 3 +1. +コマンドラインã§ã¯ã€ãƒ˜ãƒƒãƒ€ãƒ¼ã€ãƒ•ッターã€ã¾ãŸã¯ãƒœãƒˆãƒ ã¯æ¬¡ã®ã‚ˆã†ã«å®šç¾©ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + javadoc \-bottom '<a href="{@docRoot}/copyright.html">Copyright</a>' +.fl + +.fl +\fP +.fi +.LP +æ³¨æ„ \- \f2{@docRoot}\fPã‚’Makefile内ã§ã“ã®ã‚ˆã†ã«åˆ©ç”¨ã™ã‚‹å ´åˆã€ä¸€éƒ¨ã®Makefileプログラムã§ã¯ã€ä¸­æ‹¬å¼§{ }文字を特別ã«ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€Inprise MAKEãƒãƒ¼ã‚¸ãƒ§ãƒ³5.2ã‚’Windows上ã§å®Ÿè¡Œã™ã‚‹å ´åˆã¯ã€\f2{{@docRoot}}\fPã®ã‚ˆã†ã«ã€ä¸­æ‹¬å¼§ã‚’二é‡ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã•らã«ã€\f2\-bottom\fPãªã©ã®ã‚ªãƒ—ションã«å¯¾ã™ã‚‹å¼•æ•°ã‚’ã€ä¸€é‡å¼•用符ã§ã¯ãªã二é‡å¼•用符ã§å›²ã‚€å¿…è¦ã‚‚ã‚りã¾ã™(\f2href\fP引数を囲む引用符ã¯çœç•¥)。 +.TP 3 +2. +ドキュメンテーション・コメントã®ä¸­ã§ã¯ã€æ¬¡ã®ã‚ˆã†ã«ä½¿ç”¨ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + /** +.fl + * See the <a href="{@docRoot}/copyright.html">Copyright</a>. +.fl + */ +.fl + +.fl +\fP +.fi +.RE +.LP +ã“ã®ã‚¿ã‚°ãŒå¿…è¦ãªç†ç”±ã¯ã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒã€ã‚µãƒ–パッケージã¨åŒã˜æ·±ã•ã‚’æŒã¤éšŽå±¤æ§‹é€ ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æ ¼ç´ã•れるã‹ã‚‰ã§ã™ã€‚å¼ +.nf +\f3 +.fl + <a href="{@docRoot}/copyright.html"> +.fl + +.fl +\fP +.fi +.LP +ã¯ã€æ¬¡ã®ã‚ˆã†ã«è§£æ±ºã•れã¾ã™ã€‚ +.nf +\f3 +.fl + <a href="../../copyright.html"> for java/lang/Object.java +.fl + +.fl +\fP +.fi +.LP +ãŠã‚ˆã³ +.nf +\f3 +.fl + <a href="../../../copyright.html"> for java/lang/ref/Reference.java +.fl + +.fl +\fP +.fi +.LP +.TP 3 +@exception\ class\-name\ description +\f2@exception\fPã‚¿ã‚°ã¯ã€\f2@throws\fPã¨åŒç¾©ã§ã™ã€‚ +.LP +.TP 3 +{@inheritDoc}\ +最も近ã„継承å¯èƒ½ãªã‚¯ãƒ©ã‚¹ã¾ãŸã¯å®Ÿè£…å¯èƒ½ãªã‚¤ãƒ³ã‚¿ãƒ•ェースã‹ã‚‰ã€ã“ã®ã‚¿ã‚°ã®ä½ç½®ã«ã‚ã‚‹ç¾åœ¨ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã«ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’継承(コピー)ã—ã¾ã™ã€‚ã“ã®æ©Ÿèƒ½ã«ã‚ˆã‚Šã€ã‚ˆã‚Šæ±Žç”¨çš„ãªã‚³ãƒ¡ãƒ³ãƒˆã‚’継承ツリーã®ä¸Šä½ã«è¨˜è¿°ã—ã€ã‚³ãƒ”ーã—ãŸãƒ†ã‚­ã‚¹ãƒˆã‚’使用ã—ã¦è¨˜è¿°ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +ã“ã®ã‚¿ã‚°ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®æ¬¡ã®ä½ç½®ã§ã®ã¿æœ‰åйã§ã™ã€‚ +.RS 3 +.TP 2 +o +メソッドã®ä¸»èª¬æ˜Žãƒ–ロック内。ã“ã®å ´åˆã€ä¸»èª¬æ˜Žã¯ã€ä¸Šä½éšŽå±¤ã®ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã‹ã‚‰ã‚³ãƒ”ーã•れã¾ã™ã€‚ +.TP 2 +o +メソッドã®@returnã€@paramã€@throwsã‚¿ã‚°ã®ãƒ†ã‚­ã‚¹ãƒˆå¼•数内。ã“ã®å ´åˆã€ã‚¿ã‚°ãƒ»ãƒ†ã‚­ã‚¹ãƒˆã¯ã€ä¸Šä½éšŽå±¤ã®å¯¾å¿œã™ã‚‹ã‚¿ã‚°ã‹ã‚‰ã‚³ãƒ”ーã•れã¾ã™ã€‚ +.RE +.LP +継承階層ã§ã‚³ãƒ¡ãƒ³ãƒˆã‚’見ã¤ã‘る方法ã«é–¢ã™ã‚‹æ­£ç¢ºãªèª¬æ˜Žã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®è‡ªå‹•コピーをå‚ç…§ã—ã¦ãã ã•ã„。ã“ã®ã‚¿ã‚°ãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã€ã‚³ãƒ¡ãƒ³ãƒˆã¯ã€ã“ã®é …ã§èª¬æ˜Žã™ã‚‹ãƒ«ãƒ¼ãƒ«ã«å¿œã˜ã¦ã€è‡ªå‹•çš„ã«ç¶™æ‰¿ã•れるã‹ã©ã†ã‹ãŒæ±ºã¾ã‚Šã¾ã™ã€‚ +.LP +.TP 3 +{@link\ package.class#member\ label} +表示テキスト\f2label\fPã¨ã¨ã‚‚ã«ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ãƒªãƒ³ã‚¯ã‚’挿入ã—ã¾ã™ã€‚labelã¯ã€å‚ç…§ã‚¯ãƒ©ã‚¹ã®æŒ‡å®šã•れãŸãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã¾ãŸã¯ãƒ¡ãƒ³ãƒãƒ¼ã®åå‰ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’指ã—示ã—ã¾ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€@returnã€@paramã€@deprecatedãªã©ã®ä»»æ„ã®ã‚¿ã‚°ã®ãƒ†ã‚­ã‚¹ãƒˆéƒ¨åˆ†ã‚’å«ã‚€ã€ã™ã¹ã¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã€ã¤ã¾ã‚Šæ¦‚è¦ã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ãŠã‚ˆã³ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã§æœ‰åйã§ã™ã€‚ +.LP +ã“ã®ã‚¿ã‚°ã¯\f2@see\fPã¨éžå¸¸ã«ã‚ˆãä¼¼ã¦ã„ã¾ã™ã€‚ã©ã¡ã‚‰ã‚‚ã€\f2package.class\fP\f2#\fP\f2member\fPã¨\f2label\fPã®å‚照方法ãŒåŒã˜ã§ã€æœ‰åŠ¹ãªæ§‹æ–‡ã‚‚ã¾ã£ãŸãåŒã˜ã§ã™ã€‚主ãªé•ã„ã¯ã€\f2{@link}\fPã§ã¯ã€ã€Œé–¢é€£é …ç›®ã€ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã«ãƒªãƒ³ã‚¯ãŒé…ç½®ã•れるã‹ã‚りã«ã€ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ãƒªãƒ³ã‚¯ãŒç”Ÿæˆã•れるã¨ã„ã†ç‚¹ã§ã™ã€‚ã¾ãŸã€ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ãƒ†ã‚­ã‚¹ãƒˆã®ä»–ã®éƒ¨åˆ†ã¨åŒºåˆ¥ã™ã‚‹ãŸã‚ã«ã€\f2{@link}\fPã‚¿ã‚°ã®æœ€åˆã¨æœ€å¾Œã«ä¸­æ‹¬å¼§ã‚’記述ã—ã¾ã™ã€‚ラベルã®ä¸­ã§ã€Œ}ã€ã‚’使用ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã¯ã€HTMLエンティティ表記法ã®ã€Œ}ã€ã‚’使用ã—ã¾ã™ã€‚ +.LP +1ã¤æ–‡ã®ä¸­ã§ä½¿ç”¨ã§ãã‚‹\f2{@link}\fPã‚¿ã‚°ã®æ•°ã«åˆ¶é™ã¯ã‚りã¾ã›ã‚“。ã“ã®ã‚¿ã‚°ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®ä¸»èª¬æ˜Žéƒ¨åˆ†ã€ã¾ãŸã¯@deprecatedã€@returnã€@paramãªã©ã®ä»»æ„ã®ã‚¿ã‚°ã®ãƒ†ã‚­ã‚¹ãƒˆéƒ¨åˆ†ã§ä½¿ç”¨ã§ãã¾ã™ã€‚ +.LP +ãŸã¨ãˆã°ã€æ¬¡ã®ã‚³ãƒ¡ãƒ³ãƒˆã§ã¯\f2getComponentAt(int,int)\fPメソッドをå‚ç…§ã—ã¦ã„ã¾ã™ã€‚ +.nf +\f3 +.fl +Use the {@link #getComponentAt(int, int) getComponentAt} method. +.fl + +.fl +\fP +.fi +.LP +標準ドックレットã§ã¯ã€ä¸Šã®ã‚³ãƒ¡ãƒ³ãƒˆã‹ã‚‰æ¬¡ã®HTMLãŒç”Ÿæˆã•れã¾ã™(ã“ã®ã‚³ãƒ¡ãƒ³ãƒˆãŒåŒã˜ãƒ‘ッケージã®åˆ¥ã®ã‚¯ãƒ©ã‚¹ã‚’å‚ç…§ã—ã¦ã„ã‚‹å ´åˆ)。 +.nf +\f3 +.fl +Use the <a href="Component.html#getComponentAt(int, int)">getComponentAt</a> method. +.fl + +.fl +\fP +.fi +.LP +ã“れã¯ã€Webページ上ã§ã¯æ¬¡ã®ã‚ˆã†ã«è¡¨ç¤ºã•れã¾ã™ã€‚ +.nf +\f3 +.fl +Use the getComponentAt method. +.fl + +.fl +\fP +.fi +.LP +\f2{@link}\fPã‚’æ‹¡å¼µã—ã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れãªã„クラスã«ãƒªãƒ³ã‚¯ã™ã‚‹ã«ã¯ã€\f2\-link\fPオプションを使用ã—ã¾ã™ã€‚ +.LP +詳細ã¯ã€ +.na +\f2{@link}ã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#{@link}ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.TP 3 +{@linkplain\ package.class#member\ label} +リンクã®ãƒ©ãƒ™ãƒ«ãŒã‚³ãƒ¼ãƒ‰ãƒ»ãƒ•ォントã§ã¯ãªãプレーン・テキストã§è¡¨ç¤ºã•れる点以外ã¯\f2{@link}\fPã¨åŒã˜ã§ã™ã€‚ラベルãŒãƒ—レーン・テキストã§è¨˜è¿°ã•れã¦ã„ã‚‹ã¨ä¾¿åˆ©ã§ã™ã€‚例: +.nf +\f3 +.fl + Refer to {@linkplain add() the overridden method}. +.fl + +.fl +\fP +.fi +.LP +ã“ã‚Œã¯æ¬¡ã®ã‚ˆã†ã«è¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +Refer to the overridden method. +.LP +.TP 3 +{@literal\ text} +テキストをHTMLマークアップã¾ãŸã¯ãƒã‚¹ãƒˆã•れãŸjavadocã‚¿ã‚°ã¨ã—ã¦è§£é‡ˆã›ãšã«ã€\f2text\fPを表示ã—ã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ã¯ã€ãƒ‘ラメータã®åž‹(\f2<Object>\fP)ã€ä¸ç­‰å·(\f23 < 4\fP)ã€çŸ¢å°(\f2<\-\fP)ãªã©ã§ã€é€šå¸¸ã®å±±æ‹¬å¼§(\f2<\fPãŠã‚ˆã³\f2>\fP)ã‚’HTMLエンティティ(\f2<\fPãŠã‚ˆã³\f2>\fP)ã®ã‹ã‚りã«ä½¿ç”¨ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆ +.nf +\f3 +.fl + \fP\f4{@literal A<B>C}\fP\f3 +.fl + +.fl +\fP +.fi +.LP +ã¯ã€ãƒ–ラウザã§ç”Ÿæˆã•れãŸHTMLãƒšãƒ¼ã‚¸ã«æ¬¡ã®ã‚ˆã†ã«ãã®ã¾ã¾è¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +\f2\ \ \ \ \ \fPA<B>C +.LP +ã“ã“ã§æ³¨ç›®ã«å€¤ã™ã‚‹ã®ã¯ã€\f2<B>\fPãŒå¤ªå­—ã¨ã—ã¦è§£é‡ˆã•れãšã€ãã®ãƒ•ォントã¯ã‚³ãƒ¼ãƒ‰ãƒ»ãƒ•ォントã«ãªã‚‰ãªã„ã€ã¨ã„ã†ç‚¹ã§ã™ã€‚ +.LP +コード・フォントã§åŒã˜æ©Ÿèƒ½ã‚’実ç¾ã™ã‚‹ã«ã¯ã€\f2{@code}\fPを使用ã—ã¾ã™ã€‚ +.LP +.TP 3 +@param\ parameter\-name description +「パラメータã€ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã«ã€æŒ‡å®šã•れãŸ\f2parameter\-name\fPã®å¾Œã«æŒ‡å®šã•れãŸ\f2description\fPã‚’ç¶šã‘ã¦ãƒ‘ラメータを追加ã—ã¾ã™ã€‚ドキュメンテーション・コメントを記述ã™ã‚‹ã¨ãã«ã¯ã€\f2description\fPを複数行ã«ã‚ãŸã£ã¦è¨˜è¿°ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ã¾ãŸã¯ã‚¯ãƒ©ã‚¹ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã§ã®ã¿æœ‰åйã§ã™ã€‚ +.LP +\f2parameter\-name\fPã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã¾ãŸã¯ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã§ã®ãƒ‘ラメータã®åå‰ã‹ã€ã‚¯ãƒ©ã‚¹ã€ãƒ¡ã‚½ãƒƒãƒ‰ã¾ãŸã¯ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã®åž‹ãƒ‘ラメータã®åå‰ã«ãªã‚Šã¾ã™ã€‚山括弧ã§ã“ã®ãƒ‘ラメータåを囲ã¿ã€åž‹ãƒ‘ラメータを使用ã™ã‚‹ã“ã¨ã‚’指定ã—ã¾ã™ã€‚ +.LP +クラスã®åž‹ãƒ‘ラメータã®ä¾‹: +.nf +\f3 +.fl + /** +.fl + * @param <E> Type of element stored in a list +.fl + */ +.fl + public interface List<E> extends Collection<E> { +.fl + } +.fl + +.fl +\fP +.fi +.LP +メソッドã®åž‹ãƒ‘ラメータã®ä¾‹: +.nf +\f3 +.fl + /** +.fl + * @param string the string to be converted +.fl + * @param type the type to convert the string to +.fl + * @param <T> the type of the element +.fl + * @param <V> the value of the element +.fl + */ +.fl + <T, V extends T> V convert(String string, Class<T> type) { +.fl + } +.fl + +.fl +\fP +.fi +.LP +詳細ã¯ã€ +.na +\f2@paramã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@paramã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.TP 3 +@return\ description +「戻り値ã€ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã‚’追加ã—ã¦ã€\f2description\fPã®ãƒ†ã‚­ã‚¹ãƒˆã‚’書ãè¾¼ã¿ã¾ã™ã€‚ã“ã®ãƒ†ã‚­ã‚¹ãƒˆã§ã¯ã€æˆ»ã‚Šå€¤ã®åž‹ã¨ã€å–り得る値ã®ç¯„囲ã«ã¤ã„ã¦è¨˜è¿°ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ã®ã¿æœ‰åйã§ã™ã€‚ +.LP +詳細ã¯ã€ +.na +\f2@returnã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@returnã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.TP 3 +@see\ reference +「関連項目ã€è¦‹å‡ºã—を追加ã—ã¦ã€\f2reference\fPを指ã™ãƒªãƒ³ã‚¯ã€ã¾ãŸã¯ãƒ†ã‚­ã‚¹ãƒˆãƒ»ã‚¨ãƒ³ãƒˆãƒªã‚’書ãè¾¼ã¿ã¾ã™ã€‚1ã¤ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã«ã¯ä»»æ„ã®æ•°ã®\f2@see\fPã‚¿ã‚°ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ãŒã€ãれらã¯ã™ã¹ã¦åŒã˜è¦‹å‡ºã—ã®ä¸‹ã«ã‚°ãƒ«ãƒ¼ãƒ—化ã•れã¾ã™ã€‚\f2@see\fPã‚¿ã‚°ã«ã¯ã€æ¬¡ã®3ã¤ã®ã‚¿ã‚¤ãƒ—ã®å½¢å¼ãŒã‚りã¾ã™ã€‚最もよã使用ã•れるã®ã¯ã€3番目ã®å½¢å¼ã§ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€ã™ã¹ã¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã€ã¤ã¾ã‚Šæ¦‚è¦ã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã¾ãŸã¯ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã§æœ‰åйã§ã™ã€‚パッケージã€ã‚¯ãƒ©ã‚¹ã€ã¾ãŸã¯ãƒ¡ãƒ³ãƒãƒ¼ã«å¯¾ã™ã‚‹ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ãƒªãƒ³ã‚¯ã‚’æ–‡ä¸­ã«æŒ¿å…¥ã™ã‚‹æ–¹æ³•ã¯ã€\f2{@link}\fPã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RS 3 +.TP 3 +@see "string" +\f2string\fPã®ãƒ†ã‚­ã‚¹ãƒˆãƒ»ã‚¨ãƒ³ãƒˆãƒªã‚’追加ã—ã¾ã™ã€‚リンクã¯ç”Ÿæˆã•れã¾ã›ã‚“。\f2string\fPã¯ã€æ›¸ç±ã¾ãŸã¯URLã§ã¯ã‚¢ã‚¯ã‚»ã‚¹ã§ããªã„情報ã®å‚ç…§å…ˆã§ã™ã€‚Javadocツールã¯ã€æœ€åˆã®æ–‡å­—ãŒäºŒé‡å¼•用符(\f2"\fP)ã‹ã©ã†ã‹ã‚’調ã¹ã¦ã€ã“ã®å½¢å¼ã‚’å‰è¿°ã®å½¢å¼ã¨åŒºåˆ¥ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + @see "The Java Programming Language" +.fl + +.fl +\fP +.fi +.LP +ã“ã‚Œã¯æ¬¡ã®ã‚ˆã†ãªãƒ†ã‚­ã‚¹ãƒˆã‚’生æˆã—ã¾ã™ã€‚ +.RE +.RE +.RS 3 +.RS 3 +.RS 3 +.RS 3 +.TP 3 +関連項目: +"The Java Programming Language" +.RE +.RE +.TP 3 +@see <a href="URL#value">label</a> +\f2URL\fP#\f2value\fPã§å®šç¾©ã•れãŸã¨ãŠã‚Šã«ãƒªãƒ³ã‚¯ã‚’追加ã—ã¾ã™ã€‚\f2URL\fP#\f2value\fPã¯ã€ç›¸å¯¾URLã¾ãŸã¯çµ¶å¯¾URLã§ã™ã€‚Javadocツールã¯ã€æœ€åˆã®æ–‡å­—ãŒã€Œã‚ˆã‚Šå°ã•ã„ã€è¨˜å·(\f2<\fP)ã‹ã©ã†ã‹ã‚’調ã¹ã¦ã€ã“ã®å½¢å¼ã‚’ä»–ã®å½¢å¼ã¨åŒºåˆ¥ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + @see <a href="spec.html#section">Java Spec</a> +.fl +\fP +.fi +ã“ã‚Œã¯æ¬¡ã®ã‚ˆã†ãªãƒªãƒ³ã‚¯ã‚’生æˆã—ã¾ã™ã€‚ +.RS 3 +.TP 3 +関連項目: +Java Spec +.RE +.TP 3 +@see\ package.class#member\ label +表示テキスト\f2label\fPã¨ã¨ã‚‚ã«ãƒªãƒ³ã‚¯ã‚’追加ã—ã¾ã™ã€‚ã“ã®ãƒªãƒ³ã‚¯ã¯ã€æŒ‡å®šã•れãŸåå‰ã‚’æŒã¤ã€å‚ç…§ã•れã¦ã„ã‚‹Java言語ã®ãƒ¡ãƒ³ãƒãƒ¼ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’指ã—ã¾ã™ã€‚\f2label\fPã¯çœç•¥å¯èƒ½ã§ã™ã€‚labelã‚’çœç•¥ã™ã‚‹ã¨ã€åå‰ãŒã‹ã‚りã«è¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã¨ã—ã¦é©åˆ‡ã«çŸ­ç¸®ã•れã¦è¡¨ç¤ºã•れã¾ã™ã€‚åå‰ãŒè¡¨ç¤ºã•れる方法をå‚ç…§ã—ã¦ãã ã•ã„。\-noqualifierを使用ã™ã‚‹ã¨ã€ã“ã®è¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã‹ã‚‰ãƒ‘ッケージåãŒå…¨ä½“çš„ã«å‰Šé™¤ã•れã¾ã™ã€‚ラベルã¯ã€è‡ªå‹•生æˆã•れる表示テキストã¨ã¯ç•°ãªã‚‹è¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã«ã™ã‚‹å ´åˆã«ä½¿ç”¨ã—ã¾ã™ã€‚ +.LP +ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.2ã®ã¿ã¯ã€ãƒ©ãƒ™ãƒ«ã§ã¯ãªãã€åå‰ãŒ<code> HTMLタグ内ã«è‡ªå‹•çš„ã«è¡¨ç¤ºã•れã¾ã™ã€‚1.2.2ã‹ã‚‰ã¯ã€ãƒ©ãƒ™ãƒ«ã‚’使用ã™ã‚‹ã‹ã—ãªã„ã‹ã«ã‹ã‹ã‚らãšã€<code>ã¯å¸¸ã«è¡¨ç¤ºãƒ†ã‚­ã‚¹ãƒˆã‚’囲むã‹ãŸã¡ã§ã€å«ã¾ã‚Œã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +\f4package.class\fP\f4#\fP\f4member\fPã«ã¯ã€å‚ç…§ã•れã¦ã„ã‚‹ä»»æ„ã®æœ‰åйãªãƒ—ログラムè¦ç´ ã®åå‰ã‚’指定ã—ã¾ã™ã€‚ã¤ã¾ã‚Šã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã¾ãŸã¯ãƒ•ィールドã®åå‰ã§ã™ã€‚ãŸã ã—ã€ãƒ¡ãƒ³ãƒãƒ¼åã®å‰ã®æ–‡å­—ã¯ã€ã‚·ãƒ£ãƒ¼ãƒ—記å·(\f2#\fP)ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f2class\fPã¯ã€ä»»æ„ã®ãƒˆãƒƒãƒ—レベルã¾ãŸã¯ãƒã‚¹ãƒˆã•れãŸã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースを表ã—ã¾ã™ã€‚\f2member\fPã¯ã€ä»»æ„ã®ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã¾ãŸã¯ãƒ•ィールドを表ã—ã¾ã™(ãƒã‚¹ãƒˆã•れãŸã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã§ã¯ã‚りã¾ã›ã‚“)。ã“ã®åå‰ãŒã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるクラスã«å«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€Javadocツールã¯ã€ãã®åå‰ã¸ã®ãƒªãƒ³ã‚¯ã‚’自動的ã«ä½œæˆã—ã¾ã™ã€‚外部å‚照クラスã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã™ã‚‹ã«ã¯ã€\f2\-link\fPオプションを使用ã—ã¾ã™ã€‚å‚照クラスã«å±žã—ã¦ã„ãªã„åå‰ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’å‚ç…§ã™ã‚‹ã«ã¯ã€ä»–ã®2ã¤ã®\f2@see\fPå½¢å¼ã®ã©ã¡ã‚‰ã‹ã‚’使用ã—ã¾ã™ã€‚ã“ã®å¼•æ•°ã«ã¤ã„ã¦ã¯ã€å¾Œè¿°ã®åå‰ã®æŒ‡å®šã§è©³ã—ã説明ã—ã¾ã™ã€‚ +.TP 2 +o +\f4label\fPã¯ã€çœç•¥å¯èƒ½ãªãƒ†ã‚­ã‚¹ãƒˆã§ã€ãƒªãƒ³ã‚¯ã®ãƒ©ãƒ™ãƒ«ã¨ã—ã¦è¡¨ç¤ºã•れã¾ã™ã€‚\f2label\fPã«ã¯ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚\f2label\fPã‚’çœç•¥ã™ã‚‹ã¨ã€\f2package.class.member\fPãŒã€ç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ãŠã‚ˆã³ãƒ‘ッケージã«å¿œã˜ã¦é©åˆ‡ã«çŸ­ç¸®ã•れã¦è¡¨ç¤ºã•れã¾ã™ã€‚åå‰ãŒè¡¨ç¤ºã•れる方法をå‚ç…§ã—ã¦ãã ã•ã„。 +.TP 2 +o +空白文字ãŒã€\f2package.class\fP\f2#\fP\f2member\fPã¨\f2label\fPã®é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—ã«ãªã‚Šã¾ã™ã€‚括弧ã®å†…å´ã®ç©ºç™½æ–‡å­—ã¯ãƒ©ãƒ™ãƒ«ã®å…ˆé ­ã¨ã¯è§£é‡ˆã•れãªã„ãŸã‚ã€ãƒ¡ã‚½ãƒƒãƒ‰ã®ãƒ‘ラメータ間ã«ç©ºç™½æ–‡å­—を入れã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。 +.RE +.LP +\f3例\fP \- ã“ã®ä¾‹ã§ã¯ã€\f2@see\fPã‚¿ã‚°(\f2Character\fPクラス内)ãŒã€\f2String\fPクラスã®\f2equals\fPメソッドをå‚ç…§ã—ã¦ã„ã¾ã™ã€‚ã‚¿ã‚°ã«ã¯ã€åå‰ã€Œ\f2String#equals(Object)\fPã€ã¨ãƒ©ãƒ™ãƒ«ã€Œ\f2equals\fPã€ã®ä¸¡æ–¹ã®å¼•æ•°ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.nf +\f3 +.fl + /** +.fl + * @see String#equals(Object) equals +.fl + */ +.fl +\fP +.fi +標準ドックレットã¯ã€æ¬¡ã®ã‚ˆã†ãªHTMLを生æˆã—ã¾ã™ã€‚ +.nf +\f3 +.fl +<dl> +.fl +<dt><b>See Also:</b> +.fl +<dd><a href="../../java/lang/String#equals(java.lang.Object)"><code>equals<code></a> +.fl +</dl> +.fl +\fP +.fi +ã“れã¯ã€ãƒ–ラウザã§ã¯æ¬¡ã®ã‚ˆã†ã«è¡¨ç¤ºã•れã€ãƒ©ãƒ™ãƒ«ãŒè¡¨ç¤ºãƒªãƒ³ã‚¯ãƒ»ãƒ†ã‚­ã‚¹ãƒˆã«ãªã‚Šã¾ã™ã€‚ +.RS 3 +.TP 3 +関連項目: +equals +.RE +.LP +\f3åå‰ã®æŒ‡å®š\fP \- ã“ã®\f2package.class\fP\f2#\fP\f2member\fPã¨ã„ã†åå‰ã¯ã€\f2java.lang.String#toUpperCase()\fPã®ã‚ˆã†ãªå®Œå…¨ä¿®é£¾åã«ã™ã‚‹ã“ã¨ã‚‚ã€\f2String#toUpperCase()\fPã‚„\f2#toUpperCase()\fPã®ã‚ˆã†ãªéžå®Œå…¨ä¿®é£¾åã«ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚åå‰ãŒå®Œå…¨ã«ã¯ä¿®é£¾ã•れã¦ã„ãªã„å ´åˆã€Javadocツールã¯ã€Javaコンパイラã®é€šå¸¸ã®æ¤œç´¢é †åºã§ãã®åå‰ã‚’検索ã—ã¾ã™ã€‚詳細ã¯ã€å¾Œè¿°ã®@seeã®æ¤œç´¢é †åºã‚’å‚ç…§ã—ã¦ãã ã•ã„。åå‰ã«ã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã®è¤‡æ•°ã®å¼•æ•°ã®é–“ãªã©ã€æ‹¬å¼§ã®å†…å´ã§ã‚れã°ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +「部分的ã«ä¿®é£¾ã€ã—ãŸçŸ­ã„åå‰ã‚’指定ã™ã‚‹ã“ã¨ã®åˆ©ç‚¹ã¯ã€å…¥åŠ›ã™ã‚‹æ–‡å­—æ•°ãŒæ¸›ã‚‹ã“ã¨ã‚„ã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ãŒèª­ã¿ã‚„ã™ããªã‚‹ã“ã¨ã§ã™ã€‚次ã®è¡¨ã«ã€æ§˜ã€…ãªå½¢å¼ã®åå‰ã‚’示ã—ã¾ã™ã€‚ã“ã“ã§ã€\f2Class\fPã«ã¯ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースをã€\f2Type\fPã«ã¯ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€é…列ã€ã¾ãŸã¯ãƒ—リミティブをã€\f2method\fPã«ã¯ãƒ¡ã‚½ãƒƒãƒ‰ã¾ãŸã¯ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã‚’ã€ãれãžã‚ŒæŒ‡å®šã§ãã¾ã™ã€‚ +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 +.nr 34 \n(.lu +.eo +.am 80 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/2u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f4@see\fP\f3\ \fP\f4package.class#member\fP\f3ã®ä¸€èˆ¬çš„ãªå½¢å¼\fP +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/2u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3ç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ã®ãƒ¡ãƒ³ãƒãƒ¼ã‚’å‚ç…§ã™ã‚‹\ \ \ \ \ \ \fP +.br +\f2@see\fP\ \f2#\fP\f2field\fP +.br +\f2@see\fP\ \f2#\fP\f2method(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2#\fP\f2constructor(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/2u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3ç¾åœ¨ã®ã€ã¾ãŸã¯ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸãƒ‘ッケージã®åˆ¥ã®ã‚¯ãƒ©ã‚¹ã‚’å‚ç…§ã™ã‚‹\ \ \ \ \ \ \ \ \fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2field\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2method(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2constructor(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2Class.NestedClass\fP +.br +\f2@see\fP\ \f2Class\fP +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/2u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3別ã®ãƒ‘ッケージã®è¦ç´ ã‚’å‚ç…§ã™ã‚‹\fP\ (完全修飾)\ \ \ \ .br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2field\fP +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2method(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2constructor(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2package.Class.NestedClass\fP +.br +\f2@see\fP\ \f2package.Class\fP +.br +\f2@see\fP\ \f2package\fP +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.80 +.rm 80 +.nr 38 \n(a- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(b- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(c- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(d- +.if \n(80<\n(38 .nr 80 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr TW \n(80 +.if t .if \n(TW>\n(.li .tm Table at line 1352 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-58 +.LP +上ã®è¡¨ã«å¯¾ã™ã‚‹è£œè¶³äº‹é …を次ã«ç¤ºã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +最åˆã®ã‚¿ã‚¤ãƒ—ã®å½¢å¼(パッケージã¨ã‚¯ãƒ©ã‚¹ã‚’çœç•¥)ã®å ´åˆã€Javadocツールã¯ã€ç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ã®éšŽå±¤ã®ã¿ã‚’検索ã—ã¾ã™ã€‚ã¤ã¾ã‚Šã€ç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ã‹ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ãã®ã‚¹ãƒ¼ãƒ‘ークラスã‹ã‚¹ãƒ¼ãƒ‘ーインタフェースã€ã¾ãŸã¯ãã®å¤–å´ã‚’囲んã§ã„るクラスã‹ã‚¤ãƒ³ã‚¿ãƒ•ェースã‹ã‚‰ãƒ¡ãƒ³ãƒãƒ¼ã‚’検索ã—ã¾ã™(検索手順1\-3)。ç¾åœ¨ã®ãƒ‘ッケージã®ä»–ã®éƒ¨åˆ†ã‚„ã€ä»–ã®ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯æ¤œç´¢ã—ã¾ã›ã‚“(検索手順4\-5)。 +.TP 2 +o +メソッドã¾ãŸã¯ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã®å…¥åŠ›æ™‚ã«ã€\f2getValue\fPã®ã‚ˆã†ã«æ‹¬å¼§ãªã—ã®åå‰ã‚’使用ã—ãŸå ´åˆã€åŒã˜åå‰ã®ãƒ•ィールドãŒå­˜åœ¨ã—ã¦ã„ãªã‘れã°ã€Javadocツールã¯ãã®åå‰ã¸ã®ãƒªãƒ³ã‚¯ã‚’æ­£ã—ã作æˆã—ã¾ã™ãŒã€æ‹¬å¼§ã¨å¼•æ•°ã®è¿½åŠ ã‚’ä¿ƒã™è­¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’出力ã—ã¾ã™ã€‚ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ãŒã‚ªãƒ¼ãƒãƒ¼ãƒ­ãƒ¼ãƒ‰ã•れã¦ã„ã‚‹å ´åˆã€Javadocツールã¯ã€æ¤œç´¢ã§æœ€åˆã«è¦‹ã¤ã‹ã£ãŸãƒ¡ã‚½ãƒƒãƒ‰ã«ãƒªãƒ³ã‚¯ã—ã¾ã™ã€‚çµæžœã¯å‰ã‚‚ã£ã¦ç‰¹å®šã§ãã¾ã›ã‚“。 +.TP 2 +o +ãƒã‚¹ãƒˆã•れãŸã‚¯ãƒ©ã‚¹ã¯ã€ã™ã¹ã¦ã®å½¢å¼ã«ã¤ã„ã¦ã€\f2outer\fP\f2.\fP\f2inner\fPã¨ã—ã¦æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚å˜ç´”ã«\f2inner\fPã¨ã¯ã—ãªã„ã§ãã ã•ã„。 +.TP 2 +o +ã™ã§ã«è¿°ã¹ãŸã‚ˆã†ã«ã€ã‚¯ãƒ©ã‚¹ã¨ãƒ¡ãƒ³ãƒãƒ¼ã¨ã®é–“ã®åŒºåˆ‡ã‚Šæ–‡å­—ã¨ã—ã¦ã¯ã€ãƒ‰ãƒƒãƒˆ(\f2.\fP)ã§ã¯ãªãシャープ文字(\f2#\fP)を使用ã—ã¾ã™ã€‚ã“ã®ã‚ˆã†ã«æŒ‡å®šã™ã‚‹ã¨ã€Javadocツールã¯ã€ã‚ã„ã¾ã„ã•を解決ã§ãã¾ã™ã€‚ドットã¯ã€ã‚¯ãƒ©ã‚¹ã€ãƒã‚¹ãƒˆã•れãŸã‚¯ãƒ©ã‚¹ã€ãƒ‘ッケージã€ãŠã‚ˆã³ã‚µãƒ–パッケージを区切るãŸã‚ã«ã‚‚使用ã•れるã‹ã‚‰ã§ã™ã€‚ãŸã ã—ã€Javadocツールã§ã¯ä¸€èˆ¬ã«è¨±å®¹ç¯„囲ãŒåºƒãã€ã‚ã„ã¾ã„ã•ãŒãªã‘れã°ãƒ‰ãƒƒãƒˆã¯æ­£ã—ãè§£æžã•れã¾ã™ã€‚ãã®å ´åˆã§ã‚‚ã€è­¦å‘Šã¯è¡¨ç¤ºã•れã¾ã™ã€‚ +.RE +.LP +\f3@seeã®æ¤œç´¢é †åº\fP \- Javadocツールã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル(.java)ã€ãƒ‘ッケージ・ファイル(package.htmlã¾ãŸã¯package\-info.java)ã¾ãŸã¯æ¦‚è¦ãƒ•ァイル(overview.html)ã«å«ã¾ã‚Œã‚‹\f2@see\fPタグを処ç†ã—ã¾ã™ã€‚後者ã®2ã¤ã®ãƒ•ァイルã§ã¯ã€å®Œå…¨ä¿®é£¾ã®åå‰ã‚’\f2@see\fPã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ソース・ファイルã§ã¯ã€å®Œå…¨ä¿®é£¾ã®åå‰ã€ã¾ãŸã¯éƒ¨åˆ†ä¿®é£¾ã®åå‰ã‚’指定ã§ãã¾ã™ã€‚ +.LP +Javadocツールã¯ã€å®Œå…¨ä¿®é£¾\f2ã§ãªã„\fPåå‰ãŒè¨˜è¿°ã•れãŸ\f2@see\fPã‚¿ã‚°ã‚’\f2.java\fPファイル内ã§è¦‹ã¤ã‘ã‚‹ã¨ã€Javaコンパイラã¨åŒã˜é †åºã§æŒ‡å®šã•れãŸåå‰ã‚’検索ã—ã¾ã™(ãŸã ã—ã€Javadocツールã¯ã€ç‰¹å®šã®åå‰ç©ºé–“ã®ã‚ã„ã¾ã„ã•を検出ã—ã¾ã›ã‚“。ã“れã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã«ã“れらã®ã‚¨ãƒ©ãƒ¼ãŒå­˜åœ¨ã—ã¦ã„ãªã„ã“ã¨ã‚’剿ã¨ã—ã¦ã„ã‚‹ãŸã‚ã§ã™)。ã“ã®æ¤œç´¢é †åºã¯ã€\f2Java言語仕様\fPã§æ­£å¼ã«å®šç¾©ã•れã¦ã„ã¾ã™ã€‚Javadocツールã¯ã€é–¢é€£ã™ã‚‹ã‚¯ãƒ©ã‚¹ã¨ãƒ‘ッケージã€ãŠã‚ˆã³ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れãŸã‚¯ãƒ©ã‚¹ã¨ãƒ‘ッケージã®ã™ã¹ã¦ã‹ã‚‰ãã®åå‰ã‚’検索ã—ã¾ã™ã€‚具体的ã«ã¯ã€æ¬¡ã®é †åºã§æ¤œç´¢ã—ã¾ã™ã€‚ +.RS 3 +.TP 3 +1. +ç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェース +.TP 3 +2. +外å´ã‚’囲んã§ã„るクラスã¨ã‚¤ãƒ³ã‚¿ãƒ•ェース(最も近ã„ã‚‚ã®ã‹ã‚‰æ¤œç´¢) +.TP 3 +3. +スーパークラスã¨ã‚¹ãƒ¼ãƒ‘ーインタフェース(最も近ã„ã‚‚ã®ã‹ã‚‰æ¤œç´¢) +.TP 3 +4. +ç¾åœ¨ã®ãƒ‘ッケージ +.TP 3 +5. +インãƒãƒ¼ãƒˆã•れã¦ã„るパッケージã€ã‚¯ãƒ©ã‚¹ã€ãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェース(importæ–‡ã®é †åºã«å¾“ã£ã¦æ¤œç´¢) +.RE +.LP +Javadocツールã¯ã€å„クラスã«ã¤ã„ã¦æ‰‹é †1\-3ã‚’å†å¸°çš„ã«é©ç”¨ã—ãªãŒã‚‰ã€ä¸€è‡´ã™ã‚‹åå‰ãŒè¦‹ã¤ã‹ã‚‹ã¾ã§æ¤œç´¢ã‚’ç¶šã‘ã¾ã™ã€‚ã¤ã¾ã‚Šã€ã¾ãšç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ã‚’検索ã—ã€æ¬¡ã«ãã®å¤–å´ã‚’囲んã§ã„るクラスEを検索ã—ãŸå¾Œã€Eã®ã‚¹ãƒ¼ãƒ‘ークラスを検索ã—ã¦ã‹ã‚‰ã€Eを囲んã§ã„るクラスを検索ã—ã¾ã™ã€‚ 手順4ã¨5ã§ã¯ã€1ã¤ã®ãƒ‘ッケージ内ã®ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースを検索ã™ã‚‹é †åºã¯æ±ºã¾ã£ã¦ã„ã¾ã›ã‚“(ãã®é †åºã¯ã€å€‹ã€…ã®ã‚³ãƒ³ãƒ‘イラã«ã‚ˆã£ã¦ç•°ãªã‚Šã¾ã™)。手順5ã§ã¯ã€Javadocツールã¯ã€java.langを検索ã—ã¾ã™ã€‚ã“ã®ãƒ‘ッケージã¯ã€ã™ã¹ã¦ã®ãƒ—ログラムã«è‡ªå‹•çš„ã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れるã‹ã‚‰ã§ã™ã€‚ +.LP +Javadocツールã¯ã€å¿…ãšã—もサブクラスを検索ã™ã‚‹ã¨ã¯é™ã‚Šã¾ã›ã‚“。ã¾ãŸã€Javadocã®å®Ÿè¡Œä¸­ã«ä»–ã®ãƒ‘ッケージã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れる場åˆã§ã‚‚ã€ä»–ã®ãƒ‘ッケージを検索ã—ã¾ã›ã‚“。ãŸã¨ãˆã°ã€\f2@see\fPã‚¿ã‚°ãŒ\f2java.awt.event.KeyEvent\fPクラス内ã«å«ã¾ã‚Œã¦ã„ã¦ã€\f2java.awt\fPパッケージ内ã®ã‚ã‚‹åå‰ã‚’å‚ç…§ã—ã¦ã„ã¦ã‚‚ã€ãã®ã‚¯ãƒ©ã‚¹ãŒã‚¤ãƒ³ãƒãƒ¼ãƒˆã—ãªã„ã‹ãŽã‚ŠJavadocã¯ãã®ãƒ‘ッケージを検索ã—ã¾ã›ã‚“。 +.LP +\f3åå‰ãŒè¡¨ç¤ºã•れる方法\fP \- \f2label\fPã‚’çœç•¥ã™ã‚‹ã¨ã€\f2package.class.member\fPãŒè¡¨ç¤ºã•れã¾ã™ã€‚一般ã«ã€ã“れã¯ç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ãŠã‚ˆã³ãƒ‘ッケージã«å¿œã˜ã¦é©åˆ‡ã«çŸ­ç¸®ã•れã¾ã™ã€‚「短縮ã•れるã€ã¨ã¯ã€å¿…è¦æœ€å°é™ã®åå‰ã®ã¿ãŒè¡¨ç¤ºã•れるã¨ã„ã†ã“ã¨ã§ã™ã€‚ãŸã¨ãˆã°ã€\f2String.toUpperCase()\fPメソッドã«ã€åŒã˜ã‚¯ãƒ©ã‚¹ã®ãƒ¡ãƒ³ãƒãƒ¼ã¸ã®å‚ç…§ã¨ä»–ã®ã‚¯ãƒ©ã‚¹ã®ãƒ¡ãƒ³ãƒãƒ¼ã¸ã®å‚ç…§ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ã‚¯ãƒ©ã‚¹åãŒè¡¨ç¤ºã•れるã®ã¯å¾Œè€…ã®ã‚±ãƒ¼ã‚¹ã®ã¿ã§ã™(次ã®è¡¨ã‚’å‚ç…§)。 +.LP +パッケージåを全体的ã«å‰Šé™¤ã™ã‚‹ã«ã¯ã€\-noqualifierを使用ã—ã¾ã™ã€‚ +.br +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 82 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f4String.toUpperCase()\fP\f3ã§ã®ä¾‹\fP +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f2@see\fPã‚¿ã‚°ãŒåŒã˜ã‚¯ãƒ©ã‚¹ã€åŒã˜ãƒ‘ッケージã®ãƒ¡ãƒ³ãƒãƒ¼ã‚’å‚ç…§ã—ã¦ã„ã‚‹ +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 82 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(82 .ll \n(82u +.in 0 +\f2toLowerCase()\fP(パッケージåã¨ã‚¯ãƒ©ã‚¹åã¯çœç•¥) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f2@see\fPã‚¿ã‚°ãŒç•°ãªã‚‹ã‚¯ãƒ©ã‚¹ã€åŒã˜ãƒ‘ッケージã®ãƒ¡ãƒ³ãƒãƒ¼ã‚’å‚ç…§ã—ã¦ã„ã‚‹ +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f2@see Character#toLowerCase(char)\fP +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 82 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(82 .ll \n(82u +.in 0 +\f2Character.toLowerCase(char)\fP(パッケージåã¯çœç•¥ã—ã€ã‚¯ãƒ©ã‚¹åã‚’å«ã‚€) +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f2@see\fPã‚¿ã‚°ãŒç•°ãªã‚‹ã‚¯ãƒ©ã‚¹ã€ç•°ãªã‚‹ãƒ‘ッケージã®ãƒ¡ãƒ³ãƒãƒ¼ã‚’å‚ç…§ã—ã¦ã„ã‚‹ +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f2@see java.io.File#exists()\fP +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 82 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(82 .ll \n(82u +.in 0 +\f2java.io.File.exists()\fP(パッケージåã¨ã‚¯ãƒ©ã‚¹åã‚’å«ã‚€) +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3å‚ç…§ã®ã‚¿ã‚¤ãƒ—\fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 38 \n(b- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(d- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(g- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.nr 38 \w\f2@see String#toLowerCase()\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 82 0 +.nr 38 \w\f3表示ã•れるåå‰\fP +.if \n(82<\n(38 .nr 82 \n(38 +.82 +.rm 82 +.nr 38 \n(c- +.if \n(82<\n(38 .nr 82 \n(38 +.nr 38 \n(f- +.if \n(82<\n(38 .nr 82 \n(38 +.nr 38 \n(i- +.if \n(82<\n(38 .nr 82 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr 42 \n(81+(3*\n(38) +.nr 82 +\n(42 +.nr TW \n(82 +.if t .if \n(TW>\n(.li .tm Table at line 1428 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3å‚ç…§ã®ã‚¿ã‚¤ãƒ—\fP\h'|\n(41u'\h'|\n(42u'\f3表示ã•れるåå‰\fP +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.ne \n(c|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u'\f2@see String#toLowerCase()\fP\h'|\n(42u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(42u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.ne \n(e|u+\n(.Vu +.ne \n(f|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(42u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.ne \n(h|u+\n(.Vu +.ne \n(i|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(42u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-28 +.LP +\f3@seeã®ä¾‹\fP +.br +å³å´ã®ã‚³ãƒ¡ãƒ³ãƒˆã¯ã€\f2@see\fPã‚¿ã‚°ãŒ\f2java.applet.Applet\fPãªã©ã®åˆ¥ã®ãƒ‘ッケージã®ã‚¯ãƒ©ã‚¹å†…ã«ã‚ã‚‹å ´åˆã«ã€åå‰ãŒã©ã®ã‚ˆã†ã«è¡¨ç¤ºã•れるã‹ã‚’示ã—ã¦ã„ã¾ã™ã€‚ +.nf +\f3 +.fl + See also: +.fl +@see java.lang.String // String \fP\f3 +.fl +@see java.lang.String The String class // The String class \fP\f3 +.fl +@see String // String \fP\f3 +.fl +@see String#equals(Object) // String.equals(Object) \fP\f3 +.fl +@see String#equals // String.equals(java.lang.Object) \fP\f3 +.fl +@see java.lang.Object#wait(long) // java.lang.Object.wait(long) \fP\f3 +.fl +@see Character#MAX_RADIX // Character.MAX_RADIX \fP\f3 +.fl +@see <a href="spec.html">Java Spec</a> // Java Spec \fP\f3 +.fl +@see "The Java Programming Language" // "The Java Programming Language" \fP\f3 +.fl +\fP +.fi +\f2@see\fPã‚’æ‹¡å¼µã—ã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れãªã„クラスã«ãƒªãƒ³ã‚¯ã™ã‚‹ã«ã¯ã€\f2\-link\fPオプションを使用ã—ã¾ã™ã€‚ +.LP +詳細ã¯ã€ +.na +\f2@seeã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@seeã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.RE +.LP +.RS 3 +.TP 3 +@serial\ field\-description | include | exclude +デフォルトã®ç›´åˆ—化å¯èƒ½ãƒ•ィールドã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ä½¿ç”¨ã—ã¾ã™ã€‚ +.LP +\f2field\-description\fP(çœç•¥å¯èƒ½)ã§ã¯ã€ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã®æ„味を説明ã—ã€å–り得る値ã®ãƒªã‚¹ãƒˆã‚’示ã™å¿…è¦ãŒã‚りã¾ã™ã€‚å¿…è¦ã«å¿œã˜ã¦ã€è¤‡æ•°ã®è¡Œã«æ¸¡ã£ã¦èª¬æ˜Žã‚’記述ã§ãã¾ã™ã€‚標準ドックレットã¯ã€ã“ã®æƒ…報をã€ç›´åˆ—化ã•れãŸå½¢å¼ãƒšãƒ¼ã‚¸ã«è¿½åŠ ã—ã¾ã™ã€‚ +.LP +クラスを直列化ã—ãŸå¾Œã—ã°ã‚‰ãã—ã¦ã‹ã‚‰ç›´åˆ—化å¯èƒ½ãƒ•ィールドをクラスã«è¿½åŠ ã—ãŸå ´åˆã€ä¸»èª¬æ˜Žã«ã€è¿½åŠ ã—ãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’識別ã™ã‚‹æ–‡ã‚’追加ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +\f2include\fPãŠã‚ˆã³\f2exclude\fP引数ã¯ã€ç›´åˆ—化ã•れãŸå½¢å¼ãƒšãƒ¼ã‚¸ã«ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ãƒ‘ッケージをå«ã‚ã‚‹ã‹é™¤å¤–ã™ã‚‹ã‹ã‚’示ã—ã¾ã™ã€‚次ã®ã‚ˆã†ã«æ©Ÿèƒ½ã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f2Serializable\fPを実装ã—ã¦ã„ã‚‹publicã¾ãŸã¯protectedクラスã¯ã€ãã®ã‚¯ãƒ©ã‚¹(ã¾ãŸã¯ãã®ã‚¯ãƒ©ã‚¹ãŒå±žã™ã‚‹ãƒ‘ッケージ)ãŒ\f2@serial exclude\fPã¨ãƒžãƒ¼ã‚¯ã•れã¦ã„ãªã„ã‹ãŽã‚Šã€\f2å«ã‚られã¾ã™\fP。 +.TP 2 +o +\f2Serializable\fPを実装ã—ã¦ã„ã‚‹privateã¾ãŸã¯package\-privateクラスã¯ã€ãã®ã‚¯ãƒ©ã‚¹(ã¾ãŸã¯ãã®ã‚¯ãƒ©ã‚¹ãŒå±žã™ã‚‹ãƒ‘ッケージ)ãŒ\f2@serial include\fPã¨ãƒžãƒ¼ã‚¯ã•れã¦ã„ãªã„ã‹ãŽã‚Šã€\f2除外ã•れã¾ã™\fP。 +.RE +.LP +例: \f2javax.swing\fPパッケージã¯(\f2package.html\fPã¾ãŸã¯\f2package\-info.java\fP内ã§)\f2@serial exclude\fPã¨ãƒžãƒ¼ã‚¯ã•れã¦ã„ã¾ã™ã€‚publicクラス\f2java.security.BasicPermission\fPã¯\f2@serial exclude\fPã¨ãƒžãƒ¼ã‚¯ã•れã¦ã„ã¾ã™ã€‚package\-privateクラス\f2java.util.PropertyPermissionCollection\fPã¯\f2@serial include\fPã¨ãƒžãƒ¼ã‚¯ã•れã¦ã„ã¾ã™ã€‚ +.LP +ã‚¯ãƒ©ã‚¹ãƒ»ãƒ¬ãƒ™ãƒ«ã§æŒ‡å®šã•れãŸ@serialã‚¿ã‚°ã¯ã€ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ»ãƒ¬ãƒ™ãƒ«ã§æŒ‡å®šã•れãŸ@serialタグをオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ +.LP +ã“れらã®ã‚¿ã‚°ã®ä½¿ç”¨æ–¹æ³•ã®è©³ç´°ã¨ä½¿ç”¨ä¾‹ã¯ã€\f2Javaオブジェクト直列化仕様\fPã®ç¬¬1.6é … +.na +\f2クラスã®ç›´åˆ—化å¯èƒ½ãªãƒ•ィールドãŠã‚ˆã³ãƒ‡ãƒ¼ã‚¿ã®æ–‡æ›¸åŒ–\fP @ +.fi +http://docs.oracle.com/javase/7/docs/platform/serialization/spec/serial\-arch.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。ã¾ãŸã€ +.na +\f2直列化ã®FAQ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/tech/serializationfaq\-jsp\-136699.html#javadoc_warn_missingã‚‚å‚ç…§ã—ã¦ãã ã•ã„。ã“ã®FAQã«ã¯ã€ã€Œ\-privateスイッãƒã‚’指定ã—ãªã„ã§javadocを実行ã—ã¦ã„ã‚‹ã®ã«privateフィールドã®@serialã‚¿ã‚°ãŒè¦‹ã¤ã‹ã‚‰ãªã„ã¨ã„ã†javadocã®è­¦å‘ŠãŒè¡¨ç¤ºã•れるã€ãªã©ã®ä¸€èˆ¬çš„ãªè³ªå•ã¸ã®å›žç­”ãŒè¨˜è¼‰ã•れã¦ã„ã¾ã™ã€‚直列化ã•れãŸå½¢å¼ã®ä»•様ã«ã‚¯ãƒ©ã‚¹ã‚’å«ã‚ã‚‹å ´åˆã«ã¯ã€ +.na +\f2Oracleã®åŸºæº–\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/serialized\-criteria\-137781.htmlã‚‚å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.TP 3 +@serialField\ field\-name\ field\-type\ field\-description +\f2Serializable\fPクラスã®\f2serialPersistentFields\fPメンãƒãƒ¼ã®\f2ObjectStreamField\fPコンãƒãƒ¼ãƒãƒ³ãƒˆã‚’ドキュメント化ã—ã¾ã™ã€‚å„\f2ObjectStreamField\fPコンãƒãƒ¼ãƒãƒ³ãƒˆã«å¯¾ã—ã¦1ã¤ã®\f2@serialField\fPタグを使用ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.TP 3 +@serialData\ data\-description +\f2data\-description\fPã¯ã€ç›´åˆ—化ã•れãŸå½¢å¼ã§ã®ãƒ‡ãƒ¼ã‚¿ã®åž‹ã¨é †åºã‚’説明ã™ã‚‹ãƒ†ã‚­ã‚¹ãƒˆã§ã™ã€‚具体的ã«è¨€ã†ã¨ã€ã“ã®ãƒ‡ãƒ¼ã‚¿ã«ã¯ã€\f2writeObject\fPメソッドã«ã‚ˆã£ã¦æ›¸ãè¾¼ã¾ã‚Œã‚‹çœç•¥å¯èƒ½ãªãƒ‡ãƒ¼ã‚¿ã€ãŠã‚ˆã³\f2Externalizable.writeExternal\fPメソッドã«ã‚ˆã£ã¦æ›¸ãè¾¼ã¾ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ‡ãƒ¼ã‚¿(ベース・クラスをå«ã‚€)ãŒå«ã¾ã‚Œã¾ã™ã€‚ +.LP +\f2@serialData\fPã‚¿ã‚°ã¯ã€\f2writeObject\fPã€\f2readObject\fPã€\f2writeExternal\fPã€\f2readExternal\fPã€\f2writeReplace\fPã€ãŠã‚ˆã³\f2readResolve\fPメソッドã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã§ä½¿ç”¨ã§ãã¾ã™ã€‚ +.LP +.TP 3 +@since\ since\-text +生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã€Œå°Žå…¥ã•れãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€è¦‹å‡ºã—を追加ã—ã¦ã€æŒ‡å®šã•れãŸ\f2since\-text\fPを書ãè¾¼ã¿ã¾ã™ã€‚ã“ã®ãƒ†ã‚­ã‚¹ãƒˆã«ã¯ã€ç‰¹åˆ¥ãªå†…部構造ã¯ã‚りã¾ã›ã‚“。ã“ã®ã‚¿ã‚°ã¯ã€ã™ã¹ã¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã€ã¤ã¾ã‚Šæ¦‚è¦ã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã¾ãŸã¯ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã§æœ‰åйã§ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€ç‰¹å®šã®å¤‰æ›´ã¾ãŸã¯æ©Ÿèƒ½ãŒã€\f2since\-text\fPã«ã‚ˆã£ã¦æŒ‡å®šã•れãŸã‚½ãƒ•トウェア・リリース以é™ã€å­˜åœ¨ã—ã¦ã„ã‚‹ã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + @since 1.5 +.fl + +.fl +\fP +.fi +.LP +Javaプラットフォームã®ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã®å ´åˆã€ã“ã®ã‚¿ã‚°ã¯ã€JavaプラットフォームAPI仕様ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’示ã—ã¾ã™(リファレンス実装ã«è¿½åŠ ã•ã‚ŒãŸæ™‚期を示ã™ã¨ã¯é™ã‚Šã¾ã›ã‚“)。複数ã®@sinceタグを使用ã§ãã€è¤‡æ•°ã®@authorã‚¿ã‚°ã®ã‚ˆã†ã«æ‰±ã‚れã¾ã™ã€‚プログラムè¦ç´ ãŒè¤‡æ•°ã®APIã§ä½¿ç”¨ã•れる場åˆã€è¤‡æ•°ã®ã‚¿ã‚°ã‚’使用ã§ãã¾ã™ã€‚ +.LP +.TP 3 +@throws\ class\-name\ description +\f2@throws\fPã‚¿ã‚°ã¨\f2@exception\fPã‚¿ã‚°ã¯åŒç¾©ã§ã™ã€‚生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã€Œã‚¹ãƒ­ãƒ¼ã€å°è¦‹å‡ºã—を追加ã—ã¦ã€\f2class\-name\fPãŠã‚ˆã³\f2description\fPã®ãƒ†ã‚­ã‚¹ãƒˆã‚’書ãè¾¼ã¿ã¾ã™ã€‚\f2class\-name\fPã¯ã€ãã®ãƒ¡ã‚½ãƒƒãƒ‰ã‹ã‚‰ã‚¹ãƒ­ãƒ¼ã•れるå¯èƒ½æ€§ã®ã‚る例外ã®åå‰ã§ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã§ã®ã¿æœ‰åйã§ã™ã€‚ã“ã®ã‚¯ãƒ©ã‚¹ãŒå®Œå…¨æŒ‡å®šã®åå‰ã§è¨˜è¿°ã•れã¦ã„ãªã„å ´åˆã€Javadocツールã¯ã€æ¤œç´¢é †åºã«å¾“ã£ã¦ã‚¯ãƒ©ã‚¹ã‚’探ã—ã¾ã™ã€‚åŒã˜ã¾ãŸã¯ç•°ãªã‚‹ä¾‹å¤–ã®ç‰¹å®šã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ã€è¤‡æ•°ã®\f2@throws\fPタグを使用ã§ãã¾ã™ã€‚ +.LP +ã™ã¹ã¦ã®ãƒã‚§ãƒƒã‚¯æ¸ˆã¿ä¾‹å¤–ãŒãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるよã†ã«ã™ã‚‹ãŸã‚ã«ã€\f2@throws\fPã‚¿ã‚°ãŒthrows節内ã®ä¾‹å¤–用ã«å­˜åœ¨ã—ãªã„å ´åˆã¯ã€@throwsã‚¿ã‚°ã§ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れãŸã‹ã®ã‚ˆã†ã«ã€Javadocツールã«ã‚ˆã£ã¦ä¾‹å¤–ãŒHTML出力ã«èª¬æ˜Žãªã—ã§è‡ªå‹•çš„ã«è¿½åŠ ã•れã¾ã™ã€‚ +.LP +オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã•れるメソッド内ã§ä¾‹å¤–ãŒæ˜Žç¤ºçš„ã«å®£è¨€ã•れã¦ã„ã‚‹å ´åˆã®ã¿ã€\f2@throws\fPã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒãã®ãƒ¡ã‚½ãƒƒãƒ‰ã‹ã‚‰ã‚µãƒ–クラスã«ã‚³ãƒ”ーã•れã¾ã™ã€‚インタフェース・メソッドã‹ã‚‰å®Ÿè£…メソッドã«ã‚³ãƒ”ーã•れる場åˆã‚‚åŒæ§˜ã§ã™ã€‚@throwsã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’継承ã•ã›ã‚‹ã«ã¯ã€{@inheritDoc}を使用ã§ãã¾ã™ã€‚ +.LP +詳細ã¯ã€ +.na +\f2@throwsã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@exceptionã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.TP 3 +{@value\ package.class#field} +\f2{@value}\fPãŒé™çš„フィールドã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§å¼•æ•°ãªã—ã§ä½¿ç”¨ã•れã¦ã„ã‚‹å ´åˆã€ãã®å®šæ•°ã®å€¤ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.nf +\f3 +.fl + /** +.fl + * The value of this constant is {@value}. +.fl + */ +.fl + public static final String SCRIPT_START = "<script>" +.fl + +.fl +\fP +.fi +.LP +ä»»æ„ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã§å¼•æ•°\f2package.class#field\fPã‚りã§ä½¿ç”¨ã•れãŸå ´åˆã¯ã€ãã®æŒ‡å®šã•れãŸå®šæ•°ã®å€¤ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.nf +\f3 +.fl + /** +.fl + * Evaluates the script starting with {@value #SCRIPT_START}. +.fl + */ +.fl + public String evalScript(String script) { +.fl + } +.fl + +.fl +\fP +.fi +.LP +引数\f2package.class#field\fPã¯ã€@see引数ã¨åŒä¸€ã®å½¢å¼ã«ãªã‚Šã¾ã™ã€‚ãŸã ã—ã€ãƒ¡ãƒ³ãƒãƒ¼ã¯é™çš„フィールドã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +ã“れらã®å®šæ•°ã§ã®å€¤ã¯ã€ +.na +\f2定数フィールド値\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/constant\-values.htmlページã«ã‚‚表示ã•れã¾ã™ã€‚ +.LP +.TP 3 +@version\ version\-text +\-versionオプションãŒä½¿ç”¨ã•れã¦ã„ã‚‹å ´åˆã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã€Œãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€å°è¦‹å‡ºã—を追加ã—ã¦ã€æŒ‡å®šã•れãŸ\f2version\-text\fPを書ãè¾¼ã¿ã¾ã™ã€‚ã“ã®ã‚¿ã‚°ã¯ã€ã“ã®ã‚³ãƒ¼ãƒ‰ãŒå«ã¾ã‚Œã‚‹ã‚½ãƒ•トウェアã®ç¾åœ¨ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’ä¿æŒã™ã‚‹ã‚ˆã†ã«æ„図ã•れã¦ã„ã¾ã™(ã“れã«å¯¾ã—ã€@sinceã¯ã€ã“ã®ã‚³ãƒ¼ãƒ‰ãŒå°Žå…¥ã•れãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’ä¿æŒã—ã¾ã™)。\f2version\-text\fPã«ã¯ã€ç‰¹åˆ¥ãªå†…部構造ã¯ã‚りã¾ã›ã‚“。ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãƒ»ã‚¿ã‚°ã‚’使用ã§ãる場所を調ã¹ã‚‹ã«ã¯ã€ã‚¿ã‚°ã‚’使用ã§ãる場所をå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +1ã¤ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã«è¤‡æ•°ã®\f2@version\fPã‚¿ã‚°ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚å¿…è¦ã«å¿œã˜ã¦ã€1ã¤ã®\f2@version\fPã‚¿ã‚°ã«1ã¤ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’指定ã™ã‚‹ã“ã¨ã‚‚ã€è¤‡æ•°ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’指定ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚å‰è€…ã®å ´åˆã¯ã€Javadocツールã«ã‚ˆã£ã¦åå‰ã¨åå‰ã®é–“ã«ã‚«ãƒ³ãƒž(\f2,\fP)ã¨ç©ºç™½æ–‡å­—ãŒæŒ¿å…¥ã•れã¾ã™ã€‚後者ã®å ´åˆã¯ã€ãƒ†ã‚­ã‚¹ãƒˆå…¨ä½“ãŒã€è§£æžã•れるã“ã¨ãªãã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ãã®ã¾ã¾ã‚³ãƒ”ーã•れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ã‚«ãƒ³ãƒžã§ã¯ãªãã€å„言語ã«å¯¾å¿œã—ãŸåå‰åŒºåˆ‡ã‚Šæ–‡å­—を使用ã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã¨ãã¯ã€1ã¤ã®ã‚¿ã‚°ã«è¤‡æ•°ã®åå‰ã‚’指定ã—ã¦ãã ã•ã„。 +.LP +詳細ã¯ã€ +.na +\f2@versionã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@versionã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.SS +タグを使用ã§ãる場所 +.LP +ã“ã“ã§ã¯ã€ã‚¿ã‚°ã‚’使用ã§ãる場所ã«ã¤ã„ã¦èª¬æ˜Žã—ã¾ã™ã€‚\f2@see\fPã€\f2@since\fPã€\f2@deprecated\fPã€\f2{@link}\fPã€\f2{@linkplain}\fPã€ãŠã‚ˆã³\f2{@docroot}\fPã¯ã€ã™ã¹ã¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ä½¿ç”¨ã§ãã¾ã™ã€‚ +.SS +概è¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚¿ã‚° +.LP +概è¦ã‚¿ã‚°ã¯ã€æ¦‚è¦ãƒšãƒ¼ã‚¸ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ä½¿ç”¨ã§ãã‚‹ã‚¿ã‚°ã§ã™(ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã¯ã€é€šå¸¸\f2overview.html\fPã¨ã„ã†åå‰ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル内ã«ã‚りã¾ã™)。他ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®å ´åˆã¨åŒæ§˜ã«ã€ã“れらã®ã‚¿ã‚°ã¯ã€ä¸»èª¬æ˜Žã®å¾Œã§ä½¿ç”¨ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +\f3注æ„\fP \- ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.2ã§ã¯ã€æ¦‚è¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆå†…ã®\f2{@link}\fPã‚¿ã‚°ã«ãƒã‚°ãŒã‚りã¾ã™ã€‚ãƒ†ã‚­ã‚¹ãƒˆã¯æ­£ã—ã表示ã•れã¾ã™ãŒã€ãƒªãƒ³ã‚¯ãŒè¨­å®šã•れã¾ã›ã‚“。ç¾åœ¨ã®ã¨ã“ã‚ã€\f2{@docRoot}\fPã‚¿ã‚°ã¯ã€æ¦‚è¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆå†…ã§ã¯æ©Ÿèƒ½ã—ã¾ã›ã‚“。 +.LP +\f3概è¦ã‚¿ã‚°\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@author\fP +.TP 2 +o +\f2@version\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@docRoot}\fP +.RE +.SS +パッケージ・ドキュメンテーション・タグ +.LP +パッケージ・タグã¯ã€ãƒ‘ッケージã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ä½¿ç”¨ã§ãã‚‹ã‚¿ã‚°ã§ã™(ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã¯\f2package.html\fPã¾ãŸã¯\f2package\-info.java\fPã¨ã„ã†åå‰ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル内ã«ã‚りã¾ã™)。ã“ã“ã§ä½¿ç”¨ã§ãã‚‹\f2@serial\fPã‚¿ã‚°ã¯ã€\f2include\fPã¾ãŸã¯\f2exclude\fP引数を指定ã—ãŸã‚‚ã®ã®ã¿ã§ã™ã€‚ +.LP +\f3パッケージ・タグ\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@serial\fP +.TP 2 +o +\f2@author\fP +.TP 2 +o +\f2@version\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@docRoot}\fP +.RE +.SS +クラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェース・ドキュメンテーション・タグ +.LP +次ã«ã€ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ä½¿ç”¨ã§ãるタグを示ã—ã¾ã™ã€‚ã“ã“ã§ä½¿ç”¨ã§ãã‚‹\f2@serial\fPã‚¿ã‚°ã¯ã€\f2include\fPã¾ãŸã¯\f2exclude\fP引数を指定ã—ãŸã‚‚ã®ã®ã¿ã§ã™ã€‚ +.LP +\f3クラスãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェース・タグ\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@deprecated\fP +.TP 2 +o +\f2@serial\fP +.TP 2 +o +\f2@author\fP +.TP 2 +o +\f2@version\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@docRoot}\fP +.RE +\f3クラス・コメントã®ä¾‹:\fP +.nf +\f3 +.fl +/** +.fl + * A class representing a window on the screen. +.fl + * For example: +.fl + * <pre> +.fl + * Window win = new Window(parent); +.fl + * win.show(); +.fl + * </pre> +.fl + * +.fl + * @author Sami Shaio +.fl + * @version 1.13, 06/08/06 +.fl + * @see java.awt.BaseWindow +.fl + * @see java.awt.Button +.fl + */ +.fl +class Window extends BaseWindow { +.fl + ... +.fl +} +.fl +\fP +.fi +.SS +フィールド・ドキュメンテーション・タグ +.LP +次ã«ã€ãƒ•ィールドã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ä½¿ç”¨ã§ãるタグを示ã—ã¾ã™ã€‚ +.LP +\f3フィールド・タグ\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@deprecated\fP +.TP 2 +o +\f2@serial\fP +.TP 2 +o +\f2@serialField\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@docRoot}\fP +.TP 2 +o +\f2{@value}\fP +.RE +\f3フィールド・コメントã®ä¾‹:\fP +.nf +\f3 +.fl + /** +.fl + * The X\-coordinate of the component. +.fl + * +.fl + * @see #getLocation() +.fl + */ +.fl + int x = 1263732; +.fl +\fP +.fi +.SS +コンストラクタãŠã‚ˆã³ãƒ¡ã‚½ãƒƒãƒ‰ãƒ»ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚¿ã‚° +.LP +次ã«ã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã¾ãŸã¯ãƒ¡ã‚½ãƒƒãƒ‰ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ä½¿ç”¨ã§ãるタグを示ã—ã¾ã™ã€‚ãŸã ã—ã€\f2@return\fPã¯ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã§ã¯ä½¿ç”¨ã§ããšã€\f2{@inheritDoc}\fPã«ã¯ç‰¹å®šã®åˆ¶é™ãŒã‚りã¾ã™ã€‚\f2@serialData\fPã‚¿ã‚°ã¯ç‰¹å®šã®ç›´åˆ—化メソッドã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã§ã®ã¿ä½¿ç”¨ã§ãã¾ã™ã€‚ +.LP +\f3メソッドãŠã‚ˆã³ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ãƒ»ã‚¿ã‚°\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@deprecated\fP +.TP 2 +o +\f2@param\fP +.TP 2 +o +\f2@return\fP +.TP 2 +o +\f2@throws\fPã¨\f2@exception\fP +.TP 2 +o +\f2@serialData\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@inheritDoc}\fP +.TP 2 +o +\f2{@docRoot}\fP +.RE +\f3メソッドã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®ä¾‹:\fP +.nf +\f3 +.fl + /** +.fl + * Returns the character at the specified index. An index +.fl + * ranges from <code>0</code> to <code>length() \- 1</code>. +.fl + * +.fl + * @param index the index of the desired character. +.fl + * @return the desired character. +.fl + * @exception StringIndexOutOfRangeException +.fl + * if the index is not in the range <code>0</code> +.fl + * to <code>length()\-1</code>. +.fl + * @see java.lang.Character#charValue() +.fl + */ +.fl + public char charAt(int index) { +.fl + ... +.fl + } +.fl +\fP +.fi +.SH "オプション" +.LP +Javadocツールã¯ã€ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã‚’使用ã—ã¦å‡ºåŠ›ã‚’æ±ºå®šã—ã¾ã™ã€‚Javadocツールã¯ã€\-docletオプションã§ã‚«ã‚¹ã‚¿ãƒ ãƒ»ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆä»¥å¤–ã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ¨™æº–ドックレットを使用ã—ã¾ã™ã€‚Javadocツールã«ã¯ã€ä»»æ„ã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã¨ã¨ã‚‚ã«ä½¿ç”¨ã§ãるコマンドライン・オプションãŒã‚りã¾ã™ã€‚ã“れらã®ã‚ªãƒ—ションã«ã¤ã„ã¦ã¯ã€å¾Œè¿°ã®Javadocオプションã§èª¬æ˜Žã—ã¾ã™ã€‚標準ドックレットã§ã¯ã€ã“ã®ä»–ã«ã€ã„ãã¤ã‹ã®è¿½åŠ ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæä¾›ã•れã¾ã™ã€‚ã“れらã®ã‚ªãƒ—ションã«ã¤ã„ã¦ã¯ã€å¾Œè¿°ã®æ¨™æº–ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆãŒæä¾›ã™ã‚‹ã‚ªãƒ—ションã§èª¬æ˜Žã—ã¾ã™ã€‚ã©ã®ã‚ªãƒ—ションåã‚‚ã€å¤§æ–‡å­—ã¨å°æ–‡å­—ãŒåŒºåˆ¥ã•れã¾ã›ã‚“。ãŸã ã—ã€ã‚ªãƒ—ションã®å¼•æ•°ã§ã¯ã€å¤§æ–‡å­—ã¨å°æ–‡å­—ãŒåŒºåˆ¥ã•れã¾ã™ã€‚ +.LP +ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 82 +.nr 34 \n(.lu +.eo +.am 80 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\-\f21.1\fP +.br +\-author +.br +\-\f2bootclasspath\fP +.br +\-bottom +.br +\-\f2breakiterator\fP +.br +\-charset +.br +\-\f2classpath\fP +.br +\-d +.br +\-docencoding +.br +\-docfilessubdirs +.br +\-\f2doclet\fP +.br +\-\f2docletpath\fP +.br +\-doctitle +.br +\-\f2encoding\fP +.br +\-\f2exclude\fP +.br +\-excludedocfilessubdir +.br +\-\f2extdirs\fP +.br +\-footer +.br +\-group +.br +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\-header +.br +\-\f2help\fP +.br +\-helpfile +.br +\-\f2J\fP +.br +\-keywords +.br +\-link +.br +\-linkoffline +.br +\-linksource +.br +\-\f2locale\fP +.br +\-nocomment +.br +\-nodeprecated +.br +\-nodeprecatedlist +.br +\-nohelp +.br +\-noindex +.br +\-nonavbar +.br +\-noqualifier +.br +\-nosince +.br +\-notimestamp +.br +\-notree +.br +\-\f2overview\fP +.br +\-\f2package\fP +.br +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 82 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(82 .ll \n(82u +.in 0 +\-\f2private\fP +.br +\-\f2protected\fP +.br +\-\f2public\fP +.br +\-\f2quiet\fP +.br +\-serialwarn +.br +\-\f2source\fP +.br +\-\f2sourcepath\fP +.br +\-sourcetab +.br +\-splitindex +.br +\-stylesheetfile +.br +\-\f2subpackages\fP +.br +\-tag +.br +\-taglet +.br +\-tagletpath +.br +\-top +.br +\-title +.br +\-use +.br +\-\f2verbose\fP +.br +\-version +.br +\-windowtitle +.br +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.80 +.rm 80 +.nr 38 \n(a- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.81 +.rm 81 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 82 0 +.82 +.rm 82 +.nr 38 \n(c- +.if \n(82<\n(38 .nr 82 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr 42 \n(81+(3*\n(38) +.nr 82 +\n(42 +.nr TW \n(82 +.if t .if \n(TW>\n(.li .tm Table at line 2003 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ne \n(a|u+\n(.Vu +.ne \n(b|u+\n(.Vu +.ne \n(c|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(42u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-127 +.LP +\f2イタリック\fPã§ç¤ºã•れãŸã‚ªãƒ—ションã¯ã€Javadocã®åŸºæœ¬ã‚ªãƒ—ションã§ã‚りã€Javadocツールã®ãƒ•ロントエンドã«ã‚ˆã£ã¦æä¾›ã•れã€ã™ã¹ã¦ã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã§ä½¿ç”¨ã§ãã¾ã™ã€‚標準ドックレット自体ã¯ã€ã‚¤ã‚¿ãƒªãƒƒã‚¯ã§ãªã„オプションをæä¾›ã—ã¾ã™ã€‚ +.SS +Javadocオプション +.RS 3 +.TP 3 +\-overview \ path/filename +Javadocã«å¯¾ã—ã¦ã€\f2path/filename\fPã§æŒ‡å®šã•れãŸã€Œã‚½ãƒ¼ã‚¹ã€ãƒ•ァイルã‹ã‚‰æ¦‚è¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆç”¨ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’å–å¾—ã—ã€ãã®ãƒ†ã‚­ã‚¹ãƒˆã‚’概è¦ãƒšãƒ¼ã‚¸(\f2overview\-summary.html\fP)ã«é…ç½®ã™ã‚‹ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚\f2path/filename\fPã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ã®ç›¸å¯¾ãƒ‘スã§ã™ã€‚ +.br +.br +\f2filename\fPã§ä»»æ„ã®åå‰ã‚’使用ã—ã€\f2path\fPã§ä»»æ„ã®é…置先を指定ã§ãã¾ã™ãŒã€é€šå¸¸ã¯\f2overview.html\fPã¨ã„ã†åå‰ã‚’付ã‘ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„ãƒªãƒ¼å†…ã®æœ€ä¸Šä½ãƒ‘ッケージ・ディレクトリをå«ã‚€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«é…ç½®ã—ã¾ã™ã€‚ã“ã®å ´æ‰€ã«é…ç½®ã™ã‚‹ã¨ã€ãƒ‘ッケージをドキュメント化ã™ã‚‹ã¨ãã«\f2path\fPを指定ã™ã‚‹å¿…è¦ãŒãªããªã‚Šã¾ã™ã€‚ã“れã¯ã€\f2\-sourcepath\fPã«ã‚ˆã£ã¦ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ãŒæŒ‡ã—示ã•れるã‹ã‚‰ã§ã™ã€‚ãŸã¨ãˆã°ã€\f2java.lang\fPパッケージã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リーãŒ\f2/src/classes/java/lang/\fPã®å ´åˆã€æ¦‚è¦ãƒ•ァイルを\f2/src/classes/overview.html\fPã«é…ç½®ã§ãã¾ã™ã€‚使用例をå‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +\f2path/filename\fPã§æŒ‡å®šã™ã‚‹ãƒ•ァイルã«ã¤ã„ã¦ã¯ã€æ¦‚è¦ã‚³ãƒ¡ãƒ³ãƒˆãƒ»ãƒ•ァイルをå‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +概è¦ãƒšãƒ¼ã‚¸ãŒä½œæˆã•れるã®ã¯ã€Javadocã«è¤‡æ•°ã®ãƒ‘ッケージåを渡ã—ãŸå ´åˆã®ã¿ã§ã™ã€‚詳細ã¯ã€HTMLフレームをå‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +概è¦ãƒšãƒ¼ã‚¸ã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ã€\f2\-doctitle\fPã«ã‚ˆã£ã¦è¨­å®šã•れã¾ã™ã€‚ +.TP 3 +\-public +publicクラスãŠã‚ˆã³ãƒ¡ãƒ³ãƒãƒ¼ã®ã¿ã‚’表示ã—ã¾ã™ã€‚ +.TP 3 +\-protected +protectedãŠã‚ˆã³publicã®ã‚¯ãƒ©ã‚¹ã¨ãƒ¡ãƒ³ãƒãƒ¼ã®ã¿ã‚’表示ã—ã¾ã™ã€‚ã“れãŒãƒ‡ãƒ•ォルトã§ã™ã€‚ +.TP 3 +\-package +packageã€protectedã€ãŠã‚ˆã³publicã®ã‚¯ãƒ©ã‚¹ã¨ãƒ¡ãƒ³ãƒãƒ¼ã®ã¿ã‚’表示ã—ã¾ã™ã€‚ +.TP 3 +\-private +ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ã¨ãƒ¡ãƒ³ãƒãƒ¼ã‚’表示ã—ã¾ã™ã€‚ +.TP 3 +\-help +オンライン・ヘルプを表示ã—ã¾ã™ã€‚Javadocã¨ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションãŒãƒªã‚¹ãƒˆã•れã¾ã™ã€‚ +.TP 3 +\-doclet\ class +ドキュメントã®ç”Ÿæˆã«ä½¿ç”¨ã™ã‚‹ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã‚’èµ·å‹•ã™ã‚‹ãŸã‚ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを指定ã—ã¾ã™ã€‚完全修飾åを指定ã—ã¦ãã ã•ã„。ã“ã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã«ã‚ˆã‚Šã€å‡ºåŠ›ã®å†…容ã¨å½¢å¼ãŒå®šç¾©ã•れã¾ã™ã€‚\f4\-doclet\fPオプションãŒä½¿ç”¨ã•れã¦ã„ãªã„å ´åˆã€Javadocã¯ã€æ¨™æº–ドックレットを使用ã—ã¦ãƒ‡ãƒ•ォルトã®HTMLå½¢å¼ã‚’生æˆã—ã¾ã™ã€‚ã“ã®ã‚¯ãƒ©ã‚¹ã«ã¯\f2start(Root)\fPメソッドãŒå«ã¾ã‚Œã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®èµ·å‹•クラスã¸ã®ãƒ‘スã¯\f2\-docletpath\fPオプションã«ã‚ˆã£ã¦å®šç¾©ã•れã¾ã™ã€‚ +.br +.br +詳細ã¯ã€ +.na +\f2ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã®æ¦‚è¦\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/doclet/overview.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-docletpath\ classpathlist +\f2\-doclet\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§æŒ‡å®šã•れãŸãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆé–‹å§‹ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã€ãŠã‚ˆã³ãã®ã‚¯ãƒ©ã‚¹ãŒä¾å­˜ã™ã‚‹ã™ã¹ã¦ã®JARファイルã¸ã®ãƒ‘スを指定ã—ã¾ã™ã€‚開始クラス・ファイルãŒjarファイル内ã«ã‚ã‚‹å ´åˆã€æ¬¡ã®ä¾‹ã®ã‚ˆã†ã«jarファイルã®ãƒ‘ã‚¹ãŒæŒ‡å®šã•れã¾ã™ã€‚絶対パスã¾ãŸã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ã®ç›¸å¯¾ãƒ‘スを指定ã§ãã¾ã™ã€‚\f2classpathlist\fPã«è¤‡æ•°ã®ãƒ‘スやJARファイルãŒå«ã¾ã‚Œã‚‹å ´åˆã«ã¯ã€ãれらをSolarisã®å ´åˆã¯ã‚³ãƒ­ãƒ³(:)ã§ã€Windowsã®å ´åˆã¯ã‚»ãƒŸã‚³ãƒ­ãƒ³(;)ã§ãれãžã‚ŒåŒºåˆ‡ã‚Šã¾ã™ã€‚目的ã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆé–‹å§‹ã‚¯ãƒ©ã‚¹ãŒã™ã§ã«æ¤œç´¢ãƒ‘ス内ã«ã‚ã‚‹å ´åˆã¯ã€ã“ã®ã‚ªãƒ—ションã¯ä¸è¦ã§ã™ã€‚ +.br +.br +詳細ã¯ã€ +.na +\f2ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã®æ¦‚è¦\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/doclet/overview.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-1.1 +\f2ã“ã®æ©Ÿèƒ½ã¯Javadoc 1.4ã‹ã‚‰å‰Šé™¤ã•れã¾ã—ãŸã€‚代替機能ã¯ã‚りã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションã¯ã€Javadoc 1.1ã«ã‚ˆã£ã¦ç”Ÿæˆã•れるã®ã¨åŒã˜å¤–è¦‹ã¨æ©Ÿèƒ½ã‚’æŒã¤ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’作æˆã™ã‚‹ãŸã‚ã®ã‚‚ã®ã§ã—ãŸ(ãƒã‚¹ãƒˆã•れãŸã‚¯ãƒ©ã‚¹ã¯ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã›ã‚“)。ã“ã®ã‚ªãƒ—ションãŒå¿…è¦ãªå ´åˆã¯ã€Javadoc 1.2ã¾ãŸã¯1.3ã‚’ã‹ã‚りã«ä½¿ç”¨ã—ã¦ãã ã•ã„。\fP +.TP 3 +\-source release +å—ã‘付ã‘るソース・コードã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’指定ã—ã¾ã™ã€‚\f2release\fPã«ã¯æ¬¡ã®å€¤ã‚’指定ã§ãã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f31.5\fP \- Javadocã¯ã€JDK 1.5ã§å°Žå…¥ã•れãŸç·ç§°ãŠã‚ˆã³ä»–ã®è¨€èªžæ©Ÿèƒ½ã‚’å«ã‚€ã‚³ãƒ¼ãƒ‰ã‚’å—ã‘付ã‘ã¾ã™ã€‚\f3\-source\fPフラグãŒä½¿ç”¨ã•れãªã‹ã£ãŸå ´åˆã®ã‚³ãƒ³ãƒ‘イラã®ãƒ‡ãƒ•ォルト動作ã¯ã€1.5ã®ã‚‚ã®ã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +\f31.4\fP \- Javadocã¯ã€JDK 1.4ã§å°Žå…¥ã•れãŸã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã‚’å«ã‚€ã‚³ãƒ¼ãƒ‰ã‚’å—ã‘付ã‘ã¾ã™ã€‚ +.TP 2 +o +\f31.3\fP \- Javadocã¯ã€JDK 1.3以é™ã«å°Žå…¥ã•れãŸã‚¢ã‚µãƒ¼ã‚·ãƒ§ãƒ³ã€ç·ç§°ã€ã¾ãŸã¯ä»–ã®è¨€èªžæ©Ÿèƒ½ã‚’サãƒãƒ¼ãƒˆã—ã¾ã›ã‚“。 +.RE +javacã§ã‚³ãƒ¼ãƒ‰ã‚’コンパイルã™ã‚‹ã¨ãã«ä½¿ç”¨ã—ãŸå€¤ã«å¯¾å¿œã™ã‚‹\f2release\fPã®å€¤ã‚’使用ã—ã¾ã™ã€‚ +.TP 3 +\-sourcepath\ sourcepathlist +パッケージåã¾ãŸã¯\f2\-subpackages\fPã‚’\f2javadoc\fPã‚³ãƒžãƒ³ãƒ‰ã«æ¸¡ã™ã¨ãã«ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル(.\f2.java\fP)を見ã¤ã‘ã‚‹ãŸã‚ã®æ¤œç´¢ãƒ‘スを指定ã—ã¾ã™ã€‚\f2sourcepathlist\fPã«ã¯ã€ã‚³ãƒ­ãƒ³(\f2:\fP)ã§åŒºåˆ‡ã£ã¦è¤‡æ•°ã®ãƒ‘スをå«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚Javadocツールã¯ã€æŒ‡å®šã•れãŸãƒ‘ス以下ã®ã™ã¹ã¦ã®ã‚µãƒ–ディレクトリを検索ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã—ã¦ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるソース・ファイルã®ä½ç½®ã®ã¿ã§ãªãã€ãれ自体ã¯ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れãªã„ãŒãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるソース・ファイルã‹ã‚‰ç¶™æ‰¿ã•れãŸã‚³ãƒ¡ãƒ³ãƒˆã‚’æŒã¤ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ä½ç½®ã‚‚確èªã§ãã¾ã™ã€‚ +.br +.br +\f2\-sourcepath\fPオプションを使用ã§ãã‚‹ã®ã¯ã€javadocコマンドã«ãƒ‘ッケージåを渡ã™å ´åˆã®ã¿ã§ã™ã€‚ã“ã®ãƒ‘スã‹ã‚‰ã¯ã€\f2javadoc\fPã‚³ãƒžãƒ³ãƒ‰ã«æ¸¡ã•れる\f2.java\fPãƒ•ã‚¡ã‚¤ãƒ«ã¯æ¤œç´¢ã•れã¾ã›ã‚“。(\f2.java\fPファイルを検索ã™ã‚‹ã«ã¯ã€ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«cdã«ã‚ˆã£ã¦ç§»å‹•ã™ã‚‹ã‹ã€ã¾ãŸã¯å„ファイルã®å…ˆé ­ã«ãƒ‘スをå«ã‚ã¾ã™(1ã¤ä»¥ä¸Šã®ã‚¯ãƒ©ã‚¹ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã‚’å‚ç…§)。)\f2\-sourcepath\fPãŒçœç•¥ã•れãŸå ´åˆã€Javadocã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スを使用ã—ã¦ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを検索ã—ã¾ã™(\-classpathã‚’å‚ç…§)。ã—ãŸãŒã£ã¦ã€ãƒ‡ãƒ•ォルトã®\-sourcepathã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スã®å€¤ã§ã™ã€‚\-classpathã‚’çœç•¥ã—ã¦ãƒ‘ッケージåã‚’Javadocã«æ¸¡ã™ã¨ã€Javadocã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(ãŠã‚ˆã³ãã®ã‚µãƒ–ディレクトリ)ã‹ã‚‰ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを検索ã—ã¾ã™ã€‚ +.br +.br +\f2sourcepathlist\fPã«ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã™ã‚‹ãƒ‘ッケージã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リーã®ãƒ«ãƒ¼ãƒˆãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’設定ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2com.mypackage\fPã¨ã„ã†åå‰ã®ãƒ‘ッケージをドキュメント化ã™ã‚‹å ´åˆã«ã€ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ¬¡ã®å ´æ‰€ã«ã‚ã‚‹ã¨ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + /home/user/src/com/mypackage/*.java +.fl +\fP +.fi +ã“ã®å ´åˆã€æ¬¡ã®ã‚ˆã†ã«ã—ã¦\f2sourcepath\fPã‚’ã€\f2com/mypackage\fPã‚’å«ã‚€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã§ã‚ã‚‹\f2/home/user/src\fPã«æŒ‡å®šã—ã¦ã‹ã‚‰ã€ãƒ‘ッケージå\f2com.mypackage\fPを指定ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-sourcepath /home/user/src/ com.mypackage\fP +.fl +.fi +ã“ã®æ–¹æ³•ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ‘スã®å€¤ã¨ãƒ‘ッケージåを連çµã—ã¦ã€ãƒ‰ãƒƒãƒˆã‚’スラッシュ「/ã€ã«å¤‰æ›´ã™ã‚‹ã¨ã€ãƒ‘ッケージã®ãƒ•ルパス\f2/home/user/src/com/mypackage\fPã«ãªã‚‹ã“ã¨ã«æ°—付ãã¨è¦šãˆã‚„ã™ã„ã§ã™ã€‚ +.br +.br +2ã¤ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ‘スを設定ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-sourcepath /home/user1/src:/home/user2/src com.mypackage\fP +.fl +.fi +.TP 3 +\-classpath\ classpathlist +JavadocãŒå‚照クラス(\f2.class\fPファイル)ã®æ¤œç´¢ã‚’行ã†ã¨ãã«ä½¿ç”¨ã™ã‚‹ãƒ‘スを指定ã—ã¾ã™ã€‚å‚照クラスã¨ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるクラスã¨ã€ãれらã®ã‚¯ãƒ©ã‚¹ã«ã‚ˆã£ã¦å‚ç…§ã•れるã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ã®ã“ã¨ã§ã™ã€‚\f2classpathlist\fPã«ã¯ã€ã‚³ãƒ­ãƒ³(\f2:\fP)ã§åŒºåˆ‡ã£ã¦è¤‡æ•°ã®ãƒ‘スをå«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚Javadocツールã¯ã€æŒ‡å®šã•れãŸãƒ‘ス以下ã®ã™ã¹ã¦ã®ã‚µãƒ–ディレクトリを検索ã—ã¾ã™ã€‚\f2classpathlist\fPを指定ã™ã‚‹ã¨ãã¯ã€ +.na +\f2クラス・パス\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#generalã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã‚る指示ã«å¾“ã£ã¦ãã ã•ã„。 +.br +.br +\f2\-sourcepath\fPãŒçœç•¥ã•れãŸå ´åˆã€Javadocツールã¯ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを検索ã™ã‚‹ã¨ãã®ã¿ã§ãªãã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを検索ã™ã‚‹ã¨ãã«ã‚‚\f2\-classpath\fPを使用ã—ã¾ã™(下ä½äº’æ›æ€§ã®ãŸã‚)。ã—ãŸãŒã£ã¦ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを別々ã®ãƒ‘スã‹ã‚‰æ¤œç´¢ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã¯ã€\f2\-sourcepath\fPã¨\f2\-classpath\fPã®ä¸¡æ–¹ã‚’使用ã—ã¾ã™ã€‚ +.br +.br +ãŸã¨ãˆã°ã€\f2com.mypackage\fPをドキュメント化ã™ã‚‹å ´åˆã«ã€ãã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª\f2/home/user/src/com/mypackage\fPã«ã‚りã€ã“ã®ãƒ‘ッケージãŒ\f2/home/user/lib\fP内ã®ãƒ©ã‚¤ãƒ–ラリã«ä¾å­˜ã—ã¦ã„ã‚‹ã¨ãã€æ¬¡ã®ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-classpath /home/user/lib \-sourcepath /home/user/src com.mypackage\fP +.fl +.fi +ä»–ã®ãƒ„ールã¨åŒæ§˜ã«ã€\f2\-classpath\fPãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€CLASSPATH環境変数ãŒè¨­å®šã•れã¦ã„れã°ã€Javadocツールã¯ãã®ç’°å¢ƒå¤‰æ•°ã‚’使用ã—ã¾ã™ã€‚ã©ã¡ã‚‰ã‚‚設定ã•れã¦ã„ãªã„å ´åˆã€Javadocツールã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ã‚¯ãƒ©ã‚¹ã‚’検索ã—ã¾ã™ã€‚ +.br +.br +JavadocツールãŒ\f2\-classpath\fPを使用ã—ã¦ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ã‚’検索ã™ã‚‹æ–¹æ³•ã«ã¤ã„ã¦ã®ã€æ‹¡å¼µæ©Ÿèƒ½ã‚¯ãƒ©ã‚¹ã‚„ブートストラップ・クラスã«é–¢é€£ã—ãŸè©³ç´°ã¯ã€ +.na +\f2ã‚¯ãƒ©ã‚¹ã®æ¤œç´¢æ–¹æ³•\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +便宜上ã€\f2*\fPã®ãƒ™ãƒ¼ã‚¹åã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スè¦ç´ ã¯ã€\f2.jar\fPã¾ãŸã¯\f2.JAR\fPã‚’æ‹¡å¼µå­ã«æŒã¤ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®ãƒ•ァイルã®ãƒªã‚¹ãƒˆã‚’指定ã™ã‚‹ã®ã¨åŒç­‰ã¨ã¿ãªã•れã¾ã™(Javaプログラムã¯ã“ã®2ã¤ã®å‘¼å‡ºã—を区別ã§ãã¾ã›ã‚“)。 +.br +.br +ãŸã¨ãˆã°ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª\f2foo\fPã«\f2a.jar\fPã¨\f2b.JAR\fPãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スè¦ç´ \f2foo/*\fPã¯\f2A.jar:b.JAR\fPã«å±•é–‹ã•れã¾ã™ã€‚ãŸã ã—ã€JARファイルã®é †ç•ªã¯æœªæŒ‡å®šã¨ãªã‚Šã¾ã™ã€‚ã“ã®ãƒªã‚¹ãƒˆã«ã¯ã€éš ã—ファイルもå«ã‚ã€æŒ‡å®šã•れãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®JARファイルãŒå«ã¾ã‚Œã¾ã™ã€‚\f2*\fPã®ã¿ã‹ã‚‰ãªã‚‹ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘ス・エントリã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®JARファイルã®ãƒªã‚¹ãƒˆã«å±•é–‹ã•れã¾ã™ã€‚\f2CLASSPATH\fP環境変数もã€å®šç¾©æ™‚ã«ã¯åŒæ§˜ã«å±•é–‹ã•れã¾ã™ã€‚クラス・パスã®ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰å±•é–‹ã¯å¿…ãšã€Java仮想マシンã®èµ·å‹•å‰ã«å®Ÿè¡Œã•れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ç’°å¢ƒã«å•åˆã›ã‚’行ã‚ãªã„é™ã‚Šã€JavaプログラムãŒå±•é–‹ã•れã¦ã„ãªã„ワイルドカードをèªè­˜ã™ã‚‹ã“ã¨ã¯ã‚りã¾ã›ã‚“。ãŸã¨ãˆã°ã€\f2System.getenv(\\"CLASSPATH\\")\fP呼出ã—ãŒãã®ä¾‹ã§ã™ã€‚ +.TP 3 +\-subpackages\ \ package1:package2:... +ソース・ファイルã‹ã‚‰æŒ‡å®šã•れãŸãƒ‘ッケージãŠã‚ˆã³ãã®ã‚µãƒ–パッケージ内ã«å†å¸°çš„ã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã«æ–°ã—ã„サブパッケージを追加ã™ã‚‹éš›ã«ä¾¿åˆ©ã§ã™ã€‚æ–°ã—ã„サブパッケージãŒè‡ªå‹•çš„ã«çµ„ã¿è¾¼ã¾ã‚Œã‚‹ã‹ã‚‰ã§ã™ã€‚å„\f2package\fP引数ã¯ã€ä»»æ„ã®æœ€ä¸Šä½ã‚µãƒ–パッケージ(\f2java\fPãªã©)ã¾ãŸã¯å®Œå…¨ä¿®é£¾ãƒ‘ッケージ(\f2javax.swing\fPãªã©)ã«ãªã‚Šã¾ã™ã€‚ソース・ファイルをå«ã‚ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。引数ã¯ã€ã‚³ãƒ­ãƒ³ã§åŒºåˆ‡ã‚‰ã‚Œã¾ã™(ã™ã¹ã¦ã®ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ )。ワイルドカードã¯ä¸è¦(使用ä¸å¯)ã§ã™ã€‚ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã®æ¤œç´¢å ´æ‰€ã‚’指定ã™ã‚‹ã«ã¯ã€\f2\-sourcepath\fPを使用ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®å‡¦ç†ã§èª¬æ˜Žã—ãŸã¨ãŠã‚Šã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リーã«ã‚ã‚‹ãŒãƒ‘ッケージã«ã¯å±žã—ã¦ã„ãªã„ソース・ファイルを処ç†ã—ãªã„ã®ã§å½¹ç«‹ã¡ã¾ã™ã€‚ +.br +.br +例を示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-d docs \-sourcepath /home/user/src \-subpackages java:javax.swing\fP +.fl +.fi +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ã€Œjavaã€ãŠã‚ˆã³ã€Œjavax.swingã€ã¨ã„ã†åå‰ã®ãƒ‘ッケージã¨ã“れらã®ã‚µãƒ–パッケージ全部ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã—ã¾ã™ã€‚ +.br +.br +\f2\-subpackages\fPã‚’\f2\-exclude\fPã¨çµ„ã¿åˆã›ã¦ä½¿ç”¨ã™ã‚‹ã¨ã€ç‰¹å®šã®ãƒ‘ッケージを除外ã§ãã¾ã™ã€‚ +.TP 3 +\-exclude\ \ packagename1:packagename2:... +指定ã•れãŸãƒ‘ッケージã¨ãã®ã‚µãƒ–パッケージを\f2\-subpackages\fPã«ã‚ˆã£ã¦ä½œæˆã•れãŸãƒªã‚¹ãƒˆã‹ã‚‰ç„¡æ¡ä»¶ã«é™¤å¤–ã—ã¾ã™ã€‚éŽåŽ»ã¾ãŸã¯å°†æ¥ã®\f2\-subpackages\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æŒ‡å®šã«ã‚ˆã£ã¦çµ„ã¿è¾¼ã¾ã‚Œã‚‹ãƒ‘ッケージも除外ã®å¯¾è±¡ã¨ãªã‚Šã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-sourcepath /home/user/src \-subpackages java \-exclude java.net:java.lang\fP +.fl +.fi +ã“ã®å ´åˆã€\f2java.io\fPã€\f2java.util\fPã€\f2java.math\fPãªã©ã¯çµ„ã¿è¾¼ã¾ã‚Œã¾ã™ãŒã€\f2java.net\fPã¨\f2java.lang\fPã‚’ãƒ«ãƒ¼ãƒˆã«æŒã¤ãƒ‘ッケージã¯é™¤å¤–ã•れã¾ã™ã€‚\f2java.lang\fPã®ã‚µãƒ–パッケージã§ã‚ã‚‹\f2java.lang.ref\fPãŒé™¤å¤–ã•ã‚Œã‚‹ç‚¹ã«æ³¨æ„ã—ã¦ãã ã•ã„。 +.TP 3 +\-bootclasspath\ classpathlist +ブート・クラスãŒå­˜åœ¨ã™ã‚‹ãƒ‘スを指定ã—ã¾ã™ã€‚ブート・クラスã¨ã¯ã€é€šå¸¸ã€Javaプラットフォーム・クラスã®ã“ã¨ã§ã™ã€‚ブート・クラスパスã¯ã€JavadocツールãŒã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを探ã™ã¨ãã«ä½¿ç”¨ã™ã‚‹æ¤œç´¢ãƒ‘スã®ä¸€éƒ¨ã§ã™ã€‚詳細ã¯ã€ +.na +\f2ã‚¯ãƒ©ã‚¹ã®æ¤œç´¢æ–¹æ³•\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html#srcfilesã‚’å‚ç…§ã—ã¦ãã ã•ã„。\f2classpathlist\fP内ã®è¤‡æ•°ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã€ã‚³ãƒ­ãƒ³(:)ã§åŒºåˆ‡ã‚Šã¾ã™ã€‚ +.TP 3 +\-extdirs\ dirlist +拡張機能クラスãŒå­˜åœ¨ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’指定ã—ã¾ã™ã€‚拡張機能クラスã¨ã¯ã€Java拡張機能機構を使用ã™ã‚‹ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ã§ã™ã€‚extdirsã¯ã€JavadocツールãŒã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを探ã™ã¨ãã«ä½¿ç”¨ã™ã‚‹æ¤œç´¢ãƒ‘スã®ä¸€éƒ¨ã§ã™ã€‚詳細ã¯ã€å‰è¿°ã®\f2\-classpath\fPã‚’å‚ç…§ã—ã¦ãã ã•ã„。\f2dirlist\fP内ã®è¤‡æ•°ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯ã€ã‚³ãƒ­ãƒ³(:)ã§åŒºåˆ‡ã‚Šã¾ã™ã€‚ +.TP 3 +\-verbose +Javadocã®å®Ÿè¡Œä¸­ã«è©³ç´°ãªãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’表示ã—ã¾ã™ã€‚verboseオプションを指定ã—ãªã„ã¨ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®ãƒ­ãƒ¼ãƒ‰æ™‚ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®ç”Ÿæˆæ™‚(ソース・ファイルã”ã¨ã«1ã¤ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸)ã€ãŠã‚ˆã³ã‚½ãƒ¼ãƒˆæ™‚ã«ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒè¡¨ç¤ºã•れã¾ã™ã€‚verboseオプションを指定ã™ã‚‹ã¨ã€å„Javaソース・ファイルã®è§£æžã«è¦ã—ãŸæ™‚é–“(ミリ秒å˜ä½)を示ã™è¿½åŠ ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.TP 3 +\-quiet +エラー・メッセージã¾ãŸã¯è­¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ä»¥å¤–ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’抑制ã—ã€è­¦å‘Šã¨ã‚¨ãƒ©ãƒ¼ã®ã¿ãŒè¡¨ç¤ºã•れるよã†ã«ã—ã¦ã€ã“れらを確èªã—ã‚„ã™ãã—ã¾ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³æ–‡å­—列も抑制ã—ã¾ã™ã€‚ +.TP 3 +\-breakiterator\ +è‹±æ–‡ã®æœ€åˆã®æ–‡ã®çµ‚ã‚りを判断ã™ã‚‹éš›ã«ã€è‹±èªžè¨€èªžã¨ã„ã†ãƒ­ã‚±ãƒ¼ãƒ«å›ºæœ‰ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã§ã¯ãªã〠+.na +\f2java.text.BreakIterator\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/text/BreakIterator.htmlã®å›½éš›åŒ–ã•ã‚ŒãŸæ–‡å¢ƒç•Œã‚’使用ã—ã¾ã™(ä»–ã®ã™ã¹ã¦ã®ãƒ­ã‚±ãƒ¼ãƒ«ã¯ã™ã§ã«\f2BreakIterator\fPを使用)。\f2最åˆã®æ–‡\fPã¨ã¯ã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã¾ãŸã¯ãƒ¡ãƒ³ãƒãƒ¼ã®ä¸»èª¬æ˜Žã§ã®æœ€åˆã®æ–‡ã®ã“ã¨ã§ã™ã€‚ã“ã®æ–‡ã¯ã€ãƒ‘ッケージã€ã‚¯ãƒ©ã‚¹ã€ã¾ãŸã¯ãƒ¡ãƒ³ãƒãƒ¼ã®è¦ç´„ã«ã‚³ãƒ”ーã•れã€ã‚¢ãƒ«ãƒ•ァベット順ã®ç´¢å¼•ã«ã‚³ãƒ”ーã•れã¾ã™ã€‚ +.br +.br +JDK 1.2以é™ã€BreakIteratorクラスã¯ã€è‹±èªžã‚’除ãã™ã¹ã¦ã®è¨€èªžã®æ–‡ã®çµ‚ã‚りを判断ã™ã‚‹ãŸã‚ã«ã€ã™ã§ã«ä½¿ç”¨ã•れã¦ã„ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f2\-breakiterator\fPオプションã¯ã€1.2以é™ã§ã¯è‹±æ–‡ä»¥å¤–ã«ã¯åŠ¹æžœãŒã‚りã¾ã›ã‚“。英文ã«ã¯ã€æ¬¡ã®ã‚ˆã†ãªç‹¬è‡ªã®ãƒ‡ãƒ•ォルトã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ãŒã‚りã¾ã™ã€‚ +.RS 3 +.TP 2 +o +英文ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ–‡åŒºåˆ‡ã‚Šã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ  \- 空白文字ã¾ãŸã¯HTMLブロック・タグ(\f2<P>\fPãªã©)ãŒç¶šãピリオドã§åœæ­¢ã—ã¾ã™ã€‚ +.TP 2 +o +breakiterator文区切りアルゴリズム \- 一般ã«ã€æ¬¡ã®èªžãŒå¤§æ–‡å­—ã§å§‹ã¾ã‚‹å ´åˆã€ç©ºç™½æ–‡å­—ãŒç¶šãピリオドã€ç–‘å•符ã€ã¾ãŸã¯æ„Ÿå˜†ç¬¦ã§åœæ­¢ã—ã¾ã™ã€‚ã“ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã§ã¯ã€ŒThe serial no. is validã€ãªã©ã€ã»ã¨ã‚“ã©ã®çœç•¥è¡¨è¨˜ãŒå‡¦ç†ã•れã¾ã™ãŒã€ã€ŒMr.Smithã€ã¯å‡¦ç†ã•れã¾ã›ã‚“。HTMLã‚¿ã‚°ã‚„ã€æ•°å­—ã¾ãŸã¯è¨˜å·ã§å§‹ã¾ã‚‹æ–‡ã§ã¯åœæ­¢ã—ã¾ã›ã‚“。HTMLã‚¿ã‚°ã«åŸ‹ã‚è¾¼ã¾ã‚Œã¦ã„ã‚‹å ´åˆã§ã‚‚ã€ã€Œ../filenameã€ã®æœ€å¾Œã®ãƒ”リオドã§åœæ­¢ã—ã¾ã™ã€‚ +.RE +注æ„: 1.5.0ã‹ã‚‰ã¯ã€1.4.xã«è¨­ã‘られã¦ã„ãŸbreakiterator警告メッセージを削除ã—ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ–‡åŒºåˆ‡ã‚Šã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’変更ã—ã¦ã„ã¾ã›ã‚“。ã¤ã¾ã‚Šã€\-breakiteratorオプションã¯ã€1.5.0ã§ã¯ãƒ‡ãƒ•ォルトã§ã¯ãªããªã‚Šã€ã¾ãŸãƒ‡ãƒ•ォルトã«ã™ã‚‹ã¤ã‚‚りもã‚りã¾ã›ã‚“。ã“れã¯ã€ã€Œæ¬¡ã®ãƒ¡ã‚¸ãƒ£ãƒ¼ãƒ»ãƒªãƒªãƒ¼ã‚¹ã€(1.5.0)ã§ãƒ‡ãƒ•ォルトを変更ã™ã‚‹ã¨ã„ã†ã€ä»¥å‰ã®ç›®çš„ã¨ã¯é€†ã«ãªã£ã¦ã„ã¾ã™ã€‚ã¤ã¾ã‚Šã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã‚’変更ã›ãšã€1.4.xã§ã®breakiterator警告を除去ã—ã¦ã„ãªã„å ´åˆã§ã‚‚ã€1.5.0ã‹ã‚‰ã¯ä½•ã‚‚ã™ã‚‹å¿…è¦ãŒãªãã€è­¦å‘Šã¯æ¶ˆæ»…ã—ã¦ã„ã¾ã™ã€‚ã“ã®é€†æˆ»ã‚Šã®ç†ç”±ã¯ã€breakiteratorをデフォルトã«ã™ã‚‹ãƒ¡ãƒªãƒƒãƒˆã‚ˆã‚Šã‚‚ã€ãƒ‡ãƒ•ォルトã«ã™ã‚‹ãŸã‚ã«å¿…è¦ã¨ãªã‚‹ã€äº’æ›æ€§ã®ãªã„ソースã®å¤‰æ›´ã®æ–¹ãŒè² æ‹…ãŒå¤§ãã‹ã£ãŸãŸã‚ã§ã™ã€‚ã“ã®ä»¶ã§çš†æ§˜ã«ä½™åˆ†ã®æ‰‹é–“ã‚’ãŠã‹ã‘ã—ã€æ··ä¹±ã‚’æ‹›ã„ãŸã“ã¨ã‚’ãŠè©«ã³ã„ãŸã—ã¾ã™ã€‚ +.TP 3 +\-locale\ language_country_variant +\f3é‡è¦\fP \- \f2\-locale\fPオプションã¯ã€æ¨™æº–ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆãŒæä¾›ã™ã‚‹ã™ã¹ã¦ã®ã‚ªãƒ—ションã€ã¾ãŸã¯ãã®ä»–ã®ä»»æ„ã®ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆãŒæä¾›ã™ã‚‹ã™ã¹ã¦ã®ã‚ªãƒ—ションより\f2å‰\fP(å·¦å´)ã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãã†ã—ãªã„ã¨ã€ãƒŠãƒ“ゲーション・ãƒãƒ¼ãŒè‹±èªžã§è¡¨ç¤ºã•れã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションã®ã¿ã€æŒ‡å®šã™ã‚‹é †åºã«ä¾å­˜ã—ã¾ã™ã€‚ +.br +.br +JavadocãŒãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã™ã‚‹ã¨ãã«ä½¿ç”¨ã™ã‚‹ãƒ­ã‚±ãƒ¼ãƒ«ã‚’指定ã—ã¾ã™ã€‚ã“ã®å¼•æ•°ã¯ã€java.util.Localeã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã§èª¬æ˜Žã•れã¦ã„るロケールã®åå‰ã§ã™ã€‚ãŸã¨ãˆã°ã€\f2en_US\fP (英語ã€ç±³å›½)ã¾ãŸã¯\f2en_US_WIN\fP (Windowsã§ä½¿ç”¨ã•れる英語)ãªã©ã§ã™ã€‚ +.br +.br +ロケールを指定ã™ã‚‹ã¨ã€æŒ‡å®šã—ãŸãƒ­ã‚±ãƒ¼ãƒ«ã®ãƒªã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒJavadocã«ã‚ˆã£ã¦é¸æŠžã•れã¦ã€ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸(ナビゲーション・ãƒãƒ¼ã€ãƒªã‚¹ãƒˆã¨è¡¨ã®è¦‹å‡ºã—ã€ãƒ˜ãƒ«ãƒ—・ファイルã®ç›®æ¬¡ã€stylesheet.cssã®ã‚³ãƒ¡ãƒ³ãƒˆãªã©ã®æ–‡å­—列)ã®ãŸã‚ã«ä½¿ç”¨ã•れã¾ã™ã€‚ã¾ãŸã€ã‚¢ãƒ«ãƒ•ァベット順ã«ã‚½ãƒ¼ãƒˆã•れるリストã®ã‚½ãƒ¼ãƒˆé †ã€ãŠã‚ˆã³æœ€åˆã®æ–‡ã®çµ‚ã‚りを判断ã™ã‚‹ãŸã‚ã®æ–‡ã®åŒºåˆ‡ã‚Šæ–‡å­—ã‚‚ã€æŒ‡å®šã—ãŸãƒ­ã‚±ãƒ¼ãƒ«ã«ã‚ˆã£ã¦æ±ºã¾ã‚Šã¾ã™ã€‚ãŸã ã—ã€ã“ã®ã‚ªãƒ—ションã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるクラスã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«å†…ã§æŒ‡å®šã•れã¦ã„るドキュメンテーション・コメントã®ãƒ†ã‚­ã‚¹ãƒˆã®ãƒ­ã‚±ãƒ¼ãƒ«ã‚’決定ã™ã‚‹ã‚‚ã®ã§ã¯ã‚りã¾ã›ã‚“。 +.TP 3 +\-encoding\ name +ソース・ファイルã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã®åå‰(\f2EUCJIS/SJIS\fPãªã©)を指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ãƒ—ラットフォームã®ãƒ‡ãƒ•ォルト・コンãƒãƒ¼ã‚¿ãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.br +.br +\-docencodingãŠã‚ˆã³\-charsetã‚‚å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-Jflag +Javadocを実行ã™ã‚‹å®Ÿè¡Œæ™‚システムjavaã«ã€\f2flag\fPを直接渡ã—ã¾ã™ã€‚\f2J\fPã¨\f2flag\fPã®é–“ã«ç©ºç™½æ–‡å­—を入れãªã„よã†ã«æ³¨æ„ã—ã¦ãã ã•ã„。ãŸã¨ãˆã°ã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’処ç†ã™ã‚‹ãŸã‚ã«ã‚·ã‚¹ãƒ†ãƒ ã§32MBã®ãƒ¡ãƒ¢ãƒªãƒ¼ã‚’確ä¿ã—ã¦ãŠãå¿…è¦ãŒã‚ã‚‹å ´åˆã¯ã€Javaã®\f2\-Xmx\fPオプションを次ã®ã‚ˆã†ã«å‘¼ã³å‡ºã—ã¾ã™(\f2\-Xms\fPã¯çœç•¥å¯èƒ½ã§ã™ã€‚ã“れã¯ã€åˆæœŸãƒ¡ãƒ¢ãƒªãƒ¼ã®ã‚µã‚¤ã‚ºã‚’設定ã™ã‚‹ã®ã¿ã®ã‚ªãƒ—ションã§ã€å¿…è¦ãªãƒ¡ãƒ¢ãƒªãƒ¼ã®æœ€å°é‡ãŒã‚ã‹ã£ã¦ã„ã‚‹å ´åˆã«ä¾¿åˆ©ã§ã™)。 +.nf +\f3 +.fl + % \fP\f3javadoc \-J\-Xmx32m \-J\-Xms32m\fP \f3com.mypackage\fP +.fl +.fi +使用ã—ã¦ã„ã‚‹Javadocã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’確èªã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«Javaã®ã€Œ\f2\-version\fPã€ã‚ªãƒ—ションを呼ã³å‡ºã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-J\-version\fP +.fl + java version "1.2" +.fl + Classic VM (build JDK\-1.2\-V, green threads, sunwjit) +.fl +.fi +(出力ストリームã«ã¯æ¨™æº–ドックレットã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒå«ã¾ã‚Œã¾ã™ã€‚) +.RE +.SS +æ¨™æº–ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆãŒæä¾›ã™ã‚‹ã‚ªãƒ—ション +.RS 3 +.TP 3 +\-d\ directory +生æˆã•れãŸHTMLファイルをä¿å­˜ã™ã‚‹ç”Ÿæˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’指定ã—ã¾ã™ã€‚(「dã€ã¯ã€Œç”Ÿæˆå…ˆ(destination)ã€ã®æ„味。)ã“ã®ã‚ªãƒ—ションをçœç•¥ã™ã‚‹ã¨ã€ãƒ•ァイルã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ä¿å­˜ã•れã¾ã™ã€‚値\f2directory\fPã«ã¯ã€çµ¶å¯¾ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€ã¾ãŸã¯ç¾åœ¨ã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ã®ç›¸å¯¾ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’指定ã§ãã¾ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³1.4ã§ã¯ã€Javadocを実行ã™ã‚‹ã¨ç”Ÿæˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãŒè‡ªå‹•çš„ã«ä½œæˆã•れã¾ã™ã€‚ +.br +.br +ãŸã¨ãˆã°ã€æ¬¡ã®ä¾‹ã§ã¯ã€\f2com.mypackage\fPパッケージã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れã€ãã®çµæžœãŒ\f2/home/user/doc/\fPディレクトリã«ä¿å­˜ã•れã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/user/doc com.mypackage\fP +.fl +.fi +.TP 3 +\-use +ドキュメント化ã•れるクラスãŠã‚ˆã³ãƒ‘ッケージã”ã¨ã«1ã¤ã®ä½¿ç”¨ãƒšãƒ¼ã‚¸ã‚’組ã¿è¾¼ã¿ã¾ã™ã€‚ã“ã®ãƒšãƒ¼ã‚¸ã«ã¯ã€ãã®ç‰¹å®šã®ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ãƒ‘ッケージã®APIを使用ã—ã¦ã„るパッケージã€ã‚¯ãƒ©ã‚¹ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãŠã‚ˆã³ãƒ•ィールドãŒè¨˜è¿°ã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€ã‚¯ãƒ©ã‚¹Cを例ã«ã¨ã‚‹ã¨ã€ã‚¯ãƒ©ã‚¹Cを使用ã—ã¦ã„ã‚‹ã‚‚ã®ã¨ã—ã¦ã¯ã€Cã®ã‚µãƒ–クラスã€Cã¨ã—ã¦å®£è¨€ã•れã¦ã„るフィールドã€Cã‚’è¿”ã™ãƒ¡ã‚½ãƒƒãƒ‰ã€ãŠã‚ˆã³åž‹Cã®ãƒ‘ラメータをæŒã¤ãƒ¡ã‚½ãƒƒãƒ‰ã¨ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ãŒã‚りã¾ã™ã€‚ +.br +.br +ãŸã¨ãˆã°ã€Stringã®ä½¿ç”¨ãƒšãƒ¼ã‚¸ã«ä½•ãŒè¡¨ç¤ºã•れるã‹ã‚’見ã¦ã¿ã¾ã—ょã†ã€‚\f2java.awt.Font\fPクラスã®\f2getName()\fPメソッドã¯ã€\f2String\fPåž‹ã®å€¤ã‚’è¿”ã—ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f2getName()\fPã¯\f2String\fPを使用ã—ã¦ã„ã‚‹ã®ã§ã€\f2String\fPã®ä½¿ç”¨ãƒšãƒ¼ã‚¸ã«ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.br +.br +ãŸã ã—ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れるã®ã¯APIã®ä½¿ç”¨ã®ã¿ã§ã€å®Ÿè£…ã¯ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れã¾ã›ã‚“。ã‚るメソッドãŒã€ãã®å®Ÿè£…ã®ä¸­ã§\f2String\fPを使用ã—ã¦ã„ã¦ã‚‚ã€å¼•æ•°ã¨ã—ã¦æ–‡å­—列をã¨ã£ãŸã‚Šã€æ–‡å­—列を返ã—ãŸã‚Šã—ãªã„å ´åˆã¯ã€\f2String\fPã®ã€Œä½¿ç”¨ã€ã¨ã¯ã¿ãªã•れã¾ã›ã‚“。 +.br +.br +生æˆã•れãŸä½¿ç”¨ãƒšãƒ¼ã‚¸ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã«ã¯ã€ã¾ãšç›®çš„ã®ã‚¯ãƒ©ã‚¹ã¾ãŸã¯ãƒ‘ッケージã«ç§»å‹•ã—ã€ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®ã€Œä½¿ç”¨ã€ãƒªãƒ³ã‚¯ã‚’クリックã—ã¾ã™ã€‚ +.TP 3 +\-version +生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã€@versionã®ãƒ†ã‚­ã‚¹ãƒˆã‚’組ã¿è¾¼ã¿ã¾ã™ã€‚ã“ã®ãƒ†ã‚­ã‚¹ãƒˆã¯ã€ãƒ‡ãƒ•ォルトã§ã¯çœç•¥ã•れã¾ã™ã€‚使用ã—ã¦ã„ã‚‹Javadocツールã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’確èªã™ã‚‹ã«ã¯\f2\-J\-version\fPオプションを使用ã—ã¾ã™ã€‚ +.TP 3 +\-author +生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã€@authorã®ãƒ†ã‚­ã‚¹ãƒˆã‚’組ã¿è¾¼ã¿ã¾ã™ã€‚ +.TP 3 +\-splitindex +索引ファイルをアルファベットã”ã¨ã«è¤‡æ•°ã®ãƒ•ァイルã«åˆ†å‰²ã—ã€æ–‡å­—ã”ã¨ã«1ã¤ã®ãƒ•ァイルã¨ã€ã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆä»¥å¤–ã®æ–‡å­—ã§å§‹ã¾ã‚‹ç´¢å¼•エントリ用ã«1ã¤ã®ãƒ•ァイルを作æˆã—ã¾ã™ã€‚ +.TP 3 +\-windowtitle\ title +HTMLã®<title>ã‚¿ã‚°ã«é…ç½®ã™ã‚‹ã‚¿ã‚¤ãƒˆãƒ«ã‚’指定ã—ã¾ã™ã€‚指定ã—ãŸã‚¿ã‚¤ãƒˆãƒ«ã¯ã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã‚„ã€ã“ã®ãƒšãƒ¼ã‚¸ã«å¯¾ã—ã¦ä½œæˆã•れãŸãƒ–ラウザã®ãƒ–ックマーク(ãŠæ°—ã«å…¥ã‚Š)ã«è¡¨ç¤ºã•れã¾ã™ã€‚ã“ã®ã‚¿ã‚¤ãƒˆãƒ«ã«ã¯HTMLã‚¿ã‚°ã‚’å«ã‚ãªã„ã§ãã ã•ã„。タイトルã«HTMLã‚¿ã‚°ãŒå«ã¾ã‚Œã¦ã„ã‚‹ã¨ã€ãƒ–ラウザãŒã‚¿ã‚°ã‚’æ­£ã—ã解釈ã§ãã¾ã›ã‚“。\f2title\fPã®ä¸­ã§å¼•用符を使用ã™ã‚‹å ´åˆã¯ã€å¼•用符をエスケープã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\-windowtitleãŒçœç•¥ã•れã¦ã„ã‚‹å ´åˆã€Javadocツールã¯ã€ã“ã®ã‚ªãƒ—ションã®ã‹ã‚りã«\-doctitleã®å€¤ã‚’使用ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-windowtitle "Java SE Platform" com.mypackage\fP +.fl +.fi +.TP 3 +\-doctitle\ title +概è¦ãƒ•ã‚¡ã‚¤ãƒ«ã®æœ€ä¸Šéƒ¨ã®è¿‘ãã«é…ç½®ã™ã‚‹ã‚¿ã‚¤ãƒˆãƒ«ã‚’指定ã—ã¾ã™ã€‚タイトルã¯ä¸­å¤®æƒãˆã«ãªã‚Šã€ãƒ¬ãƒ™ãƒ«1ã®è¦‹å‡ºã—ã¨ã—ã¦ã€ä¸Šéƒ¨ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®ã™ã下ã«ç½®ã‹ã‚Œã¾ã™ã€‚\f2title\fPã«ã¯ã€HTMLã‚¿ã‚°ã¨ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ãŒã€ã“れらをå«ã‚ã‚‹å ´åˆã¯ã€å…¨ä½“を引用符ã§å›²ã‚€å¿…è¦ãŒã‚りã¾ã™ã€‚\f2title\fPã®ä¸­ã§å¼•用符を使用ã™ã‚‹å ´åˆã¯ã€å¼•用符をエスケープã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-doctitle "Java(TM)" com.mypackage\fP +.fl +.fi +.TP 3 +\-title\ title +\f3ã“ã®ã‚ªãƒ—ションã¯ã€ç¾åœ¨ã¯å­˜åœ¨ã—ã¦ã„ã¾ã›ã‚“。\fPJavadoc 1.2ã®ãƒ™ãƒ¼ã‚¿ç‰ˆã«ã—ã‹å­˜åœ¨ã—ã¦ã„ã¾ã›ã‚“ã§ã—ãŸã€‚ã“ã®ã‚ªãƒ—ションã¯ã€\f2\-doctitle\fPã¨ã„ã†åå‰ã«å¤‰æ›´ã•れã¾ã—ãŸã€‚åå‰ã‚’変更ã—ãŸç†ç”±ã¯ã€ã“ã®ã‚ªãƒ—ションãŒã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã®ã‚¿ã‚¤ãƒˆãƒ«ã§ã¯ãªãドキュメントã®ã‚¿ã‚¤ãƒˆãƒ«ã‚’定義ã™ã‚‹ã“ã¨ã‚’明確ã«ã™ã‚‹ãŸã‚ã§ã™ã€‚ +.TP 3 +\-header\ header +å„å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æœ€ä¸Šéƒ¨ã«é…ç½®ã™ã‚‹ãƒ˜ãƒƒãƒ€ãƒ¼ãƒ»ãƒ†ã‚­ã‚¹ãƒˆã‚’指定ã—ã¾ã™ã€‚ヘッダーã¯ã€ä¸Šéƒ¨ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®å³å´ã«é…ç½®ã•れã¾ã™ã€‚\f2header\fPã«ã¯ã€HTMLã‚¿ã‚°ã¨ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ãŒã€ã“れらをå«ã‚ã‚‹å ´åˆã¯ã€å…¨ä½“を引用符ã§å›²ã‚€å¿…è¦ãŒã‚りã¾ã™ã€‚\f2header\fPã®ä¸­ã§å¼•用符を使用ã™ã‚‹å ´åˆã¯ã€å¼•用符をエスケープã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-header "<b>Java 2 Platform </b><br>v1.4" com.mypackage\fP +.fl +.fi +.TP 3 +\-footer\ footer +å„å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æœ€ä¸‹éƒ¨ã«é…ç½®ã™ã‚‹ãƒ•ッター・テキストを指定ã—ã¾ã™ã€‚フッターã¯ã€ä¸‹éƒ¨ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®å³å´ã«é…ç½®ã•れã¾ã™ã€‚\f2footer\fPã«ã¯ã€HTMLã‚¿ã‚°ã¨ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ãŒã€ã“れらをå«ã‚ã‚‹å ´åˆã¯ã€å…¨ä½“を引用符ã§å›²ã‚€å¿…è¦ãŒã‚りã¾ã™ã€‚\f2footer\fPã®ä¸­ã§å¼•用符を使用ã™ã‚‹å ´åˆã¯ã€å¼•用符をエスケープã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-top +å„å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æœ€ä¸Šéƒ¨ã«é…ç½®ã™ã‚‹ãƒ†ã‚­ã‚¹ãƒˆã‚’指定ã—ã¾ã™ã€‚ +.TP 3 +\-bottom\ text +å„å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æœ€ä¸‹éƒ¨ã«é…ç½®ã™ã‚‹ãƒ†ã‚­ã‚¹ãƒˆã‚’指定ã—ã¾ã™ã€‚ã“ã®ãƒ†ã‚­ã‚¹ãƒˆã¯ã€ä¸‹éƒ¨ãƒŠãƒ“ゲーション・ãƒãƒ¼ã‚ˆã‚Šä¸‹ã®ã€ãƒšãƒ¼ã‚¸ã®æœ€ä¸‹éƒ¨ã«é…ç½®ã•れã¾ã™ã€‚\f2text\fPã«ã¯ã€HTMLã‚¿ã‚°ã¨ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ãŒã€ã“れらをå«ã‚ã‚‹å ´åˆã¯ã€å…¨ä½“を引用符ã§å›²ã‚€å¿…è¦ãŒã‚りã¾ã™ã€‚\f2text\fPã®ä¸­ã§å¼•用符を使用ã™ã‚‹å ´åˆã¯ã€å¼•用符をエスケープã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-link\ extdocURL +既存ã®Javadocã«ã‚ˆã‚Šç”Ÿæˆã•れãŸå¤–部å‚照クラスã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã—ã¾ã™ã€‚引数を1ã¤ã¨ã‚Šã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f4extdocURL\fPã¯ã€ãƒªãƒ³ã‚¯å…ˆã¨ã—ã¦æŒ‡å®šã™ã‚‹ã€Javadocã«ã‚ˆã‚Šç”Ÿæˆã•れãŸå¤–部ドキュメントをå«ã‚€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®çµ¶å¯¾URLã¾ãŸã¯ç›¸å¯¾URLã§ã™ã€‚後ã§ä¾‹ã‚’示ã—ã¾ã™ã€‚ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã«package\-listファイルãŒå­˜åœ¨ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™(存在ã—ãªã„å ´åˆã¯ã€\f2\-linkoffline\fPを使用ã—ã¾ã™)。Javadocツールã¯ã€\f2package\-list\fPファイルã‹ã‚‰ãƒ‘ッケージåを読ã¿å–ã£ãŸå¾Œã€ãã®URLã§ã“れらã®ãƒ‘ッケージã«ãƒªãƒ³ã‚¯ã—ã¾ã™ã€‚Javadocツールã®å®Ÿè¡Œæ™‚ã«ã€\f2extdocURL\fPã®å€¤ãŒãã®ã¾ã¾ã€ä½œæˆã•れãŸ\f2<A HREF>\fPリンク内ã«ã‚³ãƒ”ーã•れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f2extdocURL\fPã¯ãƒ•ァイルã¸ã®URLã§ã¯ãªãã€\f2ディレクトリ\fPã¸ã®URLã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.br +.br +\f2extdocURL\fPã«çµ¶å¯¾ãƒªãƒ³ã‚¯ã‚’使用ã™ã‚‹ã¨ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’ä»»æ„ã®Webサイト上ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ãƒªãƒ³ã‚¯ã§ãã¾ã™ã€‚相対ä½ç½®ã¸ãƒªãƒ³ã‚¯ã™ã‚‹ã®ã¿ã®å ´åˆã¯ç›¸å¯¾ãƒªãƒ³ã‚¯ã‚’使用ã§ãã¾ã™ã€‚相対リンクã®å ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒæ¸¡ã™å€¤ã¯ã€ç”Ÿæˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(\f2\-d\fPã§æŒ‡å®š)ã‹ã‚‰ãƒªãƒ³ã‚¯å…ˆã¨ãªã‚‹ãƒ‘ッケージをå«ã‚€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¸ã®ç›¸å¯¾ãƒ‘スã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.br +.br +通常ã€çµ¶å¯¾ãƒªãƒ³ã‚¯ã‚’指定ã™ã‚‹å ´åˆã¯ã€\f2http:\fPリンクを使用ã—ã¾ã™ã€‚Webサーãƒãƒ¼ã‚’æŒãŸãªã„ファイル・システムã«ãƒªãƒ³ã‚¯ã™ã‚‹å ´åˆã¯ã€\f2file:\fPリンクを使用ã§ãã¾ã™ã€‚ãŸã ã—ã€ã“ã®æ–¹æ³•ã¯ã€åŒã˜ãƒ•ァイル・システムを共有ã™ã‚‹ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã™ã¹ã¦ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆä»¥å¤–ã¯ä½¿ç”¨ã—ãªã„ã§ãã ã•ã„。 +.br +.br +ã™ã¹ã¦ã®å ´åˆã€ã™ã¹ã¦ã®ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ã§ã€çµ¶å¯¾URLã¨ç›¸å¯¾URLã€ã€Œhttp:ã€ãƒ™ãƒ¼ã‚¹ã¨ã€Œfile:ã€ãƒ™ãƒ¼ã‚¹ã«ã‹ã‹ã‚らãšã€ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã‚’区切り文字ã¨ã—ã¦ä½¿ç”¨ã—ã¾ã™( +.na +\f2URLã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://www.ietf.org/rfc/rfc1738.txtã§æŒ‡å®š)。 +.RS 3 +.TP 3 +http: ベースã®çµ¶å¯¾ãƒªãƒ³ã‚¯: +\f2\-link http://<host>/<directory>/<directory>/.../<name>\fP +.TP 3 +file: ベースã®çµ¶å¯¾ãƒªãƒ³ã‚¯: +\f2\-link file://<host>/<directory>/<directory>/.../<name>\fP +.TP 3 +相対リンク: +\f2\-link <directory>/<directory>/.../<name>\fP +.RE +.RE +1回ã®Javadocã®å®Ÿè¡Œã§ã€è¤‡æ•°ã®\f2\-link\fPオプションを指定ã—ã¦è¤‡æ•°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã§ãã¾ã™ã€‚ +.br +.br +\f3\-linkofflineã¾ãŸã¯\-linkã®é¸æŠž\fP: +.br +.br +\f2\-link\fPを使用ã™ã‚‹å ´åˆ: +.RS 3 +.TP 2 +o +外部APIドキュメントã¸ã®ç›¸å¯¾ãƒ‘スを使用ã™ã‚‹å ´åˆ +.TP 2 +o +外部APIドキュメントã¸ã®çµ¶å¯¾URLを使用ã™ã‚‹å ´åˆ(プログラムãŒãã®URLã«æŽ¥ç¶šã—ã€èª­å–りを行ã†ã“ã¨ãŒã‚·ã‚§ãƒ«ã«ã‚ˆã£ã¦è¨±å¯ã•れã¦ã„ã‚‹å ´åˆ) +.RE +\f2\-linkoffline\fPを使用ã™ã‚‹å ´åˆ: +.RS 3 +.TP 2 +o +外部APIドキュメントã¸ã®çµ¶å¯¾URLを使用ã™ã‚‹å ´åˆ(プログラムãŒãã®URLã«æŽ¥ç¶šã—ã€èª­å–りを行ã†ã“ã¨ãŒã‚·ã‚§ãƒ«ã«ã‚ˆã£ã¦\f2許å¯ã•れã¦ã„ãªã„\fPå ´åˆ)ã“ã®ã‚ˆã†ãªçжæ³ã¯ã€ãƒ•ァイアウォールã®å†…å´ã‹ã‚‰ãƒ•ァイアウォールã®å¤–å´ã«ã‚るドキュメントã«ãƒªãƒ³ã‚¯ã—よã†ã¨ã™ã‚‹å ´åˆã«ç™ºç”Ÿã—ã¾ã™ã€‚ +.RE +.br +.br +\f3外部ドキュメントã¸ã®çµ¶å¯¾ãƒªãƒ³ã‚¯ã®ä½¿ç”¨ä¾‹\fP \- +.na +\f2http://docs.oracle.com/javase/7/docs/api/\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/内ã®\f2java.lang\fPã€\f2java.io\fPã€ãã®ä»–ã®Javaプラットフォーム・パッケージã«ãƒªãƒ³ã‚¯ã—ãŸã„ã¨ã—ã¾ã™ã€‚次ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€Java SEプラットフォーム・パッケージã¸ã®ãƒªãƒ³ã‚¯æŒã¤\f2com.mypackage\fPパッケージã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã—ã¾ã™ã€‚生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã¯ã€ãŸã¨ãˆã°ã‚¯ãƒ©ã‚¹ãƒ»ãƒ„リー内ã®\f2Object\fPクラスã¸ã®ãƒªãƒ³ã‚¯ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚(\f2\-sourcepath\fPã‚„\f2\-d\fPãªã©ã®ä»–ã®ã‚ªãƒ—ションã¯è¡¨ç¤ºã•れã¾ã›ã‚“。) +.nf +\f3 +.fl + % \fP\f3javadoc \-link http://docs.oracle.com/javase/7/docs/api/ com.mypackage\fP +.fl +.fi +\f3外部ドキュメントã¸ã®ç›¸å¯¾ãƒªãƒ³ã‚¯ã®ä½¿ç”¨ä¾‹\fP \- 2ã¤ã®ãƒ‘ッケージãŒã‚りã€ãã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒJavadocツールを複数回実行ã—ãŸçµæžœç”Ÿæˆã•れãŸã‚‚ã®ã§ã‚ã‚‹ã¨ã—ã¾ã™ã€‚ã•らã«ã€ã“れらã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç›¸å¯¾ãƒ‘スã§åˆ†å‰²ã•れã¦ã„ã‚‹ã¨ã—ã¾ã™ã€‚ã“ã®ä¾‹ã®å ´åˆã€ãƒ‘ッケージã¯ã€APIã§ã‚ã‚‹\f2com.apipackage\fPã¨ã€SPI(サービス・プロãƒã‚¤ãƒ€ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェース)ã§ã‚ã‚‹\f2com.spipackage\fPã§ã™ã€‚ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®æ ¼ç´å…ˆã¯ã€\f2docs/api/com/apipackage\fPã¨\f2docs/spi/com/spipackage\fPã§ã™ã€‚APIパッケージã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¯ã™ã§ã«ç”Ÿæˆã•れã¦ã„ã¦ã€\f2docs\fPãŒç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã§ã‚ã‚‹å ´åˆã€APIドキュメントã¸ã®ãƒªãƒ³ã‚¯ã‚’æŒã¤SPIパッケージをドキュメント化ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-d ./spi \-link ../api com.spipackage\fP +.fl +.fi +\f2\-link\fPã®å¼•æ•°ã¯ã€å®›å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(\f2docs/spi\fP)ã‹ã‚‰ã®ç›¸å¯¾ãƒ‘スã§ã™ã€‚ +.br +.br +\f3詳細\fP \- \f2\-link\fPオプションを使用ã™ã‚‹ã¨ã€ã‚³ãƒ¼ãƒ‰ã‹ã‚‰ã¯å‚ç…§ã•れã¦ã„ã¦ã‚‚ã€ä»Šå›žã®Javadocã®å®Ÿè¡Œã§ã¯ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–\f2ã•れãªã„\fPã¨ã„ã†ã‚¯ãƒ©ã‚¹ã«ãƒªãƒ³ã‚¯ã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚リンクã‹ã‚‰æœ‰åйãªãƒšãƒ¼ã‚¸ã«ç§»å‹•ã§ãるよã†ã«ã™ã‚‹ã«ã¯ã€ãれらã®HTMLページãŒã‚る場所を調ã¹ã€ãã®å ´æ‰€ã‚’\f2extdocURL\fPã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€ãŸã¨ãˆã°ã€ã‚µãƒ¼ãƒ‰ãƒ»ãƒ‘ーティã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‹ã‚‰\f2http://docs.oracle.com\fP上ã®\f2java.*\fPã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ãƒªãƒ³ã‚¯ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.br +.br +今回ã®å®Ÿè¡Œã§Javadocã«ã‚ˆã£ã¦ç”Ÿæˆã•れるドキュメント内ã®APIã®ã¿ã‚’対象ã«ãƒªãƒ³ã‚¯ã‚’作æˆã™ã‚‹å ´åˆã¯ã€\f2\-link\fPオプションをçœç•¥ã—ã¾ã™ã€‚(\f2\-link\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„ã¨ã€Javadocツールã¯ã€å¤–部å‚ç…§ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã—ã¾ã›ã‚“。ã“れã¯ã€ãã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒå­˜åœ¨ã™ã‚‹ã‹ã©ã†ã‹ã€ãŠã‚ˆã³å­˜åœ¨ã™ã‚‹å ´åˆã¯ãã®å ´æ‰€ãŒã‚ã‹ã‚‰ãªã„ã‹ã‚‰ã§ã™ã€‚) +.br +.br +ã“ã®ã‚ªãƒ—ションã§ã¯ã€ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆå†…ã®è¤‡æ•°ã®å ´æ‰€ã«ãƒªãƒ³ã‚¯ã‚’作æˆã§ãã¾ã™ã€‚ +.br +.br +ã‚‚ã†1ã¤ã®ç”¨é€”ã¯ã€ãƒ‘ッケージ・セットã®é–“ã«ã‚¯ãƒ­ã‚¹ãƒªãƒ³ã‚¯ã‚’作æˆã™ã‚‹ã“ã¨ã§ã™ã€‚一方ã®ãƒ‘ッケージ・セットã«å¯¾ã—ã¦Javadocを実行ã—ãŸå¾Œã€ä»–æ–¹ã®ãƒ‘ッケージ・セットã«å¯¾ã—ã¦Javadocã‚’å†åº¦å®Ÿè¡Œã™ã‚‹ã¨ã€ä¸¡ã‚»ãƒƒãƒˆé–“ã«åŒæ–¹å‘ã®ãƒªãƒ³ã‚¯ã‚’作æˆã§ãã¾ã™ã€‚ +.br +.br +\f3クラスã®å‚照方法\fP \- 外部å‚照クラスã¸ã®ãƒªãƒ³ã‚¯ã‚’ã€ãƒ†ã‚­ã‚¹ãƒˆãƒ»ãƒ©ãƒ™ãƒ«ã®ã¿ã§ã¯ãªã実際ã«è¡¨ç¤ºã™ã‚‹ã«ã¯ã€æ¬¡ã®æ–¹æ³•ã§ã‚¯ãƒ©ã‚¹ã‚’å‚ç…§ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãƒ¡ã‚½ãƒƒãƒ‰ã®æœ¬ä½“ã§ã‚¯ãƒ©ã‚¹ã‚’å‚ç…§ã™ã‚‹ã®ã¿ã§ã¯å分ã§ã¯ã‚りã¾ã›ã‚“。\f2import\fPæ–‡ã€å®£è¨€ã®ã„ãšã‚Œã‹ã§å‚ç…§ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚次ã«ã€ã‚¯ãƒ©ã‚¹\f2java.io.File\fPã‚’å‚ç…§ã™ã‚‹æ–¹æ³•ã®ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +ã™ã¹ã¦ã®ã‚¿ã‚¤ãƒ—ã®\f2import\fPæ–‡ã®å ´åˆ: ワイルドカードã«ã‚ˆã‚‹ã‚¤ãƒ³ãƒãƒ¼ãƒˆã€åå‰ã«ã‚ˆã‚‹æ˜Žç¤ºçš„ãªã‚¤ãƒ³ãƒãƒ¼ãƒˆã€ã¾ãŸã¯\f2java.lang.*\fPã«å¯¾ã™ã‚‹è‡ªå‹•インãƒãƒ¼ãƒˆã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ã™ã‚Œã°å分ã§ã™ã€‚ +.br +\f2import java.io.*;\fP +.br +1.3.xãŠã‚ˆã³1.2.xã§ã¯ã€åå‰ã«ã‚ˆã‚‹æ˜Žç¤ºçš„ãªã‚¤ãƒ³ãƒãƒ¼ãƒˆã®ã¿æ©Ÿèƒ½ã—ã¾ã™ã€‚ワイルドカードã«ã‚ˆã‚‹ã‚¤ãƒ³ãƒãƒ¼ãƒˆæ–‡ã‚‚ã€\f2java.lang.*\fPã®è‡ªå‹•インãƒãƒ¼ãƒˆã‚‚機能ã—ã¾ã›ã‚“。 +.TP 2 +o +宣言ã®å ´åˆ: +.br +\f2void foo(File f){}\fP +.br +ã“ã®å‚照を使用ã—ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ•ィールドã€ã‚¯ãƒ©ã‚¹ã€ã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ã‚§ãƒ¼ã‚¹ã®æˆ»ã‚Šå€¤ã®åž‹ã¾ãŸã¯ãƒ‘ラメータã®åž‹ã«ç½®ãã‹ã€\f2implements\fPã€\f2extends\fPã€ã¾ãŸã¯\f2throws\fPæ–‡ã«ç½®ãã¾ã™ã€‚ +.RE +é‡è¦ãªçµæžœã¨ã—ã¦ã€\f2\-link\fPオプションを使用ã—ã¦ã‚‚ã€ã“ã®åˆ¶é™ã®ãŸã‚ã«èª¤ã£ã¦è¡¨ç¤ºã•れãªã„リンクãŒå¤šæ•°ç™ºç”Ÿã™ã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚(テキストã¯ãƒã‚¤ãƒ‘ーテキスト・リンクãŒä»˜ã‘られãšã«è¡¨ç¤ºã•れã¾ã™ã€‚)リンクãŒè¡¨ç¤ºã™ã‚‹è­¦å‘Šã‹ã‚‰ã€ã“れらã®ãƒªãƒ³ã‚¯ã‚’èªè­˜ã§ãã¾ã™ã€‚クラスを正ã—ãå‚ç…§ã—ã€ãれã«ã‚ˆã£ã¦ãƒªãƒ³ã‚¯ã‚’追加ã™ã‚‹ãŸã‚ã®æœ€ã‚‚å®‰å…¨ãªæ–¹æ³•ã¯å‰è¿°ã—ãŸã¨ãŠã‚Šã€ãã®ã‚¯ãƒ©ã‚¹ã‚’インãƒãƒ¼ãƒˆã™ã‚‹ã“ã¨ã§ã™ã€‚ +.br +.br +\f3パッケージ・リスト\fP \- \f2\-link\fPオプションã«ã¯ã€Javadocツールã«ã‚ˆã£ã¦ç”Ÿæˆã•れる\f2package\-list\fPã¨ã„ã†åå‰ã®ãƒ•ァイルãŒã€\f2\-link\fPã«æŒ‡å®šã—ãŸURLã«å­˜åœ¨ã—ã¦ã„ã‚‹ã“ã¨ãŒå¿…è¦ã§ã™ã€‚\f2package\-list\fPファイルã¯ã€ãã®å ´æ‰€ã«ã‚るドキュメント化ã•れãŸãƒ‘ッケージã®åå‰ã®ãƒªã‚¹ãƒˆãŒå…¥ã£ãŸå˜ç´”ãªãƒ†ã‚­ã‚¹ãƒˆãƒ»ãƒ•ァイルã§ã™ã€‚å‰ã®ä¾‹ã§ã¯ã€Javadocツールã¯ã€æŒ‡å®šã•れãŸURLã§\f2package\-list\fPã¨ã„ã†åå‰ã®ãƒ•ァイルを探ã—ã€ãƒ‘ッケージåを読ã¿è¾¼ã‚“ã å¾Œã€ãã®URLã«ã‚ã‚‹ãれらã®ãƒ‘ッケージã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã—ã¾ã—ãŸã€‚ +.br +.br +ãŸã¨ãˆã°ã€Java SE 6 APIã®ãƒ‘ッケージ・リスト㯠+.na +\f2http://docs.oracle.com/javase/7/docs/api/package\-list\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/package\-listã«ã‚ã‚Šã€æ¬¡ã®ã‚ˆã†ãªå†…容ã§å§‹ã¾ã£ã¦ã„ã¾ã™ã€‚ +.nf +\f3 +.fl + java.applet +.fl + java.awt +.fl + java.awt.color +.fl + java.awt.datatransfer +.fl + java.awt.dnd +.fl + java.awt.event +.fl + java.awt.font +.fl + etc. +.fl +\fP +.fi +\f2\-link\fPオプションを指定ã›ãšã«Javadocを実行ã—ãŸå ´åˆã€Javadocã¯å¤–部å‚照クラスã«å±žã™ã‚‹åå‰ã‚’見ã¤ã‘ã‚‹ã¨ã€ãã®åå‰ã‚’リンクãªã—ã§å‡ºåŠ›ã—ã¾ã™ã€‚一方ã€\f2\-link\fPオプションを指定ã—ãŸå ´åˆã€Javadocツールã¯ã€æŒ‡å®šã•れãŸ\f2extdocURL\fPã®å ´æ‰€ã«ã‚ã‚‹\f2package\-list\fPファイルã§ãã®ãƒ‘ッケージåを検索ã—ã¾ã™ã€‚パッケージåãŒè¦‹ã¤ã‹ã‚‹ã¨ã€\f2extdocURL\fPãŒåå‰ã®å‰ã«ä»˜åŠ ã•れã¾ã™ã€‚ +.br +.br +ã™ã¹ã¦ã®ãƒªãƒ³ã‚¯ãŒæ­£ã—ãæ©Ÿèƒ½ã™ã‚‹ãŸã‚ã«ã¯ã€å¤–部å‚ç…§ã®ã™ã¹ã¦ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒã€æŒ‡å®šã—ãŸURLã«å­˜åœ¨ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚Javadocツールã¯ã€æŒ‡å®šã•れãŸpackage\-listãŒå­˜åœ¨ã™ã‚‹ã‹ã©ã†ã‹ã®ã¿ã‚’ãƒã‚§ãƒƒã‚¯ã—ã€ã“れらã®ãƒšãƒ¼ã‚¸ãŒå­˜åœ¨ã™ã‚‹ã‹ã©ã†ã‹ã¯ãƒã‚§ãƒƒã‚¯ã—ã¾ã›ã‚“。 +.br +.br +\f3複数ã®ãƒªãƒ³ã‚¯\fP \- 複数ã®\f2\-link\fPオプションを指定ã™ã‚‹ã¨ã€ä»»æ„ã®æ•°ã®å¤–部生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã§ãã¾ã™ã€‚\ Javadoc 1.2ã«ã¯ã€è¤‡æ•°ã®\f2\-link\fPコマンドを指定ã§ããªã„ã¨ã„ã†æ—¢çŸ¥ã®ãƒã‚°ãŒã‚りã¾ã™ã€‚ã“れã¯1.2.2ã§ä¿®æ­£ã•れã¾ã—ãŸã€‚ +.br +.br +リンクã™ã‚‹å¤–部ドキュメントã”ã¨ã«ã€æ¬¡ã®ã‚ˆã†ã«åˆ¥ã€…ã®ãƒªãƒ³ã‚¯ãƒ»ã‚ªãƒ—ションを指定ã—ã¾ã™ã€‚ +.br +.br +\ \ \f2% \fP\f4javadoc \-link\fP \f2extdocURL1\fP \f4\-link\fP \f2extdocURL2\fP \f2... \fP\f4\-link\fP \f2extdocURLn\fP \f4com.mypackage\fP +.br +.br +\f2extdocURL1\fPã€\ \f2extdocURL2\fPã€\ ... \f2extdocURLn\fPã¯ã€ãれãžã‚Œå¤–部ドキュメントã®ãƒ«ãƒ¼ãƒˆã‚’指ã—ã€å„ルートã«ã¯ã€\f2package\-list\fPã¨ã„ã†åå‰ã®ãƒ•ァイルãŒå…¥ã£ã¦ã„ã¾ã™ã€‚ +.br +.br +\f3クロスリンク\fP \- ã¾ã ç”Ÿæˆã•れã¦ã„ãªã„2ã¤ä»¥ä¸Šã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’クロスリンクã™ã‚‹å ´åˆã¯ã€ã€Œãƒ–ートストラップã€ãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚ã¤ã¾ã‚Šã€ã©ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã¤ã„ã¦ã‚‚\f2package\-list\fPãŒå­˜åœ¨ã—ã¦ã„ãªã„å ´åˆã¯ã€æœ€åˆã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«å¯¾ã—ã¦Javadocツールを実行ã™ã‚‹æ™‚点ã§ã€2番目ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®\f2package\-list\fPã¯ã¾ã å­˜åœ¨ã—ã¦ã„ã¾ã›ã‚“。ã—ãŸãŒã£ã¦ã€å¤–部リンクを作æˆã™ã‚‹ã«ã¯ã€2番目ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã—ãŸå¾Œã§ã€æœ€åˆã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã—ç›´ã™å¿…è¦ãŒã‚りã¾ã™ã€‚ +.br +.br +ã“ã®å ´åˆã€æœ€åˆã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆç”Ÿæˆã®ç›®çš„ã¯ã€\f2package\-list\fPを作æˆã™ã‚‹ã“ã¨ã§ã™(パッケージåを把æ¡ã—ã¦ã„ã‚‹å ´åˆã¯æ‰‹å‹•ã§ä½œæˆã—ã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“)。次ã«ã€2番目ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¨ãã®å¤–部リンクを生æˆã—ã¾ã™ã€‚å¿…è¦ãªå¤–部ã®\f2package\-list\fPファイルãŒå­˜åœ¨ã—ãªã„å ´åˆã¯ã€Javadocツールã‹ã‚‰è­¦å‘ŠãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.TP 3 +\-linkoffline\ extdocURL\ packagelistLoc +ã“ã®ã‚ªãƒ—ションã¯\f2\-link\fPã®ãƒãƒªã‚¨ãƒ¼ã‚·ãƒ§ãƒ³ã®1ã¤ã§ã™ã€‚ã©ã¡ã‚‰ã‚‚ã€Javadocã«ã‚ˆã‚Šç”Ÿæˆã•れãŸå¤–部å‚照クラスã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã—ã¾ã™ã€‚Javadocツール自体ãŒã€Œã‚ªãƒ•ラインã€ã«ãªã£ã¦ã„ã‚‹ã¨ã(Web接続を使用ã—ã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã‚¢ã‚¯ã‚»ã‚¹ã§ããªã„ã¨ã)ã€Web上ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ãƒªãƒ³ã‚¯ã™ã‚‹ã«ã¯ã€\f2\-linkoffline\fPオプションを使用ã—ã¾ã™ã€‚ +.br +.br +厳密ã«ã¯ã€å¤–部ドキュメントã®\f2package\-list\fPファイルã«ã‚¢ã‚¯ã‚»ã‚¹ã§ããªã„ã¨ãã€ã¾ãŸã¯ã“ã®ãƒ•ァイルãŒ\f2extdocURL\fPã§æŒ‡å®šã•れãŸå ´æ‰€ã«ã¯å­˜åœ¨ã›ãšã€\f2packageListLoc\fPã§æŒ‡å®šã§ãる別ã®å ´æ‰€(通常ローカル)ã«å­˜åœ¨ã™ã‚‹ã¨ãã€\f2\-linkoffline\fPを使用ã—ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f2extdocURL\fPã«WWW上ã§ã—ã‹ã‚¢ã‚¯ã‚»ã‚¹ã§ããªã„å ´åˆã¯ã€\f2\-linkoffline\fPを指定ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®ç”Ÿæˆæ™‚ã«JavadocツールãŒWebã«æŽ¥ç¶šã§ãã‚‹å¿…è¦ãŒã‚ã‚‹ã¨ã„ã†åˆ¶ç´„ãŒãªããªã‚Šã¾ã™ã€‚ +.br +.br +ã‚‚ã†1ã¤ã®ç”¨é€”ã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’æ›´æ–°ã™ã‚‹ãŸã‚ã®ã€Œãƒãƒƒã‚­ãƒ³ã‚°ã€ã¨ã—ã¦ä½¿ç”¨ã™ã‚‹ã“ã¨ã§ã™ã€‚パッケージã®ã‚»ãƒƒãƒˆå…¨ä½“ã«å¯¾ã—ã¦Javadocを実行ã—ãŸå¾Œã€å¤‰æ›´ã—ãŸä¸€éƒ¨ã®ãƒ‘ッケージã«å¯¾ã—ã¦ã®ã¿Javadocã‚’å†åº¦å®Ÿè¡Œã—ã¦ã€æ›´æ–°ã•れãŸãƒ•ァイルをã€ã‚ªãƒªã‚¸ãƒŠãƒ«ã®ã‚»ãƒƒãƒˆã«æŒ¿å…¥ã§ãるよã†ã«ã—ã¾ã™ã€‚後ã§ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.br +.br +\f2\-linkoffline\fPオプションã¯å¼•æ•°ã‚’2ã¤å–りã¾ã™ã€‚第1引数ã¯\f2<a href>\fPリンクã«çµ„ã¿è¾¼ã¾ã‚Œã‚‹æ–‡å­—列を指定ã™ã‚‹å¼•æ•°ã€ç¬¬2引数ã¯\f2package\-list\fPã®æ¤œç´¢å ´æ‰€ã‚’指定ã™ã‚‹å¼•æ•°ã§ã™ã€‚ +.RS 3 +.TP 2 +o +\f4extdocURL\fPã¯ã€ãƒªãƒ³ã‚¯å…ˆã¨ã—ã¦æŒ‡å®šã™ã‚‹ã€Javadocã«ã‚ˆã‚Šç”Ÿæˆã•れãŸå¤–部ドキュメントをå«ã‚€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®çµ¶å¯¾URLã¾ãŸã¯ç›¸å¯¾URLã§ã™ã€‚相対URLã®å ´åˆã€å€¤ã¯ã€ç”Ÿæˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(\f2\-d\fPã§æŒ‡å®š)ã‹ã‚‰ãƒªãƒ³ã‚¯å…ˆã¨ãªã‚‹ãƒ‘ッケージã®ãƒ«ãƒ¼ãƒˆã¸ã®ç›¸å¯¾ãƒ‘スã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚詳細ã¯ã€\f2\-link\fPオプションã®\f2extdocURL\fPã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 2 +o +\f4packagelistLoc\fPã¯ã€å¤–部ドキュメントã®\f2package\-list\fPファイルをå«ã‚€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¸ã®ãƒ‘スã¾ãŸã¯URLã§ã™ã€‚ã“れã¯ã€URL (http:ã¾ãŸã¯file:)ã§ã‚‚ファイル・パスã§ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。ã¾ãŸã€çµ¶å¯¾ãƒ‘スã¨ç›¸å¯¾ãƒ‘スã®ã©ã¡ã‚‰ã§ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。相対パスã®å ´åˆã¯ã€javadocãŒå®Ÿè¡Œã•れる\f2ç¾åœ¨ã®\fPディレクトリã‹ã‚‰ã®ç›¸å¯¾ãƒ‘スã¨ã—ã¦æŒ‡å®šã—ã¾ã™ã€‚ファイルåã®\f2package\-list\fPã¯å«ã‚ãªã„ã§ãã ã•ã„。 +.RE +1回ã®Javadocã®å®Ÿè¡Œã§ã€è¤‡æ•°ã®\f2\-linkoffline\fPオプションを指定ã§ãã¾ã™ã€‚(1.2.2よりå‰ã¯ã€1ã¤ã®ã‚ªãƒ—ションã—ã‹æŒ‡å®šã§ãã¾ã›ã‚“ã§ã—ãŸã€‚) +.br +.br +\f3外部ドキュメントã¸ã®çµ¶å¯¾ãƒªãƒ³ã‚¯ã®ä½¿ç”¨ä¾‹\fP \- \f2http://docs.oracle.com/javase/7/docs/api/\fP内ã®\f2java.lang\fPã€\f2java.io\fPã€ãã®ä»–ã®Java SEプラットフォーム・パッケージã«ãƒªãƒ³ã‚¯ã—ãŸã„ãŒã€Webã«ã‚¢ã‚¯ã‚»ã‚¹ã§ããªã„ã¨ã—ã¾ã™ã€‚ブラウザã§ã€ +.na +\f2http://docs.oracle.com/javase/7/docs/api/package\-list\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/package\-listã«ã‚ã‚‹\f2package\-list\fPファイルを開ãã€ãれをローカル・ディレクトリã«ä¿å­˜ã—ã€ç¬¬2引数\f2packagelistLoc\fPã§ã“ã®ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ã‚³ãƒ”ーã®å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€ãƒ‘ッケージ・リスト・ファイルã¯ã‚«ãƒ¬ãƒ³ãƒˆãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€Œ\f2.\fPã€ã«ä¿å­˜ã•れã¦ã„ã¾ã™ã€‚次ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€Java SEプラットフォーム・パッケージã¸ã®ãƒªãƒ³ã‚¯æŒã¤\f2com.mypackage\fPパッケージã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã—ã¾ã™ã€‚生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã¯ã€ãŸã¨ãˆã°ã‚¯ãƒ©ã‚¹ãƒ»ãƒ„リー内ã®\f2Object\fPクラスã¸ã®ãƒªãƒ³ã‚¯ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚(\f2\-sourcepath\fPãªã©ã€ä»–ã®å¿…è¦ãªã‚ªãƒ—ションã¯è¡¨ç¤ºã•れã¾ã›ã‚“。) +.nf +\f3 +.fl +% \fP\f3javadoc \-linkoffline http://docs.oracle.com/javase/7/docs/api/ . com.mypackage\fP +.fl +.fi +\f3外部ドキュメントã¸ã®ç›¸å¯¾ãƒªãƒ³ã‚¯ã®ä½¿ç”¨ä¾‹\fP \- \f2\-linkoffline\fPを相対パスã¨ã¨ã‚‚ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã¯ã‚ã¾ã‚Šã‚りã¾ã›ã‚“。ç†ç”±ã¯å˜ç´”ã§ã€é€šå¸¸ã¯\f2\-link\fPã§é–“ã«åˆã†ã‹ã‚‰ã§ã™ã€‚\f2\-linkoffline\fPを使用ã™ã‚‹éš›ã€\f2package\-list\fPã«ã¯é€šå¸¸ãƒ­ãƒ¼ã‚«ãƒ«ã®ãƒ•ァイルを指定ã—ã¾ã™ã€‚相対リンクを使用ã™ã‚‹éš›ã‚‚ã€ãƒªãƒ³ã‚¯å…ˆã®ãƒ•ァイルã«ã¯é€šå¸¸ãƒ­ãƒ¼ã‚«ãƒ«ã®ãƒ•ァイルを指定ã—ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f2\-linkoffline\fPã®2ã¤ã®å¼•æ•°ã«åˆ¥ã€…ã®ãƒ‘スを指定ã™ã‚‹å¿…è¦ã¯é€šå¸¸ã‚りã¾ã›ã‚“。2ã¤ã®å¼•æ•°ãŒåŒä¸€ã§ã‚ã‚‹å ´åˆã¯ã€\f2\-link\fPを使用ã§ãã¾ã™ã€‚\f2\-link\fPã®ç›¸å¯¾ãƒªãƒ³ã‚¯ã®ä¾‹ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +\f4package\-list\fP\f3ファイルを手動ã§ä½œæˆ\fP \- \f2package\-list\fPファイルãŒã¾ã å­˜åœ¨ã—ãªãã¦ã‚‚ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®ãƒªãƒ³ã‚¯å…ˆã®ãƒ‘ッケージåãŒã‚ã‹ã£ã¦ã„ã‚‹å ´åˆã¯ã€ã“ã®ãƒ•ァイルã®ã‚³ãƒ”ーを手動ã§ä½œæˆã—ã€\f2packagelistLoc\fPã§ãã®ãƒ‘スを指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚\f2com.apipackage\fPãŒæœ€åˆã«ç”Ÿæˆã•ã‚ŒãŸæ™‚点ã§\f2com.spipackage\fPã®ãƒ‘ッケージ・リストãŒå­˜åœ¨ã—ãªã„ã¨ã„ã†å‰å‡ºã®ã‚±ãƒ¼ã‚¹ãŒä¸€ä¾‹ã¨ã—ã¦æŒ™ã’られã¾ã™ã€‚ã“ã®æ–¹æ³•ã¯ã€ãƒ‘ッケージåã¯ã‚ã‹ã£ã¦ã„ã‚‹ã‚‚ã®ã®ã€ã¾ã å…¬é–‹ã•れã¦ã„ãªã„ã€æ–°ã—ã„外部ドキュメントã«ãƒªãƒ³ã‚¯ã™ã‚‹ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ã¾ãŸã€\f2package\-list\fPファイルãŒç”Ÿæˆã•れãªã„Javadoc 1.0ã¾ãŸã¯1.1ã§ç”Ÿæˆã•れãŸãƒ‘ッケージ用ã«\f2package\-list\fPファイルを作æˆã™ã‚‹å ´åˆã«ã‚‚ã€ã“ã®æ–¹æ³•ãŒä½¿ç”¨ã§ãã¾ã™ã€‚åŒæ§˜ã«ã€2ã¤ã®ä¼æ¥­ãŒæœªå…¬é–‹ã®\f2package\-list\fPファイルを共有ã§ãã‚‹ãŸã‚ã€ã‚¯ãƒ­ã‚¹ãƒªãƒ³ã‚¯ã‚’設定ã—ãŸãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’åŒæ™‚ã«ãƒªãƒªãƒ¼ã‚¹ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã«ãªã‚Šã¾ã™ã€‚ +.br +.br +\f3複数ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¸ã®ãƒªãƒ³ã‚¯\fP \- å‚ç…§å…ˆã¨ãªã‚‹ç”Ÿæˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã”ã¨ã«\f2\-linkoffline\fPã‚’1ã¤ãšã¤å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™(ã‚ã‹ã‚Šã‚„ã™ãã™ã‚‹ãŸã‚ã«ã€ã‚ªãƒ—ションã”ã¨ã«æ”¹è¡Œã—ã¦ç¤ºã—ã¦ã„ã¾ã™)。 +.br +.br +\f2% \fP\f4javadoc \-linkoffline\fP \f2extdocURL1\fP \f2packagelistLoc1\fP \f2\\\fP +.br +\f2\ \ \ \ \ \ \ \ \ \ \fP\f4\-linkoffline\fP \f2extdocURL2\fP \f2packagelistLoc2\fP \f2\\\fP +.br +\f2\ \ \ \ \ \ \ \ \ \ ...\fP +.br +.br +\f3ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®æ›´æ–°\fP \- \f2\-linkoffline\fPオプションã®ã‚‚ã†1ã¤ã®ç”¨é€”ã¯ã€ãƒ—ロジェクトã«å¤§é‡ã®ãƒ‘ッケージãŒå«ã¾ã‚Œã¦ã„ã¦ã€ã™ã§ã«ãƒ„リー全体ã«å¯¾ã—ã¦Javadocã®å®Ÿè¡ŒãŒå®Œäº†ã—ã¦ã„ã‚‹å ´åˆã«ã€æ¬¡ã®å®Ÿè¡Œã§ã¯ã€å°‘é‡ã®å¤‰æ›´ã‚’手早ã加ãˆãŸå¾Œã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ„リーã®ã”ã一部ã«å¯¾ã—ã¦ã®ã¿Javadocã‚’å†å®Ÿè¡Œã™ã‚‹å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ã“れã¯ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã«å¯¾ã—ã¦ã®ã¿å¤‰æ›´ã‚’加ãˆã€å®£è¨€ã¯å¤‰æ›´ã—ãªã„å ´åˆã«ã®ã¿æ­£ã—ã処ç†ã•れるã®ã§ã€ãƒãƒƒã‚­ãƒ³ã‚°ã®ã‚ˆã†ãªã‚‚ã®ã§ã™ã€‚ソース・コードã«å¯¾ã—ã¦å®£è¨€ã‚’追加ã€å‰Šé™¤ã€ã¾ãŸã¯å¤‰æ›´ã—ãŸå ´åˆã¯ã€ç´¢å¼•ã€ãƒ‘ッケージ・ツリーã€ç¶™æ‰¿ã•れるメンãƒãƒ¼ã®ãƒªã‚¹ãƒˆã€ä½¿ç”¨ãƒšãƒ¼ã‚¸ãªã©ã®å ´æ‰€ã§ã€ãƒªãƒ³ã‚¯ãŒå£Šã‚Œã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚ +.br +.br +ã¾ãšã€ã“ã®æ–°ã—ã„å°è¦æ¨¡ãªå®Ÿè¡Œã§ä½¿ç”¨ã™ã‚‹ã€æ–°ã—ã„生æˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(\f2update\fP)を作æˆã—ã¾ã™ã€‚å…ƒã®ç”Ÿæˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®åå‰ãŒ\f2html\fPã ã£ãŸã¨ã—ã¾ã™ã€‚最もå˜ç´”ãªä¾‹ã§ã¯ã€\f2html\fPディレクトリã®è¦ªã«cdã«ã‚ˆã£ã¦ç§»å‹•ã—ã¾ã™ã€‚\f2\-linkoffline\fPã®ç¬¬1引数ã«ã‚«ãƒ¬ãƒ³ãƒˆãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€Œ.ã€ã‚’設定ã—ã€ç¬¬2引数ã«\f2package\-list\fPãŒæ¤œç´¢ã•れる\f2html\fPã¸ã®ç›¸å¯¾ãƒ‘スを設定ã—ã¾ã™ã€‚æ›´æ–°ã™ã‚‹ãƒ‘ッケージã®ãƒ‘ッケージåã®ã¿ã‚’渡ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-d update \-linkoffline . html com.mypackage\fP +.fl +.fi +Javadocツールã®çµ‚了後ã€\f2update/com/package\fP内ã®ç”Ÿæˆã•れãŸã‚¯ãƒ©ã‚¹ã®ãƒšãƒ¼ã‚¸ã‚’コピーã—(概è¦ã‚„索引ã¯é™¤ã)ã€\f2html/com/package\fP内ã®å…ƒã®ãƒ•ァイルã«ä¸Šæ›¸ãã—ã¾ã™ã€‚ +.TP 3 +\-linksource\ +å„ソース・ファイル(行番å·ä»˜ã)ã®HTMLãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’作æˆã—ã€æ¨™æº–HTMLドキュメントã‹ã‚‰ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¸ã®ãƒªãƒ³ã‚¯ã‚’追加ã—ã¾ã™ã€‚リンクã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル内ã«å®£è¨€ã•れã¦ã„るクラスã€ã‚¤ãƒ³ã‚¿ãƒ•ェースã€ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ãƒ•ィールドã«å¯¾ã—ã¦ä½œæˆã•れã¾ã™ã€‚デフォルト・コンストラクタã€ç”Ÿæˆã•れãŸã‚¯ãƒ©ã‚¹ãªã©ã«å¯¾ã—ã¦ã¯ä½œæˆã•れã¾ã›ã‚“。 +.br +.br +\f3ã“ã®ã‚ªãƒ—ションã¯ã€\fP\f4\-public\fP\f3ã€\fP\f4\-package\fP\f3ã€\fP\f4\-protected\fP\f3ã€\fP\f4\-private\fP\f3ã®å„オプションã¨ã¯é–¢ä¿‚ãªã\fP\f3ã€éžå…¬é–‹ã®ã‚¯ãƒ©ã‚¹ã€ãƒ•ィールドã€éžå…¬é–‹ã®ãƒ¡ã‚½ãƒƒãƒ‰ã®æœ¬ä½“ã‚’ã¯ã˜ã‚ã¨ã™ã‚‹çµ„ã¿è¾¼ã¾ã‚ŒãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル内ã®\fP\f4ã™ã¹ã¦ã®\fP\f3éžå…¬é–‹å®Ÿè£…ã®è©³ç´°ã‚’公開ã—ã¾ã™ã€‚\fP\f2\-private\fPオプションも併ã›ã¦æŒ‡å®šã—ãªã„ã‹ãŽã‚Šã€éžå…¬é–‹ã®ã‚¯ãƒ©ã‚¹ã‚„インタフェースã®ä¸€éƒ¨ã«ã¯ã€ãƒªãƒ³ã‚¯ã‚’介ã—ã¦ã‚¢ã‚¯ã‚»ã‚¹ã§ããªã„ã“ã¨ãŒã‚りã¾ã™ã€‚ +.br +.br +å„リンクã¯ã€ãã®å®£è¨€å†…ã®è­˜åˆ¥å­åã®ä¸Šã«ä½œæˆã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2Button\fPクラスã®ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã¸ã®ãƒªãƒ³ã‚¯ã¯ã€ã€ŒButtonã€ã¨ã„ã†èªžã®ä¸Šã«ä½œæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl + public class Button +.fl + extends Component +.fl + implements Accessible +.fl +\fP +.fi +ã¾ãŸã€Buttonクラスã®\f2getLabel()\fPメソッドã®ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã¸ã®ãƒªãƒ³ã‚¯ã¯ã€ã€ŒgetLabelã€ã¨ã„ã†èªžã®ä¸Šã«ä½œæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl + public String getLabel() +.fl +\fP +.fi +.TP 3 +\-group\ groupheading\ packagepattern:packagepattern:... +概è¦ãƒšãƒ¼ã‚¸ã®è¤‡æ•°ã®ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã‚’ã€æŒ‡å®šã—ãŸã‚°ãƒ«ãƒ¼ãƒ—ã«åˆ†ã‘ã¦ã€ã‚°ãƒ«ãƒ¼ãƒ—ã”ã¨ã«è¡¨ã‚’作æˆã—ã¾ã™ã€‚å„グループã¯ã€ãれãžã‚Œåˆ¥ã®\f2\-group\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§æŒ‡å®šã—ã¾ã™ã€‚ã“れらã®ã‚°ãƒ«ãƒ¼ãƒ—ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãŸé †åºã§ãƒšãƒ¼ã‚¸ã«è¡¨ç¤ºã•れã¾ã™ã€‚å„グループ内ã§ã¯ã€ãƒ‘ッケージãŒã‚¢ãƒ«ãƒ•ァベット順ã«ä¸¦ã¹ã‚‰ã‚Œã¾ã™ã€‚1ã¤ã®\f2\-group\fPオプションã§ã¯ã€\f2packagepattern\fPå¼ã®ãƒªã‚¹ãƒˆã«ä¸€è‡´ã™ã‚‹ãƒ‘ッケージãŒã€è¦‹å‡ºã—ã¨ã—ã¦\f2groupheading\fPã‚’æŒã¤1ã¤ã®è¡¨ã«è¡¨ç¤ºã•れã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f4groupheading\fPã«ã¯ã€ä»»æ„ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’指定ã§ãã€ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚指定ã—ãŸãƒ†ã‚­ã‚¹ãƒˆã¯ã€ã‚°ãƒ«ãƒ¼ãƒ—ã®è¡¨è¦‹å‡ºã—ã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +\f4packagepattern\fPã«ã¯ã€ä»»æ„ã®ãƒ‘ッケージåã€ã¾ãŸã¯ä»»æ„ã®ãƒ‘ッケージåã®å…ˆé ­éƒ¨åˆ†ã¨ãれã«ç¶šã1ã¤ã®ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯(\f2*\fP)を指定ã§ãã¾ã™ã€‚アスタリスクã¯ã€ã€Œä»»æ„ã®æ–‡å­—ã«ä¸€è‡´ã™ã‚‹ã€ã¨ã„ã†æ„味ã®ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ã§ã™ã€‚ワイルドカードã¨ã—ã¦æŒ‡å®šã§ãã‚‹ã®ã¯ã€ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã®ã¿ã§ã™ã€‚1ã¤ã®ã‚°ãƒ«ãƒ¼ãƒ—ã«ã¯ã€ã‚³ãƒ­ãƒ³(\f2:\fP)ã§åŒºåˆ‡ã£ã¦è¤‡æ•°ã®ãƒ‘ターンをå«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.RE +\f3注æ„: パターンやパターン・リスト内ã§ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã‚’使用ã™ã‚‹å ´åˆã¯ã€\fP\f4"java.lang*:java.util"\fP\f3ã®ã‚ˆã†ã«ã€ãƒ‘ターン・リストを引用符ã§å›²ã‚€å¿…è¦ãŒã‚りã¾ã™ã€‚\fP +.br +.br +\f2\-group\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ã™ã¹ã¦ã®ãƒ‘ッケージãŒã€ã€Œãƒ‘ッケージã€ã¨ã„ã†è¦‹å‡ºã—ã®1ã¤ã®ã‚°ãƒ«ãƒ¼ãƒ—ã«å…¥ã‚Œã‚‰ã‚Œã¾ã™ã€‚ドキュメント化ã•れるパッケージã®ä¸­ã«ã€ã©ã®ã‚°ãƒ«ãƒ¼ãƒ—ã«ã‚‚入らãªã„パッケージãŒã‚ã‚‹å ´åˆã€ã“ã®ã‚ˆã†ãªãƒ‘ッケージã¯ã€Œãã®ä»–ã®ãƒ‘ッケージã€ã¨ã„ã†è¦‹å‡ºã—ã‚’æŒã¤ç‹¬ç«‹ã—ãŸã‚°ãƒ«ãƒ¼ãƒ—ã«å…¥ã‚Œã‚‰ã‚Œã¾ã™ã€‚ +.br +.br +ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れる5ã¤ã®ãƒ‘ッケージã¯ã€ã‚³ã‚¢ãƒ»ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã€æ‹¡å¼µæ©Ÿèƒ½ãƒ‘ッケージã€ãŠã‚ˆã³ãã®ä»–ã®ãƒ‘ッケージã«åˆ†ã‘られã¾ã™ã€‚「java.lang*ã€ã§ã¯ã€æœ€å¾Œã®ãƒ‰ãƒƒãƒˆã‚’指定ã—ã¦ã„ãªã„ã“ã¨ã«æ³¨ç›®ã—ã¦ãã ã•ã„。「java.lang.*ã€ã®ã‚ˆã†ã«ãƒ‰ãƒƒãƒˆã‚’入れるã¨ã€java.langパッケージã¯é™¤å¤–ã•れるã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-group "Core Packages" "java.lang*:java.util" +.fl + \-group "Extension Packages" "javax.*" +.fl + java.lang java.lang.reflect java.util javax.servlet java.new\fP +.fl +.fi +ã“ã®çµæžœã€æ¬¡ã®ã‚ˆã†ãªã‚°ãƒ«ãƒ¼ãƒ—化ãŒè¡Œã‚れã¾ã™ã€‚ +.RS 3 +.TP 3 +コア・パッケージ +\f2java.lang\fP +\f2java.lang.reflect\fP +\f2java.util\fP +.TP 3 +拡張機能パッケージ +\f2javax.servlet\fP +.TP 3 +ãã®ä»–ã®ãƒ‘ッケージ +\f2java.new\fP +.RE +.TP 3 +\-nodeprecated +推奨ã•れãªã„APIをドキュメントã«ç”Ÿæˆã—ãªã„よã†ã«ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€\-nodeprecatedlistオプションを指定ã—ãŸå ´åˆã¨åŒã˜åŠ¹æžœãŒã‚ã‚‹ã“ã¨ã«åŠ ãˆã¦ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®ä»–ã®éƒ¨åˆ†å…¨ä½“ã§ã‚‚ã€æŽ¨å¥¨ã•れãªã„APIãŒç”Ÿæˆã•れã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションã¯ã€ã‚³ãƒ¼ãƒ‰ã‚’記述ã—ã¦ã„ã‚‹ã¨ãã€æŽ¨å¥¨ã•れãªã„コードã«ã‚ˆã£ã¦æ°—を散らã•れãŸããªã„å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ +.TP 3 +\-nodeprecatedlist +推奨ã•れãªã„APIã®ãƒªã‚¹ãƒˆã‚’å«ã‚€ãƒ•ァイル(deprecated\-list.html)ã€ãŠã‚ˆã³ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®ãã®ãƒšãƒ¼ã‚¸ã¸ã®ãƒªãƒ³ã‚¯ãŒç”Ÿæˆã•れãªã„よã†ã«ã—ã¾ã™ã€‚(ãŸã ã—ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®ä»–ã®éƒ¨åˆ†ã§ã¯ã€æŽ¨å¥¨ã•れãªã„APIãŒç”Ÿæˆã•れã¾ã™ã€‚)ã“ã®ã‚ªãƒ—ションã¯ã€æŽ¨å¥¨ã•れãªã„APIãŒã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã«å«ã¾ã‚Œã¦ãŠã‚‰ãšã€ãƒŠãƒ“ゲーション・ãƒãƒ¼ã‚’ã™ã£ãりã¨è¦‹ã›ã‚‹å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ +.TP 3 +\-nosince +生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‹ã‚‰ã€@sinceã‚¿ã‚°ã«é–¢é€£ä»˜ã‘られãŸã€Œå°Žå…¥ã•れãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã‚’çœç•¥ã—ã¾ã™ã€‚ +.TP 3 +\-notree +生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‹ã‚‰ã€ã‚¯ãƒ©ã‚¹ãŠã‚ˆã³ã‚¤ãƒ³ã‚¿ãƒ•ェースã®éšŽå±¤ãƒšãƒ¼ã‚¸ã‚’çœç•¥ã—ã¾ã™ã€‚ã“れらã®ãƒšãƒ¼ã‚¸ã«ã¯ã€ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®ã€ŒéšŽå±¤ãƒ„リーã€ãƒœã‚¿ãƒ³ã‹ã‚‰ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã™ã€‚デフォルトã§ã¯ã€éšŽå±¤ãŒç”Ÿæˆã•れã¾ã™ã€‚ +.TP 3 +\-noindex +生æˆãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‹ã‚‰ã€ç´¢å¼•ã‚’çœç•¥ã—ã¾ã™ã€‚デフォルトã§ã¯ã€ç´¢å¼•ãŒç”Ÿæˆã•れã¾ã™ã€‚ +.TP 3 +\-nohelp +出力ã®å„ãƒšãƒ¼ã‚¸ã®æœ€ä¸Šéƒ¨ã¨æœ€ä¸‹éƒ¨ã«ã‚るナビゲーション・ãƒãƒ¼ã‹ã‚‰ã€Œãƒ˜ãƒ«ãƒ—ã€ãƒªãƒ³ã‚¯ã‚’çœç•¥ã—ã¾ã™ã€‚ +.TP 3 +\-nonavbar +生æˆã•ã‚Œã‚‹ãƒšãƒ¼ã‚¸ã®æœ€ä¸Šéƒ¨ã¨æœ€ä¸‹éƒ¨ã«è¡¨ç¤ºã•れるナビゲーション・ãƒãƒ¼ã€ãƒ˜ãƒƒãƒ€ãƒ¼ã€ãŠã‚ˆã³ãƒ•ッターを生æˆã—ãªã„よã†ã«ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€bottomオプションã«ã¯å½±éŸ¿ã‚’与ãˆã¾ã›ã‚“。\f2\-nonavbar\fPオプションã¯ã€å°åˆ·ã™ã‚‹ãŸã‚ã«ã®ã¿ãƒ•ァイルをPostScriptã‚„PDFã«å¤‰æ›ã™ã‚‹å ´åˆãªã©ã€å†…容ã®ã¿ãŒé‡è¦ã§ã€ãƒŠãƒ“ゲーションã®å¿…è¦ãŒãªã„å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ +.TP 3 +\-helpfile\ path/filename +最上部ãŠã‚ˆã³æœ€ä¸‹éƒ¨ã®ãƒŠãƒ“ゲーション・ãƒãƒ¼ã®ã€Œãƒ˜ãƒ«ãƒ—ã€ãƒªãƒ³ã‚¯ã®ãƒªãƒ³ã‚¯å…ˆã¨ãªã‚‹ä»£æ›¿ãƒ˜ãƒ«ãƒ—・ファイル\f2path/filename\fPã®ãƒ‘スを指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„ã¨ã€Javadocツールã¯ã€ãƒ„ール内ã§ãƒãƒ¼ãƒ‰ã‚³ãƒ¼ãƒ‰ã•れã¦ã„るヘルプ・ファイル\f2help\-doc.html\fPを自動作æˆã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ãã®ãƒ‡ãƒ•ォルトã®å‹•作をオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã§ãã¾ã™ã€‚\f2filename\fPã«ã¯ã©ã‚“ãªãƒ•ァイルåã§ã‚‚指定ã§ãã€\f2help\-doc.html\fPã«é™å®šã•れã¾ã›ã‚“。Javadocツールã¯ã€ãƒŠãƒ“ゲーション・ãƒãƒ¼å†…ã®ãƒªãƒ³ã‚¯ã‚’å¿…è¦ã«å¿œã˜ã¦èª¿æ•´ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-helpfile /home/user/myhelp.html java.awt\fP +.fl +.fi +.TP 3 +\-stylesheetfile\ path/filename +代替HTMLスタイルシート・ファイルã®ãƒ‘スを指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„ã¨ã€Javadocツールã¯ã€ãƒ„ール内ã§ãƒãƒ¼ãƒ‰ã‚³ãƒ¼ãƒ‰ã•れã¦ã„るスタイルシート・ファイル\f2stylesheet.css\fPを自動作æˆã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ãã®ãƒ‡ãƒ•ォルトã®å‹•作をオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã§ãã¾ã™ã€‚\f2filename\fPã«ã¯ã©ã‚“ãªãƒ•ァイルåã§ã‚‚指定ã§ãã€\f2stylesheet.css\fPã«é™å®šã•れã¾ã›ã‚“。次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-stylesheetfile /home/user/mystylesheet.css com.mypackage\fP +.fl +.fi +.TP 3 +\-serialwarn +@serialã‚¿ã‚°ãŒãªã„å ´åˆã¯ã€ã‚³ãƒ³ãƒ‘イル時ã«è­¦å‘Šã‚’生æˆã—ã¾ã™ã€‚デフォルトã§ã¯ã€Javadoc 1.2.2 (以é™)ã§ã¯ã€ç›´åˆ—化ã®è­¦å‘Šã¯ç”Ÿæˆã•れã¾ã›ã‚“。(以å‰ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¨ã¯é€†ã®å‹•作ã§ã™ã€‚)ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ç›´åˆ—化ã®è­¦å‘ŠãŒè¡¨ç¤ºã•れるã®ã§ã€ãƒ‡ãƒ•ォルトã®ç›´åˆ—化å¯èƒ½ãƒ•ィールドã¨\f2writeExternal\fPメソッドをé©åˆ‡ã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã™ã‚‹ã®ã«å½¹ç«‹ã¡ã¾ã™ã€‚ +.TP 3 +\-charset\ name +ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆç”¨ã®HTML文字セットを指定ã—ã¾ã™ã€‚ã“ã®åå‰ã¯ã€ +.na +\f2IANAレジストリ\fP @ +.fi +http://www.iana.org/assignments/character\-setsã§æŒ‡å®šã•れãŸã€æŽ¨å¥¨ã•れるMIMEåã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-charset "iso\-8859\-1" mypackage\fP +.fl +.fi +生æˆã•れるã™ã¹ã¦ã®ãƒšãƒ¼ã‚¸ã®å…ˆé ­ã«ã€æ¬¡ã®è¡ŒãŒæŒ¿å…¥ã•れã¾ã™ã€‚ +.nf +\f3 +.fl + <META http\-equiv="Content\-Type" content="text/html; charset=ISO\-8859\-1"> +.fl +\fP +.fi +ã“ã®METAã‚¿ã‚°ã«ã¤ã„ã¦ã¯ã€ +.na +\f2HTMLè¦æ ¼\fP @ +.fi +http://www.w3.org/TR/REC\-html40/charset.html#h\-5.2.2(4197265ãŠã‚ˆã³4137321)ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +\-encodingãŠã‚ˆã³\-docencodingã‚‚å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-docencoding\ name +生æˆã•れるHTMLファイルã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’指定ã—ã¾ã™ã€‚ã“ã®åå‰ã¯ã€ +.na +\f2IANAレジストリ\fP @ +.fi +http://www.iana.org/assignments/character\-setsã§æŒ‡å®šã•れãŸã€æŽ¨å¥¨ã•れるMIMEåã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションをçœç•¥ã—ãªãŒã‚‰\-encodingを使用ã—ãŸå ´åˆã€ç”Ÿæˆã•れるHTMLファイルã®ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã¯ã€\-encodingã«ã‚ˆã£ã¦æ±ºã‚られã¾ã™ã€‚例: +.nf +\f3 +.fl + % \fP\f3javadoc \-docencoding "ISO\-8859\-1" mypackage\fP +.fl +.fi +\-encodingãŠã‚ˆã³\-charsetã‚‚å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +\-keywords +HTMLメタ・キーワード・タグをã€ã‚¯ãƒ©ã‚¹ã”ã¨ã«ç”Ÿæˆã•れるファイルã«è¿½åŠ ã—ã¾ã™ã€‚ã“れらã®ã‚¿ã‚°ã¯ã€ãƒ¡ã‚¿ã‚¿ã‚°ã‚’検索ã™ã‚‹ã‚µãƒ¼ãƒãƒ»ã‚¨ãƒ³ã‚¸ãƒ³ãŒãƒšãƒ¼ã‚¸ã‚’見ã¤ã‘ã‚‹å ´åˆã«å½¹ç«‹ã¡ã¾ã™ã€‚(インターãƒãƒƒãƒˆå…¨ä½“を検索ã™ã‚‹å¤šãã®ã‚µãƒ¼ãƒãƒ»ã‚¨ãƒ³ã‚¸ãƒ³ã¯ã€ãƒšãƒ¼ã‚¸ãŒãƒ¡ã‚¿ã‚¿ã‚°ã‚’誤用ã—ã¦ã„ã‚‹å¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€ãƒ¡ã‚¿ã‚¿ã‚°ã‚’調ã¹ã¾ã›ã‚“ã€‚ä¸€æ–¹ã€æ¤œç´¢ã‚’自身ã®Webサイトã«é™å®šã—ã¦ã„ã‚‹ä¼æ¥­ãŒæä¾›ã™ã‚‹ã‚µãƒ¼ãƒãƒ»ã‚¨ãƒ³ã‚¸ãƒ³ã¯ã€ãƒ¡ã‚¿ã‚¿ã‚°ã‚’調ã¹ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ãƒ¡ãƒªãƒƒãƒˆã‚’得られã¾ã™ã€‚) +.br +.br +メタタグã«ã¯ã€ã‚¯ãƒ©ã‚¹ã®å®Œå…¨ä¿®é£¾åã¨ã€ãƒ•ィールドãŠã‚ˆã³ãƒ¡ã‚½ãƒƒãƒ‰ã®ä¿®é£¾ã•れã¦ã„ãªã„åå‰ãŒå«ã¾ã‚Œã¾ã™ã€‚コンストラクタã¯ã€ã‚¯ãƒ©ã‚¹åã¨åŒã˜ã§ã‚ã‚‹ãŸã‚å«ã¾ã‚Œã¾ã›ã‚“。ãŸã¨ãˆã°ã€ã‚¯ãƒ©ã‚¹Stringã¯æ¬¡ã®ã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰ã§é–‹å§‹ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + <META NAME="keywords" CONTENT="java.lang.String class"> +.fl + <META NAME="keywords" CONTENT="CASE_INSENSITIVE_ORDER"> +.fl + <META NAME="keywords" CONTENT="length()"> +.fl + <META NAME="keywords" CONTENT="charAt()"> +.fl +\fP +.fi +.TP 3 +\-tag\ \ tagname:Xaoptcmf:"taghead" +JavadocツールãŒãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆå†…ã®å¼•æ•°ã‚’1ã¤å–ã‚‹å˜ç´”ãªã‚«ã‚¹ã‚¿ãƒ ãƒ–ロック・タグ\f2@\fP\f2tagname\fPを解釈ã§ãるよã†ã«ã—ã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€Javadocツールã¯ã‚¿ã‚°åã®ã€Œã‚¹ãƒšãƒ«ãƒã‚§ãƒƒã‚¯ã€ã‚’行ã†ã“ã¨ãŒã§ãã‚‹ã®ã§ã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰å†…ã«å­˜åœ¨ã™ã‚‹ã™ã¹ã¦ã®ã‚«ã‚¹ã‚¿ãƒ ãƒ»ã‚¿ã‚°ã«ã¤ã„ã¦ã€\f2\-tag\fPオプションを組ã¿è¾¼ã‚€ã“ã¨ãŒé‡è¦ã§ã™ã€‚今回ã®å®Ÿè¡Œã§ã¯å‡ºåŠ›ã•れãªã„ã‚¿ã‚°ã¯ã€\f2X\fPを付ã‘ã¦ç„¡åйã«ã—ã¾ã™ã€‚ +.br +.br +コロン(\f4:\fP)ãŒå¸¸ã«åŒºåˆ‡ã‚Šæ–‡å­—ã«ãªã‚Šã¾ã™ã€‚\f2tagname\fPã§ã‚³ãƒ­ãƒ³ã‚’使用ã™ã‚‹æ–¹æ³•ã«ã¤ã„ã¦ã¯ã€ã‚¿ã‚°åã§ã®ã‚³ãƒ­ãƒ³ã®ä½¿ç”¨ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +\f2\-tag\fPオプションã¯ã€ã‚¿ã‚°ã®è¦‹å‡ºã—\f2taghead\fPを太字ã§å‡ºåŠ›ã—ã¾ã™ã€‚ãã®æ¬¡ã®è¡Œã«ã¯ã€ã“ã®ã‚ªãƒ—ションã®å¼•æ•°ã§æŒ‡å®šã—ãŸãƒ†ã‚­ã‚¹ãƒˆãŒç¶šãã¾ã™(下ã®ä¾‹ã‚’å‚ç…§)。ブロック・タグã¨åŒæ§˜ã€ã“ã®å¼•æ•°ã®ãƒ†ã‚­ã‚¹ãƒˆã«ã¯ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ã‚¿ã‚°ã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ã‚¿ã‚°ã‚‚解釈ã•れã¾ã™ã€‚出力ã¯ã€å¼•æ•°ã‚’1ã¤å–る標準ã®ã‚¿ã‚°(\f2@return\fPã‚„\f2@author\fPãªã©)ã®å‡ºåŠ›ã¨ã‚ˆãä¼¼ã¦ã„ã¾ã™ã€‚\f2taghead\fPã‚’çœç•¥ã™ã‚‹ã¨ã€\f2tagname\fPãŒè¦‹å‡ºã—ã¨ã—ã¦è¡¨ç¤ºã•れã¾ã™ã€‚ +.br +.br +\f3ã‚¿ã‚°ã®é…ç½®\fP \- 引数ã®\f4Xaoptcmf\fP部分ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰å†…ã®ã‚¿ã‚°ã‚’é…ç½®ã§ãã‚‹ä½ç½®ã¨ã€ã‚¿ã‚°ã‚’(\f2X\fPを使用ã—ã¦)無効ã«ã§ãã‚‹ã‹ã©ã†ã‹ã‚’決定ã—ã¾ã™ã€‚ã‚¿ã‚°ã®é…ç½®ä½ç½®ã‚’制é™ã—ãªã„å ´åˆã¯\f4a\fPを指定ã—ã¾ã™ã€‚ãã‚Œä»¥å¤–ã®æ–‡å­—ã®çµ„åˆã›ã‚‚å¯èƒ½ã§ã™ã€‚ +.br +.br +\f4X\fP (ã‚¿ã‚°ã®ç„¡åŠ¹åŒ–) +.br +\f4a\fP (ã™ã¹ã¦) +.br +\f4o\fP (概è¦) +.br +\f4p\fP (パッケージ) +.br +\f4t\fP (åž‹ã€ã¤ã¾ã‚Šã‚¯ãƒ©ã‚¹ã¨ã‚¤ãƒ³ã‚¿ãƒ•ェース) +.br +\f4c\fP (コンストラクタ) +.br +\f4m\fP (メソッド) +.br +\f4f\fP (フィールド) +.br +.br +\f3シングル・タグã®ä¾‹\fP \- ソース・コード内ã®ä»»æ„ã®ä½ç½®ã§ä½¿ç”¨ã§ãã‚‹ã‚¿ã‚°ã®ã‚¿ã‚°ãƒ»ã‚ªãƒ—ションã®ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-tag todo:a:"To Do:" +.fl +\fP +.fi +@todoをコンストラクタã€ãƒ¡ã‚½ãƒƒãƒ‰ã€ãƒ•ィールドã®ã¿ã§ä½¿ç”¨ã™ã‚‹å ´åˆã¯ã€æ¬¡ã®ã‚ªãƒ—ションを使用ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-tag todo:cmf:"To Do:" +.fl +\fP +.fi +上ã®ä¾‹ã®æœ€å¾Œã®ã‚³ãƒ­ãƒ³(\f2:\fP)ã¯ã€ãƒ‘ラメータ区切り文字ã§ã¯ãªãã€è¦‹å‡ºã—テキストã®ä¸€éƒ¨ã«ãªã£ã¦ã„ã¾ã™(下ã®ä¾‹ã‚’å‚ç…§)。次ã®ä¾‹ã®ã‚ˆã†ã«ã€\f2@todo\fPã‚¿ã‚°ã‚’å«ã‚€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰ã§ã¯ã€ã„ãšã‚Œã‹ã®ã‚¿ã‚°ãƒ»ã‚ªãƒ—ションを使用ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + @todo The documentation for this method needs work. +.fl +\fP +.fi +\f3ã‚¿ã‚°åã§ã®ã‚³ãƒ­ãƒ³ã®ä½¿ç”¨\fP \- コロン(:)ã‚’ãƒãƒƒã‚¯ã‚¹ãƒ©ãƒƒã‚·ãƒ¥ã§ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã™ã‚‹ã¨ã€ã‚³ãƒ­ãƒ³ã‚’ã‚¿ã‚°åã«ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã®ä¸­ã§ã¯ã€æ¬¡ã®ã‚ˆã†ã«ä½¿ç”¨ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + /** +.fl + * @ejb:bean +.fl + */ +.fl +\fP +.fi +ã“ã®ã‚¿ã‚°ãƒ»ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl + \-tag ejb\\\\:bean:a:"EJB Bean:" +.fl +\fP +.fi +\f3ã‚¿ã‚°åã®ã‚¹ãƒšãƒ«ãƒã‚§ãƒƒã‚¯(ã‚¿ã‚°ã®ç„¡åŠ¹åŒ–)\fP \- 一部ã®é–‹ç™ºè€…ãŒå¿…ãšã—も出力ã—ãªã„カスタム・タグをソース・コード内ã«é…ç½®ã™ã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚ã“ã®å ´åˆã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰å†…ã«å­˜åœ¨ã™ã‚‹ã™ã¹ã¦ã®ã‚¿ã‚°ã‚’リストã—ã€å‡ºåŠ›ã™ã‚‹ã‚¿ã‚°ã‚’有効ã«ã—ã€å‡ºåŠ›ã—ãªã„タグを無効ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚\f2X\fPを指定ã™ã‚‹ã¨ã‚¿ã‚°ã¯ç„¡åйã«ãªã‚Šã¾ã™ã€‚指定ã—ãªã„ã¨ã€ã‚¿ã‚°ã¯æœ‰åйã«ãªã‚Šã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€Javadocツールã¯ã€æ¤œå‡ºã—ãŸã‚¿ã‚°ãŒå…¥åŠ›ãƒŸã‚¹ãªã©ã«ã‚ˆã‚‹ä¸æ˜Žã‚¿ã‚°ã§ã‚ã‚‹ã‹ã©ã†ã‹ã‚’特定ã§ãã¾ã™ã€‚ã“ã®å ´åˆã¯è­¦å‘ŠãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.br +.br +ã™ã§ã«é…ç½®ã•れã¦ã„る値ã«\f2X\fPを追加ã§ãã¾ã™ã€‚ã“ã†ã—ã¦ãŠã‘ã°ã€\f2X\fPを削除ã™ã‚‹ã®ã¿ã§ã‚¿ã‚°ã‚’有効ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€@todoã‚¿ã‚°ã®å‡ºåŠ›ã‚’æŠ‘åˆ¶ã™ã‚‹å ´åˆã€æ¬¡ã®ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-tag todo:Xcmf:"To Do:" +.fl +\fP +.fi +ã•らã«å˜ç´”ãªæŒ‡å®šæ–¹æ³•ã‚‚ã‚りã¾ã™ã€‚ +.nf +\f3 +.fl + \-tag todo:X +.fl +\fP +.fi +æ§‹æ–‡\f2\-tag todo:X\fPã¯ã€\f2@todo\fPãŒã‚¿ã‚°ãƒ¬ãƒƒãƒˆã§å®šç¾©ã•れã¦ã„ã¦ã‚‚機能ã—ã¾ã™ã€‚ +.br +.br +\f3ã‚¿ã‚°ã®é †åº\fP \- \f2\-tag\fP (ãŠã‚ˆã³\f2\-taglet\fP)オプションã®é †åºã«ã‚ˆã£ã¦ã€ã‚¿ã‚°ã®å‡ºåŠ›é †ãŒæ±ºã¾ã‚Šã¾ã™ã€‚ã‚«ã‚¹ã‚¿ãƒ ãƒ»ã‚¿ã‚°ã¨æ¨™æº–タグを組ã¿åˆã›ã¦ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚標準タグã®ã‚¿ã‚°ãƒ»ã‚ªãƒ—ションã¯ã€é †åºã‚’決定ã™ã‚‹ãŸã‚ã®ã¿ã®ãƒ—レースホルダã§ã™ã€‚ã“ã‚Œã‚‰ã¯æ¨™æº–ã‚¿ã‚°åã®ã¿ã‚’使用ã—ã¾ã™ã€‚(標準タグã®å°è¦‹å‡ºã—ã¯å¤‰æ›´ã§ãã¾ã›ã‚“。)ã“れã«ã¤ã„ã¦ã¯ã€ä¸‹ã®ä¾‹ã§èª¬æ˜Žã—ã¾ã™ã€‚ +.br +.br +\f2\-tag\fPãŒãªã„å ´åˆã¯ã€\f2\-taglet\fPã®ä½ç½®ã«ã‚ˆã£ã¦ãã®é †åºãŒæ±ºã¾ã‚Šã¾ã™ã€‚ã‚¿ã‚°ãŒä¸¡æ–¹ã¨ã‚‚存在ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã®æœ€å¾Œã«ã‚ã‚‹æ–¹ãŒãã®é †åºã‚’決定ã—ã¾ã™ã€‚ã“れã¯ã€ã‚¿ã‚°ã‚„タグレットãŒã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã•れãŸé †ç•ªã«å‡¦ç†ã•れるãŸã‚ã§ã™ã€‚ãŸã¨ãˆã°ã€\f2\-taglet\fPã¨\f2\-tag\fPã®ä¸¡æ–¹ãŒã€Œtodoã€ã¨ã„ã†åå‰ã‚’æŒã£ã¦ã„ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã®æœ€å¾Œã«ã‚ã‚‹æ–¹ãŒé †åºã‚’決定ã—ã¾ã™ã€‚ +.br +.br +\f3ã‚¿ã‚°ã®å®Œå…¨ã‚»ãƒƒãƒˆã®ä¾‹\fP \- ã“ã®ä¾‹ã§ã¯ã€å‡ºåŠ›ã®ã€ŒParametersã€ã¨ã€ŒThrowsã€ã®é–“ã«ã€ŒTo Doã€ã‚’挿入ã—ã¾ã™ã€‚「Xã€ã‚’使用ã—ã¦ã€@exampleãŒã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰å†…ã®ä»Šå›žã®å®Ÿè¡Œã§ã¯å‡ºåŠ›ã•れãªã„ã‚¿ã‚°ã§ã‚ã‚‹ã“ã¨ã‚’指定ã—ã¾ã™ã€‚@argfileを使用ã™ã‚‹å ´åˆã¯ã€æ¬¡ã®ã‚ˆã†ã«ã€å¼•数ファイル内ã®åˆ¥ã€…ã®è¡Œã«ã‚¿ã‚°ã‚’é…ç½®ã§ãã¾ã™(行ã®ç¶™ç¶šã‚’ç¤ºã™æ–‡å­—ã¯ä¸è¦)。 +.nf +\f3 +.fl + \-tag param +.fl + \-tag return +.fl + \-tag todo:a:"To Do:" +.fl + \-tag throws +.fl + \-tag see +.fl + \-tag example:X +.fl +\fP +.fi +JavadocãŒãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ãƒ»ã‚³ãƒ¡ãƒ³ãƒˆã‚’è§£æžã™ã‚‹éš›ã«æ¤œç´¢ã•れãŸã‚¿ã‚°ã®ã†ã¡ã€æ¨™æº–ã‚¿ã‚°ã§ã‚‚ã€\f2\-tag\fPã‚„\f2\-taglet\fPã§æ¸¡ã•れãŸã‚¿ã‚°ã§ã‚‚ãªã„ã‚‚ã®ã¯ã™ã¹ã¦ä¸æ˜Žã‚¿ã‚°ã¨ã¿ãªã•れã€è­¦å‘ŠãŒã‚¹ãƒ­ãƒ¼ã•れã¾ã™ã€‚ +.br +.br +標準タグã¯ã€æœ€åˆã€ãƒ‡ãƒ•ォルトã®é †åºã§ãƒªã‚¹ãƒˆå†…ã«å†…éƒ¨çš„ã«æ ¼ç´ã•れã¾ã™ã€‚\f2\-tag\fPオプションを使用ã™ã‚‹ã¨ã€ã“ã®ãƒªã‚¹ãƒˆã«è¿½åŠ ã•れるタグã€ã™ãªã‚ã¡æ¨™æº–ã‚¿ã‚°ãŒãƒ‡ãƒ•ォルトã®ä½ç½®ã‹ã‚‰ç§»å‹•ã—ã¾ã™ã€‚ã¤ã¾ã‚Šã€æ¨™æº–ã‚¿ã‚°ã®\f2\-tag\fPオプションをçœç•¥ã™ã‚‹ã¨ã€ã“れらã¯ãƒ‡ãƒ•ォルトã®ä½ç½®ã«é…ç½®ã•れãŸã¾ã¾ã«ãªã‚Šã¾ã™ã€‚ +.br +.br +\f3ç«¶åˆã®å›žé¿\fP \- 固有ã®åå‰ç©ºé–“ã‚’ç´°ã‹ã分ã‘ã‚‹ã«ã¯ã€ãƒ‘ッケージã«ä½¿ç”¨ã•れã¦ã„ã‚‹\f2com.mycompany.todo\fPã¨ã„ã†åå‰ã®ã‚ˆã†ã«ã€ãƒ‰ãƒƒãƒˆ(.)ã§åŒºåˆ‡ã‚‰ã‚ŒãŸåå‰ã‚’使用ã—ã¾ã™ã€‚Oracleã¯ã€ä»Šå¾Œã‚‚åå‰ã«ãƒ‰ãƒƒãƒˆã‚’å«ã¾ãªã„標準タグを作æˆã—ã¾ã™ã€‚ユーザーãŒä½œæˆã—ãŸã‚¿ã‚°ã¯ã€OracleãŒå®šç¾©ã™ã‚‹åŒã˜åå‰ã®ã‚¿ã‚°ã®å‹•作をオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ã¤ã¾ã‚Šã€\f2@todo\fPã¨ã„ã†åå‰ã®ã‚¿ã‚°ã¾ãŸã¯ã‚¿ã‚°ãƒ¬ãƒƒãƒˆã‚’ユーザーãŒä½œæˆã—ãŸå ´åˆã€ãã®å¾Œã«OracleãŒåŒã˜åå‰ã®æ¨™æº–タグを作æˆã—ã¦ã‚‚ã€ãã®ã‚¿ã‚°ã¾ãŸã¯ã‚¿ã‚°ãƒ¬ãƒƒãƒˆã¯å¸¸ã«ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒå®šç¾©ã—ãŸã®ã¨åŒã˜å‹•ä½œã‚’ä¿æŒã—ã¾ã™ã€‚ +.br +.br +\f3注釈vs. Javadocã‚¿ã‚°\fP \- 一般ã«ã€è¿½åŠ ã™ã‚‹å¿…è¦ã®ã‚るマークアップãŒã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«å½±éŸ¿ã‚’与ãˆãŸã‚Šãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã—ãŸã‚Šã™ã‚‹ãŸã‚ã®ã‚‚ã®ã§ã‚ã‚‹å ´åˆã€ãã®ãƒžãƒ¼ã‚¯ã‚¢ãƒƒãƒ—ã¯Javadocã‚¿ã‚°ã«ã—ã¾ã™ã€‚ãれ以外ã®å ´åˆã¯æ³¨é‡ˆã«ã—ã¾ã™ã€‚ +.na +\f2注釈ã¨Javadocã‚¿ã‚°ã®æ¯”較\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#annotationsã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +\-tagletオプションを使用ã—ã¦ã€ã‚ˆã‚Šè¤‡é›‘ãªãƒ–ロック・タグやカスタム・インライン・タグを作æˆã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.TP 3 +\-taglet\ \ class +ãã®ã‚¿ã‚°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®ç”Ÿæˆã«ä½¿ç”¨ã™ã‚‹ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã‚’èµ·å‹•ã™ã‚‹ãŸã‚ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを指定ã—ã¾ã™ã€‚\f2クラス\fPã®å®Œå…¨ä¿®é£¾åを指定ã—ã¦ãã ã•ã„。ã“ã®ã‚¿ã‚°ãƒ¬ãƒƒãƒˆã¯ã€ã‚«ã‚¹ã‚¿ãƒ ãƒ»ã‚¿ã‚°ã®ãƒ†ã‚­ã‚¹ãƒˆå¼•æ•°ã®æ•°ã‚‚定義ã—ã¾ã™ã€‚タグレットã¯ã€ã“れらã®å¼•æ•°ã‚’å—ã‘付ã‘ã€å‡¦ç†ã—ã€å‡ºåŠ›ã‚’ç”Ÿæˆã—ã¾ã™ã€‚外部ドキュメントã¨ã‚µãƒ³ãƒ—ル・タグレットã«ã¤ã„ã¦ã¯ã€æ¬¡ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RS 3 +.TP 2 +o +.na +\f2ã‚¿ã‚°ãƒ¬ãƒƒãƒˆã®æ¦‚è¦\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/taglet/overview.html +.RE +タグレットã¯ã€ãƒ–ロックタグã¾ãŸã¯ã‚¤ãƒ³ãƒ©ã‚¤ãƒ³ãƒ»ã‚¿ã‚°ã§ä¾¿åˆ©ã§ã™ã€‚タグレットã¯ä»»æ„ã®æ•°ã®å¼•æ•°ã‚’ã¨ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã¾ãŸã€ãƒ†ã‚­ã‚¹ãƒˆã‚’太字ã«ã™ã‚‹ã€ç®‡æ¡æ›¸ãを作æˆã™ã‚‹ã€ãƒ†ã‚­ã‚¹ãƒˆã‚’ãƒ•ã‚¡ã‚¤ãƒ«ã«æ›¸ã出ã™ã€ãã®ä»–ã®ãƒ—ロセスを開始ã™ã‚‹ãªã©ã®ã‚«ã‚¹ã‚¿ãƒ å‹•作を実装ã§ãã¾ã™ã€‚ +.br +.br +ã‚¿ã‚°ãƒ¬ãƒƒãƒˆã§æŒ‡å®šã§ãã‚‹ã®ã¯ã€ã‚¿ã‚°ã®é…置場所ã¨é…置形å¼ã®ã¿ã§ã™ã€‚ãã®ä»–ã®ã™ã¹ã¦ã®æ±ºå®šã¯ã€ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã«ã‚ˆã£ã¦è¡Œã‚れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ã‚¿ã‚°ãƒ¬ãƒƒãƒˆã‚’使用ã—ã¦ã‚‚ã€åŒ…å«ã‚¯ãƒ©ã‚¹ã®ãƒªã‚¹ãƒˆã‹ã‚‰ã‚¯ãƒ©ã‚¹åを削除ã™ã‚‹ãªã©ã®å‡¦ç†ã¯å®Ÿè¡Œã§ãã¾ã›ã‚“。ãŸã ã—ã€ã‚¿ã‚°ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’ファイルã«å‡ºåŠ›ã—ãŸã‚Šã€åˆ¥ã®ãƒ—ロセスをトリガーã™ã‚‹ãªã©ã®å‰¯ä½œç”¨ã¯å¾—られã¾ã™ã€‚ +.br +.br +タグレットã¸ã®ãƒ‘スを指定ã™ã‚‹ã«ã¯ã€\f2\-tagletpath\fPオプションを使用ã—ã¾ã™ã€‚次ã«ã€ç”Ÿæˆã•れるページã®ã€ŒParametersã€ã¨ã€ŒThrowsã€ã®é–“ã«ã€ŒTo Doã€ã‚¿ã‚°ãƒ¬ãƒƒãƒˆã‚’挿入ã™ã‚‹ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-taglet com.sun.tools.doclets.ToDoTaglet +.fl + \-tagletpath /home/taglets +.fl + \-tag return +.fl + \-tag param +.fl + \-tag todo +.fl + \-tag throws +.fl + \-tag see +.fl +\fP +.fi +ã¾ãŸã€\f2\-taglet\fPオプションを\f2\-tag\fPオプションã®ã‹ã‚りã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ãŒã€èª­ã¿ã«ãããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-tagletpath\ \ tagletpathlist +tagletクラス・ファイル(.class)を検索ã™ã‚‹ãŸã‚ã®æ¤œç´¢ãƒ‘スを指定ã—ã¾ã™ã€‚\f2tagletpathlist\fPã«ã¯ã€ã‚³ãƒ­ãƒ³(\f2:\fP)ã§åŒºåˆ‡ã£ã¦è¤‡æ•°ã®ãƒ‘スをå«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚Javadocツールã¯ã€æŒ‡å®šã•れãŸãƒ‘ス以下ã®ã™ã¹ã¦ã®ã‚µãƒ–ディレクトリを検索ã—ã¾ã™ã€‚ +.TP 3 +\-docfilessubdirs\ +「\f2doc\-files\fPã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®ãƒ‡ã‚£ãƒ¼ãƒ—・コピーを有効ã«ã—ã¾ã™ã€‚ã¤ã¾ã‚Šã€å®›å…ˆã«ã¯ã€ã‚µãƒ–ディレクトリã¨ãã®ã™ã¹ã¦å†…容ãŒå†å¸°çš„ã«ã‚³ãƒ”ーã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª\f2doc\-files/example/images\fPã¨ãã®å†…容ãŒã™ã¹ã¦ã‚³ãƒ”ーã•れã¾ã™ã€‚ã“ã“ã§ã‚‚ã€ã‚µãƒ–ディレクトリを除外ã™ã‚‹æŒ‡å®šãŒå¯èƒ½ã§ã™ã€‚ +.TP 3 +\-excludedocfilessubdir\ \ name1:name2... +指定ã•れãŸåå‰ã®ã€Œ\f2doc\-files\fPã€ã‚µãƒ–ディレクトリをã™ã¹ã¦é™¤å¤–ã—ã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€SCCSã¨ãã®ä»–ã®ã‚½ãƒ¼ã‚¹ãƒ»ã‚³ãƒ¼ãƒ‰åˆ¶å¾¡ã‚µãƒ–ディレクトリã®ã‚³ãƒ”ーを防ãŽã¾ã™ã€‚ +.TP 3 +\-noqualifier\ \ all\ | \ packagename1:packagename2:... +出力ã•れるクラスåã®å…ˆé ­ã‹ã‚‰ãƒ‘ッケージå(パッケージ修飾å­)ã‚’çœç•¥ã—ã¾ã™ã€‚\f2\-noqualifier\fPã®å¼•æ•°ã¯ã€ã€Œ\f2all\fPã€(ã™ã¹ã¦ã®ãƒ‘ッケージ修飾å­ã‚’çœç•¥)ã€ä¿®é£¾å­ã¨ã—ã¦å‰Šé™¤ã™ã‚‹ãƒ‘ッケージã®ã‚³ãƒ­ãƒ³åŒºåˆ‡ã‚Šãƒªã‚¹ãƒˆ(ワイルドカードもå¯)ã€ã®ã„ãšã‚Œã‹ã¨ãªã‚Šã¾ã™ã€‚クラスã¾ãŸã¯ã‚¤ãƒ³ã‚¿ãƒ•ェースåãŒè¡¨ç¤ºã•れるä½ç½®ã‹ã‚‰ãƒ‘ッケージåãŒå‰Šé™¤ã•れã¾ã™ã€‚ +.br +.br +次ã®ä¾‹ã§ã¯ã€ã™ã¹ã¦ã®ãƒ‘ッケージ修飾å­ã‚’çœç•¥ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-noqualifier all +.fl +\fP +.fi +次ã®ä¾‹ã§ã¯ã€ãƒ‘ッケージ修飾å­ã€Œjava.langã€ãŠã‚ˆã³ã€Œjava.ioã€ã‚’çœç•¥ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-noqualifier java.lang:java.io +.fl +\fP +.fi +次ã®ä¾‹ã§ã¯ã€ã€Œjavaã€ã§å§‹ã¾ã‚‹ãƒ‘ッケージ修飾å­ã¨ã€Œcom.sunã€ã¨ã„ã†ã‚µãƒ–パッケージ(「javaxã€ã§ã¯ãªã„)ã‚’çœç•¥ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-noqualifier java.*:com.sun.* +.fl +\fP +.fi +パッケージ修飾å­ãŒå‰è¿°ã®å‹•作ã«å¾“ã£ã¦è¡¨ç¤ºã•れる場åˆã€åå‰ã¯é©åˆ‡ã«çŸ­ç¸®ã•れã¾ã™ã€‚詳細ã¯ã€åå‰ãŒè¡¨ç¤ºã•れる方法をå‚ç…§ã—ã¦ãã ã•ã„。ã“ã®ãƒ«ãƒ¼ãƒ«ã¯ã€\f2\-noqualifier\fPを使用ã™ã‚‹ã‹ã©ã†ã‹ã«ã‹ã‹ã‚ã‚‰ãšæœ‰åйã§ã™ã€‚ +.TP 3 +\-notimestamp\ +ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ãŒæŠ‘åˆ¶ã•れã¾ã™ã€‚å„ページã®å…ˆé ­è¿‘ãã«ã‚ã‚‹ã€ç”Ÿæˆã•れãŸHTML内ã®HTMLコメントã§ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ãŒéš ã•れã¾ã™ã€‚Javadocã‚’2ã¤ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ™ãƒ¼ã‚¹ã§å®Ÿè¡Œã—ã€ãれらã«å¯¾ã—ã¦diffを実行ã™ã‚‹ã¨ãã«ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã«ã‚ˆã£ã¦diffãŒç™ºç”Ÿã—ãªããªã‚‹ã®ã§ä¾¿åˆ©ã§ã™(ã“ã®ã‚ªãƒ—ションを使用ã—ãªã„ã¨ã€å„ページã§diffã«ãªã‚Šã¾ã™)。タイムスタンプã«ã¯Javadocã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒå«ã¾ã‚Œã¦ãŠã‚Šã€æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl + <!\-\- Generated by javadoc (build 1.5.0_01) on Thu Apr 02 14:04:52 IST 2009 \-\-> +.fl +\fP +.fi +.TP 3 +\-nocomment\ +主説明ãŠã‚ˆã³ã™ã¹ã¦ã®ã‚¿ã‚°ã‚’å«ã‚€ã‚³ãƒ¡ãƒ³ãƒˆæœ¬æ–‡å…¨ä½“を抑制ã—ã€å®£è¨€ã®ã¿ã‚’生æˆã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã«ã‚ˆã‚Šã€å…ƒã¯ç•°ãªã‚‹ç›®çš„ã®ãŸã‚ã ã£ãŸã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルをå†åˆ©ç”¨ã—ã€æ–°ã—ã„ãƒ—ãƒ­ã‚¸ã‚§ã‚¯ãƒˆã®æ—©ã„段階ã§ã‚¹ã‚±ãƒ«ãƒˆãƒ³HTMLドキュメントを作æˆã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +\-sourcetab tabLength +ソース内ã®å„タブãŒå–ã‚‹ç©ºç™½æ–‡å­—ã®æ•°ã‚’指定ã—ã¾ã™ã€‚ +.RE +.SH "コマンドライン引数ファイル" +.LP +Javadocã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚’短ãã—ãŸã‚Šç°¡æ½”ã«ã—ãŸã‚Šã™ã‚‹ãŸã‚ã«ã€\f2javadoc\fPコマンドã«å¯¾ã™ã‚‹å¼•æ•°(\f2\-J\fPオプションを除ã)ãŒå…¥ã£ãŸ1ã¤ä»¥ä¸Šã®ãƒ•ァイルを指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®ã“ã¨ã‚’利用ã™ã‚Œã°ã€ã©ã®ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ä¸Šã§ã‚‚ã€ä»»æ„ã®é•·ã•ã®javadocコマンドを作æˆã§ãã¾ã™ã€‚ +.LP +引数ファイルã«ã¯ã€javacã®ã‚ªãƒ—ションã¨ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルåを自由ã«çµ„ã¿åˆã›ã¦è¨˜è¿°ã§ãã¾ã™ã€‚ファイル内ã®å„引数ã¯ã€ã‚¹ãƒšãƒ¼ã‚¹ã¾ãŸã¯æ”¹è¡Œã§åŒºåˆ‡ã‚Šã¾ã™ã€‚ファイルåã«ç©ºç™½ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã¯ã€ãã®ãƒ•ァイルå全体を二é‡å¼•用符ã§å›²ã¿ã¾ã™ã€‚ +.LP +引数ファイル内ã®ãƒ•ァイルåã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã«ãªã‚Šã¾ã™ã€‚引数ファイルã®ä½ç½®ã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã§ã¯ã‚りã¾ã›ã‚“。引数ファイル内ã®ãƒ•ァイルåリストã§ã¯ã€ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰(*)ã¯ä½¿ç”¨ã§ãã¾ã›ã‚“。ãŸã¨ãˆã°ã€\f2*.java\fPã¨ã¯æŒ‡å®šã§ãã¾ã›ã‚“。引数ファイル内ã®å¼•æ•°ã§\f2@\fP文字を使用ã—ã¦ã€è¤‡æ•°ã®ãƒ•ァイルをå†å¸°çš„ã«è§£é‡ˆã™ã‚‹ã“ã¨ã¯ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã›ã‚“。ã¾ãŸã€\f2\-J\fPオプションもサãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションã¯èµ·å‹•ãƒ„ãƒ¼ãƒ«ã«æ¸¡ã•れã¾ã™ãŒã€èµ·å‹•ツールã§ã¯å¼•数ファイルをサãƒãƒ¼ãƒˆã—ã¦ã„ãªã„ã‹ã‚‰ã§ã™ã€‚ +.LP +Javadocを実行ã™ã‚‹ã¨ãã«ã€å„引数ファイルã®ãƒ‘スã¨ãƒ•ァイルåã®å…ˆé ­ã«\f2@\fP文字を付ã‘ã¦æ¸¡ã—ã¾ã™ã€‚Javadocã¯ã€\f2@\fP文字ã§å§‹ã¾ã‚‹å¼•数を見ã¤ã‘ã‚‹ã¨ã€ãã®ãƒ•ァイルã®å†…容を展開ã—ã¦å¼•æ•°ãƒªã‚¹ãƒˆã«æŒ¿å…¥ã—ã¾ã™ã€‚ +.SS +引数ファイルを1ã¤æŒ‡å®šã™ã‚‹ä¾‹ +.LP +次ã®ã‚ˆã†ã«ã—ã¦ã€ã€Œ\f2argfile\fPã€ã¨ã„ã†åå‰ã®å˜ä¸€ã®å¼•数ファイルã«ã€ã™ã¹ã¦ã®Javadoc引数を格ç´ã§ãã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc @argfile\fP +.fl +.fi +.LP +ã“ã®å¼•数ファイルã«ã¯ã€æ¬¡ã®ä¾‹ã§ç¤ºã•れã¦ã„ã‚‹2ã¤ã®ãƒ•ァイルã®å†…容を両方ã¨ã‚‚入れるã“ã¨ãŒã§ãã¾ã™ã€‚ +.SS +引数ファイルを2ã¤æŒ‡å®šã™ã‚‹ä¾‹ +.LP +次ã®ã‚ˆã†ã«ã—ã¦ã€Javadocオプション用ã«1ã¤ã€ãƒ‘ッケージåã¾ãŸã¯ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルå用ã«1ã¤ã¨ã„ã†ã‚ˆã†ã«ã€2ã¤ã®å¼•数ファイルを作æˆã§ãã¾ã™(ãªãŠã€æ¬¡ã®ãƒªã‚¹ãƒˆã§ã¯è¡Œç¶™ç¶šæ–‡å­—を使用ã—ã¦ã„ã¾ã›ã‚“)。 +.LP +次ã®å†…容をå«ã‚€ã€ã€Œ\f2options\fPã€ã¨ã„ã†åå‰ã®ãƒ•ァイルを作æˆã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-d docs\-filelist +.fl + \-use +.fl + \-splitindex +.fl + \-windowtitle 'Java SE 7 API Specification' +.fl + \-doctitle 'Java SE 7 API Specification' +.fl + \-header '<b>Java(TM) SE 7</b>' +.fl + \-bottom 'Copyright © 1993\-2011 Oracle and/or its affiliates. All rights reserved.' +.fl + \-group "Core Packages" "java.*" +.fl + \-overview /java/pubs/ws/1.7.0/src/share/classes/overview\-core.html +.fl + \-sourcepath /java/pubs/ws/1.7.0/src/share/classes +.fl +\fP +.fi +.LP +次ã®å†…容をå«ã‚€ã€ã€Œ\f2packages\fPã€ã¨ã„ã†åå‰ã®ãƒ•ァイルを作æˆã—ã¾ã™ã€‚ +.nf +\f3 +.fl + com.mypackage1 +.fl + com.mypackage2 +.fl + com.mypackage3 +.fl +\fP +.fi +.LP +ãã®å¾Œã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¦Javadocを実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc @options @packages\fP +.fl +.fi +.SS +パス付ãã®å¼•数ファイルã®ä¾‹ +.LP +引数ファイルã«ã¯ã€ãƒ‘スを指定ã§ãã¾ã™ã€‚ãŸã ã—ã€ãã®ãƒ•ã‚¡ã‚¤ãƒ«å†…ã«æŒ‡å®šã•れãŸãƒ•ァイルåã¯ã€ç¾åœ¨ã®ä½œæ¥­ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã«ãªã‚Šã¾ã™ã€‚ã¤ã¾ã‚Šã€ä¸‹ã®ä¾‹ã®å ´åˆã¯ã€\f2path1\fPã‚„\f2path2\fPã‹ã‚‰è¦‹ãŸç›¸å¯¾ãƒ‘スã§ã¯ã‚りã¾ã›ã‚“。 +.nf +\f3 +.fl + % \fP\f3javadoc @path1/options @path2/packages\fP +.fl +.fi +.SS +オプションã®å¼•æ•°ã®ä¾‹ +.LP +次ã«ã€Javadocオプションã«å¯¾ã™ã‚‹å¼•æ•°ã®ã¿ã‚’å¼•æ•°ãƒ•ã‚¡ã‚¤ãƒ«ã«æ ¼ç´ã™ã‚‹ä¾‹ã‚’示ã—ã¾ã™ã€‚ã“ã“ã§ã¯\f2\-bottom\fPオプションを使用ã—ã¾ã™ã€‚ãã®ã‚ªãƒ—ションã«ã¯ã€é•·ã„引数を指定ã§ãã‚‹ã‹ã‚‰ã§ã™ã€‚次ã®ã‚ˆã†ãªãƒ†ã‚­ã‚¹ãƒˆå¼•æ•°ã‚’å«ã‚€ã€ã€Œ\f2bottom\fPã€ã¨ã„ã†åå‰ã®ãƒ•ァイルを作æˆã§ãã¾ã™ã€‚ +.nf +\f3 +.fl +<font size="\-1"> +.fl + <a href="http://bugreport.sun.com/bugreport/">Submit a bug or feature</a><br/> +.fl + Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.<br/> +.fl + Oracle is a registered trademark of Oracle Corporation and/or its affiliates. +.fl + Other names may be trademarks of their respective owners.</font> +.fl +\fP +.fi +.LP +ãã®å¾Œã€æ¬¡ã®ã‚ˆã†ã«ã—ã¦Javadocツールを実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-bottom @bottom @packages\fP +.fl +.fi +.LP +ã‚ã‚‹ã„ã¯ã€å¼•数ファイルã®å…ˆé ­ã«\f2\-bottom\fPオプションを組ã¿è¾¼ã‚“ã å¾Œã€æ¬¡ã®ã‚ˆã†ã«ã—ã¦å®Ÿè¡Œã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc @bottom @packages\fP +.fl +.fi +.SH "åå‰" +実行 +.SH "Javadocã®å®Ÿè¡Œ" +.LP +\f3ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·\fP \- Javadocã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’判別ã™ã‚‹ã«ã¯ã€\f3javadoc \-J\-version\fPを使用ã—ã¾ã™ã€‚出力ストリームã«ã¯æ¨™æº–ドックレットã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒå«ã¾ã‚Œã¾ã™ã€‚\f2\-quiet\fPã§ç„¡åйã«ã§ãã¾ã™ã€‚ +.LP +\f3公開プログラム・インタフェース\fP \- Java言語ã§è¨˜è¿°ã•れãŸãƒ—ログラムã‹ã‚‰Javadocツールを起動ã™ã‚‹ã¨ã使用ã—ã¾ã™ã€‚ã“ã®ã‚¤ãƒ³ã‚¿ãƒ•ェースã¯\f2com.sun.tools.javadoc.Main\fPã«ã‚りã¾ã™(Javadocã¯å†å…¥å¯èƒ½)。詳細ã¯ã€ +.na +\f2標準ドックレット\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/standard\-doclet.html#runningprogrammaticallyã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +\f3ドックレットã®å®Ÿè¡Œ\fP \- 下ã®èª¬æ˜Žã¯ã€æ¨™æº–HTMLドックレットを呼ã³å‡ºã™ãŸã‚ã®ã‚‚ã®ã§ã™ã€‚カスタム・ドックレットを呼ã³å‡ºã™ã«ã¯ã€\-docletãŠã‚ˆã³\-docletpathオプションを使用ã—ã¾ã™ã€‚詳細ã¯ã€ +.na +\f2ãƒ‰ãƒƒã‚¯ãƒ¬ãƒƒãƒˆã®æ¦‚è¦\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/doclet/overview.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.SH "ç°¡å˜ãªä¾‹" +.LP +Javadocã¯ã€ãƒ‘ッケージ全体ã«å¯¾ã—ã¦å®Ÿè¡Œã™ã‚‹ã“ã¨ã‚‚ã€å€‹ã€…ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã«å¯¾ã—ã¦å®Ÿè¡Œã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚å„パッケージåã¯ã€ãれãžã‚Œã®ãƒ‘ッケージåã«å¯¾å¿œã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªåã‚’æŒã¡ã¾ã™ã€‚次ã®ä¾‹ã§ã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¯\f2/home/src/java/awt/*.java\fPã«ã‚りã¾ã™ã€‚生æˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯\f2/home/html\fPã§ã™ã€‚ +.SS +1ã¤ä»¥ä¸Šã®ãƒ‘ッケージã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ– +.LP +パッケージをドキュメント化ã™ã‚‹ã«ã¯ã€ãã®ãƒ‘ッケージã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル(\f2*.java\fP)ã‚’ã€ãã®ãƒ‘ッケージã¨åŒã˜åå‰ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã«æ ¼ç´ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚パッケージåãŒ(\f2java.awt.color\fPã®ã‚ˆã†ã«ãƒ‰ãƒƒãƒˆã§åŒºåˆ‡ã‚‰ã‚ŒãŸ)複数ã®è­˜åˆ¥å­ã‹ã‚‰æ§‹æˆã•れã¦ã„ã‚‹å ´åˆã€å¾Œç¶šã®å„識別å­ãŒä¸‹ä½ã®ã‚µãƒ–ディレクトリ(\f2java/awt/color\fPãªã©)ã«å¯¾å¿œã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚1ã¤ã®ãƒ‘ッケージã®ãŸã‚ã®è¤‡æ•°ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルをã€ç•°ãªã‚‹å ´æ‰€ã«ã‚ã‚‹ãã®ã‚ˆã†ãª2ã¤ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ»ãƒ„リーã«åˆ†ã‘ã¦æ ¼ç´ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™(\f2src1/java/awt/color\fPã‚„\f2src2/java/awt/color\fPãªã©)。ãŸã ã—ã€ãã®å ´åˆã¯\f2\-sourcepath\fPã«ã‚ˆã£ã¦ãã®ä¸¡æ–¹ã®å ´æ‰€ã‚’指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +Javadocを実行ã™ã‚‹ã«ã¯ã€\f2cd\fPを使用ã—ã¦ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’変更ã™ã‚‹ã‹ã€\f2\-sourcepath\fPオプションを使用ã—ã¾ã™ã€‚次ã®ä¾‹ã§ã¯ã€ä¸¡æ–¹ã®æ–¹æ³•ã«ã¤ã„ã¦èª¬æ˜Žã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f3ケース1 \- 1ã¤ä»¥ä¸Šã®ãƒ‘ッケージã‹ã‚‰ã®èµ·å‹•ã‚’å†å¸°çš„ã«å®Ÿè¡Œ\fP \- ã“ã®ä¾‹ã§ã¯JavadocãŒä»»æ„ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰å®Ÿè¡Œã§ãるよã†ã«ã€\-sourcepathを使用ã—ã€å†å¸°çš„処ç†ã®ãŸã‚ã«\-subpackages(1.4ã®æ–°ã‚ªãƒ—ション)を使用ã—ã¾ã™ã€‚ã“れã¯ã€\f2java\fPディレクトリã®ã‚µãƒ–パッケージをãŸã©ã‚Šã¾ã™ãŒã€\f2java.net\fPã¨\f2java.lang\fPã‚’ãƒ«ãƒ¼ãƒˆã«æŒã¤ãƒ‘ッケージã¯é™¤å¤–ã•れã¾ã™ã€‚\f2java.lang\fPã®ã‚µãƒ–パッケージã§ã‚ã‚‹\f2java.lang.ref\fPãŒé™¤å¤–ã•ã‚Œã‚‹ç‚¹ã«æ³¨æ„ã—ã¦ãã ã•ã„。 +.nf +\f3 +.fl + % \fP\f3javadoc \fP\f3\-d\fP\f3 /home/html \fP\f3\-sourcepath\fP\f3 /home/src \fP\f3\-subpackages\fP\f3 java \fP\f3\-exclude\fP\f3 java.net:java.lang\fP +.fl +.fi +.LP +ã¾ãŸã€ä»–ã®ãƒ‘ッケージ・ツリーを下方ã«ãŸã©ã‚‹ã«ã¯ã€\f2java:javax:org.xml.sax\fPã®ã‚ˆã†ã«ã€ãれらã®ãƒ‘ッケージã®åå‰ã‚’\f2\-subpackages\fPã®å¼•æ•°ã«è¿½åŠ ã—ã¾ã™ã€‚ +.TP 2 +o +\f3ケース2 \- ルート・ソース・ディレクトリã«ç§»ã£ã¦ã‹ã‚‰æ˜Žç¤ºçš„ãªãƒ‘ッケージã«å¯¾ã—ã¦å®Ÿè¡Œ\fP \- 完全修飾ã®ãƒ‘ッケージåã®è¦ªãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç§»ã‚Šã¾ã™ã€‚次ã«ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã™ã‚‹1ã¤ä»¥ä¸Šã®ãƒ‘ッケージã®åå‰ã‚’指定ã—ã¦Javadocを実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3cd /home/src/\fP +.fl + % \f3javadoc \-d /home/html java.awt java.awt.event\fP +.fl +.fi +.TP 2 +o +\f3ケース3 \- 1ã¤ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ»ãƒ„リー内ã«ã‚る明示的ãªãƒ‘ッケージã«å¯¾ã—ã¦ä»»æ„ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰å®Ÿè¡Œ\fP \- ã“ã®ã‚±ãƒ¼ã‚¹ã§ã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãŒã©ã“ã§ã‚ã£ã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。最上ä½ãƒ‘ッケージã®è¦ªãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’\f2\-sourcepath\fPã«æŒ‡å®šã—ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã™ã‚‹1ã¤ä»¥ä¸Šã®ãƒ‘ッケージåを指定ã—ã¦Javadocを実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/html \-sourcepath /home/src java.awt java.awt.event\fP +.fl +.fi +.TP 2 +o +\f3ケース4 \- 複数ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ»ãƒ„リー内ã«ã‚る明示的ãªãƒ‘ッケージã«å¯¾ã—ã¦ä»»æ„ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰å®Ÿè¡Œ\fP \- ã“れã¯ã‚±ãƒ¼ã‚¹3ã¨ä¼¼ã¦ã„ã¾ã™ãŒã€ãƒ‘ッケージãŒè¤‡æ•°ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãƒ»ãƒ„リーã«å­˜åœ¨ã—ã¾ã™ã€‚ãれãžã‚Œã®ãƒ„リーã®ãƒ«ãƒ¼ãƒˆã¸ã®ãƒ‘スを\f2\-sourcepath\fPã«æŒ‡å®šã—(コロンã§åŒºåˆ‡ã‚‹)ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã™ã‚‹1ã¤ä»¥ä¸Šã®ãƒ‘ッケージåを指定ã—ã¦Javadocを実行ã—ã¾ã™ã€‚1ã¤ã®ãƒ‘ッケージã®ã™ã¹ã¦ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルãŒã€1ã¤ã®ãƒ«ãƒ¼ãƒˆãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®ä¸‹ã«å­˜åœ¨ã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。ソース・パスã¨ã—ã¦æŒ‡å®šã•れãŸå ´æ‰€ã®ã©ã“ã‹ã§è¦‹ã¤ã‹ã‚Œã°å分ã§ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/html \-sourcepath /home/src1:/home/src2 java.awt java.awt.event\fP +.fl +.fi +.RE +.LP +çµæžœ: ã™ã¹ã¦ã®ã‚±ãƒ¼ã‚¹ã§\f2java.awt\fPãŠã‚ˆã³\f2java.awt.event\fPパッケージ内ã®publicãŠã‚ˆã³protectedクラスã¨ã‚¤ãƒ³ã‚¿ãƒ•ェースã«ã¤ã„ã¦ã€HTMLå½¢å¼ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•ã‚Œã€æŒ‡å®šã•れãŸç”Ÿæˆå…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(\f2/home/html\fP)ã«HTMLファイルãŒä¿å­˜ã•れã¾ã™ã€‚2ã¤ä»¥ä¸Šã®ãƒ‘ッケージãŒç”Ÿæˆã•れã¦ã„ã‚‹ã®ã§ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¯ã€ãƒ‘ッケージã®ãƒªã‚¹ãƒˆã€ã‚¯ãƒ©ã‚¹ã®ãƒªã‚¹ãƒˆã€ãŠã‚ˆã³ãƒ¡ã‚¤ãƒ³ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒšãƒ¼ã‚¸ã¨ã„ã†3ã¤ã®HTMLフレームをæŒã¤ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.SS +1ã¤ä»¥ä¸Šã®ã‚¯ãƒ©ã‚¹ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ– +.LP +ã¾ãŸã€1ã¤ä»¥ä¸Šã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイル(\f2.java\fP)を渡ã—ã¦ã€Javadocツールを実行ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚Javadocã¯ã€æ¬¡ã®2ã¤ã®æ–¹æ³•ã®ã„ãšã‚Œã‹ã§å®Ÿè¡Œã§ãã¾ã™ã€‚1ã¤ã¯\f2cd\fPを使用ã—ã¦ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’変更ã™ã‚‹æ–¹æ³•ã€ã‚‚ã†1ã¤ã¯\f2.java\fPファイルã¸ã®ãƒ‘ã‚¹ã‚’å®Œå…¨ã«æŒ‡å®šã™ã‚‹æ–¹æ³•ã§ã™ã€‚相対パスã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’起点ã¨ã—ã¾ã™ã€‚ソース・ファイルを渡ã™ã¨ãã¯ã€\f2\-sourcepath\fPオプションã¯ç„¡è¦–ã•れã¾ã™ã€‚アスタリスク(*)ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ã‚’使用ã™ã‚‹ã¨ã€ã‚¯ãƒ©ã‚¹ã®ã‚°ãƒ«ãƒ¼ãƒ—を指定ã§ãã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f3ケース1 \- ソース・ディレクトリã«ç§»ã‚‹\fP \- \f2.java\fPファイルã®ã‚るディレクトリã«ç§»ã‚Šã¾ã™ã€‚次ã«ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã™ã‚‹1ã¤ä»¥ä¸Šã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®åå‰ã‚’指定ã—ã¦Javadocを実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3cd /home/src/java/awt\fP +.fl + % \f3javadoc \-d /home/html Button.java Canvas.java Graphics*.java\fP +.fl +.fi +ã“ã®ä¾‹ã§ã¯ã€\f2Button\fPクラスã¨\f2Canvas\fPクラスã€ãŠã‚ˆã³åå‰ãŒ\f2Graphics\fPã§å§‹ã¾ã‚‹ã‚¯ãƒ©ã‚¹ã«ã¤ã„ã¦ã€HTMLå½¢å¼ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れã¾ã™ã€‚パッケージåã§ã¯ãªãソース・ファイルãŒJavadocã«å¼•æ•°ã¨ã—ã¦æ¸¡ã•れã¦ã„ã‚‹ã®ã§ã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¯ã€ã‚¯ãƒ©ã‚¹ã®ãƒªã‚¹ãƒˆã¨ãƒ¡ã‚¤ãƒ³ãƒ»ãƒšãƒ¼ã‚¸ã¨ã„ã†2ã¤ã®ãƒ•レームをæŒã¤ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +\f3ケース2 \- パッケージã®ãƒ«ãƒ¼ãƒˆãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç§»ã‚‹\fP \- ã“れã¯ã€åŒã˜ãƒ«ãƒ¼ãƒˆå†…ã«ã‚る複数ã®ã‚µãƒ–パッケージã®å€‹ã€…ã®ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルをドキュメント化ã™ã‚‹å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚パッケージã®ãƒ«ãƒ¼ãƒˆãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç§»ã‚Šã€å„ソース・ファイルをã€ãƒ«ãƒ¼ãƒˆã‹ã‚‰ã®ãƒ‘スã¨ã¨ã‚‚ã«æŒ‡å®šã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3cd /home/src/\fP +.fl + % \f3javadoc \-d /home/html java/awt/Button.java java/applet/Applet.java\fP +.fl +.fi +ã“ã®ä¾‹ã§ã¯ã€\f2Button\fPクラスãŠã‚ˆã³\f2Applet\fPクラスã«ã¤ã„ã¦ã€HTMLå½¢å¼ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れã¾ã™ã€‚ +.TP 2 +o +\f3ケース3 \- ä»»æ„ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰\fP \- ã“ã®ã‚±ãƒ¼ã‚¹ã§ã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãŒã©ã“ã§ã‚ã£ã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。ドキュメント化ã™ã‚‹\f2.java\fPファイルã¸ã®çµ¶å¯¾ãƒ‘ス(ã¾ãŸã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰ã®ç›¸å¯¾ãƒ‘ス)を指定ã—ã¦Javadocを実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/html /home/src/java/awt/Button.java /home/src/java/awt/Graphics*.java\fP +.fl +.fi +ã“ã®ä¾‹ã§ã¯ã€\f2Button\fPクラスã€ãŠã‚ˆã³åå‰ãŒ\f2Graphics\fPã§å§‹ã¾ã‚‹ã‚¯ãƒ©ã‚¹ã«ã¤ã„ã¦ã€HTMLå½¢å¼ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れã¾ã™ã€‚ +.RE +.SS +パッケージã¨ã‚¯ãƒ©ã‚¹ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ– +.LP +パッケージ全体ã¨å€‹ã€…ã®ã‚¯ãƒ©ã‚¹ã‚’åŒæ™‚ã«æŒ‡å®šã—ã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚次ã«ã€å‰è¿°ã®2ã¤ã®ä¾‹ã‚’組ã¿åˆã›ãŸä¾‹ã‚’示ã—ã¾ã™ã€‚\f2\-sourcepath\fPã¯ã€ãƒ‘ッケージã¸ã®ãƒ‘スã«å¯¾ã—ã¦ã¯ä½¿ç”¨ã§ãã¾ã™ãŒã€å€‹ã€…ã®ã‚¯ãƒ©ã‚¹ã¸ã®ãƒ‘スã«å¯¾ã—ã¦ã¯ä½¿ç”¨ã§ãã¾ã›ã‚“。 +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/html \-sourcepath /home/src java.awt /home/src/java/applet/Applet.java\fP +.fl +.fi +.LP +ã“ã®ä¾‹ã§ã¯ã€\f2java.awt\fPパッケージãŠã‚ˆã³\f2Applet\fPクラスã«ã¤ã„ã¦ã€HTMLå½¢å¼ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れã¾ã™ã€‚(Javadocツールã¯ã€\f2Applet.java\fPソース・ファイル内ã«ãƒ‘ッケージ宣言ãŒã‚れã°ã€ãã®å®£è¨€ã«åŸºã¥ã„ã¦\f2Applet\fPã®ãƒ‘ッケージåを判別ã—ã¾ã™ã€‚) +.SH "使用例" +.LP +Javadocツールã«ã¯å¤šãã®ä¾¿åˆ©ãªã‚ªãƒ—ションãŒã‚りã€ãã®ä¸­ã«ã¯ä»–ã®ã‚ªãƒ—ションよりも頻ç¹ã«ä½¿ç”¨ã•れるもã®ãŒã‚りã¾ã™ã€‚ã“ã“ã§ç´¹ä»‹ã™ã‚‹ã®ã¯ã€JavaプラットフォームAPIã«å¯¾ã—ã¦Javadocツールを実行ã™ã‚‹ã¨ãã«ä½¿ç”¨ã™ã‚‹å®Ÿéš›ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã™ã€‚Java SE Platform, Standard Edition, v1.2ã«å­˜åœ¨ã™ã‚‹ã€ç´„1500個ã®publicãŠã‚ˆã³protectedクラスã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’生æˆã™ã‚‹ãŸã‚ã«ã€180MBã®ãƒ¡ãƒ¢ãƒªãƒ¼ã‚’使用ã—ã¾ã™ã€‚ +.LP +åŒã˜ä¾‹ã‚’2回掲載ã—ã¾ã™ã€‚最åˆã®ä¾‹ã¯ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‹ã‚‰å®Ÿè¡Œã™ã‚‹ã‚‚ã®ã§ã€2番目ã®ä¾‹ã¯Makefileã‹ã‚‰å®Ÿè¡Œã™ã‚‹ã‚‚ã®ã§ã™ã€‚オプションã®å¼•æ•°ã§çµ¶å¯¾ãƒ‘スãŒä½¿ç”¨ã•れã¦ã„ã‚‹ãŸã‚ã€ä»»æ„ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰åŒã˜\f2javadoc\fPコマンドを実行ã§ãã¾ã™ã€‚ +.SS +コマンドラインã®ä¾‹ +.LP +次ã®ä¾‹ã¯ã€DOSãªã©ã®ä¸€éƒ¨ã®ã‚·ã‚§ãƒ«ã«ã¯é•·ã™ãŽã¾ã™ã€‚ã“ã®åˆ¶é™ã‚’回é¿ã™ã‚‹ã«ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å¼•数ファイルを使用ã—ã¾ã™ã€‚ã¾ãŸã¯ã€ã‚·ã‚§ãƒ«ãƒ»ã‚¹ã‚¯ãƒªãƒ—トを記述ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +% javadoc \-sourcepath /java/jdk/src/share/classes \\ +.fl + \-overview /java/jdk/src/share/classes/overview.html \\ +.fl + \-d /java/jdk/build/api \\ +.fl + \-use \\ +.fl + \-splitIndex \\ +.fl + \-windowtitle 'Java Platform, Standard Edition 7 API Specification' \\ +.fl + \-doctitle 'Java Platform, Standard Edition 7 API Specification' \\ +.fl + \-header '<b>Java(TM) SE 7</b>' \\ +.fl + \-bottom '<font size="\-1"> +.fl + <a href="http://bugreport.sun.com/bugreport/">Submit a bug or feature</a><br/> +.fl + Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.<br/> +.fl + Oracle is a registered trademark of Oracle Corporation and/or its affiliates. +.fl + Other names may be trademarks of their respective owners.</font>' \\ +.fl + \-group "Core Packages" "java.*:com.sun.java.*:org.omg.*" \\ +.fl + \-group "Extension Packages" "javax.*" \\ +.fl + \-J\-Xmx180m \\ +.fl + @packages +.fl +\fP +.fi +.LP +ã“ã“ã§ã€\f2packages\fPã¯ã€å‡¦ç†å¯¾è±¡ã®ãƒ‘ッケージå(\f2java.applet java.lang\fPãªã©)ãŒå…¥ã£ã¦ã„るファイルã®åå‰ã§ã™ã€‚å„オプションã®ã€ä¸€é‡å¼•用符ã§å›²ã¾ã‚ŒãŸå¼•æ•°ã®å†…å´ã«ã¯ã€æ”¹è¡Œæ–‡å­—を挿入ã§ãã¾ã›ã‚“。(ãŸã¨ãˆã°ã€ã“ã®ä¾‹ã‚’コピー&ペーストã™ã‚‹å ´åˆã¯ã€\f2\-bottom\fPオプションã‹ã‚‰æ”¹è¡Œæ–‡å­—を削除ã—ã¦ãã ã•ã„。)ã•らã«ã€ä¸‹ã®ã€Œæ³¨æ„ã€ã‚‚å‚ç…§ã—ã¦ãã ã•ã„。 +.SS +Makefileã®ä¾‹ +.LP +ã“ã“ã§ã¯ã€GNU Makefileã®ä¾‹ã‚’示ã—ã¾ã™ã€‚Windowsã®Makefileã®ä¾‹ã«ã¤ã„ã¦ã¯ã€ +.na +\f2Windowsã®Makefileã®ä½œæˆæ–¹æ³•\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137483.html#makefilesã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.nf +\f3 +.fl +javadoc \-\fP\f3sourcepath\fP\f3 $(SRCDIR) \\ /* Sets path for source files */ +.fl + \-\fP\f3overview\fP\f3 $(SRCDIR)/overview.html \\ /* Sets file for overview text */ +.fl + \-\fP\f3d\fP\f3 /java/jdk/build/api \\ /* Sets destination directory */ +.fl + \-\fP\f3use\fP\f3 \\ /* Adds "Use" files */ +.fl + \-\fP\f3splitIndex\fP\f3 \\ /* Splits index A\-Z */ +.fl + \-\fP\f3windowtitle\fP\f3 $(WINDOWTITLE) \\ /* Adds a window title */ +.fl + \-\fP\f3doctitle\fP\f3 $(DOCTITLE) \\ /* Adds a doc title */ +.fl + \-\fP\f3header\fP\f3 $(HEADER) \\ /* Adds running header text */ +.fl + \-\fP\f3bottom\fP\f3 $(BOTTOM) \\ /* Adds text at bottom */ +.fl + \-\fP\f3group\fP\f3 $(GROUPCORE) \\ /* 1st subhead on overview page */ +.fl + \-\fP\f3group\fP\f3 $(GROUPEXT) \\ /* 2nd subhead on overview page */ +.fl + \-\fP\f3J\fP\f3\-Xmx180m \\ /* Sets memory to 180MB */ +.fl + java.lang java.lang.reflect \\ /* Sets packages to document */ +.fl + java.util java.io java.net \\ +.fl + java.applet +.fl + +.fl +WINDOWTITLE = 'Java(TM) SE 7 API Specification' +.fl +DOCTITLE = 'Java(TM) Platform Standard Edition 7 API Specification' +.fl +HEADER = '<b>Java(TM) SE 7</font>' +.fl +BOTTOM = '<font size="\-1"> +.fl + <a href="http://bugreport.sun.com/bugreport/">Submit a bug or feature</a><br/> +.fl + Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.<br/> +.fl + Oracle is a registered trademark of Oracle Corporation and/or its affiliates. +.fl + Other names may be trademarks of their respective owners.</font>' +.fl +GROUPCORE = '"Core Packages" "java.*:com.sun.java.*:org.omg.*"' +.fl +GROUPEXT = '"Extension Packages" "javax.*"' +.fl +SRCDIR = '/java/jdk/1.7.0/src/share/classes' +.fl +\fP +.fi +.LP +Makefileã®å¼•æ•°ã¯ã€ä¸€é‡å¼•用符ã§å›²ã¿ã¾ã™ã€‚ +.LP +\f3注æ„\fP +.RS 3 +.TP 2 +o +\f2\-windowtitle\fPオプションをçœç•¥ã™ã‚‹ã¨ã€Javadocツールã«ã‚ˆã£ã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãƒ»ã‚¿ã‚¤ãƒˆãƒ«ãŒã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒ»ã‚¿ã‚¤ãƒˆãƒ«ã«ã‚³ãƒ”ーã•れã¾ã™ã€‚\f2\-windowtitle\fPã®ãƒ†ã‚­ã‚¹ãƒˆã¯ã€åŸºæœ¬çš„ã«\f2\-doctitle\fPã¨åŒã˜ã§ã™ã€‚ãŸã ã—ã€HTMLã‚¿ã‚°ã¯å«ã¾ã‚Œã¾ã›ã‚“。ã“れã¯ã€HTMLã‚¿ã‚°ãŒã€ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒ»ã‚¿ã‚¤ãƒˆãƒ«å†…ã«ãã®ã¾ã¾ã®ãƒ†ã‚­ã‚¹ãƒˆã¨ã—ã¦è¡¨ç¤ºã•れるã®ã‚’防ããŸã‚ã§ã™ã€‚. +.TP 2 +o +ã“ã®ä¾‹ã®ã‚ˆã†ã«\f2\-footer\fPオプションをçœç•¥ã™ã‚‹ã¨ã€Javadocツールã«ã‚ˆã£ã¦ãƒ˜ãƒƒãƒ€ãƒ¼ãƒ»ãƒ†ã‚­ã‚¹ãƒˆãŒãƒ•ッターã«ã‚³ãƒ”ーã•れã¾ã™ã€‚ +.TP 2 +o +ã“ã®ä¾‹ã§ã¯å¿…è¦ã‚りã¾ã›ã‚“ãŒã€\f2\-classpath\fPã¨\f2\-link\fPã‚‚é‡è¦ãªã‚ªãƒ—ションã§ã™ã€‚ +.RE +.SH "トラブルシューティング" +.SS +一般的ãªãƒˆãƒ©ãƒ–ルシューティング +.RS 3 +.TP 2 +o +\f3Javadocã®FAQ\fP \- 一般的ãªãƒã‚°ãŠã‚ˆã³ãƒˆãƒ©ãƒ–ルシューティングã®ãƒ’ントã¯ã€ +.na +\f2Javadocã®FAQ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137483.htmlã§å‚ç…§ã§ãã¾ã™ã€‚ +.TP 2 +o +\f3ãƒã‚°ãŠã‚ˆã³åˆ¶é™äº‹é …\fP \- ãƒã‚°ã®ä¸€éƒ¨ã¯ã€ãƒã‚°ä¿®æ­£ãŠã‚ˆã³å¤‰æ›´ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆã§ã‚‚å‚ç…§ã§ãã¾ã™ã€‚ +.TP 2 +o +\f3ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·\fP \- ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 2 +o +\f3有効ãªã‚¯ãƒ©ã‚¹ã®ã¿ã‚’ドキュメント化\fP \- パッケージをドキュメント化ã™ã‚‹ã¨ãã€Javadocã¯ã€åå‰ãŒæœ‰åйãªã‚¯ãƒ©ã‚¹åã§æ§‹æˆã•れã¦ã„るファイルã®ã¿ã‚’読ã¿è¾¼ã¿ã¾ã™ã€‚ãŸã¨ãˆã°ã€ãƒ•ァイルåã«ãƒã‚¤ãƒ•ン「\-ã€ã‚’å«ã‚ã‚‹ã“ã¨ã§ã€Javadocã«ã‚ˆã‚‹ãƒ•ァイルã®è§£æžã‚’防ãã“ã¨ãŒã§ãã¾ã™ã€‚ +.RE +.SS +エラーã¨è­¦å‘Š +.LP +エラーãŠã‚ˆã³è­¦å‘Šãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã«ã¯ã€ãƒ•ァイルåã¨å®£è¨€è¡Œ(ドキュメンテーション・コメント内ã®ç‰¹å®šã®è¡Œã§ã¯ãªã„)ã®è¡Œç•ªå·ãŒå«ã¾ã‚Œã¾ã™ã€‚ +.RS 3 +.TP 2 +o +「\f2エラー: Class1.javaを読ã¿è¾¼ã‚ã¾ã›ã‚“\fPã€: Javadocツールã¯ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«Class1.javaクラスをロードã—よã†ã¨ã—ã¦ã„ã¾ã™ã€‚絶対パスã¾ãŸã¯ç›¸å¯¾ãƒ‘スã¨ã¨ã‚‚ã«è¡¨ç¤ºã•れるクラスåã¯ã€ã“ã®ä¾‹ã®å ´åˆ\f2./Class1.java\fPã¨åŒã˜ã§ã™ã€‚ +.RE +.SH "環境" +.RS 3 +.TP 3 +CLASSPATH +JavadocãŒãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ã®ãƒ•ァイルを探ã™ã¨ãã«ä½¿ç”¨ã™ã‚‹ãƒ‘スを指定ã™ã‚‹ç’°å¢ƒå¤‰æ•°ã§ã™ã€‚ã“ã®ç’°å¢ƒå¤‰æ•°ã¯ã€\f2\-classpath\fPオプションã«ã‚ˆã£ã¦ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã•れã¾ã™ã€‚ディレクトリã¯ã€æ¬¡ã®ã‚ˆã†ã«ã‚³ãƒ­ãƒ³ã§åŒºåˆ‡ã‚Šã¾ã™ã€‚ +.:/home/classes:/usr/local/java/classes +.RE +.SH "関連項目" +.RS 3 +.TP 2 +o +javac(1) +.TP 2 +o +java(1) +.TP 2 +o +jdb(1) +.TP 2 +o +javah(1) +.TP 2 +o +javap(1) +.TP 2 +o +.na +\f2Javadocã®ãƒ›ãƒ¼ãƒ ãƒ»ãƒšãƒ¼ã‚¸\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-jsp\-135444.html +.TP 2 +o +.na +\f2How to Write Doc Comments for Javadoc\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html +.TP 2 +o +.na +\f2クラス・パスã®è¨­å®š\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#general +.TP 2 +o +.na +\f2javacã¨javadocãŒã‚¯ãƒ©ã‚¹ã‚’検索ã™ã‚‹æ–¹æ³•\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html#srcfiles(tools.jar) +.RE + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javafxpackager.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javafxpackager.1 new file mode 100644 index 00000000..68740f30 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javafxpackager.1 @@ -0,0 +1,486 @@ +'\" t +.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved. +.\" Title: javafxpackager +.\" Language: English +.\" Date: 2013å¹´8月 +.\" SectDesc: ユーザー・コマンド +.\" Software: Oracle Java +.\" Arch: 汎用 +.\" +.pl 99999 +.TH "javafxpackager" "1" "2013å¹´8月" "Oracle Java" "ユーザー・コマンド" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +javafxpackager \- JavaFXアプリケーションã®ãƒ‘ッケージ化ã¨ç½²åã«é–¢é€£ã™ã‚‹ã‚¿ã‚¹ã‚¯ã‚’実行ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã‚’å‚™ãˆãŸãƒ„ール。 +.SH "å½¢å¼" +.sp +.if n \{\ +.RS 4 +.\} +.nf +javafxpackager \fI\-taskcommand\fR \fI[\-options]\fR +.fi +.if n \{\ +.RE +.\} +.PP +ã“ã“ã§ã€\fI\-taskcommand\fRã«ã¯ã€æ¬¡ã®ã„ãšã‚Œã‹ã‚’指定ã—ã¾ã™ã€‚ +.PP +\-createjar +.RS 4 +ä»–ã®ãƒ‘ラメータã«å¾“ã£ã¦JARアーカイブを作æˆã—ã¾ã™ã€‚ +.RE +.PP +\-deploy +.RS 4 +å†é…布用ã®ã‚¢ãƒ—リケーション・パッケージを組ã¿ç«‹ã¦ã¾ã™ã€‚デプロイ・タスクã§ã¯ã€ãƒ‡ãƒ•ォルトã§ãƒ™ãƒ¼ã‚¹ãƒ»ã‚¢ãƒ—リケーション・パッケージãŒç”Ÿæˆã•れã¾ã™ãŒã€æŒ‡å®šã™ã‚Œã°è‡ªå·±å®Œçµåž‹ã‚¢ãƒ—リケーション・パッケージも生æˆã§ãã¾ã™ã€‚ +.RE +.PP +\-createbss +.RS 4 +CSSファイルをãƒã‚¤ãƒŠãƒªå½¢å¼ã«å¤‰æ›ã—ã¾ã™ã€‚ +.RE +.PP +\-signJar +.RS 4 +指定ã—ãŸè¨¼æ˜Žæ›¸ã§JARファイルã«ç½²åã—ã¾ã™ã€‚ +.RE +.PP +\-makeall +.RS 4 +大åŠã¯äº‹å‰å®šç¾©ã•れã¦ã„る引数を使用ã—ã¦ã€ã‚³ãƒ³ãƒ‘イルã€\fIcreatejar\fRã€\fIdeploy\fRã®ã‚¹ãƒ†ãƒƒãƒ—ã‚’1ã¤ã®å‘¼å‡ºã—ã§å®Ÿè¡Œã—ã¾ã™ã€‚デフォルトã§ã¯ã€è©²å½“ã™ã‚‹è‡ªå·±å®Œçµåž‹ã‚¢ãƒ—リケーション・パッケージをã™ã¹ã¦ç”Ÿæˆã—よã†ã¨ã—ã¾ã™ã€‚ソース・ファイルã¯srcã¨ã„ã†ãƒ•ォルダã«é…ç½®ã™ã‚‹å¿…è¦ãŒã‚りã€ç”Ÿæˆã•れるファイル(JARã€JNLPã€HTMLãŠã‚ˆã³è‡ªå·±å®Œçµåž‹ã‚¢ãƒ—リケーション・パッケージ)ã¯distã¨ã„ã†ãƒ•ォルダã«å‡ºåŠ›ã•れã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã¯æœ€å°é™ã®æ§‹æˆã®ã¿ãŒå¯èƒ½ã§ã€å¯èƒ½ãªé™ã‚Šè‡ªå‹•化ã•れã¦ã„ã¾ã™ã€‚ +.RE +.PP +オプションã¯ã™ã¹ã¦å¤§æ–‡å­—ã¨å°æ–‡å­—ãŒåŒºåˆ¥ã•れã¾ã™ã®ã§æ³¨æ„ã—ã¦ãã ã•ã„。 +.SH "CREATEJARコマンドã®ã‚ªãƒ—ション" +.PP +\-appclass \fI<application class>\fR +.RS 4 +実行ã™ã‚‹ã‚¢ãƒ—リケーション・クラスã®ä¿®é£¾å。 +.RE +.PP +\-preloader \fI<preloader class>\fR +.RS 4 +実行ã™ã‚‹ãƒ—リローダー・クラスã®ä¿®é£¾å。 +.RE +.PP +\-paramfile <file> +.RS 4 +デフォルトã®åå‰ä»˜ãアプリケーション・パラメータãŒå«ã¾ã‚Œã‚‹ãƒ—ロパティ・ファイル。 +.RE +.PP +\-argument arg +.RS 4 +\fI<fx:argument>\fRè¦ç´ ã¨ã—ã¦JNLPãƒ•ã‚¡ã‚¤ãƒ«ã«æŒ¿å…¥ã•れるåå‰ãªã—引数。 +.RE +.PP +\-classpath \fI<files>\fR +.RS 4 +ä¾å­˜ã™ã‚‹JARファイルåã®ãƒªã‚¹ãƒˆã€‚ +.RE +.PP +\-manifestAttrs \fI<manifest attributes>\fR +.RS 4 +追加ã®ãƒžãƒ‹ãƒ•ェスト属性ã®ãƒªã‚¹ãƒˆã€‚æ§‹æ–‡: +.sp +.if n \{\ +.RS 4 +.\} +.nf +"name1=value1,name2=value2,name3=value3" +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-noembedlauncher +.RS 4 +指定ã—ãŸå ´åˆã€ãƒ‘ッケージャã¯JARファイルã«JavaFX起動クラスを追加ã—ã¾ã›ã‚“。 +.RE +.PP +\-nocss2bin +.RS 4 +パッケージャã¯JARã«ã‚³ãƒ”ーã™ã‚‹å‰ã«CSSファイルをãƒã‚¤ãƒŠãƒªå½¢å¼ã«å¤‰æ›ã—ã¾ã›ã‚“。 +.RE +.PP +\-runtimeversion \fI<version>\fR +.RS 4 +å¿…è¦ãªJavaFXランタイムã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã€‚ +.RE +.PP +\-outdir \fI<dir>\fR +.RS 4 +生æˆã•れãŸå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å—ã‘å–るディレクトリã®åå‰ã€‚ +.RE +.PP +\-outfile \fI<filename>\fR +.RS 4 +生æˆã•れるファイルã®åå‰(æ‹¡å¼µå­ãªã—)。 +.RE +.PP +\-srcdir \fI<dir>\fR +.RS 4 +パッケージ化ã™ã‚‹ãƒ•ァイルã®ãƒ™ãƒ¼ã‚¹ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€‚ +.RE +.PP +\-srcfiles \fI<files>\fR +.RS 4 +\fIsrcdir\fR内ã®ãƒ•ァイルã®ãƒªã‚¹ãƒˆã€‚çœç•¥ã™ã‚‹ã¨ã€\fIsrcdir\fR +(ã“ã®å ´åˆã¯å¿…é ˆã®å¼•æ•°)ã«ã‚ã‚‹ã™ã¹ã¦ã®ãƒ•ァイルãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.SH "DEPLOYコマンドã®ã‚ªãƒ—ション" +.PP +\-title \fI<title>\fR +.RS 4 +アプリケーションã®ã‚¿ã‚¤ãƒˆãƒ«ã€‚ +.RE +.PP +\-vendor \fI<vendor>\fR +.RS 4 +アプリケーションã®ãƒ™ãƒ³ãƒ€ãƒ¼ã€‚ +.RE +.PP +\-description \fI<description>\fR +.RS 4 +アプリケーションã®èª¬æ˜Žã€‚ +.RE +.PP +\-appclass \fI<application class>\fR +.RS 4 +実行ã™ã‚‹ã‚¢ãƒ—リケーション・クラスã®ä¿®é£¾å。 +.RE +.PP +\-preloader \fI<preloader class>\fR +.RS 4 +実行ã™ã‚‹ãƒ—リローダー・クラスã®ä¿®é£¾å。 +.RE +.PP +\-paramfile \fI<file>\fR +.RS 4 +デフォルトã®åå‰ä»˜ãアプリケーション・パラメータãŒå«ã¾ã‚Œã‚‹ãƒ—ロパティ・ファイル。 +.RE +.PP +\-htmlparamfile \fI<file>\fR +.RS 4 +生æˆã•れるアプリケーションをブラウザã§å®Ÿè¡Œã™ã‚‹å ´åˆã®ãƒ‘ラメータãŒå«ã¾ã‚Œã‚‹ãƒ—ロパティ・ファイル。 +.RE +.PP +\-width \fI<width>\fR +.RS 4 +アプリケーションã®å¹…。 +.RE +.PP +\-height \fI<height>\fR +.RS 4 +アプリケーションã®é«˜ã•。 +.RE +.PP +\-native \fI<type>\fR +.RS 4 +自己完çµåž‹ã‚¢ãƒ—リケーション・ãƒãƒ³ãƒ‰ãƒ«ã‚’生æˆã—ã¾ã™(å¯èƒ½ãªå ´åˆ)。\fItype\fRを指定ã™ã‚‹ã¨ã€ã“ã®ã‚¿ã‚¤ãƒ—ã®ãƒãƒ³ãƒ‰ãƒ«ã®ã¿ãŒä½œæˆã•れã¾ã™ã€‚サãƒãƒ¼ãƒˆã•れるタイプã¯ã€installerã€imageã€exeã€msiã€dmgã€rpmã€debã§ã™ã€‚ +.RE +.PP +\-name \fI<name>\fR +.RS 4 +アプリケーションã®åå‰ã€‚ +.RE +.PP +\-embedjnlp +.RS 4 +指定ã—ãŸå ´åˆã€JNLPファイルãŒHTMLドキュメントã«åŸ‹ã‚è¾¼ã¾ã‚Œã¾ã™ã€‚ +.RE +.PP +\-embedCertificates +.RS 4 +指定ã—ãŸå ´åˆã€è¨¼æ˜Žæ›¸ãŒJNLPファイルã«åŸ‹ã‚è¾¼ã¾ã‚Œã¾ã™ã€‚ +.RE +.PP +\-allpermissions +.RS 4 +指定ã—ãŸå ´åˆã€JNLPファイル内ã®ã™ã¹ã¦ã®ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£æ¨©é™ãŒã‚¢ãƒ—リケーションã«å¿…è¦ã«ãªã‚Šã¾ã™ã€‚ +.RE +.PP +\-updatemode \fI<updatemode>\fR +.RS 4 +JNLPãƒ•ã‚¡ã‚¤ãƒ«ã®æ›´æ–°ãƒ¢ãƒ¼ãƒ‰ã‚’設定ã—ã¾ã™ã€‚ +.RE +.PP +\-isExtension +.RS 4 +指定ã—ãŸå ´åˆã€\fIsrcfiles\fRã¯æ‹¡å¼µãƒ•ァイルã¨ã—ã¦å‡¦ç†ã•れã¾ã™ã€‚ +.RE +.PP +\-callbacks +.RS 4 +生æˆå¾Œã®HTMLã§ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚³ãƒ¼ãƒ«ãƒãƒƒã‚¯æ–¹å¼ã‚’指定ã—ã¾ã™ã€‚å½¢å¼ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +"name1:value1,name2:value2,\&.\&.\&." +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-templateInFilename +.RS 4 +HTMLテンプレート・ファイルã®åå‰ã€‚プレースホルダã®å½¢å¼ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.sp +.if n \{\ +.RS 4 +.\} +.nf +#XXXX\&.YYYY(APPID)# +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-templateOutFilename +.RS 4 +テンプレートã‹ã‚‰ç”Ÿæˆã•れるHTMLファイルã®åå‰ã€‚ +.RE +.PP +\-templateId +.RS 4 +テンプレート処ç†ã‚’行ã†ã‚¢ãƒ—リケーションã®ã‚¢ãƒ—リケーションID。 +.RE +.PP +\-argument arg +.RS 4 +JNLPファイルã®\fI<fx:argument>\fRè¦ç´ ã«æŒ¿å…¥ã•れるåå‰ãªã—引数。 +.RE +.PP +\-outdir \fI<dir>\fR +.RS 4 +生æˆã•れãŸå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å—ã‘å–るディレクトリã®åå‰ã€‚ +.RE +.PP +\-outfile \fI<filename>\fR +.RS 4 +生æˆã•れるファイルã®åå‰(æ‹¡å¼µå­ãªã—)。 +.RE +.PP +\-srcdir \fI<dir>\fR +.RS 4 +パッケージ化ã™ã‚‹ãƒ•ァイルã®ãƒ™ãƒ¼ã‚¹ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€‚ +.RE +.PP +\-srcfiles \fI<files>\fR +.RS 4 +\fIsrcdir\fR内ã®ãƒ•ァイルã®ãƒªã‚¹ãƒˆã€‚çœç•¥ã™ã‚‹ã¨ã€\fIsrcdir\fR +(ã“ã®å ´åˆã¯å¿…é ˆã®å¼•æ•°)ã«ã‚ã‚‹ã™ã¹ã¦ã®ãƒ•ァイルãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.SH "CREATEBSSコマンドã®ã‚ªãƒ—ション" +.PP +\-outdir \fI<dir>\fR +.RS 4 +生æˆã•れãŸå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å—ã‘å–るディレクトリã®åå‰ã€‚ +.RE +.PP +\-srcdir \fI<dir>\fR +.RS 4 +パッケージ化ã™ã‚‹ãƒ•ァイルã®ãƒ™ãƒ¼ã‚¹ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€‚ +.RE +.PP +\-srcfiles \fI<files>\fR +.RS 4 +\fIsrcdir\fR内ã®ãƒ•ァイルã®ãƒªã‚¹ãƒˆã€‚çœç•¥ã™ã‚‹ã¨ã€\fIsrcdir\fR +(ã“ã®å ´åˆã¯å¿…é ˆã®å¼•æ•°)ã«ã‚ã‚‹ã™ã¹ã¦ã®ãƒ•ァイルãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.SH "SIGNJARコマンドã®ã‚ªãƒ—ション" +.PP +\-keyStore \fI<file>\fR +.RS 4 +キーストア・ファイルå。 +.RE +.PP +\-alias +.RS 4 +キーã®åˆ¥å。 +.RE +.PP +\-storePass +.RS 4 +ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®æ•´åˆæ€§ã‚’確èªã—ãŸã‚Šã€ãƒ­ãƒƒã‚¯ã‚’解除ã™ã‚‹ãŸã‚ã®ãƒ‘スワード。 +.RE +.PP +\-keyPass +.RS 4 +キーを復元ã™ã‚‹ãŸã‚ã®ãƒ‘スワード。 +.RE +.PP +\-storeType +.RS 4 +キーストアã®ã‚¿ã‚¤ãƒ—。デフォルト値ã¯"jks"ã§ã™ã€‚ +.RE +.PP +\-outdir \fI<dir>\fR +.RS 4 +生æˆã•れãŸå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å—ã‘å–るディレクトリã®åå‰ã€‚ +.RE +.PP +\-srcdir \fI<dir>\fR +.RS 4 +ç½²åã™ã‚‹ãƒ•ァイルã®ãƒ™ãƒ¼ã‚¹ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã€‚ +.RE +.PP +\-srcfiles \fI<files>\fR +.RS 4 +\fIsrcdir\fR内ã®ãƒ•ァイルã®ãƒªã‚¹ãƒˆã€‚çœç•¥ã™ã‚‹ã¨ã€\fIsrcdir\fR +(ã“ã®å ´åˆã¯å¿…é ˆã®å¼•æ•°)ã«ã‚ã‚‹ã™ã¹ã¦ã®ãƒ•ァイルãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.SH "MAKEALLコマンドã®ã‚ªãƒ—ション" +.PP +\-appclass \fI<application class>\fR +.RS 4 +実行ã™ã‚‹ã‚¢ãƒ—リケーション・クラスã®ä¿®é£¾å。 +.RE +.PP +\-preloader \fI<preloader class>\fR +.RS 4 +実行ã™ã‚‹ãƒ—リローダー・クラスã®ä¿®é£¾å。 +.RE +.PP +\-classpath \fI<files>\fR +.RS 4 +ä¾å­˜ã™ã‚‹JARファイルåã®ãƒªã‚¹ãƒˆã€‚ +.RE +.PP +\-name \fI<name>\fR +.RS 4 +アプリケーションã®åå‰ã€‚ +.RE +.PP +\-width \fI<width>\fR +.RS 4 +アプリケーションã®å¹…。 +.RE +.PP +\-height \fI<height>\fR +.RS 4 +アプリケーションã®é«˜ã•。 +.RE +.SH "注æ„" +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +タスク・コマンドã¨ã¨ã‚‚ã«\fI\-v \fRオプションを使用ã™ã‚Œã°ã€è©³ç´°ãªå‡ºåŠ›ãŒæœ‰åйã«ãªã‚Šã¾ã™ã€‚ +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fI\-srcdir\fRオプションをコマンドã§ä½¿ç”¨ã§ãã‚‹å ´åˆã¯ã€è¤‡æ•°å›žä½¿ç”¨ã§ãã¾ã™ã€‚\fI\-srcfiles\fRオプションを指定ã™ã‚‹ã¨ã€å¼•æ•°ã«æŒ‡å®šã•れãŸãƒ•ァイルåãŒã€ãã®å‰ã«æŒ‡å®šã•れã¦ã„ã‚‹\fIsrcdir\fRã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§æŒ‡å®šã•れãŸå ´æ‰€ã§æ¤œç´¢ã•れã¾ã™ã€‚\fI\-srcdir\fRãŒ\fI\-srcfiles\fRã®å‰ã«æŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€javafxpackagerコマンドãŒå®Ÿè¡Œã•れるディレクトリãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.RE +.SH "例" +.PP +\fBExample 1\fR, \-createjarコマンドã®ä½¿ç”¨æ–¹æ³• +.RS 4 +.sp +.if n \{\ +.RS 4 +.\} +.nf +javafxpackager \-createjar \-appclass package\&.ClassName + \-srcdir classes \-outdir out \-outfile outjar \-v +.fi +.if n \{\ +.RE +.\} +classesディレクトリã®å†…容をoutjar\&.jarã«ãƒ‘ッケージ化ã—ã¦ã€ã‚¢ãƒ—リケーション・クラスをpackage\&.ClassNameã«è¨­å®šã—ã¾ã™ã€‚ +.RE +.PP +\fBExample 2\fR, \-deployコマンドã®ä½¿ç”¨æ–¹æ³• +.RS 4 +.sp +.if n \{\ +.RS 4 +.\} +.nf +javafxpackager \-deploy \-outdir outdir \-outfile outfile \-width 34 \-height 43 + \-name AppName \-appclass package\&.ClassName \-v \-srcdir compiled +.fi +.if n \{\ +.RE +.\} +outfile\&.jnlpファイルãŠã‚ˆã³å¯¾å¿œã™ã‚‹outfile\&.htmlファイルをã€ã‚¢ãƒ—リケーションAppNameã®outdirã«ç”Ÿæˆã—ã¾ã™ã€‚ã“れã¯ã€package\&.ClassNameã§å§‹ã¾ã‚Šã€34 x 43ã®é…列をæŒã¡ã¾ã™ã€‚ +.RE +.PP +\fBExample 3\fR, \-makeallコマンドã®ä½¿ç”¨æ–¹æ³• +.RS 4 +.sp +.if n \{\ +.RS 4 +.\} +.nf +javafxpackager \-makeall \-appclass brickbreaker\&.Main \-name BrickBreaker + \-width 600 \-height 600 +.fi +.if n \{\ +.RE +.\} +コンパイルをå«ã‚€ã™ã¹ã¦ã®ãƒ‘ッケージ化作業(コンパイルã€Jarã®ä½œæˆã€ãƒ‡ãƒ—ロイ)を実行ã—ã¾ã™ã€‚ +.RE +.PP +\fBExample 4\fR, \-signJarコマンドã®ä½¿ç”¨æ–¹æ³• +.RS 4 +.sp +.if n \{\ +.RS 4 +.\} +.nf +javafxpackager \-signJar \-\-outdir dist \-keyStore sampleKeystore\&.jks +.fi +.if n \{\ +.RE +.\} +.sp +.if n \{\ +.RS 4 +.\} +.nf + \-storePass **** \-alias javafx \-keypass **** \-srcdir dist +.fi +.if n \{\ +.RE +.\} +distディレクトリã«ã‚ã‚‹ã™ã¹ã¦ã®ãƒ•ァイルã«ç½²åã—ã€æŒ‡å®šã—ãŸaliasã€keyStoreãŠã‚ˆã³storePassを指定ã—ã¦è¨¼æ˜Žæ›¸ã‚’添付ã—ã€ç½²åã•れãŸJARファイルをdistãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æˆ»ã—ã¾ã™ã€‚ +.RE +.br +'pl 8.5i +'bp diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javah.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javah.1 new file mode 100644 index 00000000..6a7325ac --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javah.1 @@ -0,0 +1,119 @@ +." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javah 1 "05 Jul 2012" + +.LP +.SH "åå‰" +javah \- Cヘッダーã¨ã‚¹ã‚¿ãƒ–・ファイル・ジェãƒãƒ¬ãƒ¼ã‚¿ +.LP +.LP +\f3javah\fPã¯ã€Javaクラスã‹ã‚‰Cヘッダー・ファイルã¨Cソース・ファイルを作æˆã—ã¾ã™ã€‚ã“れらã®ãƒ•ァイルã¯ã€Javaãƒ—ãƒ­ã‚°ãƒ©ãƒŸãƒ³ã‚°è¨€èªžã§æ›¸ã‹ã‚ŒãŸã‚³ãƒ¼ãƒ‰ã¨ã€Cãªã©ã®ãã®ä»–ã®è¨€èªžã§æ›¸ã‹ã‚ŒãŸã‚³ãƒ¼ãƒ‰ã‚’接続ã—ã€ã‚³ãƒ¼ãƒ‰ãŒç›¸äº’ã«ä½œç”¨ã™ã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +javah [ \fP\f3options\fP\f3 ] fully\-qualified\-classname. . . +.fl +\fP +.fi + +.LP +.SH "説明" +.LP +.LP +\f3javah\fPã¯ã€ãƒã‚¤ãƒ†ã‚£ãƒ–・メソッドを実装ã™ã‚‹ãŸã‚ã«å¿…è¦ãªCヘッダーã¨ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを生æˆã—ã¾ã™ã€‚作æˆã•れãŸãƒ˜ãƒƒãƒ€ãƒ¼ã¨ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã¯ã€ãƒã‚¤ãƒ†ã‚£ãƒ–・ソース・コードã‹ã‚‰ã‚ªãƒ–ジェクトã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹å¤‰æ•°ã‚’å‚ç…§ã™ã‚‹ãŸã‚ã«Cプログラムã«ã‚ˆã£ã¦ä½¿ç”¨ã•れã¾ã™ã€‚.hファイルã¯ã€å¯¾å¿œã™ã‚‹ã‚¯ãƒ©ã‚¹ã¨ä¸€è‡´ã™ã‚‹é…置をæŒã¤æ§‹é€ ä½“定義をå«ã¿ã¾ã™ã€‚構造体ã®ãƒ•ィールドã¯ã€ã‚¯ãƒ©ã‚¹ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹å¤‰æ•°ã«å¯¾å¿œã—ã¾ã™ã€‚ +.LP +.LP +ヘッダー・ファイルã¨ãã®ä¸­ã§å®£è¨€ã•れる構造体ã®åå‰ã¯ã‚¯ãƒ©ã‚¹ã®åå‰ã‹ã‚‰æ´¾ç”Ÿã—ã¾ã™ã€‚\f3javah\fPã«æ¸¡ã•れるクラスãŒãƒ‘ッケージã®ä¸­ã«ã‚ã‚‹å ´åˆã€ãƒ‘ッケージåã¯ãƒ˜ãƒƒãƒ€ãƒ¼ãƒ»ãƒ•ァイルåã¨æ§‹é€ ä½“åã®ä¸¡æ–¹ã«ä»˜åŠ ã•れã¾ã™ã€‚下線(_)ãŒåå‰ã®åŒºåˆ‡ã‚Šæ–‡å­—ã¨ã—ã¦ä½¿ç”¨ã•れã¾ã™ã€‚ +.LP +.LP +デフォルトã§ã¯\f3javah\fPã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«ãƒªã‚¹ãƒˆã•れるå„クラスã®ãƒ˜ãƒƒãƒ€ãƒ¼ãƒ»ãƒ•ァイルを作æˆã—ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ãƒ•ァイルを置ãã¾ã™ã€‚ソース・ファイルを作æˆã™ã‚‹ã«ã¯ã€\f2\-stubs\fPオプションを使用ã—ã¦ãã ã•ã„。1ã¤ã®ãƒ•ァイルã®ä¸­ã«ã€ãƒªã‚¹ãƒˆã•れãŸã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ã®çµæžœã‚’連çµã™ã‚‹ã«ã¯ã€\f2\-o\fPオプションを使用ã—ã¦ãã ã•ã„。 +.LP +.LP +æ–°ã—ã„ãƒã‚¤ãƒ†ã‚£ãƒ–・メソッド・インタフェースã§ã‚ã‚‹Java Native Interface(JNI)ã¯ã€ãƒ˜ãƒƒãƒ€ãƒ¼æƒ…å ±ã¾ãŸã¯ã‚¹ã‚¿ãƒ–・ファイルを必è¦ã¨ã—ã¾ã›ã‚“。ç¾åœ¨ã§ã¯ã€\f3javah\fPã¯ã€JNIå½¢å¼ã®ãƒã‚¤ãƒ†ã‚£ãƒ–・メソッドã«å¿…è¦ãªãƒã‚¤ãƒ†ã‚£ãƒ–・メソッド機能プロトタイプを生æˆã—ã¾ã™ã€‚デフォルトã§ã¯ã€\f3javah\fPã¯JNIå½¢å¼ã§å‡ºåŠ›ã•れã€ãã®çµæžœã¯ .hãƒ•ã‚¡ã‚¤ãƒ«ã«æ ¼ç´ã•れã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-o outputfile +コマンドラインã«ãƒªã‚¹ãƒˆã•れãŸã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ã«å¯¾ã—ã¦ã€çµæžœã®ãƒ˜ãƒƒãƒ€ãƒ¼ã¾ãŸã¯ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを連çµã—ã¦\f2outputfile\fPã«æ ¼ç´ã—ã¾ã™ã€‚\f3\-o\fPã¾ãŸã¯\f3\-d\fPã®ã©ã¡ã‚‰ã‹ä¸€æ–¹ã®ã¿ä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +\-ddirectory +\f3javah\fPãŒãƒ˜ãƒƒãƒ€ãƒ¼ãƒ»ãƒ•ァイルã¾ãŸã¯ã‚¹ã‚¿ãƒ–・ファイルをä¿å­˜ã™ã‚‹ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’設定ã—ã¾ã™ã€‚\f3\-d\fPã¾ãŸã¯\f3\-o\fPã®ã©ã¡ã‚‰ã‹ä¸€æ–¹ã®ã¿ä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +\-stubs +\f3javah\fPãŒã€Javaオブジェクト・ファイルã‹ã‚‰C宣言を生æˆã—ã¾ã™ã€‚ +.TP 3 +\-verbose +詳細出力を指定ã—ã€ä½œæˆãƒ•ァイルã®çŠ¶æ…‹ã«é–¢ã™ã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’ã€\f3javah\fPãŒæ¨™æº–出力ã«å‡ºåŠ›ã—ã¾ã™ã€‚ +.TP 3 +\-help +\f3javah\fPã®ä½¿ç”¨æ–¹æ³•ã«ã¤ã„ã¦ã®ãƒ˜ãƒ«ãƒ—・メッセージを出力ã—ã¾ã™ã€‚ +.TP 3 +\-version +\f3javah\fPã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¾ã™ã€‚ +.TP 3 +\-jni +JNIå½¢å¼ã®ãƒã‚¤ãƒ†ã‚£ãƒ–・ファイル機能プロトタイプをå«ã‚€å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ã€\f3javah\fPãŒä½œæˆã—ã¾ã™ã€‚ã“ã‚Œã¯æ¨™æº–出力ã§ã‚ã‚‹ãŸã‚ã€\f3\-jni\fPã®ä½¿ç”¨ã¯ã‚ªãƒ—ションã§ã™ã€‚ +.TP 3 +\-classpath path +クラスを探ã™ãŸã‚ã«\f3javah\fPãŒä½¿ç”¨ã™ã‚‹ãƒ‘スを指定ã—ã¾ã™ã€‚デフォルトã¾ãŸã¯CLASSPATH環境変数設定を上書ãã—ã¾ã™ã€‚ディレクトリã¯ã‚³ãƒ­ãƒ³ã§åˆ†å‰²ã—ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f2path\fPã®ä¸€èˆ¬å½¢å¼ã¯æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl + .:<your_path> +.fl +\fP +.fi +次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + .:/home/avh/classes:/usr/local/java/classes +.fl +\fP +.fi +便宜上ã€\f2*\fPã®ãƒ™ãƒ¼ã‚¹åã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スè¦ç´ ã¯ã€\f2.jar\fPã¾ãŸã¯\f2.JAR\fPã‚’æ‹¡å¼µå­ã«æŒã¤ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®ãƒ•ァイルã®ãƒªã‚¹ãƒˆã‚’指定ã™ã‚‹ã®ã¨åŒç­‰ã¨ã¿ãªã•れã¾ã™(javaプログラムã¯ã“ã®2ã¤ã®å‘¼å‡ºã—を区別ã§ããªã„)。 +.br +.br +ãŸã¨ãˆã°ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª\f2foo\fPã«\f2a.jar\fPã¨\f2b.JAR\fPãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘スè¦ç´ \f2foo/*\fPã¯\f2A.jar:b.JAR\fPã«å±•é–‹ã•れã¾ã™ã€‚ãŸã ã—ã€JARファイルã®é †ç•ªã¯æœªæŒ‡å®šã¨ãªã‚Šã¾ã™ã€‚ã“ã®ãƒªã‚¹ãƒˆã«ã¯ã€éš ã—ファイルもå«ã‚ã€æŒ‡å®šã•れãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®JARファイルãŒå«ã¾ã‚Œã¾ã™ã€‚\f2*\fPã®ã¿ã‹ã‚‰ãªã‚‹ã‚¯ãƒ©ã‚¹ãƒ»ãƒ‘ス・エントリã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®JARファイルã®ãƒªã‚¹ãƒˆã«å±•é–‹ã•れã¾ã™ã€‚\f2CLASSPATH\fP環境変数もã€å®šç¾©æ™‚ã«ã¯åŒæ§˜ã«å±•é–‹ã•れã¾ã™ã€‚クラス・パスã®ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰å±•é–‹ã¯å¿…ãšã€Java仮想マシンã®èµ·å‹•å‰ã«å®Ÿè¡Œã•れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ç’°å¢ƒã«å•åˆã›ã‚’行ã‚ãªã„é™ã‚Šã€JavaプログラムãŒå±•é–‹ã•れã¦ã„ãªã„ワイルドカードをèªè­˜ã™ã‚‹ã“ã¨ã¯ã‚りã¾ã›ã‚“。ãŸã¨ãˆã°ã€\f2System.getenv(\\"CLASSPATH\\")\fP呼出ã—ãŒãã®ä¾‹ã§ã™ã€‚ +.TP 3 +\-bootclasspath path +ブートストラップ・クラスをロードã™ã‚‹ãƒ‘スを指定ã—ã¾ã™ã€‚ブートストラップ・クラスã¯ã€ãƒ‡ãƒ•ォルトã§ã¯\f2jre/lib/rt.jar\fPãŠã‚ˆã³ä»–ã®ã„ãã¤ã‹ã®JARファイルã«ã‚ã‚‹ã€ã‚³ã‚¢Java 2プラットフォームを実装ã™ã‚‹ã‚¯ãƒ©ã‚¹ã§ã™ã€‚ +.TP 3 +\-old +å¤ã„JDK1.0å½¢å¼ã®ãƒ˜ãƒƒãƒ€ãƒ¼ãƒ»ãƒ•ァイルを生æˆã™ã‚‹ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.TP 3 +\-force +出力ファイルãŒå¸¸ã«æ›¸ãè¾¼ã¾ã‚Œã‚‹ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.TP 3 +\-Joption +Java仮想マシンã«\f2option\fPを渡ã—ã¾ã™ã€‚\f2option\fPã«ã¯ã€java(1)ã®ãƒªãƒ•ァレンス・ページã«è¨˜è¼‰ã•れã¦ã„るオプションを1ã¤æŒ‡å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚ +.RE + +.LP +.SH "環境変数" +.LP +.RS 3 +.TP 3 +CLASSPATH +ユーザー定義クラスã¸ã®ãƒ‘ã‚¹ã‚’ã‚·ã‚¹ãƒ†ãƒ ã«æŒ‡å®šã—ã¾ã™ã€‚ディレクトリã¯ã‚³ãƒ­ãƒ³ã§åˆ†å‰²ã•れã¦ã„ã¾ã™ã€‚ +.nf +\f3 +.fl +.:/home/avh/classes:/usr/local/java/classes +.fl +\fP +.fi +.RE + +.LP +.SH "関連項目" +.LP +.LP +javac(1)ã€java(1)ã€jdb(1)ã€javap(1)ã€javadoc(1) +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javap.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javap.1 new file mode 100644 index 00000000..c9263d1f --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javap.1 @@ -0,0 +1,298 @@ +." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javap 1 "05 Jul 2012" + +.LP +.SH "åå‰" +javap \- Javaクラス・ファイル逆アセンブラ +.LP +.LP +クラス・ファイルを逆アセンブルã—ã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +javap [ \fP\f3options\fP\f3 ] classes +.fl +\fP +.fi + +.LP +.SH "説明" +.LP +.LP +\f3javap\fPコマンドã¯ã€1ã¤ã¾ãŸã¯è¤‡æ•°ã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを逆アセンブルã—ã¾ã™ã€‚ãã®å‡ºåŠ›ã¯æŒ‡å®šã™ã‚‹ã‚ªãƒ—ションã«ã‚ˆã‚Šç•°ãªã‚Šã¾ã™ã€‚オプションを指定ã—ãªã„å ´åˆã€\f3javap\fPã¯ã€ãã®ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã€æ¸¡ã•れãŸã‚¯ãƒ©ã‚¹ã®protectedãŠã‚ˆã³publicã®ãƒ•ィールドã¨ãƒ¡ã‚½ãƒƒãƒ‰ã‚’出力ã—ã¾ã™ã€‚\f3javap\fPã¯ãã®å‡ºåŠ›ã‚’æ¨™æº–å‡ºåŠ›ã«è¡¨ç¤ºã—ã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +options +コマンドライン・オプション。 +.TP 3 +classes +注釈ã®å‡¦ç†å¯¾è±¡ã¨ãªã‚‹1ã¤ä»¥ä¸Šã®ã‚¯ãƒ©ã‚¹\f2DocFooter.class\fPãªã©ã®ãƒªã‚¹ãƒˆ(空白区切り)。クラス・パスã§è¦‹ã¤ã‹ã‚‹ã‚¯ãƒ©ã‚¹ã¯ã€ãƒ•ァイルå(\f2/home/user/myproject/src/DocFooter.class\fPãªã©)ã¾ãŸã¯URL(\f2file:///home/user/myproject/src/DocFooter.class\fPãªã©)ã§æŒ‡å®šã§ãã¾ã™ã€‚ +.RE + +.LP +.LP +ãŸã¨ãˆã°ã€æ¬¡ã®ã‚¯ãƒ©ã‚¹å®£è¨€ã‚’コンパイルã™ã‚‹ã¨ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +import java.awt.*; +.fl +import java.applet.*; +.fl + +.fl +public class DocFooter extends Applet { +.fl + String date; +.fl + String email; +.fl + +.fl + public void init() { +.fl + resize(500,100); +.fl + date = getParameter("LAST_UPDATED"); +.fl + email = getParameter("EMAIL"); +.fl + } +.fl + +.fl + public void paint(Graphics g) { +.fl + g.drawString(date + " by ",100, 15); +.fl + g.drawString(email,290,15); +.fl + } +.fl +} +.fl +\fP +.fi + +.LP +.LP +\f3javap DocFooter.class\fPãŒã‚‚ãŸã‚‰ã™å‡ºåŠ›ã¯æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +Compiled from "DocFooter.java" +.fl +public class DocFooter extends java.applet.Applet { +.fl + java.lang.String date; +.fl + java.lang.String email; +.fl + public DocFooter(); +.fl + public void init(); +.fl + public void paint(java.awt.Graphics); +.fl +} +.fl +\fP +.fi + +.LP +.LP +\f3javap \-c DocFooter.class\fPãŒã‚‚ãŸã‚‰ã™å‡ºåŠ›ã¯æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +Compiled from "DocFooter.java" +.fl +public class DocFooter extends java.applet.Applet { +.fl + java.lang.String date; +.fl + +.fl + java.lang.String email; +.fl + +.fl + public DocFooter(); +.fl + Code: +.fl + 0: aload_0 +.fl + 1: invokespecial #1 // Method java/applet/Applet."<init>":()V +.fl + 4: return +.fl + +.fl + public void init(); +.fl + Code: +.fl + 0: aload_0 +.fl + 1: sipush 500 +.fl + 4: bipush 100 +.fl + 6: invokevirtual #2 // Method resize:(II)V +.fl + 9: aload_0 +.fl + 10: aload_0 +.fl + 11: ldc #3 // String LAST_UPDATED +.fl + 13: invokevirtual #4 // Method getParameter:(Ljava/lang/String;)Ljava/lang/String; +.fl + 16: putfield #5 // Field date:Ljava/lang/String; +.fl + 19: aload_0 +.fl + 20: aload_0 +.fl + 21: ldc #6 // String EMAIL +.fl + 23: invokevirtual #4 // Method getParameter:(Ljava/lang/String;)Ljava/lang/String; +.fl + 26: putfield #7 // Field email:Ljava/lang/String; +.fl + 29: return +.fl + +.fl + public void paint(java.awt.Graphics); +.fl + Code: +.fl + 0: aload_1 +.fl + 1: new #8 // class java/lang/StringBuilder +.fl + 4: dup +.fl + 5: invokespecial #9 // Method java/lang/StringBuilder."<init>":()V +.fl + 8: aload_0 +.fl + 9: getfield #5 // Field date:Ljava/lang/String; +.fl + 12: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; +.fl + 15: ldc #11 // String by +.fl + 17: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; +.fl + 20: invokevirtual #12 // Method java/lang/StringBuilder.toString:()Ljava/lang/String; +.fl + 23: bipush 100 +.fl + 25: bipush 15 +.fl + 27: invokevirtual #13 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V +.fl + 30: aload_1 +.fl + 31: aload_0 +.fl + 32: getfield #7 // Field email:Ljava/lang/String; +.fl + 35: sipush 290 +.fl + 38: bipush 15 +.fl + 40: invokevirtual #13 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V +.fl + 43: return +.fl +} +.fl +\fP +.fi + +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-help \-\-help \-? +\f3javap\fPã®ãƒ˜ãƒ«ãƒ—・メッセージを出力ã—ã¾ã™ã€‚ +.TP 3 +\-version +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¾ã™ã€‚ +.TP 3 +\-l +行番å·ã¨ãƒ­ãƒ¼ã‚«ãƒ«å¤‰æ•°è¡¨ã‚’出力ã—ã¾ã™ã€‚ +.TP 3 +\-public +publicクラスãŠã‚ˆã³ãƒ¡ãƒ³ãƒãƒ¼ã®ã¿è¡¨ç¤ºã—ã¾ã™ã€‚ +.TP 3 +\-protected +protectedãŠã‚ˆã³publicã®ã‚¯ãƒ©ã‚¹ã¨ãƒ¡ãƒ³ãƒãƒ¼ã®ã¿ã‚’表示ã—ã¾ã™ã€‚ +.TP 3 +\-package +packageã€protectedã€ãŠã‚ˆã³publicã®ã‚¯ãƒ©ã‚¹ã¨ãƒ¡ãƒ³ãƒãƒ¼ã®ã¿è¡¨ç¤ºã—ã¾ã™ã€‚ã“れãŒãƒ‡ãƒ•ォルトã§ã™ã€‚ +.TP 3 +\-private \-p +ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¹ã¨ãƒ¡ãƒ³ãƒãƒ¼ã‚’表示ã—ã¾ã™ã€‚ +.TP 3 +\-Jflag +ランタイム・システムã«ç›´æŽ¥\f2flag\fPを渡ã—ã¾ã™ã€‚使用例を次ã«ç¤ºã—ã¾ã™ã€‚ +.nf +\f3 +.fl +javap \-J\-version +.fl +javap \-J\-Djava.security.manager \-J\-Djava.security.policy=MyPolicy MyClassName +.fl +\fP +.fi +.TP 3 +\-s +内部ã®åž‹ã‚·ã‚°ãƒ‹ãƒãƒ£ã‚’出力ã—ã¾ã™ã€‚ +.TP 3 +\-sysinfo +処ç†ä¸­ã®ã‚¯ãƒ©ã‚¹ã®ã‚·ã‚¹ãƒ†ãƒ æƒ…å ±(パスã€ã‚µã‚¤ã‚ºã€æ—¥ä»˜ã€MD5ãƒãƒƒã‚·ãƒ¥)を表示ã—ã¾ã™ã€‚ +.TP 3 +\-constants +static final定数を表示ã—ã¾ã™ã€‚ +.TP 3 +\-c +クラスã®å„メソッドã®ãŸã‚ã«é€†ã‚¢ã‚»ãƒ³ãƒ–ルã•れるコードã€ã™ãªã‚ã¡Javaãƒã‚¤ãƒˆã‚³ãƒ¼ãƒ‰ã‹ã‚‰ãªã‚‹å‘½ä»¤ã‚’表示ã—ã¾ã™ã€‚ã“れら㯠+.na +\f2Java Virtual Machine Specification\fP @ +.fi +http://docs.oracle.com/javase/specs/ã«ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆåŒ–ã•れã¦ã„ã¾ã™ã€‚ +.TP 3 +\-verbose +メソッドã®ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ã‚µã‚¤ã‚ºã€ãŠã‚ˆã³\f2locals\fPã¨\f2args\fPã®æ•°ã‚’出力ã—ã¾ã™ã€‚ +.TP 3 +\-classpath path +\f3javap\fPãŒã‚¯ãƒ©ã‚¹ã‚’探ã™ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ãƒ‘スを指定ã—ã¾ã™ã€‚デフォルトã¾ãŸã¯CLASSPATH環境変数設定を上書ãã—ã¾ã™ã€‚ +.TP 3 +\-bootclasspath path +ブートストラップ・クラスをロードã™ã‚‹ãƒ‘スを指定ã—ã¾ã™ã€‚ブートストラップ・クラスã¯ã€ãƒ‡ãƒ•ォルトã§ã¯\f2jre/lib/rt.jar\fPãŠã‚ˆã³ä»–ã®ã„ãã¤ã‹ã®JARファイルã«ã‚ã‚‹ã€ã‚³ã‚¢Javaプラットフォームを実装ã™ã‚‹ã‚¯ãƒ©ã‚¹ã§ã™ã€‚ +.TP 3 +\-extdirs dirs +インストールã•ã‚ŒãŸæ‹¡å¼µæ©Ÿèƒ½ã‚’検索ã™ã‚‹å ´æ‰€ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚拡張機能ã®ãƒ‡ãƒ•ォルトä½ç½®ã¯\f2java.ext.dirs\fPã§ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +.LP +javac(1)ã€java(1)ã€jdb(1)ã€javah(1)ã€javadoc(1) +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javaws.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javaws.1 new file mode 100644 index 00000000..f0b7e544 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/javaws.1 @@ -0,0 +1,203 @@ +." Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javaws 1 "05 Jul 2012" + +.LP +.SH "åå‰" +\f2javaws\fPコマンドライン +.LP +.SH "åå‰" +.LP +.LP +\f2javaws\fP \- Java Web Start起動コマンド +.LP +.SH "å½¢å¼" +.LP +.LP +\f2javaws [run\-options] <jnlp>\fP +.LP +.LP +\f2javaws [control\-options]\fP +.LP +.SH "パラメータ" +.LP +.LP +\f2[run\-options]\fP +.LP +.LP +コマンドライン実行オプション。実行オプションã¯ä»»æ„ã®é †åºã§æŒ‡å®šã§ãã¾ã™ã€‚å„種実行オプションã®è©³ç´°ã¯ã€æ¬¡ã®å®Ÿè¡Œã‚ªãƒ—ションをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +\f2<jnlp>\fP +.LP +.LP +JNLP(Java Network Launching Protocol)ファイルã®ãƒ‘スã¾ãŸã¯URL(Uniform Resource Locator)ã®ã©ã¡ã‚‰ã‹ã‚’指定ã§ãã¾ã™ã€‚ +.LP +.LP +\f2[control\-options]\fP +.LP +.LP +コマンドライン制御オプション。制御オプションã¯ä»»æ„ã®é †åºã§æŒ‡å®šã§ãã¾ã™ã€‚å„種制御オプションã®è©³ç´°ã¯ã€æ¬¡ã®åˆ¶å¾¡ã‚ªãƒ—ションをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "説明" +.LP +.LP +\f2javaws\fPコマンドã¯ã€JNLP(Java Network Launching Protocol)ã®ãƒªãƒ•ァレンス実装ã§ã‚ã‚‹Java Web Startã‚’èµ·å‹•ã—ã¾ã™ã€‚Java Web Startã¯ã€ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ä¸Šã§å‹•作ã™ã‚‹Javaアプリケーションã¾ãŸã¯ã‚¢ãƒ—レットを起動ã—ã¾ã™ã€‚ +.LP +.LP +JNLPãƒ•ã‚¡ã‚¤ãƒ«ãŒæŒ‡å®šã•れãŸå ´åˆã€\f2javaws\fPã¯ã€ãã®JNLPãƒ•ã‚¡ã‚¤ãƒ«ã§æŒ‡å®šã•れãŸJavaアプリケーション/アプレットを起動ã—ã¾ã™ã€‚ +.LP +.LP +\f2javaws\fP起動ツールã«ã¯ã€ç¾åœ¨ã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã‚‹1組ã®ã‚ªãƒ—ションãŒã‚りã¾ã™ã€‚ãŸã ã—ã€ã“れらã®ã‚ªãƒ—ションã¯å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯å‰Šé™¤ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.LP +.SH "実行オプション" +.LP +.LP +\f2\-offline\fP +.LP +.LP +Java Web Startをオフライン・モードã§å®Ÿè¡Œã—ã¾ã™ã€‚ +.LP +.LP +\f2\-Xnosplash\fP +.LP +.LP +åˆæœŸã‚¹ãƒ—ラッシュ画é¢ã‚’表示ã—ã¾ã›ã‚“。 +.LP +.LP +\f2\-open <arguments>\fP +.LP +.LP +ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€JNLPファイル内ã®å¼•æ•°ãŒ\f2\-open<arguments>\fPã«ç½®ãæ›ã‚りã¾ã™ã€‚ +.LP +.LP +\f2\-print <arguments>\fP +.LP +.LP +ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€JNLPファイル内ã®å¼•æ•°ãŒ\f2\-print<arguments>\fPã«ç½®ãæ›ã‚りã¾ã™ã€‚ +.LP +.LP +\f2\-online\fP +.LP +.LP +オンライン・モードを使用ã—ã¾ã™(デフォルトã®å‹•作)。 +.LP +.LP +\f2\-wait\fP +.LP +.LP +ã“ã®ã‚ªãƒ—ションを指定ã—ãŸå ´åˆã€\f2javaws\fPプロセスã¯ã€ã‚¢ãƒ—リケーションãŒçµ‚了ã™ã‚‹ã¾ã§çµ‚了ã—ã¾ã›ã‚“。Windowsプラットフォーム上ã§ã¯ã€ã“ã®ã‚ªãƒ—ションã¯èª¬æ˜Žã—ãŸã¨ãŠã‚Šã«æ©Ÿèƒ½ã—ã¾ã›ã‚“。 +.LP +.LP +\f2\-verbose\fP +.LP +.LP +追加ã®å‡ºåŠ›ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚ +.LP +.LP +\f2\-J<option>\fP +.LP +.LP +VMã«å¯¾ã™ã‚‹ã‚ªãƒ—ションを指定ã—ã¾ã™ã€‚ +.LP +.LP +\f2\-system\fP +.LP +.LP +アプリケーションをシステム・キャッシュã®ã¿ã‹ã‚‰å®Ÿè¡Œã—ã¾ã™ã€‚ +.LP +.SH "制御オプション" +.LP +.LP +\f2\-viewer\fP +.LP +.LP +Javaコントロール・パãƒãƒ«ã§ã‚­ãƒ£ãƒƒã‚·ãƒ¥ãƒ»ãƒ“ューアを表示ã—ã¾ã™ã€‚ +.LP +.LP +\f2\-clearcache\fP +.LP +.LP +インストールã•れã¦ã„ãªã„ã™ã¹ã¦ã®ã‚¢ãƒ—リケーションをキャッシュã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚ +.LP +.LP +\f2\-userConfig <property name>\fP +.LP +.LP +指定ã•れãŸãƒ‡ãƒ—ロイメント・プロパティをクリアã—ã¾ã™ã€‚ +.LP +.LP +\f2\-userConfig <property name> <property value>\fP +.LP +.LP +指定ã•れãŸãƒ‡ãƒ—ロイメント・プロパティを指定ã•れãŸå€¤ã«è¨­å®šã—ã¾ã™ã€‚ +.LP +.LP +\f2\-uninstall\fP +.LP +.LP +キャッシュã‹ã‚‰ã™ã¹ã¦ã®ã‚¢ãƒ—リケーションを削除ã—ã¾ã™ã€‚ +.LP +.LP +\f2\-uninstall <jnlp>\fP +.LP +.LP +キャッシュã‹ã‚‰ã‚¢ãƒ—リケーションを削除ã—ã¾ã™ã€‚ +.LP +.LP +\f2\-import [import\-options] <jnlp>\fP +.LP +.LP +キャッシュã«ã‚¢ãƒ—リケーションをインãƒãƒ¼ãƒˆã—ã¾ã™ã€‚ +.LP +.SH "インãƒãƒ¼ãƒˆãƒ»ã‚ªãƒ—ション" +.LP +.LP +\f2\-silent\fP +.LP +.LP +サイレント・モードã§ã‚¤ãƒ³ãƒãƒ¼ãƒˆã—ã¾ã™(ユーザー・インタフェースã¯è¡¨ç¤ºã•れã¾ã›ã‚“)。 +.LP +.LP +\f2\-system\fP +.LP +.LP +システム・キャッシュã«ã‚¢ãƒ—リケーションをインãƒãƒ¼ãƒˆã—ã¾ã™ã€‚ +.LP +.LP +\f2\-codebase <url>\fP +.LP +.LP +指定ã—ãŸcodebaseã‹ã‚‰ãƒªã‚½ãƒ¼ã‚¹ã‚’å–å¾—ã—ã¾ã™ã€‚ +.LP +.LP +\f2\-shortcut\fP +.LP +.LP +ユーザーãŒãƒ—ロンプトã§è¨±å¯ã—ãŸå ´åˆã®ã‚ˆã†ã«ã‚·ãƒ§ãƒ¼ãƒˆã‚«ãƒƒãƒˆã‚’インストールã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€\f2\-silent\fPオプションも使用ã—ãªã„ã¨åŠ¹æžœãŒã‚りã¾ã›ã‚“。 +.LP +.LP +\f2\-association\fP +.LP +.LP +ユーザーãŒãƒ—ロンプトã§è¨±å¯ã—ãŸå ´åˆã®ã‚ˆã†ã«ã‚¢ã‚½ã‚·ã‚¨ãƒ¼ã‚·ãƒ§ãƒ³ã‚’インストールã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€\f2\-silent\fPオプションも使用ã—ãªã„ã¨åŠ¹æžœãŒã‚りã¾ã›ã‚“。 +.LP +.SH "ファイル" +.LP +.LP +ユーザー・キャッシュã€ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚­ãƒ£ãƒƒã‚·ãƒ¥ãŠã‚ˆã³deployment.propertiesファイルã«ã¤ã„ã¦ã¯ã€ +.na +\f2システム・レベルãŠã‚ˆã³ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ãƒ¬ãƒ™ãƒ«ã®ãƒ—ロパティ\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/properties.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "詳細情報" +.LP +.LP +Java Web Startã®è©³ç´°ã¯ã€ +.na +\f2Java Web Start\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/index.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jcmd.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jcmd.1 new file mode 100644 index 00000000..1bdce221 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jcmd.1 @@ -0,0 +1,97 @@ +." Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. +." +.TH jcmd 1 "11 Jul 2013" + +.LP +.SH "NAME" +jcmd \- 実行中ã®Java仮想マシンã«è¨ºæ–­ã‚³ãƒžãƒ³ãƒ‰ãƒ»ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’é€ä¿¡ã—ã¾ã™ã€‚ +.SH "å½¢å¼" +.sp +.if n \{\ +.RS 4 +.\} +.nf +java [ \fIoptions\fR ] +java [ \fIpid\fR | \fImain\-class\fR ] PerfCounter\&.print +java [ \fIpid\fR | \fImain\-class\fR ] \fIcommand\fR [\fIarguments\fR] +java [ \fIpid\fR | \fImain\-class\fR ] \-f \fIfile\fR +.fi +.if n \{\ +.RE +.\} +.PP +\fIオプション\fR +.RS 4 +コマンドライン・\fIオプション\fR。オプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.RE +.PP +\fIpid\fR +.RS 4 +診断コマンド・リクエストをå—ä¿¡ã™ã‚‹ãƒ—ロセスを指定ã—ã¾ã™ã€‚プロセスã¯Javaプロセスã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚マシン上ã§å®Ÿè¡Œã—ã¦ã„ã‚‹Javaプロセスã®ä¸€è¦§ã‚’å–å¾—ã™ã‚‹ã«ã¯ã€jps(1)ã¾ãŸã¯jcmd(1)を使用ã—ã¾ã™ã€‚ +.RE +.PP +\fImain class\fR +.RS 4 +診断コマンド・リクエストをå—ä¿¡ã™ã‚‹ãƒ—ロセスã®ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã§ã™ã€‚プロセスを照åˆã™ã‚‹éš›ã«ã¯ã€æŒ‡å®šã•ã‚ŒãŸæ–‡å­—列ãŒãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹åã«éƒ¨åˆ†æ–‡å­—列ã¨ã—ã¦å«ã¾ã‚Œã¦ã„ã‚‹ã™ã¹ã¦ã®ãƒ—ロセスãŒä¸€è‡´ã—ãŸã¨ã¿ãªã•れã¾ã™ã€‚ã„ãã¤ã‹ã®å®Ÿè¡Œä¸­ã®JavaプロセスãŒåŒã˜ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã‚’共有ã—ã¦ã„ã‚‹å ´åˆã¯ã€ãれらã™ã¹ã¦ã®ãƒ—ロセスã«è¨ºæ–­ã‚³ãƒžãƒ³ãƒ‰ãƒ»ãƒªã‚¯ã‚¨ã‚¹ãƒˆãŒé€ä¿¡ã•れã¾ã™ã€‚マシン上ã§å®Ÿè¡Œã—ã¦ã„ã‚‹Javaプロセスã®ä¸€è¦§ã‚’å–å¾—ã™ã‚‹ã«ã¯ã€jps(1)ã¾ãŸã¯jcmd(1)を使用ã—ã¾ã™ã€‚ +.RE +.PP +\fIcommand\fR [arguments] +.RS 4 +診断コマンド・リクエストをå—ä¿¡ã™ã‚‹ãƒ—ロセスã®ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã§ã™ã€‚プロセスを照åˆã™ã‚‹éš›ã«ã¯ã€æŒ‡å®šã•ã‚ŒãŸæ–‡å­—列ãŒãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹åã«éƒ¨åˆ†æ–‡å­—列ã¨ã—ã¦å«ã¾ã‚Œã¦ã„ã‚‹ã™ã¹ã¦ã®ãƒ—ロセスãŒä¸€è‡´ã—ãŸã¨ã¿ãªã•れã¾ã™ã€‚ã„ãã¤ã‹ã®å®Ÿè¡Œä¸­ã®JavaプロセスãŒåŒã˜ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã‚’共有ã—ã¦ã„ã‚‹å ´åˆã¯ã€ãれらã™ã¹ã¦ã®ãƒ—ロセスã«è¨ºæ–­ã‚³ãƒžãƒ³ãƒ‰ãƒ»ãƒªã‚¯ã‚¨ã‚¹ãƒˆãŒé€ä¿¡ã•れã¾ã™ã€‚マシン上ã§å®Ÿè¡Œã—ã¦ã„ã‚‹Javaプロセスã®ä¸€è¦§ã‚’å–å¾—ã™ã‚‹ã«ã¯ã€jps(1)ã¾ãŸã¯jcmd(1)を使用ã—ã¾ã™ã€‚ +.RE +.PP +Perfcounter\&.print +.RS 4 +ターゲットã®Javaプロセスã§ä½¿ç”¨å¯èƒ½ãªãƒ‘フォーマンス・カウンタãŒå‡ºåŠ›ã•れã¾ã™ã€‚パフォーマンス・カウンタã®ãƒªã‚¹ãƒˆã¯Javaプロセスã«ã‚ˆã£ã¦ç•°ãªã‚‹å ´åˆãŒã‚りã¾ã™ã€‚ +.RE +.PP +\-f \fIfile\fR +.RS 4 +\fIfile\fRã‹ã‚‰ã‚³ãƒžãƒ³ãƒ‰ã‚’読ã¿å–ã£ã¦ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã®Javaプロセスã§ã‚³ãƒ¼ãƒ«ã—ã¾ã™ã€‚\fIfile\fRã§ã¯ã€å„コマンドを1行ã«è¨˜è¿°ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚#ã§å§‹ã¾ã‚‹è¡Œã¯ç„¡è¦–ã•れã¾ã™ã€‚ã™ã¹ã¦ã®è¡ŒãŒã‚³ãƒ¼ãƒ«ã•れるã‹ã€\fIstop\fRキーワードをå«ã‚€è¡ŒãŒèª­ã¿å–られるã¨ã€\fIfile\fRã®å‡¦ç†ãŒçµ‚了ã—ã¾ã™ã€‚ +.RE +.SH "説明" +.PP +\fIjcmd\fRã¯ã€ã“ã®æ©Ÿèƒ½ã‚’サãƒãƒ¼ãƒˆã™ã‚‹Java仮想マシンã«è¨ºæ–­ã‚³ãƒžãƒ³ãƒ‰ãƒ»ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’é€ä¿¡ã™ã‚‹ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã§ã™ã€‚ +.PP +引数ãªã—ã¾ãŸã¯\fI\-l\fRオプションを指定ã—ã¦\fIjcmd\fRを使用ã™ã‚‹ã¨ã€å®Ÿè¡Œä¸­ã®JavaプロセスãŒãƒ—ロセスIDã€ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ãŠã‚ˆã³ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å¼•æ•°ã¨ã¨ã‚‚ã«å‡ºåŠ›ã•れã¾ã™ã€‚ +.PP +プロセスIDã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã™ã‚‹ã¨ã€\fIjcmd\fRã§ã¯ã€ã“ã®IDã®ãƒ—ロセスã«è¨ºæ–­ã‚³ãƒžãƒ³ãƒ‰ãƒ»ãƒªã‚¯ã‚¨ã‚¹ãƒˆãŒé€ä¿¡ã•れã¾ã™ã€‚ +.PP +ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã™ã‚‹ã¨ã€\fIjcmd\fRã§ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å¼•æ•°ãŒJavaプロセスã®ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã®éƒ¨åˆ†æ–‡å­—列ã§ã‚ã‚‹ã™ã¹ã¦ã®Javaプロセスã«è¨ºæ–­ã‚³ãƒžãƒ³ãƒ‰ãƒ»ãƒªã‚¯ã‚¨ã‚¹ãƒˆãŒé€ä¿¡ã•れã¾ã™ã€‚ +.PP +\fIPerfCounter\&.print\fR引数を指定ã™ã‚‹ã¨ã€\fIjcmd\fRã§ã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã®Javaプロセスã§ä½¿ç”¨å¯èƒ½ãªãƒ‘フォーマンス・カウンタãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.PP +\fI\-f\fRオプションを指定ã™ã‚‹ã¨ã€\fIjcmd\fRã§ã¯ã€æŒ‡å®šã•れãŸ\fIfile\fRã«æ ¼ç´ã•れã¦ã„る診断コマンドãŒã‚¿ãƒ¼ã‚²ãƒƒãƒˆã®Javaプロセスã«é€ä¿¡ã•れã¾ã™ã€‚ +.SH "オプション" +.PP +å„オプションã¯äº’ã„ã«æŽ’ä»–çš„ã§ã™ã€‚オプションを使用ã™ã‚‹å ´åˆã¯ã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.PP +\-l +.RS 4 +実行中ã®Javaプロセスã®ä¸€è¦§ãŒãƒ—ロセスIDã€ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ãŠã‚ˆã³ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å¼•æ•°ã¨ã¨ã‚‚ã«å‡ºåŠ›ã•れã¾ã™ã€‚ +.RE +.PP +\-h +.RS 4 +ヘルプ・メッセージãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.RE +.PP +\-help +.RS 4 +ヘルプ・メッセージãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.RE +.SH "関連項目" +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +jps +.RE +.br +'pl 8.5i +'bp diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jconsole.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jconsole.1 new file mode 100644 index 00000000..f07ca11c --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jconsole.1 @@ -0,0 +1,137 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jconsole 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jconsole \- Java監視ãŠã‚ˆã³ç®¡ç†ã‚³ãƒ³ã‚½ãƒ¼ãƒ« +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jconsole\fP [ \f2options\fP ] [ connection ... ] +.fl + +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +options +オプションを使用ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¦ãã ã•ã„。 +.TP 3 +connection = pid | host:port | jmxUrl +.RS 3 +.TP 2 +o +\f2pid\fPローカルã®Java VMã®ãƒ—ロセスID。Java VMã¯ã€jconsoleを実行ã—ã¦ã„るユーザーIDã¨åŒã˜ãƒ¦ãƒ¼ã‚¶ãƒ¼IDを使用ã—ã¦å®Ÿè¡Œã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚詳細ã¯ã€ +.na +\f2JMXã®ç›£è¦–ãŠã‚ˆã³ç®¡ç†\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 2 +o +\f2host\fP:\f2port\fP: Java VMを実行ã—ã¦ã„るホスト・システムã®åå‰ã¨ã€Java VMã‚’èµ·å‹•ã—ãŸã¨ãã«ã‚·ã‚¹ãƒ†ãƒ ãƒ»ãƒ—ロパティ\f2com.sun.management.jmxremote.port\fPã§æŒ‡å®šã—ãŸãƒãƒ¼ãƒˆç•ªå·ã€‚詳細ã¯ã€ +.na +\f2JMXã®ç›£è¦–ãŠã‚ˆã³ç®¡ç†\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 2 +o +\f2jmxUrl\fP: +.na +\f2JMXServiceURL\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/javax/management/remote/JMXServiceURL.htmlã«è¨˜è¿°ã•れã¦ã„る接続先ã®JMXエージェントã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã€‚ +.RE +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jconsole\fPコマンドã¯ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒžã‚·ãƒ³ã¾ãŸã¯ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒžã‚·ãƒ³ä¸Šã®Javaアプリケーションã¨ä»®æƒ³ãƒžã‚·ãƒ³ã®ç›£è¦–ã¨ç®¡ç†ã‚’行ã†ã‚°ãƒ©ãƒ•ィカル・コンソール・ツールを起動ã—ã¾ã™ã€‚ +.LP +.LP +Windows上ã§ã¯ã€\f3jconsole\fPã¯ã‚³ãƒ³ã‚½ãƒ¼ãƒ«ãƒ»ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¨é–¢é€£ä»˜ã‘られã¦ã„ã¾ã›ã‚“。ãŸã ã—ã€ãªã‚“らã‹ã®ç†ç”±ã§\f3jconsole\fPコマンドãŒå¤±æ•—ã™ã‚‹ã¨ã€ã‚¨ãƒ©ãƒ¼æƒ…報を示ã™ãƒ€ã‚¤ã‚¢ãƒ­ã‚°ãƒ»ãƒœãƒƒã‚¯ã‚¹ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-interval=n +更新間隔を\f2n\fPç§’ã«è¨­å®šã—ã¾ã™(デフォルトã¯4ç§’)。 +.TP 3 +\-notile +最åˆã«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’タイリングã—ã¾ã›ã‚“(複数接続ã®å ´åˆ)。 +.TP 3 +\-pluginpath plugins +JConsoleãƒ—ãƒ©ã‚°ã‚¤ãƒ³ã®æ¤œç´¢å…ˆã¨ãªã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¾ãŸã¯JARファイルã®ãƒªã‚¹ãƒˆã‚’指定ã—ã¾ã™ã€‚\f2plugins\fPパスã«ã¯ã€æ¬¡ã®åå‰ã®ãƒ—ロãƒã‚¤ãƒ€æ§‹æˆãƒ•ァイルをå«ã‚ã¦ãã ã•ã„。 +.br +.nf +\f3 +.fl + META\-INF/services/com.sun.tools.jconsole.JConsolePlugin +.fl +\fP +.fi +ã“れã«ã¯ã€ +.na +\f2com.sun.tools.jconsole.JConsolePlugin\fP @ +.fi +http://docs.oracle.com/javase/7/docs/jdk/api/jconsole/spec/com/sun/tools/jconsole/JConsolePlugin.htmlクラスを実装ã™ã‚‹ã‚¯ãƒ©ã‚¹ã®å®Œå…¨ä¿®é£¾ã‚¯ãƒ©ã‚¹åを指定ã™ã‚‹è¡ŒãŒã€ãƒ—ラグインã”ã¨ã«1行ãšã¤å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.TP 3 +\-version +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.TP 3 +\-help +ヘルプ・メッセージを出力ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.TP 3 +\-J<flag> +jconsoleãŒå®Ÿè¡Œã•れã¦ã„ã‚‹Java仮想マシンã«<flag>を渡ã—ã¾ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +.na +\f2JConsoleã®ä½¿ç”¨\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html +.TP 2 +o +.na +\f2Javaプラットフォームã®ç›£è¦–ãŠã‚ˆã³ç®¡ç†\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/management/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jdb.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jdb.1 new file mode 100644 index 00000000..e4660add --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jdb.1 @@ -0,0 +1,311 @@ +." Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jdb 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jdb \- Javaデãƒãƒƒã‚¬ +.LP +.LP +\f3jdb\fPã¯ã€Java言語プログラムã®ãƒã‚°ã‚’見ã¤ã‘ã¦ä¿®æ­£ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ãƒ„ールã§ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jdb\fP [ options ] [ class ] [ arguments ] +.fl +.fi + +.LP +.RS 3 +.TP 3 +options +次ã«ç¤ºã™ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ション +.TP 3 +class +デãƒãƒƒã‚°ã‚’é–‹å§‹ã™ã‚‹ã‚¯ãƒ©ã‚¹ã®åå‰ +.TP 3 +arguments +\f2class\fPã®\f2main()\fPãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã™å¼•æ•° +.RE + +.LP +.SH "説明" +.LP +.LP +Javaデãƒãƒƒã‚¬\f3jdb\fPã¯ã€Javaクラス用ã®ç°¡å˜ãªã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ‡ãƒãƒƒã‚¬ã§ã™ã€‚ +.na +\f2Java Platform Debugger Architecture\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/index.htmlを視覚的ã«å®Ÿè¡Œã—ã€ãƒ­ãƒ¼ã‚«ãƒ«ã¾ãŸã¯ãƒªãƒ¢ãƒ¼ãƒˆã®Java Virtual Machineã®æ¤œæŸ»ã¨ãƒ‡ãƒãƒƒã‚°ã‚’行ã†ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +.SS +jdbセッションã®é–‹å§‹ +.LP +.LP +jdbセッションを開始ã™ã‚‹ã«ã¯æ§˜ã€…ãªæ–¹æ³•ãŒã‚りã¾ã™ã€‚最も頻ç¹ã«ä½¿ç”¨ã•れるã®ã¯ã€ãƒ‡ãƒãƒƒã‚°ã™ã‚‹ã‚¢ãƒ—リケーションã®ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã‚’使用ã—ã¦ã€\f3jdb\fPã‹ã‚‰æ–°ã—ã„Java仮想マシン(VM)ã‚’èµ·å‹•ã™ã‚‹æ–¹æ³•ã§ã™ã€‚コマンドラインã§ã€\f3java\fPã®ã‹ã‚りã«\f3jdb\fPコマンドを入力ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ã‚¢ãƒ—リケーションã®ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ãŒMyClassã®å ´åˆã¯ã€JDB環境ã§ãƒ‡ãƒãƒƒã‚°ã™ã‚‹ã¨ãã«æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + % jdb MyClass +.fl +\fP +.fi + +.LP +.LP +ã“ã®æ–¹æ³•ã§èµ·å‹•ã™ã‚‹ã¨ã€\f3jdb\fPã¯ã€æŒ‡å®šã•れãŸãƒ‘ラメータを使用ã—ã¦2ã¤ç›®ã®Java VMを呼ã³å‡ºã—ã¾ã™ã€‚次ã«ã€æŒ‡å®šã•れãŸã‚¯ãƒ©ã‚¹ã‚’ロードã—ã¦ã€ã‚¯ãƒ©ã‚¹ã®æœ€åˆã®å‘½ä»¤ã‚’実行ã™ã‚‹å‰ã«VMã‚’åœæ­¢ã•ã›ã¾ã™ã€‚ +.LP +.LP +\f3jdb\fPã®ã‚‚ã†1ã¤ã®ä½¿ç”¨æ–¹æ³•ã¯ã€ã™ã§ã«å®Ÿè¡Œä¸­ã®Java VMã«jdbを接続ã™ã‚‹ã“ã¨ã§ã™ã€‚jdbãŒæŽ¥ç¶šã™ã‚‹VMã‚’ã€ãã®å®Ÿè¡Œä¸­ã«èµ·å‹•ã™ã‚‹ãŸã‚ã®æ§‹æ–‡ã‚’次ã«ç¤ºã—ã¾ã™ã€‚ã“れã¯ã€ã‚¤ãƒ³ãƒ—ロセス・デãƒãƒƒã‚°ç”¨ãƒ©ã‚¤ãƒ–ラリをロードã—ã€æŽ¥ç¶šã®ç¨®é¡žã‚’指定ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\-agentlib:jdwp=transport=dt_socket,server=y,suspend=n +.fl +\fP +.fi + +.LP +.LP +ãŸã¨ãˆã°ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€MyClassアプリケーションを実行ã—ã¦ã€\f3jdb\fPãŒã‚ã¨ã§ãã®ã‚¢ãƒ—ãƒªã‚±ãƒ¼ã‚·ãƒ§ãƒ³ã«æŽ¥ç¶šã§ãるよã†ã«ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + % java \-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n MyClass +.fl +\fP +.fi + +.LP +.LP +次ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¦ã€\f3jdb\fPã‚’VMã«æŽ¥ç¶šã§ãã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + % jdb \-attach 8000 +.fl +\fP +.fi + +.LP +.LP +ã“ã®å ´åˆã€\f3jdb\fPã¯æ–°ã—ã„VMã‚’èµ·å‹•ã™ã‚‹ã‹ã‚ã‚Šã«æ—¢å­˜ã®VMã«æŽ¥ç¶šã•れるãŸã‚ã€\f3jdb\fPコマンドラインã«ã¯ã€ŒMyClassã€ã¯æŒ‡å®šã—ã¾ã›ã‚“。 +.LP +.LP +デãƒãƒƒã‚¬ã‚’VMã«æŽ¥ç¶šã™ã‚‹ã«ã¯ä»–ã«ã‚‚æ§˜ã€…ãªæ–¹æ³•ãŒã‚りã€ã™ã¹ã¦\f3jdb\fPã§ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ã€‚接続オプションã«ã¤ã„ã¦ã¯ã€Java Platform Debugger Architectureã® +.na +\f2ドキュメント\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。\f3jdb\fPã§ä½¿ç”¨ã™ã‚‹ãŸã‚ã«J2SE 1.4.2以å‰ã®VMã‚’èµ·å‹•ã™ã‚‹æ–¹æ³•ã«ã¤ã„ã¦ã¯ã€ +.na +\f21.4.2ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://docs.oracle.com/javase/1.4.2/docs/guide/jpda/conninv.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SS +基本jdbコマンド +.LP +.LP +基本的ãª\f3jdb\fPコマンドã®ä¸€è¦§ã‚’示ã—ã¾ã™ã€‚Javaデãƒãƒƒã‚¬ãŒã‚µãƒãƒ¼ãƒˆã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã¯ã“れ以外ã«ã‚‚ã‚りã€ãれらã¯\f3jdb\fPã®\f2help\fPコマンドを使用ã—ã¦è¡¨ç¤ºã§ãã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +helpã¾ãŸã¯? +最もé‡è¦ãª\f3jdb\fPコマンド\f2help\fPã¯ã€èªè­˜ã•れãŸã‚³ãƒžãƒ³ãƒ‰ã®ãƒªã‚¹ãƒˆã«ç°¡æ½”ãªèª¬æ˜Žã‚’付ã‘ã¦è¡¨ç¤ºã—ã¾ã™ã€‚ +.TP 3 +run +\f3jdb\fPã‚’èµ·å‹•ã—ã¦å¿…è¦ãªãƒ–レークãƒã‚¤ãƒ³ãƒˆã‚’設定ã—ãŸã‚ã¨ã«ã€ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¦ã€ãƒ‡ãƒãƒƒã‚°ã™ã‚‹ã‚¢ãƒ—リケーションã®å®Ÿè¡Œã‚’é–‹å§‹ã§ãã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€æ—¢å­˜ã®VMã«æŽ¥ç¶šã—ã¦ã„ã‚‹å ´åˆã¨ã¯ç•°ãªã‚Šã€ãƒ‡ãƒãƒƒã‚°ã™ã‚‹ã‚¢ãƒ—リケーションãŒ\f3jdb\fPã‹ã‚‰èµ·å‹•ã—ãŸã¨ãã«ã®ã¿ä½¿ç”¨ã§ãã¾ã™ã€‚ +.TP 3 +cont +ブレークãƒã‚¤ãƒ³ãƒˆã€ä¾‹å¤–ã€ã¾ãŸã¯ã‚¹ãƒ†ãƒƒãƒ—実行ã®å¾Œã§ã€ãƒ‡ãƒãƒƒã‚°ã™ã‚‹ã‚¢ãƒ—リケーションã®å®Ÿè¡Œã‚’継続ã—ã¾ã™ã€‚ +.TP 3 +print +JavaオブジェクトãŠã‚ˆã³ãƒ—リミティブ値を表示ã—ã¾ã™ã€‚プリミティブ型ã®å¤‰æ•°ã¾ãŸã¯ãƒ•ィールドã®å ´åˆã«ã¯ã€å®Ÿéš›ã®å€¤ãŒå‡ºåŠ›ã•れã¾ã™ã€‚オブジェクトã®å ´åˆã«ã¯ã€çŸ­ã„説明ãŒå‡ºåŠ›ã•れã¾ã™ã€‚オブジェクトã«ã¤ã„ã¦ã¯ã€ä»¥é™ã®\f2dump\fPコマンドã®èª¬æ˜Žã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +\f2注æ„: ローカル変数を表示ã™ã‚‹ã«ã¯ã€ãã®å¤‰æ•°ã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ãŒ\fP\f2javac(1)\fP\f2 \fP\f2\-g\fPオプションã§ã‚³ãƒ³ãƒ‘イルã•れã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.br +.br +\f2print\fPã§ã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã®å‘¼å‡ºã—ã‚’å«ã‚€å¤šæ•°ã®ç°¡å˜ãªJavaå¼ãŒã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f2print MyClass.myStaticField\fP +.TP 2 +o +\f2print myObj.myInstanceField\fP +.TP 2 +o +\f2print i+j+k\fP \f2(iã€jã€ãŠã‚ˆã³kã¯ãƒ—リミティブã§ã‚りã€ãƒ•ィールドã¾ãŸã¯ãƒ­ãƒ¼ã‚«ãƒ«å¤‰æ•°ã®ã„ãšã‚Œã‹)\fP +.TP 2 +o +\f2print myObj.myMethod()\fP \f2(myMethodãŒnull以外を返ã™å ´åˆ)\fP +.TP 2 +o +\f2print new java.lang.String("Hello").length()\fP +.RE +.TP 3 +dump +プリミティブ値ã®å ´åˆã«ã¯ã€ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯\f2print\fPã¨åŒã˜ã§ã™ã€‚オブジェクトã®å ´åˆã«ã¯ã€ã‚ªãƒ–ジェクト内ã«å®šç¾©ã•れã¦ã„ã‚‹å„フィールドã®ç¾åœ¨ã®å€¤ãŒå‡ºåŠ›ã•れã¾ã™ã€‚staticフィールドã¨instanceフィールドãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.br +.br +\f2dump\fPコマンドã§ã¯ã€\f2print\fPコマンドã¨åŒã˜å¼ãŒã‚µãƒãƒ¼ãƒˆã•れã¾ã™ã€‚ +.TP 3 +threads +ç¾åœ¨å®Ÿè¡Œä¸­ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã‚’一覧表示ã—ã¾ã™ã€‚スレッドã”ã¨ã«ã€åå‰ã¨ç¾åœ¨ã®çŠ¶æ…‹ã€ãŠã‚ˆã³ä»–ã®ã‚³ãƒžãƒ³ãƒ‰ã«ä½¿ç”¨ã§ãるインデックスãŒå‡ºåŠ›ã•れã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +4. (java.lang.Thread)0x1 main running +.fl +\fP +.fi +ã“ã®ä¾‹ã§ã¯ã€ã‚¹ãƒ¬ãƒƒãƒ‰ãƒ»ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã¯4ã§ã‚りã€ã‚¹ãƒ¬ãƒƒãƒ‰ã¯java.lang.Threadã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã§ã™ã€‚スレッドã®åå‰ã¯ã€Œmainã€ã§ã‚りã€ç¾åœ¨å®Ÿè¡Œä¸­ã§ã™ã€‚ +.TP 3 +thread +ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã«ã™ã‚‹ã‚¹ãƒ¬ãƒƒãƒ‰ã‚’é¸æŠžã—ã¾ã™ã€‚多ãã®\f3jdb\fPコマンドã¯ã€ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã®è¨­å®šã«åŸºã¥ã„ã¦å®Ÿè¡Œã•れã¾ã™ã€‚スレッドã¯ã€\f2threads\fPコマンドã§èª¬æ˜Žã—ãŸã‚¹ãƒ¬ãƒƒãƒ‰ãƒ»ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã¨ã¨ã‚‚ã«æŒ‡å®šã—ã¾ã™ã€‚ +.TP 3 +where +引数を指定ã—ãªã„ã§\f2where\fPを実行ã™ã‚‹ã¨ã€ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã®ã‚¹ã‚¿ãƒƒã‚¯ãŒãƒ€ãƒ³ãƒ—ã•れã¾ã™ã€‚\f2where all\fPコマンドã¯ã€ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ãƒ»ã‚°ãƒ«ãƒ¼ãƒ—ã«ã‚るスレッドã®ã‚¹ã‚¿ãƒƒã‚¯ã‚’ã™ã¹ã¦ãƒ€ãƒ³ãƒ—ã—ã¾ã™ã€‚\f2where\fP \f2threadindex\fPã¯ã€æŒ‡å®šã•れãŸã‚¹ãƒ¬ãƒƒãƒ‰ã®ã‚¹ã‚¿ãƒƒã‚¯ã‚’ダンプã—ã¾ã™ã€‚ +.br +.br +ç¾åœ¨ã®ã‚¹ãƒ¬ãƒƒãƒ‰ãŒ(ブレークãƒã‚¤ãƒ³ãƒˆã‹\f2suspend\fPコマンドã«ã‚ˆã£ã¦)中断ã—ã¦ã„ã‚‹å ´åˆã¯ã€ãƒ­ãƒ¼ã‚«ãƒ«å¤‰æ•°ã¨ãƒ•ィールドã¯\f2print\fPコマンドã¨\f2dump\fPコマンドã§è¡¨ç¤ºã§ãã¾ã™ã€‚\f2up\fPコマンドã¨\f2down\fPコマンドã§ã€ã©ã®ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒ•レームをカレントã«ã™ã‚‹ã‹ã‚’é¸ã¶ã“ã¨ãŒã§ãã¾ã™ã€‚ +.RE + +.LP +.SS +ブレークãƒã‚¤ãƒ³ãƒˆ +.LP +.LP +ブレークãƒã‚¤ãƒ³ãƒˆã¯ã€è¡Œç•ªå·ã¾ãŸã¯ãƒ¡ã‚½ãƒƒãƒ‰ã®æœ€åˆã®å‘½ä»¤ã§\f3jdb\fPã«è¨­å®šã§ãã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +\f2stop at MyClass:22\fP \f2(MyClassãŒå«ã¾ã‚Œã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルã®22è¡Œç›®ã®æœ€åˆã®å‘½ä»¤ã«ãƒ–レークãƒã‚¤ãƒ³ãƒˆã‚’設定)\fP +.TP 2 +o +\f2stop in java.lang.String.length\fP \f2(\fP\f2java.lang.String.length\fPãƒ¡ã‚½ãƒƒãƒ‰ã®æœ€åˆã«ãƒ–レークãƒã‚¤ãƒ³ãƒˆã‚’設定) +.TP 2 +o +\f2stop in MyClass.<init>\fP \f2(<init>ã¯MyClassコンストラクタを識別)\fP +.TP 2 +o +\f2stop in MyClass.<clinit>\fP \f2(<clinit>ã¯MyClassã®é™çš„åˆæœŸåŒ–コードを識別)\fP +.RE + +.LP +.LP +メソッドãŒã‚ªãƒ¼ãƒãƒ¼ãƒ­ãƒ¼ãƒ‰ã•れã¦ã„ã‚‹å ´åˆã«ã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ã®å¼•æ•°ã®åž‹ã‚‚指定ã—ã¦ã€ãƒ–レークãƒã‚¤ãƒ³ãƒˆã«å¯¾ã—ã¦é©åˆ‡ãªãƒ¡ã‚½ãƒƒãƒ‰ãŒé¸æŠžã•れるよã†ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€ã€Œ\f2MyClass.myMethod(int,java.lang.String)\fPã€ã¾ãŸã¯ã€Œ\f2MyClass.myMethod()\fPã€ã¨æŒ‡å®šã—ã¾ã™ã€‚ +.LP +.LP +\f2clear\fPコマンドã¯ã€ã€Œ\f2clear\ MyClass:45\fPã€ã®ã‚ˆã†ãªæ§‹æ–‡ã‚’使用ã—ã¦ãƒ–レークãƒã‚¤ãƒ³ãƒˆã‚’削除ã—ã¾ã™ã€‚\f2clear\fPを使用ã™ã‚‹ã‹ã€å¼•数を指定ã—ãªã„ã§ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã™ã‚‹ã¨ã€ç¾åœ¨è¨­å®šã•れã¦ã„ã‚‹ã™ã¹ã¦ã®ãƒ–レークãƒã‚¤ãƒ³ãƒˆãŒè¡¨ç¤ºã•れã¾ã™ã€‚\f2cont\fPコマンドã¯å®Ÿè¡Œã‚’継続ã—ã¾ã™ã€‚ +.LP +.SS +ステップ実行 +.LP +.LP +\f2step\fPコマンドã¯ã€ç¾åœ¨ã®ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒ•レームã¾ãŸã¯å‘¼ã³å‡ºã•れãŸãƒ¡ã‚½ãƒƒãƒ‰å†…ã§ã€æ¬¡ã®è¡Œã‚’実行ã—ã¾ã™ã€‚\f2next\fPコマンドã¯ã€ç¾åœ¨ã®ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒ•ãƒ¬ãƒ¼ãƒ ã®æ¬¡ã®è¡Œã‚’実行ã—ã¾ã™ã€‚ +.LP +.SS +例外 +.LP +.LP +スローã—ã¦ã„るスレッドã®å‘¼å‡ºã—スタック上ã®ã©ã“ã«ã‚‚catchæ–‡ãŒãªã„å ´åˆã«ä¾‹å¤–ãŒç™ºç”Ÿã™ã‚‹ã¨ã€VMã¯é€šå¸¸ã€ä¾‹å¤–トレースを出力ã—ã¦çµ‚了ã—ã¾ã™ã€‚ãŸã ã—ã€\f3jdb\fP環境ã§å®Ÿè¡Œã—ã¦ã„ã‚‹å ´åˆã¯ã€é•åã®ã‚¹ãƒ­ãƒ¼æ™‚ã«\f3jdb\fPã«åˆ¶å¾¡ãŒæˆ»ã‚Šã¾ã™ã€‚次ã«ã€\f3jdb\fPを使用ã—ã¦ä¾‹å¤–ã®åŽŸå› ã‚’è¨ºæ–­ã—ã¾ã™ã€‚ +.LP +.LP +ãŸã¨ãˆã°ã€ã€Œ\f2catch java.io.FileNotFoundException\fPã€ã¾ãŸã¯ã€Œ\f2catch mypackage.BigTroubleException\fPã€ã®ã‚ˆã†ã«\f2catch\fPコマンドを使用ã™ã‚‹ã¨ã€ãƒ‡ãƒãƒƒã‚°ã•れãŸã‚¢ãƒ—リケーションã¯ã€ä»–ã®ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•れãŸã¨ãã«åœæ­¢ã—ã¾ã™ã€‚例外ãŒç‰¹å®šã®ã‚¯ãƒ©ã‚¹(ã¾ãŸã¯ã‚µãƒ–クラス)ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã®å ´åˆã¯ã€ã‚¢ãƒ—リケーションã¯ä¾‹å¤–ãŒã‚¹ãƒ­ãƒ¼ã•れãŸå ´æ‰€ã§åœæ­¢ã—ã¾ã™ã€‚ +.LP +.LP +\f2ignore\fPコマンドを使用ã™ã‚‹ã¨ã€ä»¥å‰ã®\f2catch\fPコマンドã®åŠ¹æžœãŒç„¡åйã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +\f2注æ„: \fP\f2ignore\fPコマンドã§ã¯ã€ãƒ‡ãƒãƒƒã‚°ã•れるVMã¯ä¾‹å¤–を無視ã›ãšã€ãƒ‡ãƒãƒƒã‚¬ã®ã¿ãŒä¾‹å¤–を無視ã—ã¾ã™ã€‚ +.LP +.SH "コマンドライン・オプション" +.LP +.LP +コマンドラインã§Javaアプリケーション起動ツールã®ã‹ã‚りã«\f3jdb\fPを使用ã™ã‚‹å ´åˆã€\f3jdb\fPã¯ã€\f2\-D\fPã€\f2\-classpath\fPã€\f2\-X<option>\fPãªã©ã€javaコマンドã¨åŒã˜æ•°ã®ã‚ªãƒ—ションをå—ã‘入れã¾ã™ã€‚ +.LP +.LP +\f3jdb\fPã¯ã€ãã®ä»–ã«æ¬¡ã®ã‚ªãƒ—ションをå—ã‘入れã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +\-help +ヘルプ・メッセージを表示ã—ã¾ã™ã€‚ +.TP 3 +\-sourcepath <dir1:dir2:...> +指定ã•れãŸãƒ‘スを使用ã—ã¦ã€ã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ァイルを検索ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ãƒ‡ãƒ•ォルト・パスã®ã€Œ.ã€ãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +\-attach <address> +ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æŽ¥ç¶šæ©Ÿæ§‹ã‚’ä½¿ç”¨ã—ã¦ã€ã™ã§ã«å®Ÿè¡Œä¸­ã®VMã«ãƒ‡ãƒãƒƒã‚¬ã‚’接続ã—ã¾ã™ã€‚ +.TP 3 +\-listen <address> +実行中ã®VMãŒæ¨™æº–ã®ã‚³ãƒã‚¯ã‚¿ã‚’使用ã—ã¦æŒ‡å®šã•れãŸã‚¢ãƒ‰ãƒ¬ã‚¹ã«æŽ¥ç¶šã™ã‚‹ã®ã‚’待機ã—ã¾ã™ã€‚ +.TP 3 +\-listenany +実行中ã®VMãŒæ¨™æº–ã®ã‚³ãƒã‚¯ã‚¿ã‚’使用ã—ã¦åˆ©ç”¨å¯èƒ½ãªä»»æ„ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã«æŽ¥ç¶šã™ã‚‹ã®ã‚’待機ã—ã¾ã™ã€‚ +.TP 3 +\-launch +デãƒãƒƒã‚°ã™ã‚‹ã‚¢ãƒ—リケーションをjdbã®èµ·å‹•後ãŸã ã¡ã«èµ·å‹•ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã«ã‚ˆã£ã¦ã€\f2run\fPコマンドを使用ã™ã‚‹å¿…è¦ãŒãªããªã‚Šã¾ã™ã€‚デãƒãƒƒã‚°ã™ã‚‹ã‚¢ãƒ—リケーションã¯ã€èµ·å‹•後ã€åˆæœŸã‚¢ãƒ—リケーション・クラスãŒãƒ­ãƒ¼ãƒ‰ã•れる直å‰ã«åœæ­¢ã—ã¾ã™ã€‚ãã®æ™‚点ã§ã€å¿…è¦ãªãƒ–レークãƒã‚¤ãƒ³ãƒˆã‚’設定ã—ã€\f2cont\fPを使用ã—ã¦å®Ÿè¡Œã‚’継続ã§ãã¾ã™ã€‚ +.TP 3 +\-listconnectors +ã“ã®VMã§åˆ©ç”¨ã§ãるコãƒã‚¯ã‚¿ã‚’一覧表示ã—ã¾ã™ã€‚ +.TP 3 +\-connect <connector\-name>:<name1>=<value1>,... +一覧表示ã•れãŸå¼•æ•°ã®å€¤ã¨æŒ‡å®šã®ã‚³ãƒã‚¯ã‚¿ã‚’使用ã—ã¦ã‚¿ãƒ¼ã‚²ãƒƒãƒˆVMã«æŽ¥ç¶šã—ã¾ã™ã€‚ +.TP 3 +\-dbgtrace [flags] +jdbã®ãƒ‡ãƒãƒƒã‚°æƒ…報を出力ã—ã¾ã™ã€‚ +.TP 3 +\-tclient +Java HotSpot(tm) VM(クライアント)内ã§ã‚¢ãƒ—リケーションを実行ã—ã¾ã™ã€‚ +.TP 3 +\-tserver +Java HotSpot(tm) VM(サーãƒãƒ¼)内ã§ã‚¢ãƒ—リケーションを実行ã—ã¾ã™ã€‚ +.TP 3 +\-Joption +jdbã®å®Ÿè¡Œã«ä½¿ç”¨ã•れるJava仮想マシンã«\f2option\fPを渡ã—ã¾ã™ã€‚(アプリケーションJava仮想マシンã«å¯¾ã™ã‚‹ã‚ªãƒ—ションã¯ã€\f3run\fPã‚³ãƒžãƒ³ãƒ‰ã«æ¸¡ã•れる)。ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚ +.RE + +.LP +.LP +デãƒãƒƒã‚¬ã¨ãƒ‡ãƒãƒƒã‚°ã‚’行ã†VMを接続ã™ã‚‹ãŸã‚ã®ä»£æ›¿æ©Ÿæ§‹ã«å¯¾ã—ã¦ã€ãã®ä»–ã®ã‚ªãƒ—ションãŒã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ã€‚ãã®ä»–ã®æŽ¥ç¶šã‚ªãƒ—ã‚·ãƒ§ãƒ³ã«ã¤ã„ã¦ã¯ã€Java Platform Debugger Architectureã® +.na +\f2ドキュメント\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SS +デãƒãƒƒã‚°å¯¾è±¡ã®ãƒ—ロセスã«è»¢é€ã•れるオプション +.LP +.RS 3 +.TP 3 +\-v \-verbose[:class|gc|jni] +冗長モードã«ã—ã¾ã™ã€‚ +.TP 3 +\-D<name>=<value> +システム・プロパティを設定ã—ã¾ã™ã€‚ +.TP 3 +\-classpath <directories separated by ":"> +クラスを検索ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’一覧表示ã—ã¾ã™ã€‚ +.TP 3 +\-X<option> +éžæ¨™æº–ターゲットVMオプションã§ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +.LP +javac(1)ã€java(1)ã€javah(1)ã€javap(1)ã€javadoc(1) +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jhat.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jhat.1 new file mode 100644 index 00000000..411c4e70 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jhat.1 @@ -0,0 +1,134 @@ +." Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jhat 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jhat \- Javaヒープ解æžãƒ„ール +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jhat\fP [ \f2options\fP ] <heap\-dump\-file> +.fl + +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +options +オプションを使用ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¦ãã ã•ã„。 +.TP 3 +heap\-dump\-file +ブラウズ対象ã¨ãªã‚‹Javaãƒã‚¤ãƒŠãƒªãƒ»ãƒ’ープ・ダンプ・ファイル。複数ã®ãƒ’ープ・ダンプをå«ã‚€ãƒ€ãƒ³ãƒ—・ファイルã®å ´åˆã€ã€Œfoo.hprof#3ã€ã®ã‚ˆã†ã«ãƒ•ァイルåã®å¾Œã«ã€Œ#<number>ã€ã‚’付加ã™ã‚‹ã“ã¨ã§ã€ãƒ•ァイル内ã®ç‰¹å®šã®ãƒ€ãƒ³ãƒ—を指定ã§ãã¾ã™ã€‚ +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jhat\fPコマンドã¯ã€javaヒープ・ダンプ・ファイルを解æžã—ã€Webサーãƒãƒ¼ã‚’èµ·å‹•ã—ã¾ã™ã€‚jhatを使用ã™ã‚Œã°ã€ä½¿ã„慣れãŸWebブラウザを使用ã—ã¦ãƒ’ープ・ダンプをブラウズã§ãã¾ã™ã€‚jhatã¯ã€ã€Œæ—¢çŸ¥ã®ã‚¯ãƒ©ã‚¹ã€ŒFooã€ã®ã™ã¹ã¦ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’表示ã™ã‚‹ã€ã¨ã„ã£ãŸã€äº‹å‰ã«è¨­è¨ˆã•れãŸã‚¯ã‚¨ãƒªãƒ¼ã®ä»–ã€ãƒ’ープ・ダンプをクエリーã™ã‚‹SQLã«ä¼¼ãŸã‚¯ã‚¨ãƒªãƒ¼è¨€èªžã§ã‚ã‚‹\f3OQL\fP(\f3O\fPbject\f3Q\fPuery\f3L\fPanguage)もサãƒãƒ¼ãƒˆã—ã¾ã™ã€‚OQLã®ãƒ˜ãƒ«ãƒ—ã«ã¯ã€jhatã«ã‚ˆã£ã¦è¡¨ç¤ºã•れるOQLヘルプ・ページã‹ã‚‰ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã™ã€‚デフォルト・ãƒãƒ¼ãƒˆã‚’使用ã™ã‚‹å ´åˆã€OQLã®ãƒ˜ãƒ«ãƒ—ã¯http://localhost:7000/oqlhelp/ã§åˆ©ç”¨å¯èƒ½ã§ã™ã€‚ +.LP +.LP +Javaã®ãƒ’ープ・ダンプを生æˆã™ã‚‹ã«ã¯ã€æ¬¡ã®ã„ãã¤ã‹ã®æ–¹æ³•ãŒã‚りã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +jmap(1)ã®\-dumpオプションを使用ã—ã¦å®Ÿè¡Œæ™‚ã«ãƒ’ープ・ダンプをå–å¾—ã™ã‚‹æ–¹æ³• +.TP 2 +o +jconsole(1)ã®ã‚ªãƒ—ションを使用ã—㦠+.na +\f2HotSpotDiagnosticMXBean\fP @ +.fi +http://docs.oracle.com/javase/7/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html経由ã§å®Ÿè¡Œæ™‚ã«ãƒ’ープ・ダンプをå–å¾—ã™ã‚‹æ–¹æ³• +.TP 2 +o +\-XX:+HeapDumpOnOutOfMemoryError VMオプションを指定ã—ã¦ã€OutOfMemoryErrorã®ã‚¹ãƒ­ãƒ¼æ™‚ã«ãƒ’ープ・ダンプを生æˆã™ã‚‹æ–¹æ³• +.TP 2 +o +hprofを使用ã™ã‚‹æ–¹æ³• +.RE + +.LP +.LP +\f3注æ„:\fP ã“ã®ãƒ„ールã¯\f3試験的ãªã‚‚ã®\fPã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨\f3ã§ããªããªã‚‹\fPå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-stack false/true +オブジェクト割当呼出ã—スタックã®è¿½è·¡ã‚’無効ã«ã—ã¾ã™ã€‚ヒープ・ダンプ内ã§å‰²å½“サイト情報ãŒä½¿ç”¨ã§ããªã„å ´åˆã€ã“ã®ãƒ•ラグをfalseã«è¨­å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚デフォルトã¯trueã§ã™ã€‚ +.TP 3 +\-refs false/true +オブジェクトã¸ã®å‚ç…§ã®è¿½è·¡ã‚’無効ã«ã—ã¾ã™ã€‚デフォルトã¯trueã§ã™ã€‚デフォルトã§ã¯ã€ãƒ’ープ内ã®ã™ã¹ã¦ã®ã‚ªãƒ–ジェクトã«ã¤ã„ã¦ã€ãƒãƒƒã‚¯ãƒã‚¤ãƒ³ã‚¿(指定ã•れãŸã‚ªãƒ–ジェクトをãƒã‚¤ãƒ³ãƒˆã—ã¦ã„るオブジェクト。å‚照者ã¾ãŸã¯å—ä¿¡å‚ç…§ã¨ã‚‚呼ã°ã‚Œã‚‹)ãŒè¨ˆç®—ã•れã¾ã™ã€‚ +.TP 3 +\-port port\-number +jhatã®HTTPサーãƒãƒ¼ã®ãƒãƒ¼ãƒˆã‚’設定ã—ã¾ã™ã€‚デフォルトã¯7000ã§ã™ã€‚ +.TP 3 +\-exclude exclude\-file +「到é”å¯èƒ½ãªã‚ªãƒ–ジェクトã€ã®ã‚¯ã‚¨ãƒªãƒ¼ã‹ã‚‰é™¤å¤–ã™ã‚‹å¿…è¦ãŒã‚るデータ・メンãƒãƒ¼ã®ä¸€è¦§ã‚’å«ã‚€ãƒ•ァイルを指定ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ã“ã®ãƒ•ァイルã«\f2java.lang.String.value\fPãŒå«ã¾ã‚Œã¦ã„ãŸå ´åˆã€ç‰¹å®šã®ã‚ªãƒ–ジェクト「oã€ã‹ã‚‰åˆ°é”å¯èƒ½ãªã‚ªãƒ–ジェクトã®ãƒªã‚¹ãƒˆã‚’計算ã™ã‚‹éš›ã«ã€\f2java.lang.String.value\fPフィールドã«é–¢é€£ã™ã‚‹å‚照パスãŒè€ƒæ…®ã•れãªããªã‚Šã¾ã™ã€‚ +.TP 3 +\-baseline baseline\-dump\-file +ベースラインã¨ãªã‚‹ãƒ’ープ・ダンプを指定ã—ã¾ã™ã€‚両方ã®ãƒ’ープ・ダンプ内ã§åŒã˜ã‚ªãƒ–ジェクトIDã‚’æŒã¤ã‚ªãƒ–ジェクトã¯ã€Œæ–°è¦ã§ã¯ãªã„ã€ã¨ã—ã¦ãƒžãƒ¼ã‚¯ã•れã¾ã™ã€‚ãã®ä»–ã®ã‚ªãƒ–ジェクトã¯ã€Œæ–°è¦ã€ã¨ã—ã¦ãƒžãƒ¼ã‚¯ã•れã¾ã™ã€‚ã“れã¯ã€ç•°ãªã‚‹2ã¤ã®ãƒ’ープ・ダンプを比較ã™ã‚‹éš›ã«å½¹ç«‹ã¡ã¾ã™ã€‚ +.TP 3 +\-debug int +ã“ã®ãƒ„ールã®ãƒ‡ãƒãƒƒã‚°ãƒ»ãƒ¬ãƒ™ãƒ«ã‚’設定ã—ã¾ã™ã€‚0ã¯ã€Œãƒ‡ãƒãƒƒã‚°å‡ºåŠ›ãªã—ã€ã‚’æ„味ã—ã¾ã™ã€‚より大ããªå€¤ã‚’設定ã™ã‚‹ã¨ã€ã‚ˆã‚Šå†—é•·ãªãƒ¢ãƒ¼ãƒ‰ã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +\-version +ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’報告ã—ãŸã‚ã¨ã€çµ‚了ã—ã¾ã™ã€‚ +.TP 3 +\-h +ヘルプ・メッセージを出力ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.TP 3 +\-help +ヘルプ・メッセージを出力ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.TP 3 +\-J<flag> +jhatãŒå®Ÿè¡Œã•れã¦ã„ã‚‹Java仮想マシンã«<flag>を渡ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€512Mãƒã‚¤ãƒˆã®æœ€å¤§ãƒ’ープ・サイズを使用ã™ã‚‹ã«ã¯ã€\-J\-Xmx512mã¨ã—ã¾ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +jmap(1) +.TP 2 +o +jconsole(1) +.TP 2 +o +hprof \- ヒープãŠã‚ˆã³CPUプロファイリング・ツール +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jinfo.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jinfo.1 new file mode 100644 index 00000000..9d700942 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jinfo.1 @@ -0,0 +1,147 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jinfo 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jinfo \- æ§‹æˆæƒ…å ± +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jinfo\fP [ option ] pid +.fl +\f3jinfo\fP [ option ] executable core +.fl +\f3jinfo\fP [ option ] [server\-id@]remote\-hostname\-or\-IP +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +option +å„オプションã¯äº’ã„ã«æŽ’ä»–çš„ã§ã™ã€‚オプションを使用ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¾ã™ã€‚ +.RE + +.LP +.RS 3 +.TP 3 +pid +出力ã™ã‚‹æ§‹æˆæƒ…å ±ã®ãƒ—ロセスID。プロセスã¯Javaプロセスã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚マシン上ã§å®Ÿè¡Œã—ã¦ã„ã‚‹Javaプロセスã®ä¸€è¦§ã‚’å–å¾—ã™ã‚‹ã«ã¯ã€jps(1)を使用ã—ã¾ã™ã€‚ +.RE + +.LP +.RS 3 +.TP 3 +executable +コア・ダンプã®ä½œæˆå…ƒã®Java実行å¯èƒ½ãƒ•ァイル。 +.RE + +.LP +.RS 3 +.TP 3 +core +出力ã™ã‚‹æ§‹æˆæƒ…å ±ã®ã‚³ã‚¢ãƒ»ãƒ•ァイル。 +.RE + +.LP +.RS 3 +.TP 3 +remote\-hostname\-or\-IP +リモート・デãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼(jsadebugd(1)ã‚’å‚ç…§)ã®ãƒ›ã‚¹ãƒˆåã¾ãŸã¯IPアドレス。 +.RE + +.LP +.RS 3 +.TP 3 +server\-id +複数ã®ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒåŒä¸€ã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆã§å®Ÿè¡Œã—ã¦ã„ã‚‹å ´åˆã®ã€ã‚ªãƒ—ション固有ã®ID。 +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jinfo\fPã¯ã€æŒ‡å®šã•れãŸJavaプロセスやコア・ファイルã¾ãŸã¯ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã®Javaæ§‹æˆæƒ…報を出力ã—ã¾ã™ã€‚æ§‹æˆæƒ…å ±ã«ã¯ã€Javaシステム・プロパティã¨Java仮想マシンã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ•ラグãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚指定ã•れãŸãƒ—ロセスãŒ64ビットVM上ã§å®Ÿè¡Œã•れã¦ã„ã‚‹å ´åˆã€\f2\-J\-d64\fPオプションを指定ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆãŒã‚りã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.br +jinfo \-J\-d64 \-sysprops pid +.LP +.LP +\f3æ³¨æ„ \- ã“ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã¯ã‚µãƒãƒ¼ãƒˆå¯¾è±¡å¤–ã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨ã§ããªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚dbgeng.dllãŒå­˜åœ¨ã—ã¦ã„ãªã„Windowsシステムã§ã¯ã€ã€ŒDebugging Tools For Windowsã€ã‚’インストールã—ãªã„ã¨ã“れらã®ãƒ„ãƒ¼ãƒ«ãŒæ­£å¸¸ã«å‹•作ã—ã¾ã›ã‚“。ã¾ãŸã€\fP\f4PATH\fP\f3環境変数ã«ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ—ロセスã«ã‚ˆã£ã¦ä½¿ç”¨ã•れる\fP\f4jvm.dll\fP\f3ã®å ´æ‰€ã€ã¾ãŸã¯ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ãƒ»ãƒ€ãƒ³ãƒ—・ファイルãŒç”Ÿæˆã•れãŸå ´æ‰€ãŒå«ã¾ã‚Œã‚‹ã‚ˆã†ã«ã—ã¦ãã ã•ã„。\fP +.LP +.LP +\f3次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚\fP\f4set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +<オプションãªã—> +コマンドライン・フラグをã€ã‚·ã‚¹ãƒ†ãƒ ãƒ»ãƒ—ロパティåã¨å€¤ã®ãƒšã‚¢ã¨ã¨ã‚‚ã«å‡ºåŠ›ã—ã¾ã™ã€‚ +.br +.TP 3 +\-flag name +指定ã•れãŸã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ•ラグã®åå‰ã¨å€¤ã‚’出力ã—ã¾ã™ã€‚ +.br +.TP 3 +\-flag [+|\-]name +指定ã•れãŸãƒ–ール型ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ•ラグを有効ã¾ãŸã¯ç„¡åйã«ã—ã¾ã™ã€‚ +.br +.TP 3 +\-flag name=value +指定ã•れãŸã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ•ラグを指定ã•れãŸå€¤ã«è¨­å®šã—ã¾ã™ã€‚ +.br +.TP 3 +\-flags +JVMã«æ¸¡ã•れるコマンドライン・フラグをペアã§å‡ºåŠ›ã—ã¾ã™ã€‚ +.br +.TP 3 +\-sysprops +Javaシステム・プロパティをåå‰ã¨å€¤ã®ãƒšã‚¢ã¨ã—ã¦å‡ºåŠ›ã—ã¾ã™ã€‚ +.br +.TP 3 +\-h +ヘルプ・メッセージãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.TP 3 +\-help +ヘルプ・メッセージãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +jps(1) +.TP 2 +o +jsadebugd(1) +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jmap.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jmap.1 new file mode 100644 index 00000000..f7a6c980 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jmap.1 @@ -0,0 +1,160 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jmap 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jmap \- メモリー・マップ +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jmap\fP [ option ] pid +.fl +\f3jmap\fP [ option ] executable core +.fl +\f3jmap\fP [ option ] [server\-id@]remote\-hostname\-or\-IP +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +option +å„オプションã¯äº’ã„ã«æŽ’ä»–çš„ã§ã™ã€‚オプションを使用ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¾ã™ã€‚ +.TP 3 +pid +出力ã™ã‚‹ãƒ¡ãƒ¢ãƒªãƒ¼ãƒ»ãƒžãƒƒãƒ—ã®ãƒ—ロセスID。プロセスã¯Javaプロセスã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚マシン上ã§å®Ÿè¡Œã—ã¦ã„ã‚‹Javaプロセスã®ä¸€è¦§ã‚’å–å¾—ã™ã‚‹ã«ã¯ã€jps(1)を使用ã—ã¾ã™ã€‚ +.br +.TP 3 +executable +コア・ダンプã®ä½œæˆå…ƒã®Java実行å¯èƒ½ãƒ•ァイル。 +.br +.TP 3 +core +出力ã™ã‚‹ãƒ¡ãƒ¢ãƒªãƒ¼ãƒ»ãƒžãƒƒãƒ—ã®ã‚³ã‚¢ãƒ»ãƒ•ァイル。 +.br +.TP 3 +remote\-hostname\-or\-IP +リモート・デãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼(jsadebugd(1)ã‚’å‚ç…§)ã®ãƒ›ã‚¹ãƒˆåã¾ãŸã¯IPアドレス。 +.br +.TP 3 +server\-id +複数ã®ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒåŒä¸€ã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆã§å‹•作ã—ã¦ã„ã‚‹å ´åˆã®ã€ã‚ªãƒ—ション固有ã®IDã§ã™ã€‚ +.br +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jmap\fPã¯ã€æŒ‡å®šã•れãŸãƒ—ロセスやコア・ファイルã¾ãŸã¯ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã®ã€å…±ç”¨ã‚ªãƒ–ジェクト・メモリー・マップã¾ãŸã¯ãƒ’ープ・メモリーã®è©³ç´°ã‚’出力ã—ã¾ã™ã€‚指定ã•れãŸãƒ—ロセスãŒ64ビットVM上ã§å®Ÿè¡Œã•れã¦ã„ã‚‹å ´åˆã€\f2\-J\-d64\fPオプションを指定ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆãŒã‚りã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +jmap \-J\-d64 \-heap pid +.fl +\fP +.fi + +.LP +.LP +\f3注æ„: ã“ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã¯ã‚µãƒãƒ¼ãƒˆå¯¾è±¡å¤–ã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨ã§ããªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚dbgeng.dllãŒå­˜åœ¨ã—ã¦ã„ãªã„Windowsシステムã§ã¯ã€ã€ŒDebugging Tools For Windowsã€ã‚’インストールã—ãªã„ã¨ã“れらã®ãƒ„ãƒ¼ãƒ«ãŒæ­£å¸¸ã«å‹•作ã—ã¾ã›ã‚“。ã¾ãŸã€\fP\f4PATH\fP\f3環境変数ã«ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ—ロセスã«ã‚ˆã£ã¦ä½¿ç”¨ã•れる\fP\f4jvm.dll\fP\f3ã®å ´æ‰€ã€ã¾ãŸã¯ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ãƒ»ãƒ€ãƒ³ãƒ—・ファイルãŒç”Ÿæˆã•れãŸå ´æ‰€ãŒå«ã¾ã‚Œã‚‹ã‚ˆã†ã«ã—ã¦ãã ã•ã„。\fP +.LP +.LP +\f3次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚\fP\f4set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP +.LP +.br + +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +<オプションãªã—> +オプションを使用ã—ãªã„å ´åˆã€jmapã¯å…±ç”¨ã‚ªãƒ–ジェクト・マッピングを出力ã—ã¾ã™ã€‚ターゲットVMã«ãƒ­ãƒ¼ãƒ‰ã•れãŸå…±ç”¨ã‚ªãƒ–ジェクトã”ã¨ã«ã€é–‹å§‹ã‚¢ãƒ‰ãƒ¬ã‚¹ã€ãƒžãƒƒãƒ”ングã®ã‚µã‚¤ã‚ºãŠã‚ˆã³å…±ç”¨ã‚ªãƒ–ジェクト・ファイルã®ãƒ•ルパスãŒå‡ºåŠ›ã•れã¾ã™ã€‚ã“れã¯ã€Solaris \f3pmap\fPユーティリティã¨é¡žä¼¼ã—ã¦ã„ã¾ã™ã€‚ +.br +.TP 3 +\-dump:[live,]format=b,file=<filename> +Javaヒープをhprofãƒã‚¤ãƒŠãƒªå½¢å¼ã§filenameã«ãƒ€ãƒ³ãƒ—ã—ã¾ã™ã€‚\f2live\fPサブオプションã¯çœç•¥å¯èƒ½ã§ã™ã€‚ã“ã‚ŒãŒæŒ‡å®šã•れãŸå ´åˆã€ãƒ’ープ内ã§ç”Ÿå­˜ä¸­ã®ã‚ªãƒ–ジェクトã®ã¿ãŒãƒ€ãƒ³ãƒ—ã•れã¾ã™ã€‚ヒープ・ダンプをå‚ç…§ã™ã‚‹ã«ã¯ã€ç”Ÿæˆã•れãŸãƒ•ァイルをjhat(1) (Java Heap Analysis Tool)を使用ã—ã¦èª­ã¿å–りã¾ã™ã€‚ +.br +.TP 3 +\-finalizerinfo +ファイナライズを待ã£ã¦ã„るオブジェクトã«é–¢ã™ã‚‹æƒ…報を出力ã—ã¾ã™ã€‚ +.br +.TP 3 +\-heap +ヒープ・サマリーを出力ã—ã¾ã™ã€‚使用ã•れるGCアルゴリズムã€ãƒ’ープ構æˆãŠã‚ˆã³ä¸–代ã”ã¨ã®ãƒ’ープ使用率ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.br +.TP 3 +\-histo[:live] +ヒープã®ãƒ’ストグラムを出力ã—ã¾ã™ã€‚Javaクラスã”ã¨ã«ã€ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã®æ•°ã€ãƒã‚¤ãƒˆå˜ä½ã§ã®ãƒ¡ãƒ¢ãƒªãƒ¼ãƒ»ã‚µã‚¤ã‚ºã€ãŠã‚ˆã³å®Œå…¨ä¿®é£¾ã‚¯ãƒ©ã‚¹åãŒå‡ºåŠ›ã•れã¾ã™ã€‚VM内部クラスåã¯ã€ã€Œ*ã€ã®æŽ¥é ­è¾žã‚’付ã‘ã¦å‡ºåŠ›ã•れã¾ã™ã€‚\f2live\fPã‚µãƒ–ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れãŸå ´åˆã€ç”Ÿå­˜ä¸­ã®ã‚ªãƒ–ジェクトã®ã¿ãŒã‚«ã‚¦ãƒ³ãƒˆã•れã¾ã™ã€‚ +.br +.TP 3 +\-permstat +Permanent世代ã®Javaヒープã®ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼é–¢é€£ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ã‚’出力ã—ã¾ã™ã€‚クラス・ローダーã”ã¨ã«ã€ãã®åå‰ã€çŠ¶æ…‹ã€ã‚¢ãƒ‰ãƒ¬ã‚¹ã€è¦ªã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ã€ãŠã‚ˆã³ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ãŒãƒ­ãƒ¼ãƒ‰ã—ãŸã‚¯ãƒ©ã‚¹ã®æ•°ã¨ã‚µã‚¤ã‚ºãŒå‡ºåŠ›ã•れã¾ã™ã€‚ã•らã«ã€internã•ã‚ŒãŸæ–‡å­—åˆ—ã®æ•°ã¨ã‚µã‚¤ã‚ºã‚‚出力ã•れã¾ã™ã€‚ +.br +.TP 3 +\-F +強制(Force)。pidãŒå¿œç­”ã—ãªã„å ´åˆã«ã€jmap \-dumpã¾ãŸã¯jmap \-histoオプションã¨ã¨ã‚‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚ã“ã®ãƒ¢ãƒ¼ãƒ‰ã§ã¯ã€\f2live\fPサブオプションã¯ã‚µãƒãƒ¼ãƒˆã•れã¾ã›ã‚“。 +.br +.TP 3 +\-h +ヘルプ・メッセージãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.br +.br +.TP 3 +\-help +ヘルプ・メッセージãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.br +.br +.TP 3 +\-J<flag> +jmapãŒå®Ÿè¡Œã•れã¦ã„ã‚‹Java仮想マシンã«<flag>を渡ã—ã¾ã™ã€‚ +.br +.RE + +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +pmap(1) +.TP 2 +o +jhat(1) +.TP 2 +o +jps(1) +.TP 2 +o +jsadebugd(1) +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jmc.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jmc.1 new file mode 100644 index 00000000..90857233 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jmc.1 @@ -0,0 +1,106 @@ +." Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. +." +.TH jmc 1 "11 Jul 2013" + +.LP +.SH "NAME" +jmc \- Java Mission Controlã¯ã€ãƒ—ロファイリングã€ç›£è¦–ãŠã‚ˆã³è¨ºæ–­ãƒ„ール・スイートã§ã™ã€‚ +.SH "å½¢å¼" +.sp +.if n \{\ +.RS 4 +.\} +.nf +jmc [ \fIoptions\fR ] +.fi +.if n \{\ +.RE +.\} +.PP +オプションを使用ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¦ãã ã•ã„ã€‚ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æŒ‡å®šé †åºã«æ±ºã¾ã‚Šã¯ã‚りã¾ã›ã‚“。\fIjmc\fRコマンドã§ä½¿ç”¨ã•れるオプションã®è©³ç´°ã¯ã€ã‚ªãƒ—ションをå‚ç…§ã—ã¦ãã ã•ã„。 +.SH "説明" +.PP +Java Mission Controlã¯ã€HotSpot JVMã®æœ¬ç•ªç¨¼åƒæ™‚ã®ãƒ—ロファイリングãŠã‚ˆã³è¨ºæ–­ç”¨ã®ãƒ„ールã§ã™ã€‚Java Mission Controlã®2ã¤ã®ä¸»è¦æ©Ÿèƒ½ã¯Management Consoleã¨Java Flight Recorderã§ã™ãŒã€ä»–ã«ã‚‚ã„ãã¤ã‹ã®æ©Ÿèƒ½ãŒãƒ—ラグインã¨ã—ã¦æä¾›ã•れã¦ãŠã‚Šã€ãƒ„ールã‹ã‚‰ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã§ãã¾ã™ã€‚Java Mission Controlã¯ã€Eclipse IDEã®ãƒ—ラグインã®ã‚»ãƒƒãƒˆã¨ã—ã¦ã‚‚使用å¯èƒ½ã§ã™ã€‚ +.SH "オプション" +.PP +Java Mission Controlã‚’èµ·å‹•ã™ã‚‹éš›ã«ã€æ¬¡ã®ã‚ªãƒ—ションを使用ã§ãã¾ã™ã€‚ +.PP +\-help +.RS 4 +\fIjmc\fRコマンドã®ãƒ˜ãƒ«ãƒ—を出力ã—ã¾ã™ã€‚ +.RE +.PP +\-version +.RS 4 +Java Mission Controlã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’出力ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.RE +.PP +\-showversion +.RS 4 +Java Mission Controlã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’出力ã—ã¦ç¶šè¡Œã—ã¾ã™ã€‚ +.RE +.PP +\-debug +.RS 4 +デãƒãƒƒã‚°å‡ºåŠ›ã‚’æœ‰åŠ¹ã«ã—ã¾ã™ã€‚ +.RE +.PP +\-consoleLog +.RS 4 +Eclipseログをコンソールã«å‡ºåŠ›ã—ã¾ã™ã€‚(Eclipseã‹ã‚‰ã®ãƒ•ラグ)。 +.sp +.if n \{\ +.RS 4 +.\} +.nf +.fi +.if n \{\ +.RE +.\} +.RE +.PP +\-data \fIworkspace\fR +.RS 4 +Java Mission Controlã®å®Ÿè¡Œä¸­ã«ä½¿ç”¨ã•れる\fIワークスペース\fRを設定ã—ã¾ã™ã€‚デフォルトã®ãƒ¯ãƒ¼ã‚¯ã‚¹ãƒšãƒ¼ã‚¹ã¯\fI$HOME/\&.jmc\fRã§ã™ã€‚(Eclipseã‹ã‚‰ã®ãƒ•ラグ)。 +.RE +.PP +\-open file +.RS 4 +Java Mission Controlã«\fIfile\fRã‚’é–‹ãã¾ã™ã€‚ãŸã¨ãˆã°ã€Flight Recordingファイル(\fI\&.jfr\fRファイル)ã‚’é–‹ãã¾ã™ã€‚ +.RE +.PP +\fIeclipse\-option\fR +.RS 4 +ã“ã®\fIeclipse\-option\fRを基礎ã¨ãªã‚‹Eclipseãƒ—ãƒ©ãƒƒãƒˆãƒ•ã‚©ãƒ¼ãƒ ã«æ¸¡ã—ã¾ã™ã€‚ +.RE +.PP +\-J\fIjvm\-option\fR +.RS 4 +ã“ã®\fIjvm\-option\fRを実行中ã®Javaä»®æƒ³ãƒžã‚·ãƒ³ã«æ¸¡ã—ã¾ã™ã€‚ +.RE +.SH "関連項目" +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +http://www\&.oracle\&.com/us/technologies/java/standard\-edition/advanced\-suite/overview/index\&.html +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/jmc/index\&.html +.RE +.br +'pl 8.5i +'bp diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jps.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jps.1 new file mode 100644 index 00000000..b6ed578e --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jps.1 @@ -0,0 +1,259 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jps 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jps \- Java仮想マシン・プロセス・ステータス・ツール +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +ãƒ›ã‚¹ãƒˆè­˜åˆ¥å­ +.TP 2 +o +å‡ºåŠ›å½¢å¼ +.TP 2 +o +例 +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jps\fP [ \f2options\fP ] [ \f2hostid\fP ] +.br + +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +options +コマンドライン・オプション。 +.TP 3 +hostid +プロセス・レãƒãƒ¼ãƒˆã‚’生æˆã™ã‚‹ãƒ›ã‚¹ãƒˆã®ãƒ›ã‚¹ãƒˆè­˜åˆ¥å­ã€‚\f2hostid\fPã«ã¯ã€é€šä¿¡ãƒ—ロトコルã€ãƒãƒ¼ãƒˆç•ªå·ã€å®Ÿè£…ã«å›ºæœ‰ãªä»–ã®ãƒ‡ãƒ¼ã‚¿ã‚’指定ã—ãŸã‚ªãƒ—ション・コンãƒãƒ¼ãƒãƒ³ãƒˆã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jps\fPツールã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚·ã‚¹ãƒ†ãƒ ä¸Šã§è¨ˆæ¸¬ã•れãŸHotSpot Java仮想マシン(JVM)を一覧表示ã—ã¾ã™ã€‚ã“ã®ãƒ„ールã§è¡¨ç¤ºã§ãるレãƒãƒ¼ãƒˆæƒ…å ±ã¯ã€ã‚¢ã‚¯ã‚»ã‚¹æ¨©ã‚’æŒã£ãŸJVMã«é–¢ã™ã‚‹ã‚‚ã®ã«é™å®šã•れã¾ã™ã€‚ +.LP +.LP +\f2hostid\fPを指定ã›ãšã«\f3jps\fPを実行ã—ãŸå ´åˆã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ›ã‚¹ãƒˆã§è¨ˆæ¸¬ã•れãŸJVMãŒæ¤œç´¢ã•れã¾ã™ã€‚\f2hostid\fPを指定ã—ã¦èµ·å‹•ã—ãŸå ´åˆã€æŒ‡å®šã•れãŸãƒ—ロトコルã¨ãƒãƒ¼ãƒˆã‚’使用ã—ã¦ã€æŒ‡å®šã•れãŸãƒ›ã‚¹ãƒˆä¸Šã®JVMを検索ã—ã¾ã™ã€‚\f3jstatd\fPプロセスãŒã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ›ã‚¹ãƒˆä¸Šã§å®Ÿè¡Œã•れã¦ã„ã‚‹ã¨æƒ³å®šã•れã¾ã™ã€‚ +.LP +.LP +\f3jps\fPコマンドã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚·ã‚¹ãƒ†ãƒ ã§è¨ˆæ¸¬ã•れãŸå„JVMã«ã¤ã„ã¦ã€ãƒ­ãƒ¼ã‚«ãƒ«VM識別å­ã€ã¤ã¾ã‚Š\f2lvmid\fPをレãƒãƒ¼ãƒˆã—ã¾ã™ã€‚\f3lvmid\fPã¯ã€ä¸€èˆ¬çš„ã«ã¯JVMプロセスã«å¯¾ã™ã‚‹ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ã®ãƒ—ロセス識別å­ã§ã™ãŒã€å¿…ãšã—ã‚‚ãã†ã§ã‚ã‚‹ã¨ã¯é™ã‚Šã¾ã›ã‚“。オプションを指定ã—ãªã„å ´åˆã€\f3jps\fPã«ã‚ˆã£ã¦ã€å„Javaアプリケーションã®\f2lvmid\fPãŒä¸€è¦§è¡¨ç¤ºã•れã€ãれãžã‚Œã«ã‚¢ãƒ—リケーションã®ã‚¯ãƒ©ã‚¹åã¾ãŸã¯JARファイルåãŒç°¡å˜ãªå½¢å¼ã§ç¤ºã•れã¾ã™ã€‚ã“ã®ç°¡å˜ãªå½¢å¼ã®ã‚¯ãƒ©ã‚¹åã¨JARファイルåã§ã¯ã€ã‚¯ãƒ©ã‚¹ã®ãƒ‘ッケージ情報ã¾ãŸã¯JARファイル・パス情報ãŒçœç•¥ã•れã¦ã„ã¾ã™ã€‚ +.LP +.LP +\f3jps\fPコマンドã¯ã€\f3Java\fP起動ツールを使用ã—ã¦\f2main\fPãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れるクラスåã¨å¼•数を検索ã—ã¾ã™ã€‚独自ã®èµ·å‹•ツールを使用ã—ã¦ã‚¿ãƒ¼ã‚²ãƒƒãƒˆJVMã‚’èµ·å‹•ã—ãŸå ´åˆã¯ã€\f2main\fPãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れるクラスå(ã¾ãŸã¯JARファイルå)ã¨å¼•æ•°ã¯åˆ©ç”¨ã§ãã¾ã›ã‚“。ã“ã®å ´åˆã€\f3jps\fPコマンドã¯ã€mainãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れるクラスå(ã¾ãŸã¯JARファイルå)ã¨å¼•æ•°ã«å¯¾ã—ã¦ã€æ–‡å­—列\f2Unknown\fPを出力ã—ã¾ã™ã€‚ +.LP +.LP +\f3jps\fPコマンドã§ç”Ÿæˆã•れるJVMã®ãƒªã‚¹ãƒˆã¯ã€ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã™ã‚‹ãƒ—リンシパルã«ä¸Žãˆã‚‰ã‚ŒãŸã‚¢ã‚¯ã‚»ã‚¹æ¨©ã«åŸºã¥ãã€åˆ¶é™ã•れる場åˆãŒã‚りã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ç‹¬è‡ªã®ã‚¢ã‚¯ã‚»ã‚¹åˆ¶å¾¡æ©Ÿæ§‹ã«ã‚ˆã‚‹æ±ºå®šã«åŸºã¥ã„ã¦ã€ãƒ—リンシパルã«ã‚¢ã‚¯ã‚»ã‚¹æ¨©ãŒä¸Žãˆã‚‰ã‚Œã¦ã„ã‚‹JVMã®ã¿ã‚’一覧表示ã—ã¾ã™ã€‚ +.LP +.LP +\f3注æ„:\fP ã“ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã¯ã‚µãƒãƒ¼ãƒˆå¯¾è±¡å¤–ã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨ã§ããªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ç¾åœ¨ã€Windows 98ãŠã‚ˆã³Windows MEプラットフォームã§ã¯ä½¿ç”¨ã§ãã¾ã›ã‚“。 +.LP +.SH "オプション" +.LP +.LP +\f3jps\fPコマンドã§ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ã®å‡ºåŠ›ã‚’å¤‰æ›´ã™ã‚‹ã‚ªãƒ—ションãŒå¤šæ•°ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ã€‚å°†æ¥ã€ã“れらã®ã‚ªãƒ—ションã¯ã€å¤‰æ›´ã¾ãŸã¯å»ƒæ­¢ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +\-q +クラスåã€JARファイルåã€ãŠã‚ˆã³\f2main\fPãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れãŸå¼•æ•°ã®å‡ºåŠ›ã‚’æŠ‘åˆ¶ã—ã€ãƒ­ãƒ¼ã‚«ãƒ«VM識別å­ã®ä¸€è¦§ã®ã¿ã‚’生æˆã—ã¾ã™ã€‚ +.TP 3 +\-m +mainãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れる引数を出力ã—ã¾ã™ã€‚ã“ã®å‡ºåŠ›ã¯ã€çµ„ã¿è¾¼ã¾ã‚Œã¦ã„ã‚‹JVMã«å¯¾ã—ã¦nullã«ãªã‚‹ã“ã¨ã‚‚ã‚りã¾ã™ã€‚ +.TP 3 +\-l +アプリケーションã®ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã®ãƒ•ル・パッケージåã€ã¾ãŸã¯ã‚¢ãƒ—リケーションã®JARファイルã¸ã®ãƒ•ルパスåを出力ã—ã¾ã™ã€‚ +.TP 3 +\-v +JVMã«æ¸¡ã•れる引数を出力ã—ã¾ã™ã€‚ +.TP 3 +\-V +フラグ・ファイル(.hotspotrcファイルã¾ãŸã¯\-XX:Flags=<\f2filename\fP>ã®å¼•æ•°ã§æŒ‡å®šã•れãŸãƒ•ァイル)を通ã˜ã¦JVMã«æ¸¡ã•れる引数を出力ã—ã¾ã™ã€‚ +.TP 3 +\-Joption +\f3jps\fPãŒå‘¼ã³å‡ºã™\f3java\fP起動ツールã«ã€\f2option\fPを渡ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚\f3\-J\fPを使用ã—ã¦ã€Javaã§è¨˜è¿°ã•れãŸã‚¢ãƒ—リケーションを実行ã™ã‚‹èƒŒå¾Œã®VMã«ã‚ªãƒ—ションを渡ã™ã“ã¨ã¯ã€ã‚ˆã行ã‚れã¦ã„ã¾ã™ã€‚ +.RE + +.LP +.SS +ãƒ›ã‚¹ãƒˆè­˜åˆ¥å­ +.LP +.LP +ホスト識別å­ã€ã¤ã¾ã‚Š\f2hostid\fPã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚·ã‚¹ãƒ†ãƒ ã‚’ç¤ºã™æ–‡å­—列ã§ã™ã€‚\f2hostid\fPæ–‡å­—åˆ—ã®æ§‹æ–‡ã®å¤§éƒ¨åˆ†ã¯ã€URIã®æ§‹æ–‡ã«å¯¾å¿œã—ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +[\fP\f4protocol\fP\f3:][[//]\fP\f4hostname\fP\f3][:\fP\f4port\fP\f3][/\fP\f4servername\fP\f3]\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.RS 3 +.TP 3 +protocol +通信プロトコルã§ã™ã€‚\f2protocol\fPãŒçœç•¥ã•れã€\f2hostname\fPãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ãƒ‡ãƒ•ォルトã®ãƒ—ロトコルãŒã€ãƒ—ãƒ©ãƒƒãƒˆãƒ•ã‚©ãƒ¼ãƒ å›ºæœ‰ã®æœ€é©åŒ–ã•れãŸãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ—ロトコルã«ãªã‚Šã¾ã™ã€‚\f2protocol\fPãŒçœç•¥ã•れã€\f2hostname\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€ãƒ‡ãƒ•ォルト・プロトコルã¯\f3rmi\fPã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +hostname +ターゲット・ホストを示ã™ãƒ›ã‚¹ãƒˆåã¾ãŸã¯IPアドレスã§ã™ã€‚\f2hostname\fPãŒçœç•¥ã•れã¦ã„ã‚‹å ´åˆã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ›ã‚¹ãƒˆã¯ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ›ã‚¹ãƒˆã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +port +リモート・サーãƒãƒ¼ã¨é€šä¿¡ã™ã‚‹ãŸã‚ã®ãƒ‡ãƒ•ォルト・ãƒãƒ¼ãƒˆã§ã™ã€‚\f2hostname\fPãŒçœç•¥ã•れã¦ã„ã‚‹ã‹ã€æœ€é©åŒ–ã•れãŸãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ—ロトコルãŒ\f2protocol\fPã«æŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€\f2port\fPã¯ç„¡è¦–ã•れã¾ã™ã€‚ãれ以外ã®å ´åˆã€\f2port\fPãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã®æ‰±ã„ã¯ã€å®Ÿè£…ã«ã‚ˆã£ã¦ç•°ãªã‚Šã¾ã™ã€‚デフォルトã®\f3rmi\fPプロトコルã®å ´åˆã€\f2port\fPã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆä¸Šã®rmiregistryã®ãƒãƒ¼ãƒˆç•ªå·ã‚’示ã—ã¾ã™ã€‚\f2port\fPãŒçœç•¥ã•れã€\f2protocol\fPã§\f3rmi\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€ãƒ‡ãƒ•ォルトã®rmiregistryãƒãƒ¼ãƒˆ(1099)ãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +servername +ã“ã®ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã®æ‰±ã„ã¯ã€å®Ÿè£…ã«ã‚ˆã£ã¦ç•°ãªã‚Šã¾ã™ã€‚最é©åŒ–ã•れãŸãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ—ロトコルã®å ´åˆã€ã“ã®ãƒ•ィールドã¯ç„¡è¦–ã•れã¾ã™ã€‚\f3rmi\fPプロトコルã®å ´åˆã€ã“ã®ãƒ‘ラメータã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆä¸Šã®RMIリモート・オブジェクトã®åå‰ã‚’ç¤ºã™æ–‡å­—列ã«ãªã‚Šã¾ã™ã€‚jstatd(1)コマンドã®\f3\-n\fPオプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.RE + +.LP +.SH "出力形å¼" +.LP +.LP +\f3jps\fPコマンドã®å‡ºåŠ›ã¯ã€æ¬¡ã®ãƒ‘ターンã«å¾“ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\fP\f4lvmid\fP\f3 [ [ \fP\f4classname\fP\f3 | \fP\f4JARfilename\fP\f3 | "Unknown"] [ \fP\f4arg\fP\f3* ] [ \fP\f4jvmarg\fP\f3* ] ]\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.LP +ã™ã¹ã¦ã®å‡ºåŠ›ãƒˆãƒ¼ã‚¯ãƒ³ã¯ç©ºç™½ã§åŒºåˆ‡ã‚Šã¾ã™ã€‚\f2arg\fPã®ä¸­ã§ç©ºç™½ã‚’使用ã™ã‚‹ã¨ã€å®Ÿéš›ã®å®šä½ç½®ãƒ‘ラメータã«å¼•数をマッピングã—よã†ã¨ã™ã‚‹ã¨ãã«ã€ã‚ã„ã¾ã„ã«ãªã‚Šã¾ã™ã€‚ +.br +.br +\f3注æ„\fP: å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã“ã®å½¢å¼ã¯å¤‰æ›´ã•れるå¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€\f3jps\fPã®å‡ºåŠ›ã‚’è§£æžã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トã¯ä½œæˆã—ãªã„ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚\f3jps\fP出力を解æžã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トを作æˆã™ã‚‹ã¨ã€ã“ã®ãƒ„ールã®å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã€ä½œæˆã—ãŸã‚¹ã‚¯ãƒªãƒ—トã®å¤‰æ›´ãŒå¿…è¦ã«ãªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.br + +.LP +.SH "例" +.LP +.LP +ã“ã®é …ã§ã¯ã€\f3jps\fPコマンドã®ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.LP +.LP +ローカル・ホスト上ã§è¨ˆæ¸¬ã•れãŸJVMを一覧表示ã™ã‚‹å ´åˆ: +.LP +.nf +\f3 +.fl +\fP\f3jps\fP +.br + +.fl +18027 Java2Demo.JAR +.br + +.fl +18032 jps +.br + +.fl +18005 jstat +.br + +.fl +.fi + +.LP +.LP +リモート・ホスト上ã§è¨ˆæ¸¬ã•れãŸJVMを一覧表示ã™ã‚‹å ´åˆ: +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€\f3jstat\fPサーãƒãƒ¼ã¨ã€ãã®å†…部RMIレジストリã¾ãŸã¯åˆ¥ã®å¤–部\f3rmiregistry\fPプロセスã®ã„ãšã‚Œã‹ãŒã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆã®ãƒ‡ãƒ•ォルト・ãƒãƒ¼ãƒˆ(ãƒãƒ¼ãƒˆ1099)ã§å®Ÿè¡Œã•れã¦ã„ã‚‹ã¨æƒ³å®šã—ã¦ã„ã¾ã™ã€‚ã¾ãŸã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ›ã‚¹ãƒˆãŒã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆã¸ã®æœ‰åйãªã‚¢ã‚¯ã‚»ã‚¹æ¨©ã‚’æŒã£ã¦ã„ã‚‹ã“ã¨ã‚‚想定ã—ã¦ã„ã¾ã™ã€‚ã“ã®ä¾‹ã«ã¯ã€\f2\-l\fPオプションもå«ã¾ã‚Œã€ã‚¯ãƒ©ã‚¹åã¾ãŸã¯JARファイルåを詳細ãªå½¢å¼ã§å‡ºåŠ›ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\fP\f3jps \-l remote.domain\fP +.br + +.fl +3002 /opt/jdk1.7.0/demo/jfc/Java2D/Java2Demo.JAR +.br + +.fl +2857 sun.tools.jstatd.jstatd +.br + +.fl +.fi + +.LP +.LP +RMIレジストリã«ãƒ‡ãƒ•ォルトã§ã¯ãªã„ãƒãƒ¼ãƒˆã‚’使用ã—ã¦ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆä¸Šã§è¨ˆæ¸¬ã•れãŸJVMを一覧表示ã™ã‚‹å ´åˆ: +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€å†…部RMIレジストリãŒãƒãƒ¼ãƒˆ2002ã«ãƒã‚¤ãƒ³ãƒ‰ã•れãŸ\f3jstatd\fPサーãƒãƒ¼ãŒã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆä¸Šã§å®Ÿè¡Œã•れã¦ã„ã‚‹ã¨æƒ³å®šã—ã¦ã„ã¾ã™ã€‚ã¾ãŸã€\f2\-m\fPオプションを使用ã—ã¦ã€ä¸€è¦§è¡¨ç¤ºã•れãŸãれãžã‚Œã®Javaアプリケーションã®\f2main\fPãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れる引数を組ã¿è¾¼ã‚“ã§ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\fP\f3jps \-m remote.domain:2002\fP +.br + +.fl +3002 /opt/jdk1.7.0/demo/jfc/Java2D/Java2Demo.JAR +.br + +.fl +3102 sun.tools.jstatd.jstatd \-p 2002 +.fl +.fi + +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +java(1) \- Javaアプリケーション起動ツール +.TP 2 +o +jstat(1) \- Java仮想マシン統計データ監視ツール +.TP 2 +o +jstatd(1) \- jstatデーモン +.TP 2 +o +rmiregistry(1) \- Javaリモート・オブジェクト・レジストリ +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jrunscript.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jrunscript.1 new file mode 100644 index 00000000..b656c674 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jrunscript.1 @@ -0,0 +1,193 @@ +." Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jrunscript 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jrunscript \- コマンドライン・スクリプト・シェル +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +引数 +.TP 2 +o +例 +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jrunscript\fP [ \f2options\fP ] [ arguments... ] +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +options +オプションを使用ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¦ãã ã•ã„。 +.TP 3 +arguments +引数を使用ã™ã‚‹å ´åˆã€ã‚ªãƒ—ションã¾ãŸã¯ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¦ãã ã•ã„。 +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jrunscript\fPã¯ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚¹ã‚¯ãƒªãƒ—ト・シェルã§ã™ã€‚jrunscriptã¯ã€å¯¾è©±åž‹(読å–り\-評価\-出力)モードã¨ãƒãƒƒãƒ(\-fオプション)モードã®ä¸¡æ–¹ã®ã‚¹ã‚¯ãƒªãƒ—ト実行をサãƒãƒ¼ãƒˆã—ã¾ã™ã€‚ã“れã¯ã‚¹ã‚¯ãƒªãƒ—ト言語ã«ä¾å­˜ã—ãªã„シェルã§ã™ã€‚デフォルトã®ä½¿ç”¨è¨€èªžã¯JavaScriptã§ã™ãŒã€\-lオプションを使用ã™ã‚Œã°ä»–ã®è¨€èªžã‚‚指定ã§ãã¾ã™ã€‚jrunscriptã¯ã€Javaã¨ã‚¹ã‚¯ãƒªãƒ—ト言語ã¨ã®é€šä¿¡ã«ã‚ˆã£ã¦ã€ŒæŽ¢æ±‚çš„ãªãƒ—ログラミングã€ã‚¹ã‚¿ã‚¤ãƒ«ã‚’サãƒãƒ¼ãƒˆã—ã¾ã™ã€‚ +.LP +.LP +\f3注æ„:\fP ã“ã®ãƒ„ールã¯\f3試験的ãªã‚‚ã®\fPã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨\f3ã§ããªããªã‚‹\fPå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-classpath path +スクリプトã‹ã‚‰ã®ã‚¢ã‚¯ã‚»ã‚¹å¯¾è±¡ã¨ãªã‚‹ãƒ¦ãƒ¼ã‚¶ãƒ¼ã® .classãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œç´¢å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚ +.TP 3 +\-cp path +\-classpath\f2path\fPã¨åŒç¾©ã§ã™ã€‚ +.TP 3 +\-Dname=value +Javaã®ã‚·ã‚¹ãƒ†ãƒ ãƒ»ãƒ—ロパティを設定ã—ã¾ã™ã€‚ +.TP 3 +\-J<flag> +jrunscriptãŒå®Ÿè¡Œã•れã¦ã„ã‚‹Java仮想マシンã«<flag>を直接渡ã—ã¾ã™ã€‚ +.TP 3 +\-l language +指定ã•れãŸã‚¹ã‚¯ãƒªãƒ—ト言語を使用ã—ã¾ã™ã€‚デフォルトã§ã¯JavaScriptãŒä½¿ç”¨ã•れã¾ã™ã€‚ä»–ã®ã‚¹ã‚¯ãƒªãƒ—ト言語を使用ã™ã‚‹ã«ã¯ã€\-cpã¾ãŸã¯\-classpathオプションを使用ã—ã¦ã€å¯¾å¿œã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—ト・エンジンã®JARファイルも指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-e script +指定ã•れãŸã‚¹ã‚¯ãƒªãƒ—トを評価ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚Œã°ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«ã™ã¹ã¦ãŒæŒ‡å®šã•れãŸã€Œ1行ã€ã‚¹ã‚¯ãƒªãƒ—トを実行ã§ãã¾ã™ã€‚ +.TP 3 +\-encoding encoding +スクリプト・ファイルã®èª­å–り時ã«ä½¿ç”¨ã™ã‚‹æ–‡å­—エンコーディングを指定ã—ã¾ã™ã€‚ +.TP 3 +\-f script\-file +指定ã•れãŸã‚¹ã‚¯ãƒªãƒ—ト・ファイルを評価ã—ã¾ã™(ãƒãƒƒãƒãƒ»ãƒ¢ãƒ¼ãƒ‰)。 +.TP 3 +\-f \- +標準入力ã‹ã‚‰ã‚¹ã‚¯ãƒªãƒ—トを読å–りã€ãれを評価ã—ã¾ã™(対話型モード)。 +.TP 3 +\-help\ +ヘルプ・メッセージを出力ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.TP 3 +\-?\ +ヘルプ・メッセージを出力ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.TP 3 +\-q\ +利用å¯èƒ½ãªã™ã¹ã¦ã®ã‚¹ã‚¯ãƒªãƒ—ト・エンジンを一覧表示ã—ãŸã‚ã¨ã€çµ‚了ã—ã¾ã™ã€‚ +.RE + +.LP +.SH "引数" +.LP +.LP +[arguments...]ãŒå­˜åœ¨ã—ã¦ã„ã¦ã€ã‹ã¤\f3\-e\fPã€\f3\-f\fPã®ã„ãšã‚Œã®ã‚ªãƒ—ションも使用ã•れãªã‹ã£ãŸå ´åˆã€æœ€åˆã®å¼•æ•°ãŒã‚¹ã‚¯ãƒªãƒ—ト・ファイルã¨ãªã‚Šã€ä»–ã®å¼•æ•°ãŒå­˜åœ¨ã™ã‚‹å ´åˆã¯ã‚¹ã‚¯ãƒªãƒ—ト引数ã¨ã—ã¦æ¸¡ã•れã¾ã™ã€‚[arguments..]ã¨ã€\f3\-e\fPã¾ãŸã¯\f3\-f\fPãŒä½¿ç”¨ã•れã¦ã„ã‚‹å ´åˆã€ã™ã¹ã¦ã®[arguments..]ãŒã‚¹ã‚¯ãƒªãƒ—ト引数ã¨ã—ã¦æ¸¡ã•れã¾ã™ã€‚[arguments..]ã€\f3\-e\fPã€\f3\-f\fPãŒã©ã‚Œã‚‚存在ã—ãªã‹ã£ãŸå ´åˆã¯ã€å¯¾è©±åž‹ãƒ¢ãƒ¼ãƒ‰ãŒä½¿ç”¨ã•れã¾ã™ã€‚スクリプトã‹ã‚‰ã‚¹ã‚¯ãƒªãƒ—ト引数を使用ã™ã‚‹ã«ã¯ã€ã€Œargumentsã€ã¨ã„ã†åå‰ã®Stringé…列型ã®ã‚¨ãƒ³ã‚¸ãƒ³å¤‰æ•°ã‚’使用ã—ã¾ã™ã€‚ +.LP +.SH "例" +.LP +.SS +インライン・スクリプトã®å®Ÿè¡Œ +.LP +.nf +\f3 +.fl +jrunscript \-e "print('hello world')" +.fl +jrunscript \-e "cat('http://www.example.com')" +.fl +\fP +.fi + +.LP +.SS +指定ã•れãŸè¨€èªžã®ä½¿ç”¨ãŠã‚ˆã³æŒ‡å®šã•れãŸã‚¹ã‚¯ãƒªãƒ—ト・ファイルã®è©•価 +.LP +.nf +\f3 +.fl +jrunscript \-l js \-f test.js +.fl +\fP +.fi + +.LP +.SS +対話型モード +.LP +.nf +\f3 +.fl +jrunscript +.fl +js> print('Hello World\\n'); +.fl +Hello World +.fl +js> 34 + 55 +.fl +89.0 +.fl +js> t = new java.lang.Thread(function() { print('Hello World\\n'); }) +.fl +Thread[Thread\-0,5,main] +.fl +js> t.start() +.fl +js> Hello World +.fl + +.fl +js> +.fl +\fP +.fi + +.LP +.SS +スクリプト引数を指定ã—ãŸã‚¹ã‚¯ãƒªãƒ—ト・ファイルã®å®Ÿè¡Œ +.LP +.nf +\f3 +.fl +jrunscript test.js arg1 arg2 arg3 +.fl +\fP +.fi + +.LP +test.jsãŒå®Ÿè¡Œå¯¾è±¡ã¨ãªã‚‹ã‚¹ã‚¯ãƒªãƒ—ト・ファイルã§ã‚りã€arg1ã€arg2ãŠã‚ˆã³arg3ã¯ã‚¹ã‚¯ãƒªãƒ—ト引数ã¨ã—ã¦ã‚¹ã‚¯ãƒªãƒ—ãƒˆã«æ¸¡ã•れã¾ã™ã€‚スクリプトã¯ã€Œargumentsã€é…列を使用ã—ã¦ã“れらã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã™ã€‚ +.SH "関連項目" +.LP +.LP +JavaScriptãŒä½¿ç”¨ã•れる場åˆã€jrunscriptã¯ã€æœ€åˆã®ãƒ¦ãƒ¼ã‚¶ãƒ¼å®šç¾©ã‚¹ã‚¯ãƒªãƒ—トを評価ã™ã‚‹å‰ã«ã€ã„ãã¤ã‹ã®çµ„è¾¼ã¿é–¢æ•°ã‚„組込ã¿ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã‚’åˆæœŸåŒ–ã—ã¾ã™ã€‚ã“れらã®JavaScriptçµ„è¾¼ã¿æ©Ÿèƒ½ã«ã¤ã„ã¦ã¯ã€ +.na +\f2jsdocs\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/share/jsdocs/allclasses\-noframe.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jsadebugd.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jsadebugd.1 new file mode 100644 index 00000000..72b4ca78 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jsadebugd.1 @@ -0,0 +1,106 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jsadebugd 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jsadebugd \- サービスアビリティ・エージェント・デãƒãƒƒã‚°ãƒ»ãƒ‡ãƒ¼ãƒ¢ãƒ³ +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jsadebugd\fP pid [ server\-id ] +.fl +\f3jsadebugd\fP executable core [ server\-id ] +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +pid +デãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒæŽ¥ç¶šã™ã‚‹ãƒ—ロセスã®ãƒ—ロセスIDã§ã™ã€‚プロセスã¯Javaプロセスã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚マシン上ã§å®Ÿè¡Œã—ã¦ã„ã‚‹Javaプロセスã®ä¸€è¦§ã‚’å–å¾—ã™ã‚‹ã«ã¯ã€jps(1)を使用ã—ã¾ã™ã€‚å˜ä¸€ã®ãƒ—ãƒ­ã‚»ã‚¹ã«æŽ¥ç¶šã§ãるデãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã¯ã€1ã¤ã«åˆ¶é™ã•れã¾ã™ã€‚ +.TP 3 +executable +コア・ダンプã®ä½œæˆå…ƒã®Java実行å¯èƒ½ãƒ•ァイル。 +.TP 3 +core +デãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã‚’接続ã™ã‚‹ã‚³ã‚¢ãƒ»ãƒ•ァイルã§ã™ã€‚ +.TP 3 +server\-id +複数ã®ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒåŒä¸€ã®ãƒžã‚·ãƒ³ä¸Šã§å®Ÿè¡Œã•れã¦ã„ã‚‹å ´åˆã«å¿…è¦ã«ãªã‚‹ã€ã‚ªãƒ—ションã®ä¸€æ„ã®IDã§ã™ã€‚ã“ã®IDã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãŒã€æŽ¥ç¶šå…ˆã®ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã‚’特定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®IDã¯ã€å˜ä¸€ã®ãƒžã‚·ãƒ³å†…ã§ä¸€æ„ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jsadebugd\fPã¯ã€Javaプロセスã¾ãŸã¯ã‚³ã‚¢ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã«æŽ¥ç¶šã—ã€ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã¨ã—ã¦æ©Ÿèƒ½ã—ã¾ã™ã€‚jstack(1)ã€jmap(1)ãŠã‚ˆã³jinfo(1)ãªã©ã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¯ã€Java Remote Method Invocation(RMI)を使用ã—ã¦ã„るサーãƒãƒ¼ã«æŽ¥ç¶šã§ãã¾ã™ã€‚\f2jsadebugd\fPã‚’èµ·å‹•ã™ã‚‹å‰ã«ã€æ¬¡ã®ã‚ˆã†ã«ã—㦠+.na +\f2rmiregistry\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmiã‚’èµ·å‹•ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\fP\f4rmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar\fP\f3 +.fl +\fP +.fi + +.LP +.LP +ã“ã“ã§ã€\f2$JAVA_HOME\fPã¯JDKインストール・ディレクトリã§ã™ã€‚rmiregistryãŒèµ·å‹•ã—ã¦ã„ãªã„å ´åˆã€jsadebugdã¯æ¨™æº–(1099)ãƒãƒ¼ãƒˆã®rmiregistryを内部ã§èµ·å‹•ã—ã¾ã™ã€‚デãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã¯ã€SIGINTã‚’é€ä¿¡ã™ã‚‹([Ctrl]+[C]を押ã™)ã“ã¨ã«ã‚ˆã‚Šåœæ­¢ã§ãã¾ã™ã€‚ +.LP +.LP +\f3注æ„\fP \- ã“ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã¯ã‚µãƒãƒ¼ãƒˆå¯¾è±¡å¤–ã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨ã§ããªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚dbgeng.dllãŒå­˜åœ¨ã—ã¦ã„ãªã„Windowsシステムã§ã¯ã€ã€ŒDebugging Tools For Windowsã€ã‚’インストールã—ãªã„ã¨ã“れらã®ãƒ„ãƒ¼ãƒ«ãŒæ­£å¸¸ã«å‹•作ã—ã¾ã›ã‚“。ã¾ãŸã€\f2PATH\fP環境変数ã«ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ—ロセスã«ã‚ˆã£ã¦ä½¿ç”¨ã•れる\f2jvm.dll\fPã®å ´æ‰€ã€ã¾ãŸã¯ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ãƒ»ãƒ€ãƒ³ãƒ—・ファイルãŒç”Ÿæˆã•れãŸå ´æ‰€ãŒå«ã¾ã‚Œã‚‹ã‚ˆã†ã«ã—ã¦ãã ã•ã„。 +.LP +.LP +次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚\f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +jinfo(1) +.TP 2 +o +jmap(1) +.TP 2 +o +jps(1) +.TP 2 +o +jstack(1) +.TP 2 +o +.na +\f2rmiregistry\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmi +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstack.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstack.1 new file mode 100644 index 00000000..e8a5f675 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstack.1 @@ -0,0 +1,153 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jstack 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jstack \- スタック・トレース +.br + +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.br +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +関連項目 +.TP 2 +o +既知ã®ãƒã‚° +.br +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jstack\fP [ option ] pid +.fl +\f3jstack\fP [ option ] executable core +.fl +\f3jstack\fP [ option ] [server\-id@]remote\-hostname\-or\-IP +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.LP +å„オプションã¯äº’ã„ã«æŽ’ä»–çš„ã§ã™ã€‚オプションを使用ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¾ã™ã€‚オプションをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.RS 3 +.TP 3 +pid +出力ã™ã‚‹ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒˆãƒ¬ãƒ¼ã‚¹ã®ãƒ—ロセスIDã§ã™ã€‚プロセスã¯Javaプロセスã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚マシン上ã§å®Ÿè¡Œã—ã¦ã„ã‚‹Javaプロセスã®ä¸€è¦§ã‚’å–å¾—ã™ã‚‹ã«ã¯ã€jps(1)を使用ã—ã¾ã™ã€‚ +.RE + +.LP +.RS 3 +.TP 3 +executable +コア・ダンプã®ä½œæˆå…ƒã®Java実行å¯èƒ½ãƒ•ァイル。 +.br +.TP 3 +core +出力ã™ã‚‹ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒˆãƒ¬ãƒ¼ã‚¹ã®ã‚³ã‚¢ãƒ»ãƒ•ァイルã§ã™ã€‚ +.br +.TP 3 +remote\-hostname\-or\-IP +リモート・デãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼(jsadebugd(1)ã‚’å‚ç…§)ã®ãƒ›ã‚¹ãƒˆåã¾ãŸã¯IPアドレス。 +.br +.TP 3 +server\-id +複数ã®ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒåŒä¸€ã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆã§å®Ÿè¡Œã—ã¦ã„ã‚‹å ´åˆã®ã€ã‚ªãƒ—ション固有ã®ID。 +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jstack\fPã¯ã€æŒ‡å®šã•れãŸJavaプロセスやコア・ファイルã¾ãŸã¯ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã«å¯¾ã™ã‚‹Javaスレッドã®Javaスタック・トレースを出力ã—ã¾ã™ã€‚Javaフレームã”ã¨ã«ã€ãƒ•ルクラスåã€ãƒ¡ã‚½ãƒƒãƒ‰åã€ã€Œbciã€(ãƒã‚¤ãƒˆã‚³ãƒ¼ãƒ‰ãƒ»ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹)ã€ãŠã‚ˆã³è¡Œç•ªå·(利用å¯èƒ½ãªå ´åˆ)ãŒå‡ºåŠ›ã•れã¾ã™ã€‚\-mオプションを使用ã™ã‚‹ã¨ã€jstackã¯ã€ã™ã¹ã¦ã®ã‚¹ãƒ¬ãƒƒãƒ‰ã®Javaフレームã¨ãƒã‚¤ãƒ†ã‚£ãƒ–・フレームã®ä¸¡æ–¹ã‚’ã€ã€Œpcã€(プログラム・カウンタ)ã¨ã¨ã‚‚ã«å‡ºåŠ›ã—ã¾ã™ã€‚ãƒã‚¤ãƒ†ã‚£ãƒ–・フレームã”ã¨ã«ã€ã€Œpcã€ã«æœ€ã‚‚è¿‘ã„ãƒã‚¤ãƒ†ã‚£ãƒ–・シンボル(利用å¯èƒ½ãªå ´åˆ)ãŒå‡ºåŠ›ã•れã¾ã™ã€‚C++分解åã¯åˆ†è§£è§£é™¤ã•れã¾ã›ã‚“。C++åを分解解除ã™ã‚‹ã«ã¯ã€ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã®å‡ºåŠ›ã‚’\f3c++filt\fPã«ãƒ‘イプã—ã¾ã™ã€‚指定ã•れãŸãƒ—ロセスãŒ64ビットVM上ã§å®Ÿè¡Œã•れã¦ã„ã‚‹å ´åˆã€\f2\-J\-d64\fPオプションを指定ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆãŒã‚りã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.br + +.LP +.nf +\f3 +.fl +jstack \-J\-d64 \-m pid +.fl +\fP +.fi + +.LP +.LP +\f3注æ„\fP \- ã“ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã¯ã‚µãƒãƒ¼ãƒˆå¯¾è±¡å¤–ã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨ã§ããªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚dbgeng.dllãŒå­˜åœ¨ã—ã¦ã„ãªã„Windowsシステムã§ã¯ã€ã€ŒDebugging Tools For Windowsã€ã‚’インストールã—ãªã„ã¨ã“れらã®ãƒ„ãƒ¼ãƒ«ãŒæ­£å¸¸ã«å‹•作ã—ã¾ã›ã‚“。ã¾ãŸã€\f2PATH\fP環境変数ã«ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ—ロセスã«ã‚ˆã£ã¦ä½¿ç”¨ã•れる\f2jvm.dll\fPã®å ´æ‰€ã€ã¾ãŸã¯ã‚¯ãƒ©ãƒƒã‚·ãƒ¥ãƒ»ãƒ€ãƒ³ãƒ—・ファイルãŒç”Ÿæˆã•れãŸå ´æ‰€ãŒå«ã¾ã‚Œã‚‹ã‚ˆã†ã«ã—ã¦ãã ã•ã„。 +.LP +.LP +次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚\f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-F +「jstack [\-l] pidã€ãŒå¿œç­”ã—ãªã„å ´åˆã«ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒ€ãƒ³ãƒ—を強制ã—ã¾ã™ã€‚ +.TP 3 +\-l +é•·å½¢å¼ã®ãƒªã‚¹ãƒˆã€‚所有java.util.concurrentã® +.na +\f2所有ã§ãるシンクロナイザ\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/AbstractOwnableSynchronizer.htmlã®ä¸€è¦§ãªã©ã€ãƒ­ãƒƒã‚¯ã«ã¤ã„ã¦ã®è¿½åŠ æƒ…å ±ã‚’å°åˆ·ã—ã¾ã™ã€‚ +.TP 3 +\-m +æ··åˆãƒ¢ãƒ¼ãƒ‰(JavaãŠã‚ˆã³ãƒã‚¤ãƒ†ã‚£ãƒ–C/C++フレームã®ä¸¡æ–¹)ã®ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒˆãƒ¬ãƒ¼ã‚¹ã‚’出力ã—ã¾ã™ã€‚ +.TP 3 +\-h +ヘルプ・メッセージを出力ã—ã¾ã™ã€‚ +.br +.br +.TP 3 +\-help +ヘルプ・メッセージを出力ã—ã¾ã™ã€‚ +.br +.RE + +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +pstack(1) +.TP 2 +o +c++filt(1) +.TP 2 +o +jps(1) +.TP 2 +o +jsadebugd(1) +.RE + +.LP +.SH "既知ã®ãƒã‚°" +.LP +.LP +æ··åˆãƒ¢ãƒ¼ãƒ‰ã®ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒˆãƒ¬ãƒ¼ã‚¹(\-mオプション使用)ã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ‡ãƒãƒƒã‚°ãƒ»ã‚µãƒ¼ãƒãƒ¼ã§ã¯æ©Ÿèƒ½ã—ã¾ã›ã‚“。 +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstat.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstat.1 new file mode 100644 index 00000000..b2f7bc10 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstat.1 @@ -0,0 +1,5369 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jstat 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jstat \- Java仮想マシン統計データ監視ツール +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +ä»®æƒ³ãƒžã‚·ãƒ³è­˜åˆ¥å­ +.TP 2 +o +オプション +.RS 3 +.TP 2 +* +一般的ãªã‚ªãƒ—ション +.TP 2 +* +出力オプション +.RE +.TP 2 +o +例 +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3jstat\fP [ \f2generalOption\fP | \f2outputOptions\fP \f2vmid\fP [\f2interval\fP[s|ms] [\f2count\fP]] ] +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +generalOption +å˜ç‹¬ã§ä½¿ç”¨ã™ã‚‹ä¸€èˆ¬çš„ãªã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションã§ã™(\-helpã€\-optionsã¾ãŸã¯\-version)。 +.TP 3 +outputOptions +å˜ä¸€ã®\f2statOption\fPã¨ã€\-tã€\-hãŠã‚ˆã³\-Jオプションã®ã„ãšã‚Œã‹ã‚’組ã¿åˆã›ãŸã€1ã¤ã¾ãŸã¯è¤‡æ•°ã®å‡ºåŠ›ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§ã™ã€‚ +.TP 3 +vmid +ターゲットã®Java仮想マシン(JVM)ã‚’ç¤ºã™æ–‡å­—列ã§ã‚る仮想マシン識別å­ã§ã™ã€‚ä¸€èˆ¬çš„ãªæ§‹æ–‡ã¯æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl +[\fP\f4protocol\fP\f3:][//]\fP\f4lvmid\fP[@\f2hostname\fP[:\f2port\fP]/\f2servername\fP] +.fl +.fi +vmidæ–‡å­—åˆ—ã®æ§‹æ–‡ã®å¤§éƒ¨åˆ†ã¯ã€URIã®æ§‹æ–‡ã«å¯¾å¿œã—ã¦ã„ã¾ã™ã€‚\f2vmid\fPã¯ã€ãƒ­ãƒ¼ã‚«ãƒ«JVMを表ã™å˜ç´”ãªæ•´æ•°ã‹ã‚‰ã€é€šä¿¡ãƒ—ロトコルã€ãƒãƒ¼ãƒˆç•ªå·ã€ãŠã‚ˆã³ä»–ã®å®Ÿè£…固有ã®å€¤ã‚’示ã™è¤‡é›‘ãªæ§‹é€ ã¾ã§ã€æ§˜ã€…ã«ç•°ãªã‚Šã¾ã™ã€‚詳細ã¯ã€ä»®æƒ³ãƒžã‚·ãƒ³è­˜åˆ¥å­ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.TP 3 +interval[s|ms] +ç§’(s)ã¾ãŸã¯ãƒŸãƒªç§’(ms)ã®ã†ã¡æŒ‡å®šã—ãŸå˜ä½ã§ã®ã‚µãƒ³ãƒ—リング間隔ã§ã™ã€‚デフォルトã®å˜ä½ã¯ãƒŸãƒªç§’ã§ã™ã€‚æ­£ã®æ•´æ•°ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã‚ŒãŒæŒ‡å®šã•れãŸå ´åˆã€\f3jstat\fPã¯intervalã”ã¨ã«å‡ºåŠ›ã‚’ç”Ÿæˆã—ã¾ã™ã€‚ +.TP 3 +count +表示ã™ã‚‹ã‚µãƒ³ãƒ—ル数ã§ã™ã€‚デフォルト値ã¯ç„¡é™ã§ã™ã€‚ã¤ã¾ã‚Šã€\f3jstat\fPã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆJVMãŒçµ‚了ã™ã‚‹ã¾ã§ã€ã¾ãŸã¯\f3jstat\fPコマンドãŒçµ‚了ã™ã‚‹ã¾ã§ã€çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ã‚’表示ã—ã¾ã™ã€‚æ­£ã®æ•´æ•°ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jstat\fPツールã¯ã€è¨­ç½®ã•れã¦ã„ã‚‹HotSpot Java仮想マシン(JVM)ã®ãƒ‘フォーマンス統計データを表示ã—ã¾ã™ã€‚ターゲットJVMã¯ã€ä»®æƒ³ãƒžã‚·ãƒ³è­˜åˆ¥å­ã€ã¤ã¾ã‚Šä¸‹è¨˜ã®\f2vmid\fPオプションã«ã‚ˆã£ã¦è­˜åˆ¥ã•れã¾ã™ã€‚ +.LP +.LP +\f3注æ„\fP: ã“ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã¯ã‚µãƒãƒ¼ãƒˆå¯¾è±¡å¤–ã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨ã§ããªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ç¾åœ¨ã€Windows 98ãŠã‚ˆã³Windows MEプラットフォームã§ã¯ä½¿ç”¨ã§ãã¾ã›ã‚“。 +.br + +.LP +.SS +ä»®æƒ³ãƒžã‚·ãƒ³è­˜åˆ¥å­ +.LP +.LP +\f2vmid\fPæ–‡å­—åˆ—ã®æ§‹æ–‡ã®å¤§éƒ¨åˆ†ã¯ã€URIã®æ§‹æ–‡ã«å¯¾å¿œã—ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +[\fP\f4protocol\fP\f3:][//]\fP\f4lvmid\fP[@\f2hostname\fP][:\f2port\fP][/\f2servername\fP] +.fl +.fi + +.LP +.RS 3 +.TP 3 +protocol +通信プロトコルã§ã™ã€‚\f2protocol\fPãŒçœç•¥ã•れã€\f2hostname\fPãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ãƒ‡ãƒ•ォルトã®ãƒ—ロトコルãŒã€ãƒ—ãƒ©ãƒƒãƒˆãƒ•ã‚©ãƒ¼ãƒ å›ºæœ‰ã®æœ€é©åŒ–ã•れãŸãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ—ロトコルã«ãªã‚Šã¾ã™ã€‚\f2protocol\fPãŒçœç•¥ã•れã€\f2hostname\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€ãƒ‡ãƒ•ォルト・プロトコルã¯\f3rmi\fPã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +lvmid +ターゲットJVMã®ãƒ­ãƒ¼ã‚«ãƒ«ä»®æƒ³ãƒžã‚·ãƒ³è­˜åˆ¥å­ã§ã™ã€‚\f2lvmid\fPã¯ã€ã‚·ã‚¹ãƒ†ãƒ ä¸Šã®JVMを一æ„ã«è­˜åˆ¥ã™ã‚‹ãƒ—ラットフォーム固有ã®å€¤ã§ã™ã€‚\f2lvmid\fPã¯ã€ä»®æƒ³ãƒžã‚·ãƒ³è­˜åˆ¥å­ã®å”¯ä¸€ã®å¿…é ˆè¦ç´ ã§ã™ã€‚\f2lvmid\fPã¯ã€ä¸€èˆ¬çš„ã«ã¯ã‚¿ãƒ¼ã‚²ãƒƒãƒˆJVMプロセスã«å¯¾ã™ã‚‹ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ã®ãƒ—ロセス識別å­ã§ã™ãŒã€å¿…ãšã—ã‚‚ãã†ã§ã‚ã‚‹ã¨ã¯é™ã‚Šã¾ã›ã‚“。jps(1)コマンドを使用ã—ã¦ã€\f2lvmid\fPを特定ã§ãã¾ã™ã€‚ã¾ãŸã€Unixプラットフォームã§ã¯\f3ps\fPコマンドを使用ã—ã¦ã€Windowsã§ã¯Windowsタスク・マãƒãƒ¼ã‚¸ãƒ£ã‚’使用ã—ã¦ã€\f2lvmid\fPを特定ã§ãã¾ã™ã€‚ +.TP 3 +hostname +ターゲット・ホストを示ã™ãƒ›ã‚¹ãƒˆåã¾ãŸã¯IPアドレスã§ã™ã€‚\f2hostname\fPãŒçœç•¥ã•れã¦ã„ã‚‹å ´åˆã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ›ã‚¹ãƒˆã¯ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ›ã‚¹ãƒˆã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +port +リモート・サーãƒãƒ¼ã¨é€šä¿¡ã™ã‚‹ãŸã‚ã®ãƒ‡ãƒ•ォルト・ãƒãƒ¼ãƒˆã§ã™ã€‚\f2hostname\fPãŒçœç•¥ã•れã¦ã„ã‚‹ã‹ã€æœ€é©åŒ–ã•れãŸãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ—ロトコルãŒ\f2protocol\fPã«æŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€\f2port\fPã¯ç„¡è¦–ã•れã¾ã™ã€‚ãれ以外ã®å ´åˆã€\f2port\fPãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã®æ‰±ã„ã¯ã€å®Ÿè£…ã«ã‚ˆã£ã¦ç•°ãªã‚Šã¾ã™ã€‚デフォルトã®\f3rmi\fPプロトコルã®å ´åˆã€\f2port\fPã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆä¸Šã®rmiregistryã®ãƒãƒ¼ãƒˆç•ªå·ã‚’示ã—ã¾ã™ã€‚\f2port\fPãŒçœç•¥ã•れã€\f2protocol\fPã§\f3rmi\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€ãƒ‡ãƒ•ォルトã®rmiregistryãƒãƒ¼ãƒˆ(1099)ãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +servername +ã“ã®ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã®æ‰±ã„ã¯ã€å®Ÿè£…ã«ã‚ˆã£ã¦ç•°ãªã‚Šã¾ã™ã€‚最é©åŒ–ã•れãŸãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ—ロトコルã®å ´åˆã€ã“ã®ãƒ•ィールドã¯ç„¡è¦–ã•れã¾ã™ã€‚\f3rmi\fPプロトコルã®å ´åˆã€ã“れã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆä¸Šã®RMIリソース・オブジェクトã®åå‰ã‚’表ã—ã¾ã™ã€‚ +.RE + +.LP +.SH "オプション" +.LP +.LP +\f3jstat\fPコマンドã¯ã€ä¸€èˆ¬çš„ãªã‚ªãƒ—ションã¨å‡ºåŠ›ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®2ã¤ã®ã‚¿ã‚¤ãƒ—ã®ã‚ªãƒ—ションをサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚一般的ãªã‚ªãƒ—ションを使用ã—ãŸå ´åˆã€\f3jstat\fPã¯ç°¡å˜ãªä½¿ç”¨çއãŠã‚ˆã³ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を表示ã—ã¾ã™ã€‚出力オプションã«ã‚ˆã£ã¦ã€çµ±è¨ˆãƒ‡ãƒ¼ã‚¿å‡ºåŠ›ã®å†…容ã¨å½¢å¼ãŒæ±ºã¾ã‚Šã¾ã™ã€‚ +.br + +.LP +.LP +\f3注æ„\fP: ã™ã¹ã¦ã®ã‚ªãƒ—ションã¨ãã®æ©Ÿèƒ½ã¯ã€å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§å¤‰æ›´ã¾ãŸã¯å»ƒæ­¢ã•れるå¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ +.LP +.SS +一般的ãªã‚ªãƒ—ション +.LP +.LP +ã„ãšã‚Œã‹ã®ä¸€èˆ¬çš„ãªã‚ªãƒ—ションを指定ã—ãŸå ´åˆã€ä»–ã®ã‚ªãƒ—ションã¾ãŸã¯ãƒ‘ラメータã¯ä¸€åˆ‡æŒ‡å®šã§ãã¾ã›ã‚“。 +.LP +.RS 3 +.TP 3 +\-help +ヘルプ・メッセージを表示ã—ã¾ã™ã€‚ +.TP 3 +\-version +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を表示ã—ã¾ã™ã€‚ +.TP 3 +\-options +統計データ・オプションを一覧表示ã—ã¾ã™ã€‚下記ã®å‡ºåŠ›ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®é …ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE + +.LP +.SS +出力オプション +.LP +.LP +一般的ãªã‚ªãƒ—ションを指定ã—ãªã„å ´åˆã«ã€å‡ºåŠ›ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’æŒ‡å®šã§ãã¾ã™ã€‚出力オプションã¯ã€\f3jstat\fPã®å‡ºåŠ›ã®å†…容ãŠã‚ˆã³å½¢å¼ã‚’決定ã—ã€å˜ä¸€ã®\f2statOption\fPã¨ã€ä»–ã®ã„ãšã‚Œã‹ã®å‡ºåŠ›ã‚ªãƒ—ã‚·ãƒ§ãƒ³(\-hã€\-tãŠã‚ˆã³\-J)ã§æ§‹æˆã•れã¾ã™ã€‚\f2statOption\fPã¯æœ€åˆã«è¨˜è¿°ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +出力ã¯ã€å„列ãŒç©ºç™½ã§åŒºåˆ‡ã‚‰ã‚ŒãŸè¡¨ã®å½¢å¼ã«ãªã‚Šã¾ã™ã€‚タイトルをå«ã‚€ãƒ˜ãƒƒãƒ€ãƒ¼è¡Œã«ã‚ˆã£ã¦ã€å„åˆ—ã®æ„味ãŒã‚ã‹ã‚Šã¾ã™ã€‚ヘッダーã®è¡¨ç¤ºé »åº¦ã‚’設定ã™ã‚‹ã«ã¯ã€\f3\-h\fPオプションを使用ã—ã¾ã™ã€‚列ã®ãƒ˜ãƒƒãƒ€ãƒ¼åã¯ã€æ§˜ã€…ãªã‚ªãƒ—ション間ã§ãŠãŠã‚€ã­ä¸€è²«æ€§ãŒä¿ãŸã‚Œã¦ã„ã¾ã™ã€‚一般ã«ã€2ã¤ã®ã‚ªãƒ—ションã§åŒã˜åå‰ã®åˆ—ãŒä½¿ç”¨ã•れã¦ã„れã°ã€2ã¤ã®åˆ—ã®ãƒ‡ãƒ¼ã‚¿ãƒ»ã‚½ãƒ¼ã‚¹ã¯åŒã˜ã§ã™ã€‚ +.LP +.LP +\f3\-t\fPオプションを使用ã™ã‚‹ã¨ã€\f2Timestamp\fPã¨ã„ã†ãƒ©ãƒ™ãƒ«ã®ä»˜ã„ãŸã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã®åˆ—ãŒã€å‡ºåŠ›ã®æœ€åˆã®åˆ—ã¨ã—ã¦è¡¨ç¤ºã•れã¾ã™ã€‚\f2Timestamp\fP列ã«ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆJVMã®èµ·å‹•ã‹ã‚‰ã®çµŒéŽæ™‚é–“ãŒã€ç§’å˜ä½ã§è¡¨ç¤ºã•れã¾ã™ã€‚タイムスタンプã®ç²¾åº¦ã¯ã€æ§˜ã€…ãªè¦å› ã«ã‚ˆã£ã¦ç•°ãªã‚Šã€å¤§é‡ã®è² è·ã®ã‹ã‹ã£ãŸã‚·ã‚¹ãƒ†ãƒ ã§ã®ã‚¹ãƒ¬ãƒƒãƒ‰ãƒ»ã‚¹ã‚±ã‚¸ãƒ¥ãƒ¼ãƒ«ã®é…å»¶ã«ã‚ˆã‚Šå¤‰å‹•ã—ã¾ã™ã€‚ +.LP +.LP +\f2interval\fPãŠã‚ˆã³\f2count\fPパラメータを使用ã—ã¦ã€\f3jstat\fPãŒãã®å‡ºåŠ›ã‚’è¡¨ç¤ºã™ã‚‹é »åº¦ã¨å›žæ•°ã‚’ãれãžã‚ŒæŒ‡å®šã—ã¾ã™ã€‚ +.LP +.LP +\f3注æ„\fP: å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã“ã®å½¢å¼ã¯å¤‰æ›´ã•れるå¯èƒ½æ€§ãŒã‚ã‚‹ãŸã‚ã€\f3jstat\fPã®å‡ºåŠ›ã‚’è§£æžã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トã¯ä½œæˆã—ãªã„ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚\f3jstat\fP出力を解æžã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トを作æˆã™ã‚‹å ´åˆã¯ã€ã“ã®ãƒ„ールã®å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§ã€ãã®ã‚¹ã‚¯ãƒªãƒ—トを変更ã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã“ã¨ã«ç•™æ„ã—ã¦ãã ã•ã„。 +.LP +.RS 3 +.TP 3 +\-statOption +\f3jstat\fPãŒè¡¨ç¤ºã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿æƒ…報を指定ã—ã¾ã™ã€‚次ã®è¡¨ã«ã€åˆ©ç”¨å¯èƒ½ãªã‚ªãƒ—ションã®ä¸€è¦§ã‚’示ã—ã¾ã™ã€‚特定ã®ãƒ—ラットフォーム・インストールã®ã‚ªãƒ—ションを一覧表示ã™ã‚‹ã«ã¯ã€ä¸€èˆ¬çš„ãªã‚ªãƒ—ションã®\f3\-options\fPを使用ã—ã¾ã™ã€‚ +.br +.br +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +クラス・ローダーã®å‹•作ã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +HotSpot Just\-in\-Timeコンパイラã®å‹•作ã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ガベージ・コレクトã•れãŸãƒ’ープã®å‹•作ã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +世代ã”ã¨ã®å®¹é‡ã¨å¯¾å¿œã™ã‚‹é ˜åŸŸã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ã®æ¦‚è¦(\f3\-gcutil\fPã¨åŒã˜)ã¨ã€ç›´å‰ãŠã‚ˆã³ç¾åœ¨(é©ç”¨å¯èƒ½ãªå ´åˆ)ã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ãƒ»ã‚¤ãƒ™ãƒ³ãƒˆã®åŽŸå›  +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +New世代ã®å‹•作ã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +New世代ã®ã‚µã‚¤ã‚ºã¨å¯¾å¿œã™ã‚‹é ˜åŸŸã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old世代ãŠã‚ˆã³Permanent世代ã®å‹•作ã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old世代ã®ã‚µã‚¤ã‚ºã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent世代ã®ã‚µã‚¤ã‚ºã«é–¢ã™ã‚‹çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ã®æ¦‚è¦ +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +HotSpotコンパイル方法ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3オプション\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wclass +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wcompiler +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgc +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgccapacity +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgccause +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcnew +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcnewcapacity +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcold +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcoldcapacity +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcpermcapacity +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcutil +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wprintcompilation +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3表示内容\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(l- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 248 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3オプション\fP\h'|\n(41u'\f3表示内容\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'class\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'compiler\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gc\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gccapacity\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gccause\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcnew\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcnewcapacity\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcold\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcoldcapacity\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcpermcapacity\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcutil\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'printcompilation\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-52 +.TP 3 +\-h n +\f2n\fPサンプル(出力行)ã”ã¨ã«åˆ—ヘッダーを表示ã—ã¾ã™ã€‚ã“ã“ã§ã€\f2n\fPã¯æ­£ã®æ•´æ•°å€¤ã§ã™ã€‚デフォルト値ã¯0ã§ã™ã€‚ã“ã®å ´åˆã€ãƒ‡ãƒ¼ã‚¿ã®æœ€åˆã®è¡Œã®ä¸Šã«åˆ—ヘッダーãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.TP 3 +\-t n +ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—åˆ—ã‚’å‡ºåŠ›ã®æœ€åˆã®åˆ—ã¨ã—ã¦è¡¨ç¤ºã—ã¾ã™ã€‚タイムスタンプã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆJVMã®èµ·å‹•時ã‹ã‚‰ã®çµŒéŽæ™‚é–“ã§ã™ã€‚ +.TP 3 +\-JjavaOption +\f2javaOption\fPã‚’\f3java\fPã‚¢ãƒ—ãƒªã‚±ãƒ¼ã‚·ãƒ§ãƒ³èµ·å‹•ãƒ„ãƒ¼ãƒ«ã«æ¸¡ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚オプションã®å®Œå…¨ãªãƒªã‚¹ãƒˆã«ã¤ã„ã¦ã¯ã€java(1)ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.RE + +.LP +.SS +statOptionã¨å‡ºåŠ› +.LP +.LP +以é™ã®è¡¨ã§ã¯ã€\f3jstat\fPãŒ\f2statOption\fPã”ã¨ã«å‡ºåŠ›ã™ã‚‹åˆ—ã«ã¤ã„ã¦æ¦‚è¦ã‚’示ã—ã¾ã™ã€‚ +.br + +.LP +.SS +\-classオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ロードã•れãŸã‚¯ãƒ©ã‚¹ã®æ•° +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +アンロードã•れãŸã‚¯ãƒ©ã‚¹ã®æ•° +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +アンロードã•れãŸKBæ•° +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +クラスã®ãƒ­ãƒ¼ãƒ‰ã‚„アンロード処ç†ã«è¦ã—ãŸæ™‚é–“ +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wクラス・ローダーã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wLoaded +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wBytes +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wUnloaded +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wBytes +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wTime +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wロードã•れãŸKBæ•° +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 296 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'クラス・ローダーã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Loaded\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Bytes\h'|\n(41u'ロードã•れãŸKBæ•° +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Unloaded\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Bytes\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Time\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-23 + +.LP +.SS +\-compilerオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +実行ã•れãŸã‚³ãƒ³ãƒ‘ã‚¤ãƒ«ãƒ»ã‚¿ã‚¹ã‚¯ã®æ•° +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +失敗ã—ãŸã‚³ãƒ³ãƒ‘ã‚¤ãƒ«ãƒ»ã‚¿ã‚¹ã‚¯ã®æ•° +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +無効ã«ã•れãŸã‚³ãƒ³ãƒ‘ã‚¤ãƒ«ãƒ»ã‚¿ã‚¹ã‚¯ã®æ•° +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +コンパイル・タスクã®å®Ÿè¡Œã«è¦ã—ãŸæ™‚é–“ +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +最後ã«å¤±æ•—ã—ãŸã‚³ãƒ³ãƒ‘イルã®ã‚³ãƒ³ãƒ‘イル・タイプ +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +最後ã«å¤±æ•—ã—ãŸã‚³ãƒ³ãƒ‘イルã®ã‚¯ãƒ©ã‚¹åã¨ãƒ¡ã‚½ãƒƒãƒ‰ +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wHotSpot Just\-In\-Timeコンパイラã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wCompiled +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFailed +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wInvalid +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wTime +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFailedType +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFailedMethod +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 332 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'HotSpot Just\-In\-Timeコンパイラã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Compiled\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Failed\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Invalid\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Time\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FailedType\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FailedMethod\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-29 + +.LP +.SS +\-gcオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域0ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域1ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域0ã®ä½¿ç”¨çއ(KB) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域1ã®ä½¿ç”¨çއ(KB) +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden領域ã®ä½¿ç”¨çއ(KB) +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent領域ã®ä½¿ç”¨çއ(KB) +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®GCイベント数 +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³æ™‚é–“ +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +フルガベージ・コレクション時間 +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di m+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ç·æ™‚é–“ +.br +.di +.nr m| \n(dn +.nr m- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wガベージ・コレクトã•れãŸãƒ’ープã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0U +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1U +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wOld領域ã®ä½¿ç”¨çއ(KB) +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wフルGCイベント数 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(l- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(m- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 400 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'ガベージ・コレクトã•れãŸãƒ’ープã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0U\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1U\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OU\h'|\n(41u'Old領域ã®ä½¿ç”¨çއ(KB) +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'フルGCイベント数 +.ne \n(l|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(m|u+\n(.Vu +.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.m+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.rm m+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-61 + +.LP +.SS +\-gccapacityオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Newä¸–ä»£ã®æœ€å°å®¹é‡(KB) +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Newä¸–ä»£ã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +New世代ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域0ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域1ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Oldä¸–ä»£ã®æœ€å°å®¹é‡(KB) +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Oldä¸–ä»£ã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old世代ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanentä¸–ä»£ã®æœ€å°å®¹é‡(KB) +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanentä¸–ä»£ã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di m+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent世代ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr m| \n(dn +.nr m- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di n+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr n| \n(dn +.nr n- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di o+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®GCイベント数 +.br +.di +.nr o| \n(dn +.nr o- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wメモリー・プール世代ãŠã‚ˆã³é ˜åŸŸå®¹é‡ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wフルGCイベント数 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(l- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(m- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(n- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(o- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 474 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'メモリー・プール世代ãŠã‚ˆã³é ˜åŸŸå®¹é‡\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(m|u+\n(.Vu +.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.m+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(n|u+\n(.Vu +.if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.n+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(o|u+\n(.Vu +.if (\n(o|+\n(#^-1v)>\n(#- .nr #- +(\n(o|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.o+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'フルGCイベント数 +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.rm m+ +.rm n+ +.rm o+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-67 + +.LP +.SS +\-gccauseオプション +.LP +.LP +ã“ã®ã‚ªãƒ—ションã¯ã€\f3\-gcutil\fPオプションã¨åŒã˜ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ã®æ¦‚è¦ã‚’表示ã—ã¾ã™ãŒã€æœ€å¾Œã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ãƒ»ã‚¤ãƒ™ãƒ³ãƒˆã¨(é©ç”¨å¯èƒ½ãªå ´åˆã¯)ç¾åœ¨ã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ãƒ»ã‚¤ãƒ™ãƒ³ãƒˆã®åŽŸå› ãŒå«ã¾ã‚Œã¾ã™ã€‚\f3\-gcutil\fPã§ä¸€è¦§è¡¨ç¤ºã•れる列ã®ã»ã‹ã€ã“ã®ã‚ªãƒ—ションã§ã¯æ¬¡ã®åˆ—ãŒè¿½åŠ ã•れã¾ã™ã€‚ +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +最後ã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã®åŽŸå›  +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ç¾åœ¨ã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã®åŽŸå›  +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wGCイベントをå«ã‚€ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wLGCC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCC +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 497 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCイベントをå«ã‚€ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'LGCC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-13 + +.LP +.SS +\-gcnewオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域0ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域1ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域0ã®ä½¿ç”¨çއ(KB) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域1ã®ä½¿ç”¨çއ(KB) +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +最大殿堂入りã—ãã„値 +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +é©åˆ‡ãªSurvivorサイズ(KB) +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden領域ã®ä½¿ç”¨çއ(KB) +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®GCイベント数 +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³æ™‚é–“ +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wNew世代ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0U +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1U +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wTT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wMTT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wDSS +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w殿堂入りã—ãã„値 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 551 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'New世代ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0U\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1U\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'TT\h'|\n(41u'殿堂入りã—ãã„値 +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'MTT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'DSS\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-47 + +.LP +.SS +\-gcnewcapacityオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Newä¸–ä»£ã®æœ€å°å®¹é‡(KB) +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Newä¸–ä»£ã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +New世代ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域0ã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域0ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域1ã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域1ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Edené ˜åŸŸã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®GCイベント数 +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wNew世代領域サイズã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0CMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1CMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wECMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wフルGCイベント数 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 605 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'New世代領域サイズã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0CMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1CMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'ECMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'フルGCイベント数 +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-47 + +.LP +.SS +\-gcoldオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent領域ã®ä½¿ç”¨çއ(KB) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®GCイベント数 +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +フルガベージ・コレクション時間 +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ç·æ™‚é–“ +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wOldãŠã‚ˆã³Permanent世代ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wOld領域ã®ä½¿ç”¨çއ(KB) +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wフルGCイベント数 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 645 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OldãŠã‚ˆã³Permanent世代ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OU\h'|\n(41u'Old領域ã®ä½¿ç”¨çއ(KB) +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'フルGCイベント数 +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-33 + +.LP +.SS +\-gcoldcapacityオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Oldä¸–ä»£ã®æœ€å°å®¹é‡(KB) +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Oldä¸–ä»£ã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old世代ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®GCイベント数 +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +フルガベージ・コレクション時間 +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ç·æ™‚é–“ +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wOld世代ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wフルGCイベント数 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 687 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Old世代ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'フルGCイベント数 +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-35 + +.LP +.SS +\-gcpermcapacityオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanentä¸–ä»£ã®æœ€å°å®¹é‡(KB) +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanentä¸–ä»£ã®æœ€å¤§å®¹é‡(KB) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent世代ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent領域ã®ç¾åœ¨ã®å®¹é‡(KB) +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®GCイベント数 +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +フルガベージ・コレクション時間 +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ç·æ™‚é–“ +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wPermanent世代ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wフルGCイベント数 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 729 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Permanent世代ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'フルGCイベント数 +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-35 + +.LP +.SS +\-gcutilオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域0ã®ä½¿ç”¨çއ(ç¾åœ¨ã®å®¹é‡ã«å¯¾ã™ã‚‹ãƒ‘ーセンテージ) +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor領域1ã®ä½¿ç”¨çއ(ç¾åœ¨ã®å®¹é‡ã«å¯¾ã™ã‚‹ãƒ‘ーセンテージ) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden領域ã®ä½¿ç”¨çއ(ç¾åœ¨ã®å®¹é‡ã«å¯¾ã™ã‚‹ãƒ‘ーセンテージ) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old領域ã®ä½¿ç”¨çއ(ç¾åœ¨ã®å®¹é‡ã«å¯¾ã™ã‚‹ãƒ‘ーセンテージ) +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent領域ã®ä½¿ç”¨çއ(ç¾åœ¨ã®å®¹é‡ã«å¯¾ã™ã‚‹ãƒ‘ーセンテージ) +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®GCイベント数 +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +è‹¥ã„世代ã®ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³æ™‚é–“ +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +フルガベージ・コレクション時間 +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ç·æ™‚é–“ +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ã®æ¦‚è¦ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0 +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1 +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wE +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wO +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wフルGCイベント数 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 779 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ã®æ¦‚è¦\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'E\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'O\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'P\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'フルGCイベント数 +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-43 + +.LP +.SS +\-printcompilationオプション +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +実行ã•れãŸã‚³ãƒ³ãƒ‘ã‚¤ãƒ«ãƒ»ã‚¿ã‚¹ã‚¯ã®æ•° +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +メソッドã®ãƒã‚¤ãƒˆã‚³ãƒ¼ãƒ‰ã®ãƒã‚¤ãƒˆæ•° +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +コンパイル・タイプ +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +コンパイル方法を特定ã™ã‚‹ã‚¯ãƒ©ã‚¹åã¨ãƒ¡ã‚½ãƒƒãƒ‰å。クラスåã§ã¯ã€åå‰ç©ºé–“ã®åŒºåˆ‡ã‚Šæ–‡å­—ã¨ã—ã¦ã€ã€Œ.ã€ã®ã‹ã‚りã«ã€Œ/ã€ãŒä½¿ç”¨ã•れã¾ã™ã€‚メソッドåã¯ã€æŒ‡å®šã•れãŸã‚¯ãƒ©ã‚¹å†…ã®ãƒ¡ã‚½ãƒƒãƒ‰ã§ã™ã€‚ã“れらã®2ã¤ã®ãƒ•ィールドã®å½¢å¼ã¯ã€HotSpot \- \f3XX:+PrintComplation\fPオプションã¨å¯¾å¿œã—ã¦ã„ã¾ã™ã€‚ +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wHotSpotコンパイル方法ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿ +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3列\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wCompiled +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wSize +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wType +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wMethod +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 807 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'HotSpotコンパイル方法ã®çµ±è¨ˆãƒ‡ãƒ¼ã‚¿\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3列\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Compiled\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Size\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Type\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Method\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-21 + +.LP +.SH "例" +.LP +.LP +ã“ã®é …ã§ã¯ã€21891ã®\f2lvmid\fPã‚’æŒã¤ãƒ­ãƒ¼ã‚«ãƒ«JVMを監視ã™ã‚‹ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.LP +.SS +gcutilオプションã®ä½¿ç”¨ +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€\f2lvmid\fP 21891ã«æŽ¥ç¶šã—ã¦ã€250ミリ秒間隔ã§7ã¤ã®ã‚µãƒ³ãƒ—ルをå–å¾—ã—ã€\f3\-gcutil\fPオプションã§ã®æŒ‡å®šã«å¾“ã£ã¦å‡ºåŠ›ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\fP\f3jstat \-gcutil 21891 250 7\fP +.br + +.fl + S0 S1 E O P YGC YGCT FGC FGCT GCT +.br + +.fl + 12.44 0.00 27.20 9.49 96.70 78 0.176 5 0.495 0.672 +.br + +.fl + 12.44 0.00 62.16 9.49 96.70 78 0.176 5 0.495 0.672 +.br + +.fl + 12.44 0.00 83.97 9.49 96.70 78 0.176 5 0.495 0.672 +.br + +.fl + 0.00 7.74 0.00 9.51 96.70 79 0.177 5 0.495 0.673 +.br + +.fl + 0.00 7.74 23.37 9.51 96.70 79 0.177 5 0.495 0.673 +.br + +.fl + 0.00 7.74 43.82 9.51 96.70 79 0.177 5 0.495 0.673 +.br + +.fl + 0.00 7.74 58.11 9.51 96.71 79 0.177 5 0.495 0.673 +.br + +.fl +.fi + +.LP +.LP +ã“ã®ä¾‹ã®å‡ºåŠ›ã¯ã€è‹¥ã„世代ã®ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ãŒ3番目ã¨4番目ã®ã‚µãƒ³ãƒ—ル間ã§è¡Œã‚れãŸã“ã¨ã‚’示ã—ã¦ã„ã¾ã™ã€‚コレクションã«ã¯0.001ç§’ã‹ã‹ã£ã¦ãŠã‚Šã€ã‚ªãƒ–ジェクトãŒEden領域(E)ã‹ã‚‰Old領域(O)ã«æ˜‡æ ¼ã—ãŸãŸã‚ã€Old領域ã®ä½¿ç”¨çއã¯9.49%ã‹ã‚‰9.51%ã«å¢—加ã—ã¦ã„ã¾ã™ã€‚Survivor領域ã¯ã€ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³å‰ã¯12.44%ãŒä½¿ç”¨ã•れã¦ã„ã¾ã—ãŸãŒã€ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³å¾Œã®ä½¿ç”¨ã¯7.74%ã®ã¿ã§ã™ã€‚ +.LP +.SS +列ヘッダー文字列ã®ç¹°ã‚Šè¿”ã— +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€\f2lvmid\fP 21891ã«æŽ¥ç¶šã—ã¦ã€250ミリ秒間隔ã§ã‚µãƒ³ãƒ—ルをå–å¾—ã—ã€\f3\-gcutil\fPオプションã§ã®æŒ‡å®šã«å¾“ã£ã¦å‡ºåŠ›ã‚’è¡¨ç¤ºã—ã¾ã™ã€‚ã•らã«ã€\f3\-h3\fPオプションを使用ã—ã¦ã€ãƒ‡ãƒ¼ã‚¿ãŒ3行表示ã•れるã”ã¨ã«åˆ—ヘッダーを出力ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\fP\f3jstat \-gcnew \-h3 21891 250\fP +.br + +.fl + S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT +.br + +.fl + 64.0 64.0 0.0 31.7 31 31 32.0 512.0 178.6 249 0.203 +.br + +.fl + 64.0 64.0 0.0 31.7 31 31 32.0 512.0 355.5 249 0.203 +.br + +.fl + 64.0 64.0 35.4 0.0 2 31 32.0 512.0 21.9 250 0.204 +.br + +.fl + S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT +.br + +.fl + 64.0 64.0 35.4 0.0 2 31 32.0 512.0 245.9 250 0.204 +.br + +.fl + 64.0 64.0 35.4 0.0 2 31 32.0 512.0 421.1 250 0.204 +.br + +.fl + 64.0 64.0 0.0 19.0 31 31 32.0 512.0 84.4 251 0.204 +.br + +.fl + S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT +.br + +.fl + 64.0 64.0 0.0 19.0 31 31 32.0 512.0 306.7 251 0.204 +.br + +.fl +.fi + +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€ãƒ˜ãƒƒãƒ€ãƒ¼æ–‡å­—列ã®ç¹°è¿”ã—ãŒè¡¨ç¤ºã•れã¦ã„ã‚‹ã»ã‹ã€2番目ã¨3番目ã®ã‚µãƒ³ãƒ—ル間ã§Young GCãŒè¡Œã‚れãŸã“ã¨ãŒã‚ã‹ã‚Šã¾ã™ã€‚ã“ã®ç¶™ç¶šæ™‚é–“ã¯0.001ç§’ã§ã—ãŸã€‚ã“ã®ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã§ã¯ã€Survivor領域0ã®ä½¿ç”¨çއ(S0U)ãŒé©åˆ‡ãªSurvivorサイズ(DSS)ã‚’è¶…éŽã™ã‚‹ã“ã¨ã«ãªã‚‹ãƒ©ã‚¤ãƒ–ãƒ»ãƒ‡ãƒ¼ã‚¿ãŒæ¤œå‡ºã•れã¾ã—ãŸã€‚ã“ã®çµæžœã€ã‚ªãƒ–ジェクトã¯ã€Old世代(ã“ã®å‡ºåŠ›ã«ã¯éžè¡¨ç¤º)ã¸æ˜‡æ ¼ã•ã‚Œã€æ®¿å ‚入りã—ãã„値(TT)ãŒã€31ã‹ã‚‰2ã¸é™æ ¼ã•れã¾ã—ãŸã€‚ +.LP +.LP +別ã®ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ãŒã€5番目ã¨6番目ã®ã‚µãƒ³ãƒ—ル間ã§è¡Œã‚れã¦ã„ã¾ã™ã€‚ã“ã®ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã§ã¯ã€SurvivorãŒã»ã¨ã‚“ã©è¦‹ã‚‰ã‚Œãšã€æ®¿å ‚入りã—ãã„値を31ã«æˆ»ã—ã¾ã—ãŸã€‚ +.LP +.SS +サンプルã”ã¨ã®ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã®æŒ¿å…¥ +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€\f2lvmid\fP 21891ã¸æŽ¥ç¶šã—ã€250ミリ秒間隔ã§3ã¤ã®ã‚µãƒ³ãƒ—ルをå–å¾—ã—ã¦ã„ã¾ã™ã€‚\f3\-t\fPオプションを使用ã—ã¦ã€æœ€åˆã®åˆ—ã«ã‚µãƒ³ãƒ—ルã”ã¨ã®ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—を表示ã—ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\fP\f3jstat \-gcoldcapacity \-t 21891 250 3\fP +.br + +.fl +Timestamp OGCMN OGCMX OGC OC YGC FGC FGCT GCT +.br + +.fl + 150.1 1408.0 60544.0 11696.0 11696.0 194 80 2.874 3.799 +.br + +.fl + 150.4 1408.0 60544.0 13820.0 13820.0 194 81 2.938 3.863 +.br + +.fl + 150.7 1408.0 60544.0 13820.0 13820.0 194 81 2.938 3.863 +.br + +.fl +.fi + +.LP +.LP +\f2Timestamp\fP列ã«ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆJVMã®èµ·å‹•時ã‹ã‚‰ã®çµŒéŽæ™‚é–“ãŒã€ç§’å˜ä½ã§ãƒ¬ãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ã€‚ã•らã«ã€\f3\-gcoldcapacity\fP出力ã§ã¯ã€å‰²å½“リクエストã¾ãŸã¯æ˜‡æ ¼ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚ã‚‹ã„ã¯ãã®ä¸¡æ–¹ã‚’満ãŸã™ãŸã‚ã«ãƒ’ãƒ¼ãƒ—ãŒæ‹¡å¼µã™ã‚‹ãŸã³ã«ã€Old世代ã®å®¹é‡(OGC)ã¨Old領域ã®å®¹é‡(OC)ã¨ãŒå¢—加ã—ã¦ã„ã‚‹ã“ã¨ãŒã‚ã‹ã‚Šã¾ã™ã€‚Old世代ã®å®¹é‡(OGC)ã¯ã€81番目ã®ãƒ•ルGC(FGC)後ã«ã€11696 KBã‹ã‚‰13820 KBã¸å¢—加ã—ã¦ã„ã¾ã™ã€‚ã“ã®ä¸–代(ãŠã‚ˆã³é ˜åŸŸ)ã®æœ€å¤§å®¹é‡ã¯ã€60544 KB(OGCMX)ãªã®ã§ã€ã¾ã æ‹¡å¼µã§ãã‚‹ä½™è£•ãŒæ®‹ã•れã¦ã„ã¾ã™ã€‚ +.LP +.SS +リモートJVMã®ã‚¤ãƒ³ã‚¹ãƒˆã‚¥ãƒ«ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ã®ç›£è¦– +.LP +.LP +ã“ã®ä¾‹ã¯ã€\f3\-gcutil\fPオプションを使用ã—ã¦ã€\f2remote.domain\fPã¨ã„ã†ã‚·ã‚¹ãƒ†ãƒ ä¸Šã®\f2lvmid\fP 40496ã«æŽ¥ç¶šã—ã€ã‚µãƒ³ãƒ—ルを秒å˜ä½ã§ç„¡æœŸé™ã«å–å¾—ã—ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +\fP\f3jstat \-gcutil 40496@remote.domain 1000\fP +.br + +.fl +... \f2output omitted\fP +.br + +.fl +.fi + +.LP +.LP +\f2lvmid\fPã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆã®åå‰ã¨çµåˆã•れã¦ã€\f240496@remote.domain\fPã®\f2vmid\fPã‚’æ§‹æˆã—ã¦ã„ã¾ã™ã€‚çµæžœã¨ã—ã¦ã€ã“ã®\f2vmid\fPã¯ã€\f3rmi\fPプロトコルを使用ã—ã¦ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆä¸Šã®ãƒ‡ãƒ•ォルトã®\f3jstatd\fPサーãƒãƒ¼ã¨é€šä¿¡ã—ã¾ã™ã€‚\f3jstatd\fPサーãƒãƒ¼ã¯ã€\f3rmiregistry\fPを使用ã—ã¦ã€ãƒ‡ãƒ•ォルトã®\f3rmiregistry\fPãƒãƒ¼ãƒˆ(ãƒãƒ¼ãƒˆ1099)ã«ãƒã‚¤ãƒ³ãƒ‰ã•れãŸ\f2remote.domain\fPã«é…ç½®ã•れã¾ã™ã€‚ +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +java(1) \- Javaアプリケーション起動ツール +.TP 2 +o +jps(1) \- Java仮想マシン・プロセス・ステータス・ツール +.TP 2 +o +jstatd(1) \- jvmstatデーモン +.TP 2 +o +rmiregistry(1) \- Javaリモート・オブジェクト・レジストリ +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstatd.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstatd.1 new file mode 100644 index 00000000..98e6040f --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jstatd.1 @@ -0,0 +1,266 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jstatd 1 "05 Jul 2012" + +.LP +.SH "åå‰" +jstatd \- 仮想マシンjstatデーモン +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +セキュリティ +.TP 2 +o +リモート・インタフェース +.TP 2 +o +例 +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +jstatd [ \fP\f4options\fP\f3 ]\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.SH "パラメータ" +.LP +.RS 3 +.TP 3 +options +コマンドライン・オプション。オプションã¯ä»»æ„ã®é †åºã§æŒ‡å®šã§ãã¾ã™ã€‚é‡è¤‡ã¾ãŸã¯çŸ›ç›¾ã™ã‚‹ã‚ªãƒ—ションãŒã‚ã‚‹å ´åˆã€æœ€å¾Œã«æŒ‡å®šã—ãŸã‚ªãƒ—ションãŒå„ªå…ˆã•れã¾ã™ã€‚ +.RE + +.LP +.SH "説明" +.LP +.LP +\f3jstatd\fPツールã¯ã€è¨ˆæ¸¬ã•れãŸHotSpot Java仮想マシン(JVM)ã®ä½œæˆã¨çµ‚了を監視ã—ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ã‚·ã‚¹ãƒ†ãƒ ä¸Šã§å®Ÿè¡Œã•れã¦ã„ã‚‹Java仮想マシンã«ã€ãƒªãƒ¢ãƒ¼ãƒˆç›£è¦–ãƒ„ãƒ¼ãƒ«ãŒæŽ¥ç¶šã§ãるよã†ã«ã™ã‚‹ãŸã‚ã®ã‚¤ãƒ³ã‚¿ãƒ•ェースをæä¾›ã™ã‚‹RMIサーãƒãƒ¼ãƒ»ã‚¢ãƒ—リケーションã§ã™ã€‚ +.LP +.LP +\f3jstatd\fPサーãƒãƒ¼ã§ã¯ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ›ã‚¹ãƒˆã«RMIレジストリãŒå­˜åœ¨ã™ã‚‹ã“ã¨ãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚\f3jstatd\fPサーãƒãƒ¼ã¯ã€ãƒ‡ãƒ•ォルト・ãƒãƒ¼ãƒˆã¾ãŸã¯\f2\-p port\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§æŒ‡å®šã•れãŸãƒãƒ¼ãƒˆä¸Šã®RMIãƒ¬ã‚¸ã‚¹ãƒˆãƒªã«æŽ¥ç¶šã—よã†ã¨ã—ã¾ã™ã€‚RMIレジストリãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã€\f2\-p port\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§æŒ‡å®šã•れãŸãƒãƒ¼ãƒˆã€ã¾ãŸã¯\f2\-p port\fPãŒçœç•¥ã•れã¦ã„ã‚‹å ´åˆã¯ã€ãƒ‡ãƒ•ォルトRMIレジストリã«ãƒã‚¤ãƒ³ãƒ‰ã•れãŸ\f3jstatd\fPアプリケーション内ã«ã€1ã¤ã®RMIレジストリãŒä½œæˆã•れã¾ã™ã€‚内部RMIレジストリã®ä½œæˆã¯ã€\f2\-nr\fPオプションを指定ã™ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ç¦æ­¢ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +.LP +\f3注æ„:\fPã“ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã¯ã‚µãƒãƒ¼ãƒˆå¯¾è±¡å¤–ã§ã‚りã€å°†æ¥ã®JDKã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã¯åˆ©ç”¨ã§ããªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ç¾åœ¨ã€Windows 98ãŠã‚ˆã³Windows MEプラットフォームã§ã¯ä½¿ç”¨ã§ãã¾ã›ã‚“。 +.LP +.SH "オプション" +.LP +.LP +\f3jstatd\fPã‚³ãƒžãƒ³ãƒ‰ã¯æ¬¡ã®ã‚ªãƒ—ションをサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +\-nr +既存ã®RMIレジストリãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã€\f2jstatd\fPプロセス内ã«å†…部RMIレジストリを作æˆã—ãªã„よã†ã«ã—ã¾ã™ã€‚ +.TP 3 +\-p\ port +RMIレジストリãŒã‚ã‚‹ã¨äºˆæƒ³ã•れるãƒãƒ¼ãƒˆç•ªå·ã§ã™ã€‚見ã¤ã‹ã‚‰ãªã„å ´åˆã¯ã€\f2\-nr\fPãŒæŒ‡å®šã•れã¦ã„ãªã‘れã°ä½œæˆã•れã¾ã™ã€‚ +.TP 3 +\-n\ rminame +RMIレジストリã«ãŠã„ã¦ã€ãƒªãƒ¢ãƒ¼ãƒˆRMIオブジェクトãŒãƒã‚¤ãƒ³ãƒ‰ã•れるåå‰ã§ã™ã€‚デフォルトåã¯\f2JStatRemoteHost\fPã§ã™ã€‚複数ã®\f3jstatd\fPサーãƒãƒ¼ãŒåŒã˜ãƒ›ã‚¹ãƒˆä¸Šã§èµ·å‹•ã—ã¦ã„ã‚‹å ´åˆã€å„サーãƒãƒ¼ã®ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã—ãŸRMIオブジェクトã®åå‰ã¯ã€ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ã€ä¸€æ„ã®åå‰ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãŸã ã—ã€ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹å ´åˆã€ç›£è¦–クライアントã®\f2hostid\fPãŠã‚ˆã³\f2vmid\fP文字列ã«ã€ãã®ä¸€æ„ã®ã‚µãƒ¼ãƒãƒ¼åã‚’å«ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-Joption +\f3javac\fPãŒå‘¼ã³å‡ºã™\f3java\fP起動ツールã«ã€\f2option\fPを渡ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚\f3\-J\fPを使用ã—ã¦ã€Javaã§è¨˜è¿°ã•れãŸã‚¢ãƒ—リケーションを実行ã™ã‚‹èƒŒå¾Œã®VMã«ã‚ªãƒ—ションを渡ã™ã“ã¨ã¯ã€ã‚ˆã行ã‚れã¦ã„ã¾ã™ã€‚ +.RE + +.LP +.SH "セキュリティ" +.LP +.LP +\f3jstatd\fPサーãƒãƒ¼ã¯ã€é©åˆ‡ãªãƒã‚¤ãƒ†ã‚£ãƒ–・アクセス権をæŒã¤JVMã®ã¿ã‚’監視ã§ãã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f3jstatd\fPプロセスã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆJVMã¨åŒã˜ãƒ¦ãƒ¼ã‚¶ãƒ¼è³‡æ ¼ã§å®Ÿè¡Œã•れã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚UNIX(tm)ベースã®ã‚·ã‚¹ãƒ†ãƒ ã«ãŠã‘ã‚‹\f2root\fPユーザーãªã©ã®ä¸€éƒ¨ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼è³‡æ ¼ã¯ã€ã‚·ã‚¹ãƒ†ãƒ ä¸Šã®ä»»æ„ã®JVMã«ã‚ˆã£ã¦ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã•れãŸã‚¤ãƒ³ã‚¹ãƒˆã‚¥ãƒ«ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ã¸ã®ã‚¢ã‚¯ã‚»ã‚¹æ¨©ã‚’æŒã£ã¦ã„ã¾ã™ã€‚ã“ã®ã‚ˆã†ãªè³‡æ ¼ã§å®Ÿè¡Œã•れã¦ã„ã‚‹\f3jstatd\fPプロセスã¯ã€ã‚·ã‚¹ãƒ†ãƒ ä¸Šã®ã™ã¹ã¦ã®JVMを監視ã§ãã¾ã™ãŒã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ä¸Šã®åˆ¥ã®å•題ãŒèµ·ã“りã¾ã™ã€‚ +.LP +.LP +\f3jstatd\fPサーãƒãƒ¼ã«ã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã®èªè¨¼æ©Ÿèƒ½ãŒã‚りã¾ã›ã‚“。ãã®ãŸã‚ã€\f3jstatd\fPサーãƒãƒ¼ãƒ»ãƒ—ロセスを実行ã™ã‚‹ã¨ã€\f3jstatd\fPプロセスãŒã‚¢ã‚¯ã‚»ã‚¹æ¨©ã‚’æŒã¤ã™ã¹ã¦ã®JVMã«ã‚ˆã‚‹ã‚¤ãƒ³ã‚¹ãƒˆã‚¥ãƒ«ãƒ¡ãƒ³ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³ã®ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã‚’ã€ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ä¸Šã®ã™ã¹ã¦ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«å…¬é–‹ã™ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ã“ã®ç„¡é˜²å‚™ãªçŠ¶æ…‹ã¯ã€ç’°å¢ƒã«ã‚ˆã£ã¦ã¯æœ›ã¾ã—ããªã„å ´åˆãŒã‚ã‚‹ã®ã§ã€ç‰¹ã«å®Ÿç¨¼åƒç’°å¢ƒã¾ãŸã¯å®‰å…¨ã§ãªã„ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ã§ã¯ã€\f3jstatd\fPプロセスを起動ã™ã‚‹å‰ã«ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒãƒªã‚·ãƒ¼ã‚’検討ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +\f3jstatd\fPサーãƒãƒ¼ã¯ã€ä»–ã®ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ãªã„å ´åˆã«ã¯ã€RMISecurityPolicyã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’インストールã—ã¾ã™ã€‚ãã®ãŸã‚ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã¯ã€ãƒ‡ãƒ•ォルト・ãƒãƒªã‚·ãƒ¼å®Ÿè£…ã® +.na +\f2ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹æ–‡\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.htmlã«æº–æ‹ ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +次ã®ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã§ã¯ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ä¾‹å¤–を発生ã›ãšã«\f3jstatd\fPサーãƒãƒ¼ã‚’実行ã§ãã¾ã™ã€‚ã“ã®ãƒãƒªã‚·ãƒ¼ã¯ã€ã™ã¹ã¦ã®ã‚³ãƒ¼ãƒ‰ãƒ™ãƒ¼ã‚¹ã¸ã®ã‚らゆるアクセス権をèªã‚ã‚‹ãƒãƒªã‚·ãƒ¼ã‚ˆã‚Šã‚‚自由度ãŒä½Žã„ã§ã™ãŒã€\f3jstatd\fPサーãƒãƒ¼ã‚’実行ã™ã‚‹ãŸã‚ã«æœ€ä½Žé™å¿…è¦ãªã‚¢ã‚¯ã‚»ã‚¹æ¨©ã®ã¿ã‚’èªã‚ã‚‹ãƒãƒªã‚·ãƒ¼ã‚ˆã‚Šã‚‚自由度ãŒé«˜ããªã£ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +grant codebase "file:${java.home}/../lib/tools.jar" {\fP +.br +\f3 +.fl + permission java.security.AllPermission;\fP +.br +\f3 +.fl +};\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.LP +ã“ã®ãƒãƒªã‚·ãƒ¼ã‚’使用ã™ã‚‹ã«ã¯ã€ã“ã®ãƒ†ã‚­ã‚¹ãƒˆã‚’\f2jstatd.all.policy\fPã¨ã„ã†ãƒ•ァイルã«ã‚³ãƒ”ーã—ã€æ¬¡ã®ã‚ˆã†ã«\f3jstatd\fPサーãƒãƒ¼ã‚’実行ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +jstatd \-J\-Djava.security.policy=jstatd.all.policy\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.LP +より厳ã—ã„セキュリティを実施ã™ã‚‹ã‚µã‚¤ãƒˆã®å ´åˆã€ã‚«ã‚¹ã‚¿ãƒ ãƒ»ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを使用ã—ã¦ã€ç‰¹å®šã®ä¿¡é ¼ã§ãるホストã¾ãŸã¯ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ã«ã‚¢ã‚¯ã‚»ã‚¹ã‚’制é™ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãŸã ã—ã€ã“ã®ã‚ˆã†ãªæ–¹æ³•ã¯ã€IPアドレスã®ç›—è´æ”»æ’ƒã‚’å—ã‘ã‚„ã™ããªã‚Šã¾ã™ã€‚セキュリティã®å•題ã«ã¤ã„ã¦ã€ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºã—ãŸãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã§ã‚‚対処ã§ããªã„å ´åˆã¯ã€\f3jstatd\fPサーãƒãƒ¼ã‚’実行ã›ãšã«ã€\f3jstat\fPã¨\f3jps\fPツールをローカルã§ä½¿ç”¨ã™ã‚‹ã“ã¨ãŒæœ€ã‚‚å®‰å…¨ãªæ–¹æ³•ã«ãªã‚Šã¾ã™ã€‚ +.LP +.SH "リモート・インタフェース" +.LP +.LP +\f3jstatd\fPプロセスãŒã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã™ã‚‹ã‚¤ãƒ³ã‚¿ãƒ•ェースã¯ã€ç‹¬è‡ªã«é–‹ç™ºã—ãŸã‚‚ã®ã§ã‚り変更ã•れる予定ã§ã™ã€‚ユーザーãŠã‚ˆã³é–‹ç™ºè€…ã¯ã€ã“ã®ã‚¤ãƒ³ã‚¿ãƒ•ェースã¸ã®æ›¸è¾¼ã¿ã‚’行ã‚ãªã„ã§ãã ã•ã„。 +.LP +.SH "例" +.LP +.LP +次ã«\f3jstatd\fPã‚’èµ·å‹•ã™ã‚‹ä¾‹ã‚’紹介ã—ã¾ã™ã€‚\f3jstatd\fPスクリプトã«ã‚ˆã£ã¦ã€ã‚µãƒ¼ãƒãƒ¼ã¯ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã§è‡ªå‹•çš„ã«èµ·å‹•ã—ã¾ã™ã€‚ +.LP +.SS +内部RMIレジストリã®ä½¿ç”¨ +.LP +.LP +ã“ã®ä¾‹ã¯ã€å†…部RMIレジストリを使用ã—ãŸ\f3jstatd\fPã®èµ·å‹•を表ã—ã¦ã„ã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€ãƒ‡ãƒ•ォルトã®RMIレジストリ・ãƒãƒ¼ãƒˆ(ãƒãƒ¼ãƒˆ1099)ã«ã¯ã€ä»–ã®ã‚µãƒ¼ãƒãƒ¼ã¯ãƒã‚¤ãƒ³ãƒ‰ã•れã¦ã„ãªã„ã¨æƒ³å®šã—ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +jstatd \-J\-Djava.security.policy=all.policy +.fl +\fP +.fi + +.LP +.SS +外部RMIレジストリã®ä½¿ç”¨ +.LP +.LP +ã“ã®ä¾‹ã¯ã€å¤–部RMIレジストリを使用ã—ãŸ\f3jstatd\fPã®èµ·å‹•を表ã—ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +rmiregistry& +.fl +jstatd \-J\-Djava.security.policy=all.policy +.fl +\fP +.fi + +.LP +.LP +ã“ã®ä¾‹ã¯ã€ãƒãƒ¼ãƒˆ2020ã®å¤–部RMIレジストリを使用ã—ãŸ\f3jstatd\fPã®èµ·å‹•を表ã—ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +rmiregistry 2020& +.fl +jstatd \-J\-Djava.security.policy=all.policy \-p 2020 +.fl +\fP +.fi + +.LP +.LP +ã“ã®ä¾‹ã¯ã€AlternateJstatdServerNameã®åå‰ã«ãƒã‚¤ãƒ³ãƒ‰ã•れãŸã€ãƒãƒ¼ãƒˆ2020ã®å¤–部RMIレジストリを使用ã—ãŸ\f3jstatd\fPã®èµ·å‹•を表ã—ã¦ã„ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +rmiregistry 2020& +.fl +jstatd \-J\-Djava.security.policy=all.policy \-p 2020 \-n AlternateJstatdServerName +.fl +\fP +.fi + +.LP +.SS +インプロセスRMIレジストリã®ä½œæˆã®ç¦æ­¢ +.LP +.LP +ã“ã®ä¾‹ã¯ã€RMIレジストリãŒè¦‹ã¤ã‹ã‚‰ãªã„å ´åˆã«RMIレジストリを作æˆã—ãªã„\f3jstatd\fPã®èµ·å‹•を表ã—ã¦ã„ã¾ã™ã€‚ã“ã®ä¾‹ã§ã¯ã€RMIレジストリãŒã™ã§ã«å®Ÿè¡Œã•れã¦ã„ã‚‹ã¨æƒ³å®šã—ã¦ã„ã¾ã™ã€‚実行ã•れã¦ã„ãªã„å ´åˆã¯ã€é©åˆ‡ãªã‚¨ãƒ©ãƒ¼ãƒ»ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +jstatd \-J\-Djava.security.policy=all.policy \-nr +.fl +\fP +.fi + +.LP +.SS +RMIãƒ­ã‚°æ©Ÿèƒ½ã®æœ‰åŠ¹åŒ– +.LP +.LP +ã“ã®ä¾‹ã¯ã€RMIログ機能を有効ã«ã—ãŸ\f3jstatd\fPã®èµ·å‹•を表ã—ã¦ã„ã¾ã™ã€‚ã“ã®æ–¹æ³•ã¯ã€ãƒˆãƒ©ãƒ–ルシューティングã¾ãŸã¯ã‚µãƒ¼ãƒãƒ¼æ´»å‹•ã®ç›£è¦–ã«å½¹ç«‹ã¡ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +jstatd \-J\-Djava.security.policy=all.policy \-J\-Djava.rmi.server.logCalls=true +.fl +\fP +.fi + +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +java(1) \- Javaアプリケーション起動ツール +.TP 2 +o +jps(1) \- Java仮想マシン・プロセス・ステータス・ツール +.TP 2 +o +jstat(1) \- Java仮想マシン統計データ監視ツール +.TP 2 +o +.na +\f2rmiregistry\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmi \- Javaリモート・オブジェクト・レジストリ +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jvisualvm.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jvisualvm.1 new file mode 100644 index 00000000..643c677f --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/jvisualvm.1 @@ -0,0 +1,107 @@ +." Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jvisualvm 1 "05 Jul 2012" + +.LP +.SH "åå‰" +\f2jvisualvm\fP \- Java仮想マシンã®ç›£è¦–ã€ãƒˆãƒ©ãƒ–ルシューティングãŠã‚ˆã³ãƒ—ロファイリング・ツール +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +パラメータ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +使用方法 +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl + \fP\f3jvisualvm\fP [ \f2options\fP ] +.fl +.fi + +.LP +.SH "パラメータ" +.LP +.LP +オプションを使用ã™ã‚‹å ´åˆã€ã‚³ãƒžãƒ³ãƒ‰åã®ç›´å¾Œã«è¨˜è¿°ã—ã¦ãã ã•ã„ã€‚ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æŒ‡å®šé †åºã«æ±ºã¾ã‚Šã¯ã‚りã¾ã›ã‚“。特定ã®ã‚ªãƒ—ションã«é©ç”¨ã•れるパラメータã«ã¤ã„ã¦ã¯ã€æ¬¡ã®ã‚ªãƒ—ションをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "説明" +.LP +.LP +Java VisualVMã¯ã€æŒ‡å®šã•れãŸJava仮想マシン(JVM(*))ã§Javaテクノロジ・ベースã®ã‚¢ãƒ—リケーション(Javaアプリケーション)ãŒå®Ÿè¡Œã•れã¦ã„ã‚‹ã¨ãã«ã€ãã®Javaアプリケーションã«é–¢ã™ã‚‹è©³ç´°ãªæƒ…報をæä¾›ã™ã‚‹ç›´æ„Ÿçš„ãªã‚°ãƒ©ãƒ•ィカル・ユーザー・インタフェースã§ã™ã€‚Java VisualVMã¨ã„ã†åå‰ã¯ã€Java VisualVMãŒJVMソフトウェアã«é–¢ã™ã‚‹æƒ…報を\f2視覚的ã«\fPæä¾›ã™ã‚‹ã¨ã„ã†äº‹å®Ÿã«ç”±æ¥ã—ã¦ã„ã¾ã™ã€‚ +.LP +.LP +Java VisualVMã¯ã€ã„ãã¤ã‹ã®ç›£è¦–ã€ãƒˆãƒ©ãƒ–ルシューティングãŠã‚ˆã³ãƒ—ロファイリング・ユーティリティを1ã¤ã®ãƒ„ールã«çµ±åˆã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ã‚¹ã‚¿ãƒ³ãƒ‰ã‚¢ãƒ­ãƒ³ãƒ»ãƒ„ール\f2jmap\fPã€\f2jinfo\fPã€\f2jstat\fPãŠã‚ˆã³\f2jstack\fPã§æä¾›ã•れã¦ã„る機能ã®ã»ã¨ã‚“ã©ãŒã€Java VisualVMã«çµ„ã¿è¾¼ã¾ã‚Œã¦ã„ã¾ã™ã€‚JConsoleツールã«ã‚ˆã£ã¦æä¾›ã•ã‚Œã‚‹ä¸€éƒ¨ã®æ©Ÿèƒ½ãªã©ã€ä»–ã®æ©Ÿèƒ½ã¯ã‚ªãƒ—ションã®ãƒ—ラグインã¨ã—ã¦è¿½åŠ ã§ãã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.LP +次ã®ã‚ªãƒ—ションã¯ã€Java VisualVMã‚’èµ·å‹•ã—ãŸã¨ãã«å®Ÿè¡Œå¯èƒ½ã«ãªã‚Šã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +\-J<jvm_option>\ +ã“ã®\f2<jvm_option>\fPã‚’JVMã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã«æ¸¡ã—ã¾ã™ã€‚ +.RE + +.LP +.SH "使用方法" +.LP +.LP +Java VisualVMã¯ã€Javaアプリケーションã®é–‹ç™ºè€…ãŒã‚¢ãƒ—リケーションã®ãƒˆãƒ©ãƒ–ルシューティングを行ã£ãŸã‚Šã€ã‚¢ãƒ—リケーションã®ãƒ‘フォーマンスを監視ãŠã‚ˆã³æ”¹å–„ã—ãŸã‚Šã™ã‚‹ã®ã«å½¹ç«‹ã¡ã¾ã™ã€‚Java VisualVMを使用ã™ã‚‹ã¨ã€é–‹ç™ºè€…ã¯ãƒ’ープ・ダンプã®ç”ŸæˆãŠã‚ˆã³è§£æžã€ãƒ¡ãƒ¢ãƒªãƒ¼ãƒ»ãƒªãƒ¼ã‚¯ã®ç‰¹å®šã€ã‚¬ãƒ™ãƒ¼ã‚¸ãƒ»ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã®å®Ÿè¡ŒãŠã‚ˆã³ç›£è¦–ã€ãŠã‚ˆã³ãƒ¡ãƒ¢ãƒªãƒ¼ã¨CPUã®ç°¡æ˜“プロファイリングã®å®Ÿè¡ŒãŒå¯èƒ½ã«ãªã‚Šã¾ã™ã€‚Java VisualVMã®æ©Ÿèƒ½ã‚’æ‹¡å¼µã™ã‚‹ãƒ—ラグインもã„ãã¤ã‹ã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€JConsoleツールã®ã»ã¨ã‚“ã©ã®æ©Ÿèƒ½ã¯ã€ã€ŒMBeansã€ã‚¿ãƒ–ãŠã‚ˆã³JConsole Plug\-in Wrapperプラグインを介ã—ã¦ä½¿ç”¨ã§ãã¾ã™ã€‚標準ã®Java VisualVMプラグインã®ã‚«ã‚¿ãƒ­ã‚°ã‹ã‚‰é¸æŠžã™ã‚‹ã«ã¯ã€Java VisualVMメニューã®ã€Œãƒ„ールã€â†’「プラグインã€ã‚’é¸æŠžã—ã¾ã™ã€‚ +.LP +.LP +Java VisualVMã‚’èµ·å‹•ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +% jvisualvm \fP\f4<options>\fP\f3 +.fl +\fP +.fi + +.LP +.SH "関連項目" +.LP +.LP +Java VisualVMã®è©³ç´°ã¯ã€æ¬¡ã®ãƒšãƒ¼ã‚¸ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.RS 3 +.TP 2 +o +.na +\f2Java VisualVM開発者ã®ã‚µã‚¤ãƒˆ\fP @ +.fi +http://visualvm.java.net +.TP 2 +o +.na +\f2Java SEプラットフォームã§ã®Java VisualVMã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/visualvm/index.html +.RE + +.LP +.LP +\f2(*「Java仮想マシンã€ã¨ã€ŒJVMã€ã¨ã„ã†ç”¨èªžã¯ã€Javaプラットフォームã®ä»®æƒ³ãƒžã‚·ãƒ³ã‚’æ„味ã—ã¦ã„ã¾ã™ã€‚)\fP +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/keytool.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/keytool.1 new file mode 100644 index 00000000..fb75a28b --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/keytool.1 @@ -0,0 +1,1826 @@ +." Copyright (c) 1998-2011 keytool tool, Oracle and/or its affiliates. All rights reserved. +." +.TH keytool 1 "05 Jul 2012" + +.LP +.SH "åå‰" +keytool \- éµã¨è¨¼æ˜Žæ›¸ã®ç®¡ç†ãƒ„ール +.LP +.LP +æš—å·åŒ–éµã€X.509証明書ãƒã‚§ãƒ¼ãƒ³ãŠã‚ˆã³ä¿¡é ¼ã§ãる証明書をå«ã‚€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢(データベース)を管ç†ã—ã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3keytool\fP [ commands ] +.fl +.fi + +.LP +.LP +Java SE 6ã§keytoolã®ã‚³ãƒžãƒ³ãƒ‰ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースãŒå¤‰æ›´ã•れã¾ã—ãŸã€‚詳細ã¯ã€å¤‰æ›´ç‚¹ã®é …ã‚’å‚ç…§ã—ã¦ãã ã•ã„。以å‰ã«å®šç¾©ã•れãŸã‚³ãƒžãƒ³ãƒ‰ã‚‚引続ãサãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ã€‚ +.LP +.SH "説明" +.LP +\f3keytool\fPã¯ã€éµã¨è¨¼æ˜Žæ›¸ã‚’管ç†ã™ã‚‹ãŸã‚ã®ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£ã§ã™ã€‚ã“れã«ã‚ˆã‚Šã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯è‡ªåˆ†ã®å…¬é–‹éµã¨ç§˜å¯†éµã®ãƒšã‚¢ãŠã‚ˆã³é–¢é€£ã™ã‚‹è¨¼æ˜Žæ›¸ã‚’管ç†ã—ã€ãƒ‡ã‚¸ã‚¿ãƒ«ç½²åを使用ã—ãŸè‡ªå·±èªè¨¼(ä»–ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¾ãŸã¯ã‚µãƒ¼ãƒ“スã«å¯¾ã—ã¦è‡ªåˆ†è‡ªèº«ã‚’èªè¨¼ã™ã‚‹ã“ã¨)ã‚„ã€ãƒ‡ãƒ¼ã‚¿ã®æ•´åˆæ€§ã¨è¨¼æ˜Žæ›¸ã«é–¢ã™ã‚‹ã‚µãƒ¼ãƒ“スを利用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã¾ãŸã€é€šä¿¡ç›¸æ‰‹ã®å…¬é–‹éµã‚’(証明書ã®å½¢ã§)キャッシュã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.LP +「\f2証明書\fPã€ã¨ã¯ã€ã‚るエンティティ(人物ã€ä¼šç¤¾ãªã©)ã‹ã‚‰ã®ãƒ‡ã‚¸ã‚¿ãƒ«ç½²å付ãã®æ–‡æ›¸ã®ã“ã¨ã§ã™ã€‚証明書ã«ã¯ã€ä»–ã®ã‚るエンティティã®å…¬é–‹éµ(ãŠã‚ˆã³ãã®ä»–ã®æƒ…å ±)ãŒç‰¹åˆ¥ãªå€¤ã‚’æŒã£ã¦ã„ã‚‹ã“ã¨ãŒæ›¸ã‹ã‚Œã¦ã„ã¾ã™ã€‚(証明書をå‚照。)データã«ãƒ‡ã‚¸ã‚¿ãƒ«ç½²åãŒä»˜ã„ã¦ã„ã‚‹å ´åˆã¯ã€ãƒ‡ã‚¸ã‚¿ãƒ«ç½²åを検証ã™ã‚‹ã“ã¨ã§ã€ãƒ‡ãƒ¼ã‚¿ã®æ•´åˆæ€§ãŠã‚ˆã³ãƒ‡ãƒ¼ã‚¿ãŒæœ¬ç‰©ã§ã‚ã‚‹ã“ã¨ã‚’ãƒã‚§ãƒƒã‚¯ã§ãã¾ã™ã€‚データã®ã€Œ\f2æ•´åˆæ€§\fPã€ã¨ã¯ã€ãƒ‡ãƒ¼ã‚¿ãŒå¤‰æ›´ã•れãŸã‚Šã€æ”¹å¤‰ã•れãŸã‚Šã—ã¦ã„ãªã„ã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚ã¾ãŸã€ãƒ‡ãƒ¼ã‚¿ãŒã€Œ\f2本物ã§ã‚ã‚‹\fPã€ã¨ã¯ã€ãã®ãƒ‡ãƒ¼ã‚¿ãŒã€ãƒ‡ãƒ¼ã‚¿ã‚’作æˆã—ã¦ç½²åã—ãŸã¨ç§°ã™ã‚‹äººç‰©ã‹ã‚‰å®Ÿéš›ã«æ¸¡ã•れãŸãƒ‡ãƒ¼ã‚¿ã§ã‚ã‚‹ã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚ +.LP +.LP +ã¾ãŸã€\f3keytool\fPを使用ã™ã‚Œã°ã€DESãªã©ã®å¯¾ç§°æš—å·åŒ–/復å·åŒ–ã§ä½¿ç”¨ã•れる秘密éµã‚’管ç†ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.LP +.LP +\f3keytool\fPã¯ã€éµã¨è¨¼æ˜Žæ›¸ã‚’\f2キーストア\fPã«æ ¼ç´ã—ã¾ã™ã€‚ +.LP +.SH "コマンドã¨ã‚ªãƒ—ションã«é–¢ã™ã‚‹æ³¨æ„" +.LP +.LP +様々ãªã‚³ãƒžãƒ³ãƒ‰ã¨ãã®ã‚ªãƒ—ションã«ã¤ã„ã¦ã€ä¸‹è¨˜ã§èª¬æ˜Žã—ã¾ã™ã€‚注æ„: +.LP +.RS 3 +.TP 2 +o +ã©ã®ã‚³ãƒžãƒ³ãƒ‰åãŠã‚ˆã³ã‚ªãƒ—ションåã«ã‚‚先頭ã«ãƒžã‚¤ãƒŠã‚¹è¨˜å·(\-)ãŒä»˜ãã¾ã™ã€‚ +.TP 2 +o +å„コマンドã®ã‚ªãƒ—ションã¯ä»»æ„ã®é †åºã§æŒ‡å®šã§ãã¾ã™ã€‚ +.TP 2 +o +イタリック体ã«ãªã£ã¦ã„ãªã„ã™ã¹ã¦ã®é …ç›®ã€ã¾ãŸã¯ä¸­æ‹¬å¼§ã‹è§’括弧ã§å›²ã¾ã‚Œã¦ã„ã‚‹ã™ã¹ã¦ã®é …ç›®ã¯ã€ãã®ã¨ãŠã‚Šã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 2 +o +オプションを囲む中括弧ã¯ã€ä¸€èˆ¬ã«ã€ãã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãªã‹ã£ãŸå ´åˆã«ã€ãƒ‡ãƒ•ォルト値ãŒä½¿ç”¨ã•れるã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚中括弧ã¯ã€\f2\-v\fPã€\f2\-rfc\fPãŠã‚ˆã³\f2\-J\fPオプションを囲むãŸã‚ã«ã‚‚使用ã•れã¾ã™ãŒã€ã“れらã®ã‚ªãƒ—ションã¯ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã•れãŸå ´åˆã«ã®ã¿æ„味をæŒã¡ã¾ã™(ã¤ã¾ã‚Šã€ã“れらã®ã‚ªãƒ—ションã«ã¯ã€ã‚ªãƒ—ション自体を指定ã—ãªã„ã“ã¨ä»¥å¤–ã«ã€Œãƒ‡ãƒ•ォルトã€å€¤ã¯å­˜åœ¨ã—ã¾ã›ã‚“)。 +.TP 2 +o +オプションを囲む角括弧ã¯ã€ãã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãªã‹ã£ãŸå ´åˆã«ã€å€¤ã®å…¥åŠ›ã‚’æ±‚ã‚られるã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚(\f2\-keypass\fPオプションã®å ´åˆã€ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãªã‹ã£ãŸå ´åˆã¯ã€\f3keytool\fPãŒã¾ãšã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードã‹ã‚‰éžå…¬é–‹/秘密éµã®å¾©å…ƒã‚’試ã¿ã¾ã™ã€‚ユーザーã¯ã€ã“ã®è©¦ã¿ãŒå¤±æ•—ã—ãŸå ´åˆã«éžå…¬é–‹/秘密éµã®ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚) +.TP 2 +o +イタリック体ã®é …ç›®ã®å®Ÿéš›ã®å€¤(オプションã®å€¤)ã¯ã€æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2\-printcert\fPコマンドã®å½¢å¼ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.nf +\f3 +.fl + keytool \-printcert {\-file \fP\f4cert_file\fP\f3} {\-v} +.fl +\fP +.fi +.LP +\f2\-printcert\fPコマンドを指定ã™ã‚‹ã¨ãã¯ã€\f2cert_file\fPã®ã‹ã‚りã«å®Ÿéš›ã®ãƒ•ァイルåを指定ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + keytool \-printcert \-file VScert.cer +.fl +\fP +.fi +.TP 2 +o +オプションã®å€¤ã«ç©ºç™½(スペース)ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã¯ã€å€¤ã‚’引用符ã§å›²ã‚€å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 2 +o +\f2\-help\fPコマンドã¯ãƒ‡ãƒ•ォルトã®ã‚³ãƒžãƒ³ãƒ‰ã§ã™ã€‚ãã®ãŸã‚ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ +.nf +\f3 +.fl + keytool +.fl +\fP +.fi +.LP +ã¯ã€æ¬¡ã¨åŒã˜ã§ã™ã€‚ +.nf +\f3 +.fl + keytool \-help +.fl +\fP +.fi +.RE + +.LP +.SS +オプションã®ãƒ‡ãƒ•ォルト値 +.LP +.LP +オプションã®ãƒ‡ãƒ•ォルト値ã¯ã€æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.LP +.nf +\f3 +.fl +\-alias "mykey" +.fl + +.fl +\-keyalg +.fl + "DSA" (when using \fP\f3\-genkeypair\fP\f3) +.fl + "DES" (when using \fP\f3\-genseckey\fP\f3) +.fl + +.fl +\-keysize +.fl + 2048 (when using \fP\f3\-genkeypair\fP\f3 and \-keyalg is "RSA") +.fl + 1024 (when using \fP\f3\-genkeypair\fP\f3 and \-keyalg is "DSA") +.fl + 256 (when using \fP\f3\-genkeypair\fP\f3 and \-keyalg is "EC") +.fl + 56 (when using \fP\f3\-genseckey\fP\f3 and \-keyalg is "DES") +.fl + 168 (when using \fP\f3\-genseckey\fP\f3 and \-keyalg is "DESede") +.fl + +.fl + +.fl +\-validity 90 +.fl + +.fl +\-keystore the file named \fP\f4.keystore\fP\f3 in the user's home directory +.fl + +.fl +\-storetype the value of the "keystore.type" property in the security properties file, +.fl + which is returned by the static \fP\f4getDefaultType\fP\f3 method in +.fl + \fP\f4java.security.KeyStore\fP\f3 +.fl + +.fl +\-file stdin if reading, stdout if writing +.fl + +.fl +\-protected false +.fl +\fP +.fi + +.LP +.LP +公開/秘密éµãƒšã‚¢ã®ç”Ÿæˆã«ãŠã„ã¦ã€ç½²åアルゴリズム(\f2\-sigalg\fPオプション)ã¯ã€åŸºã«ãªã‚‹ç§˜å¯†éµã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‹ã‚‰æ´¾ç”Ÿã—ã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +基ã«ãªã‚‹ç§˜å¯†éµãŒDSAタイプã§ã‚ã‚‹å ´åˆã¯ã€\f2\-sigalg\fPオプションã®ãƒ‡ãƒ•ォルト値ã¯SHA1withDSAã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +基ã«ãªã‚‹ç§˜å¯†éµãŒRSAタイプã§ã‚ã‚‹å ´åˆã¯ã€\f2\-sigalg\fPオプションã®ãƒ‡ãƒ•ォルト値ã¯SHA256withRSAã«ãªã‚Šã¾ã™ã€‚ +.TP 2 +o +基ã«ãªã‚‹ç§˜å¯†éµãŒECタイプã§ã‚ã‚‹å ´åˆã¯ã€\f2\-sigalg\fPオプションã®ãƒ‡ãƒ•ォルト値ã¯SHA256withECDSAã«ãªã‚Šã¾ã™ã€‚ +.RE + +.LP +.LP +é¸æŠžå¯èƒ½ãª\f2\-keyalg\fPãŠã‚ˆã³\f2\-sigalg\fPã®å®Œå…¨ãªä¸€è¦§ã«ã¤ã„ã¦ã¯ã€ +.na +\f2Java Cryptography Architecture API Specification & Reference\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppAã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SS +一般オプション +.LP +.LP +\f2\-v\fPオプションã¯ã€\f2\-help\fPコマンドを除ãã™ã¹ã¦ã®ã‚³ãƒžãƒ³ãƒ‰ã§ä½¿ç”¨ã§ãã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã—ãŸå ´åˆã€ã‚³ãƒžãƒ³ãƒ‰ã¯ã€Œå†—é•·ã€ãƒ¢ãƒ¼ãƒ‰ã§å®Ÿè¡Œã•れã€è©³ç´°ãªè¨¼æ˜Žæ›¸æƒ…å ±ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.LP +.LP +ã¾ãŸã€\f2\-J\fP\f2javaoption\fPオプションもã€ä»»æ„ã®ã‚³ãƒžãƒ³ãƒ‰ã§ä½¿ç”¨ã§ãã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã—ãŸå ´åˆã€æŒ‡å®šã•れãŸ\f2javaoption\fP文字列ãŒJavaインタプリタã«ç›´æŽ¥æ¸¡ã•れã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã«ã¯ã€ç©ºç™½ã‚’å«ã‚ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションã¯ã€å®Ÿè¡Œç’°å¢ƒã¾ãŸã¯ãƒ¡ãƒ¢ãƒªãƒ¼ä½¿ç”¨ã‚’調整ã™ã‚‹å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚指定ã§ãるインタプリタ・オプションを一覧表示ã™ã‚‹ã«ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§\f2java \-h\fPã¾ãŸã¯\f2java \-X\fPã¨å…¥åŠ›ã—ã¦ãã ã•ã„。 +.LP +.LP +次ã®ã‚ªãƒ—ションã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«å¯¾ã™ã‚‹æ“作を行ã†ã™ã¹ã¦ã®ã‚³ãƒžãƒ³ãƒ‰ã§æŒ‡å®šã§ãã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +\-storetype storetype +.LP +ã“ã®ä¿®é£¾å­ã¯ã€ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’生æˆã™ã‚‹ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—を指定ã—ã¾ã™ã€‚ +.TP 3 +\-keystore keystore +.LP +キーストアã®å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚ +.LP +特定ã®\f3keytool\fPコマンドを実行ã™ã‚‹éš›ã«ã€JKSストアタイプãŒä½¿ç”¨ã•れã€ã‹ã¤ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ãƒ•ァイルãŒã¾ã å­˜åœ¨ã—ã¦ã„ãªã‹ã£ãŸå ´åˆã€æ–°ã—ã„キーストア・ファイルãŒä½œæˆã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2keytool \-genkeypair\fPã®å®Ÿè¡Œæ™‚ã«\f2\-keystore\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã€\f2.keystore\fPã¨ã„ã†åå‰ã®ãƒ‡ãƒ•ォルト・キーストア・ファイルãŒãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ›ãƒ¼ãƒ ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã«ã¾ã å­˜åœ¨ã—ã¦ã„ãªã‘れã°ã€ãã“ã«ä½œæˆã•れã¾ã™ã€‚åŒæ§˜ã«ã€\f2\-keystore \fP\f2ks_file\fPã¨ã„ã†ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã‚‚ãã®\f2ks_file\fPãŒå­˜åœ¨ã—ãªã‹ã£ãŸå ´åˆã€ãã®ãƒ•ァイルãŒä½œæˆã•れã¾ã™ã€‚ +.LP +\f2\-keystore\fPオプションã‹ã‚‰ã®å…¥åŠ›ã‚¹ãƒˆãƒªãƒ¼ãƒ ã¯ã€\f2KeyStore.load\fPãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れã¾ã™ã€‚URLã¨ã—ã¦\f2NONE\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€nullã®ã‚¹ãƒˆãƒªãƒ¼ãƒ ãŒ\f2KeyStore.load\fPãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã•れã¾ã™ã€‚\f2NONE\fPã¯ã€\f2KeyStore\fPãŒãƒ•ァイルベースã§ã¯ãªãã€ãŸã¨ãˆã°ã€ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢ãƒ»ãƒˆãƒ¼ã‚¯ãƒ³ãƒ»ãƒ‡ãƒã‚¤ã‚¹ã«ç½®ã‹ã‚Œã¦ã„ã‚‹å ´åˆã«æŒ‡å®šã—ã¾ã™ã€‚ +.TP 3 +\-storepass[:env|:file] argument +.LP +ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®æ•´åˆæ€§ã‚’ä¿è­·ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ãƒ‘スワードを指定ã—ã¾ã™ã€‚ +.LP +修飾å­\f2env\fPã¾ãŸã¯\f2file\fPを指定ã—ãªã„å ´åˆã€ãƒ‘スワードã®å€¤ã¯\f2argument\fPã«ãªã‚Šã¾ã™ã€‚ã“ã®å€¤ã¯ã€6文字以上ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãれ以外ã®å ´åˆã€ãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ã¯æ¬¡ã®ã‚ˆã†ã«ã—ã¦å–å¾—ã•れã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f2env\fP: \f2argument\fPã¨ã„ã†åå‰ã®ç’°å¢ƒå¤‰æ•°ã‹ã‚‰ãƒ‘スワードをå–å¾—ã—ã¾ã™ã€‚ +.TP 2 +o +\f2file\fP: \f2argument\fPã¨ã„ã†åå‰ã®ãƒ•ァイルã‹ã‚‰ãƒ‘スワードをå–å¾—ã—ã¾ã™ã€‚ +.RE +.LP +\f3注æ„\fP: \f2\-keypass\fPã€\f2\-srckeypass\fPã€\f2\-destkeypass\fPã€\f2\-srcstorepass\fPã€\f2\-deststorepass\fPãªã©ã®ãƒ‘スワードを必è¦ã¨ã™ã‚‹ãã®ä»–ã®ã‚ªãƒ—ションã¯ã™ã¹ã¦ã€\f2env\fPã¨\f2file\fP修飾å­ã‚’å—ã‘付ã‘ã¾ã™ã€‚パスワード・オプションã¨ä¿®é£¾å­ã¯ã€å¿…ãšã‚³ãƒ­ãƒ³(\f2:\fP)ã§åŒºåˆ‡ã£ã¦ãã ã•ã„。 +.LP +パスワードã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å†…容ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã™ã¹ã¦ã®ã‚³ãƒžãƒ³ãƒ‰ã§ä½¿ç”¨ã•れã¾ã™ã€‚ã“ã®ç¨®ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã™ã‚‹ã¨ãã«ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§\f2\-storepass\fPオプションを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.LP +キーストアã‹ã‚‰æƒ…報をå–り出ã™å ´åˆã¯ã€ãƒ‘スワードをçœç•¥ã§ãã¾ã™ã€‚パスワードをçœç•¥ã™ã‚‹ã¨ã€å–ã‚Šå‡ºã™æƒ…å ±ã®æ•´åˆæ€§ã‚’ãƒã‚§ãƒƒã‚¯ã§ããªã„ã®ã§ã€è­¦å‘ŠãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.TP 3 +\-providerName provider_name +.LP +セキュリティ・プロパティ・ファイル内ã«å«ã¾ã‚Œã‚‹æš—å·åŒ–サービス・プロãƒã‚¤ãƒ€åを特定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +\-providerClass provider_class_name +.LP +æš—å·åŒ–サービス・プロãƒã‚¤ãƒ€ãŒã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã«æŒ‡å®šã•れã¦ã„ãªã„ã¨ãã¯ã€ãã®ãƒžã‚¹ã‚¿ãƒ¼ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®åå‰ã‚’指定ã™ã‚‹ã¨ãã«ä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +\-providerArg provider_arg +.LP +\f2\-providerClass\fPã¨çµ„ã¿åˆã›ã¦ä½¿ç”¨ã—ã¾ã™ã€‚\f2provider_class_name\fPã®ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã«å¯¾ã™ã‚‹çœç•¥å¯èƒ½ãªæ–‡å­—列入力引数を表ã—ã¾ã™ã€‚ +.TP 3 +\-protected +.LP +\f2true\fPã¾ãŸã¯\f2false\fPã®ã„ãšã‚Œã‹ã€‚専用PINリーダーãªã©ã®ä¿è­·ã•れãŸèªè¨¼ãƒ‘スを介ã—ã¦ãƒ‘スワードを指定ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã«ã¯ã€ã“ã®å€¤ã«\f2true\fPを指定ã—ã¦ãã ã•ã„。 +.LP +注æ„: \f2\-importkeystore\fPコマンドã«ã¯2ã¤ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãŒé–¢ä¿‚ã—ã¦ã„ã‚‹ãŸã‚ã€2ã¤ã®ã‚ªãƒ—ションã€ã¤ã¾ã‚Š\f2\-srcprotected\fPã¨\f2\-destprotected\fPãŒã‚½ãƒ¼ã‚¹ãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã¨ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«ãれãžã‚ŒæŒ‡å®šã•れã¾ã™ã€‚ +.TP 3 +\-ext {name{:critical}{=value}} +.LP +X.509証明書エクステンションを示ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを\-genkeypairãŠã‚ˆã³\-gencertã§ä½¿ç”¨ã—ã¦ã€ç”Ÿæˆã•れる証明書ã¾ãŸã¯\f2\-certreq\fPã«ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã‚’埋ã‚è¾¼ã¿ã€è¨¼æ˜Žæ›¸ãƒªã‚¯ã‚¨ã‚¹ãƒˆã§ãƒªã‚¯ã‚¨ã‚¹ãƒˆã•れるエクステンションを示ã™ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€è¤‡æ•°å›žä½¿ç”¨ã§ãã¾ã™ã€‚nameã«ã¯ã€ã‚µãƒãƒ¼ãƒˆã•れã¦ã„るエクステンションå(下記をå‚ç…§)ã¾ãŸã¯ä»»æ„ã®OID番å·ã‚’指定ã§ãã¾ã™ã€‚valueを指定ã—ãŸå ´åˆã¯ã€ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã®ãƒ‘ラメータを示ã—ã¾ã™ã€‚çœç•¥ã—ãŸå ´åˆã¯ã€ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã®ãƒ‡ãƒ•ォルト値(定義ã•れã¦ã„ã‚‹å ´åˆ)を示ã™ã‹ã€ã¾ãŸã¯ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã«ãƒ‘ラメータã¯å¿…è¦ã‚りã¾ã›ã‚“。\f2:critical\fP修飾å­ã‚’指定ã—ãŸå ´åˆã¯ã€ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã®isCritical属性ãŒtrueã§ã‚ã‚‹ã“ã¨ã‚’示ã—ã¾ã™ã€‚ãれ以外ã®å ´åˆã¯falseã§ã‚ã‚‹ã“ã¨ã‚’示ã—ã¾ã™ã€‚\f2:critical\fPã®ã‹ã‚りã«\f2:c\fPを使用ã§ãã¾ã™ã€‚ +.RE + +.LP +.LP +ç¾åœ¨ã€keytoolã¯æ¬¡ã®åå‰ã®ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã‚’サãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™(大文字ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•れã¾ã›ã‚“)。 +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 80 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +BCã¾ãŸã¯BasicConstraints +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +完全ãªå½¢ã¯ã€Œca:{true|false}[,pathlen:<len>]ã€ã§ã€<len>ã¯ã€Œca:true,pathlen:<len>ã€ã®çœç•¥è¡¨è¨˜ã§ã™ã€‚ +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +usage(,usage)*。usageã«ã¯ã€digitalSignature〠nonRepudiation (contentCommitment)ã€keyEnciphermentã€dataEnciphermentã€keyAgreementã€keyCertSignã€cRLSignã€encipherOnlyã€decipherOnlyã®ã„ãšã‚Œã‹ã‚’指定ã§ãã¾ã™ã€‚Usageã¯ã€ã‚ã„ã¾ã„ã•ãŒãªã‘れã°ã€æœ€åˆã®æ•°æ–‡å­—(ãŸã¨ãˆã°ã€digitalSignatureã‚’digã«)ã¾ãŸã¯ã‚­ãƒ£ãƒ¡ãƒ«ã‚±ãƒ¼ã‚¹ãƒ»ã‚¹ã‚¿ã‚¤ãƒ«ã«(ãŸã¨ãˆã°ã€ 短縮ã§ãã¾ã™ã€‚Usageã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•れã¾ã›ã‚“。 +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +EKUã¾ãŸã¯ExtendedkeyUsage +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +usage(,usage)*。usageã«ã¯ã€anyExtendedKeyUsage〠serverAuthã€clientAuthã€codeSigningã€emailProtection〠timeStampingã€OCSPSigningã€ã¾ãŸã¯ä»»æ„ã®OID文字列ã®ã„ãšã‚Œã‹ã‚’指定ã§ãã¾ã™ã€‚ åå‰ä»˜ãã®usageã¯ã€ã‚ã„ã¾ã„ã•ãŒãªã‘れã°ã€ 最åˆã®æ•°æ–‡å­—ã¾ãŸã¯ã‚­ãƒ£ãƒ¡ãƒ«ã‚±ãƒ¼ã‚¹ãƒ»ã‚¹ã‚¿ã‚¤ãƒ«ã« 短縮ã§ãã¾ã™ã€‚Usageã®å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•れã¾ã›ã‚“。 +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +SANã¾ãŸã¯SubjectAlternativeName +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +type:value(,type:value)*。typeã«ã¯ã€EMAILã€URIã€DNSã€IPã¾ãŸã¯OIDを指定ã§ãã¾ã™ã€‚valueã¯ã€typeã®æ–‡å­—列形å¼ã®å€¤ã§ã™ã€‚ +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +IANã¾ãŸã¯IssuerAlternativeName +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +SubjectAlternativeNameã¨åŒã˜ã§ã™ +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +SIAã¾ãŸã¯SubjectInfoAccess +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +method:location\-type:location\-value (,method:location\-type:location\-value)*。 methodã«ã¯ã€ã€ŒtimeStampingã€ã€ã€ŒcaRepositoryã€ã€ã¾ãŸã¯ä»»æ„ã®OIDを指定ã§ãã¾ã™ã€‚location\-typeãŠã‚ˆã³location\-valueã«ã¯ã€SubjectAlternativeNameエクステンションã§ã‚µãƒãƒ¼ãƒˆã•れる任æ„ã®type:valueを指定ã§ãã¾ã™ã€‚ +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +AIAã¾ãŸã¯AuthorityInfoAccess +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di m+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +SubjectInfoAccessã¨åŒã˜ã§ã™ã€‚methodã«ã¯ã€ã€Œocspã€ã€ã€ŒcaIssuersã€ã€ã¾ãŸã¯ä»»æ„ã®OIDを指定ã§ãã¾ã™ã€‚ +.br +.di +.nr m| \n(dn +.nr m- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3åå‰\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wKUã¾ãŸã¯KeyUsage +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 38 \n(a- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(d- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(f- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(h- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(j- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(l- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.nr 38 \w\f3値\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(m- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 325 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3åå‰\fP\h'|\n(41u'\f3値\fP +.ne \n(a|u+\n(.Vu +.ne \n(b|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'KUã¾ãŸã¯KeyUsage\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.ne \n(e|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.ne \n(g|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.ne \n(i|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.ne \n(k|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.ne \n(m|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.m+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.rm m+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-44 + +.LP +.LP +OIDåã®å ´åˆã€OCTET STRINGタイプã¨é•·ã•ã®ãƒã‚¤ãƒˆã‚’除外ã—ãŸã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã«ã¤ã„ã¦ã¯ã€å€¤ã¯extnValueã®HEXダンプã®DERエンコーディングã§ã™ã€‚HEX文字列ã§ã¯ã€æ¨™æº–ã®HEXæ•°(0\-9ã€a\-fã€A\-F)ä»¥å¤–ã®æ–‡å­—ã¯ç„¡è¦–ã•れã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f2「01:02:03:04ã€\fPã¨\f2「01020304ã€\fPã®ä¸¡æ–¹ã¨ã‚‚åŒä¸€ã®å€¤ã¨ã—ã¦å—ã‘付ã‘られã¾ã™ã€‚値ãŒãªã„å ´åˆã€ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã®å€¤ãƒ•ィールドã¯ç©ºã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +\f2\-gencert\fPã§ã®ã¿ä½¿ç”¨ã™ã‚‹\f2「honoredã€\fPã¨ã„ã†ç‰¹åˆ¥ãªåå‰ã¯ã€è¨¼æ˜Žæ›¸ãƒªã‚¯ã‚¨ã‚¹ãƒˆã«å«ã¾ã‚Œã‚‹ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã‚’優先ã™ã‚‹æ–¹æ³•を示ã—ã¾ã™ã€‚ã“ã®åå‰ã®å€¤ã¯ã€\f2「allã€\fP(リクエストã•れるã™ã¹ã¦ã®ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ãŒå„ªå…ˆã•れる)ã€\f2「name{:[critical|non\-critical]}ã€\fP(åå‰ä»˜ãã®ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ãŒå„ªå…ˆã•れるãŒã€åˆ¥ã®isCritical属性を使用ã™ã‚‹)ã€ãŠã‚ˆã³\f2「\-nameã€\fP(「allã€ã¨ã¨ã‚‚ã«ä½¿ç”¨ã—ã€ä¾‹å¤–を示ã™)ã®ã‚«ãƒ³ãƒžåŒºåˆ‡ã‚Šãƒªã‚¹ãƒˆã§ã™ã€‚デフォルトã§ã¯ã€ãƒªã‚¯ã‚¨ã‚¹ãƒˆã•れるエクステンションã¯å„ªå…ˆã•れã¾ã›ã‚“。 +.LP +.LP +\-ext優先ã®ã‚ªãƒ—ションã«åŠ ãˆã€åˆ¥ã®åå‰ã®ã€ã¾ãŸã¯OID \-extã®ã‚ªãƒ—ションを指定ã—ãŸå ´åˆã¯ã€ã“ã®ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ãŒã€ã™ã§ã«å„ªå…ˆã•れã¦ã„るエクステンションã«è¿½åŠ ã•れã¾ã™ã€‚ãŸã ã—ã€ã“ã®åå‰(ã¾ãŸã¯OID)を優先ã•れる値ã§ã‚‚使用ã—ãŸå ´åˆã¯ã€ãã®å€¤ã¨é‡è¦æ€§ãŒãƒªã‚¯ã‚¨ã‚¹ãƒˆã«å«ã¾ã‚Œã‚‹ã‚‚ã®ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ +.LP +.LP +subjectKeyIdentifierエクステンションã¯å¸¸ã«ä½œæˆã•れã¾ã™ã€‚自己署åã§ãªã„証明書ã®å ´åˆã¯ã€authorityKeyIdentifierãŒå¸¸ã«ä½œæˆã•れã¾ã™ã€‚ +.LP +.LP +\f3注æ„:\fP ユーザーã¯ã€ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³(ãŠã‚ˆã³è¨¼æ˜Žæ›¸ã®ä»–ã®ãƒ•ィールド)ã®çµ„åˆã›ã«ã‚ˆã£ã¦ã¯ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆã®æ¨™æº–ã«æº–æ‹ ã—ãªã„å ´åˆãŒã‚ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。詳細ã¯ã€è¨¼æ˜Žæ›¸ã®æº–æ‹ ã«é–¢ã™ã‚‹æ³¨æ„事項をå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "コマンド" +.LP +.SS +キーストアã¸ã®ãƒ‡ãƒ¼ã‚¿ã®ä½œæˆã¾ãŸã¯è¿½åŠ  +.LP +.RS 3 +.TP 3 +\-gencert {\-rfc} {\-infile infile} {\-outfile outfile} {\-alias alias} {\-sigalg sigalg} {\-dname dname} {\-startdate startdate {\-ext ext}* {\-validity valDays} [\-keypass keypass] {\-keystore keystore} [\-storepass storepass] {\-storetype storetype} {\-providername provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +証明書リクエスト・ファイル(\f2keytool \-certreq\fPコマンドã§ä½œæˆå¯èƒ½)ã«å¯¾ã™ã‚‹ãƒ¬ã‚¹ãƒãƒ³ã‚¹ã¨ã—ã¦è¨¼æ˜Žæ›¸ã‚’生æˆã—ã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€\f2infile\fPã‹ã‚‰(çœç•¥ã—ãŸå ´åˆã¯ã€æ¨™æº–入力ã‹ã‚‰)リクエストを読ã¿è¾¼ã¿ã€åˆ¥åã®ç§˜å¯†éµã‚’使用ã—ã¦ãã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã«ç½²åã—ã¦ã€X.509証明書を\f2outfile\fPã«(çœç•¥ã—ãŸå ´åˆã¯ã€æ¨™æº–出力ã«)出力ã—ã¾ã™ã€‚\f2\-rfc\fPを指定ã—ãŸå ´åˆã€å‡ºåЛ形å¼ã¯BASE64符å·åŒ–ã®PEMã«ãªã‚Šã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€ãƒã‚¤ãƒŠãƒªDERãŒä½œæˆã•れã¾ã™ã€‚ +.LP +\f2sigalg\fPã«ã¯ã€è¨¼æ˜Žæ›¸ã«ç½²åを付ã‘ã‚‹ã¨ãã«ä½¿ç”¨ã™ã‚‹ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’指定ã—ã¾ã™ã€‚\f2startdate\fPã¯ã€è¨¼æ˜Žæ›¸ãŒæœ‰åйã«ãªã‚‹é–‹å§‹æ™‚刻/日付ã§ã™ã€‚\f2valDays\fPã«ã¯ã€è¨¼æ˜Žæ›¸ã®æœ‰åŠ¹æ—¥æ•°ã‚’æŒ‡å®šã—ã¾ã™ã€‚ +.LP +\f2dname\fPを指定ã™ã‚‹ã¨ã€ç”Ÿæˆã•れる証明書ã®ä¸»ä½“ã¨ã—ã¦ä½¿ç”¨ã•れã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€è¨¼æ˜Žæ›¸ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‹ã‚‰ã®åå‰ãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.LP +\f2ext\fPã¯ã€è¨¼æ˜Žæ›¸ã«åŸ‹ã‚è¾¼ã¾ã‚Œã‚‹X.509エクステンションを示ã—ã¾ã™ã€‚\f2\-ext\fPã®æ§‹æ–‡ã«ã¤ã„ã¦ã¯ã€ä¸€èˆ¬ã‚ªãƒ—ションをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +\f2\-gencert\fPコマンドを使用ã™ã‚‹ã¨ã€è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’作æˆã§ãã¾ã™ã€‚次ã®ä¾‹ã§ã¯ã€\f2e1\fPã¨ã„ã†è¨¼æ˜Žæ›¸ã‚’作æˆã—ã¾ã™ã€‚ã“ã®è¨¼æ˜Žæ›¸ã®è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã«ã¯ã€3ã¤ã®è¨¼æ˜Žæ›¸ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.LP +次ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€\f2ca\fPã€\f2ca1\fPã€\f2ca2\fPãŠã‚ˆã³\f2e1\fPã®4ã¤ã®éµãƒšã‚¢ã‚’作æˆã—ã¾ã™ã€‚ +.nf +\f3 +.fl +keytool \-alias ca \-dname CN=CA \-genkeypair +.fl +keytool \-alias ca1 \-dname CN=CA \-genkeypair +.fl +keytool \-alias ca2 \-dname CN=CA \-genkeypair +.fl +keytool \-alias e1 \-dname CN=E1 \-genkeypair +.fl +\fP +.fi +.LP +次ã®2ã¤ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ç½²å付ã証明書ã®ãƒã‚§ãƒ¼ãƒ³ã‚’作æˆã—ã¾ã™ã€‚\f2ca\fPã¯ca1ã«ç½²åã—ã€\f2ca1\fPã¯ca2ã«ç½²åã—ã¾ã™ã€‚ã™ã¹ã¦è‡ªå·±ç™ºè¡Œã§ã™ã€‚ +.nf +\f3 +.fl +keytool \-alias ca1 \-certreq | keytool \-alias ca \-gencert \-ext san=dns:ca1 | keytool \-alias ca1 \-importcert +.fl +keytool \-alias ca2 \-certreq | $KT \-alias ca1 \-gencert \-ext san=dns:ca2 | $KT \-alias ca2 \-importcert +.fl +\fP +.fi +.LP +次ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€è¨¼æ˜Žæ›¸\f2e1\fPを作æˆã—ã¦ãƒ•ァイル\f2e1.cert\fPã«æ ¼ç´ã—ã¾ã™ã€‚ã“ã®è¨¼æ˜Žæ›¸ã¯\f2ca2\fPã«ã‚ˆã£ã¦ç½²åã•れã¾ã™ã€‚ãã®çµæžœã€\f2e1\fPã®è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã«ã¯\f2ca\fPã€\f2ca1\fPãŠã‚ˆã³\f2ca2\fPãŒå«ã¾ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl +keytool \-alias e1 \-certreq | keytool \-alias ca2 \-gencert > e1.cert +.fl +\fP +.fi +.TP 3 +\-genkeypair {\-alias alias} {\-keyalg keyalg} {\-keysize keysize} {\-sigalg sigalg} [\-dname dname] [\-keypass keypass] {\-startdate value} {\-ext ext}* {\-validity valDays} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +éµã®ãƒšã‚¢(公開éµãŠã‚ˆã³é–¢é€£ã™ã‚‹ç§˜å¯†éµ)を生æˆã—ã¾ã™ã€‚公開éµã¯X.509 v3自己署å証明書ã§ãƒ©ãƒƒãƒ—ã•れã¾ã™ã€‚証明書ã¯ã€å˜ä¸€ã®è¦ç´ ã‚’æŒã¤è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã¨ã—ã¦æ ¼ç´ã•れã¾ã™ã€‚ã“ã®è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã¨ç§˜å¯†éµã¯ã€\f2alias\fPã§ç‰¹å®šã•れる新ã—ã„ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¨ãƒ³ãƒˆãƒªã«æ ¼ç´ã•れã¾ã™ã€‚ +.LP +\f2keyalg\fPã¯éµã®ãƒšã‚¢ã®ç”Ÿæˆã«ä½¿ç”¨ã™ã‚‹ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’ã€\f2keysize\fPã¯ç”Ÿæˆã™ã‚‹å„éµã®ã‚µã‚¤ã‚ºã‚’ã€ãれãžã‚ŒæŒ‡å®šã—ã¾ã™ã€‚\f2sigalg\fPã«ã¯ã€è‡ªå·±ç½²å証明書ã«ç½²åを付ã‘ã‚‹ã¨ãã«ä½¿ç”¨ã™ã‚‹ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’指定ã—ã¾ã™ã€‚ã“ã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã¯ã€\f2keyalg\fPã¨äº’æ›ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +\f2dname\fPã«ã¯ã€\f2alias\fPã«é–¢é€£ä»˜ã‘ã€è‡ªå·±ç½²å証明書ã®\f2issuer\fPフィールドã¨\f2subject\fPフィールドã¨ã—ã¦ä½¿ç”¨ã™ã‚‹X.500 識別åを指定ã—ã¾ã™ã€‚コマンドラインã§è­˜åˆ¥åを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€è­˜åˆ¥åã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.LP +\f2keypass\fPã«ã¯ã€ç”Ÿæˆã•れるéµã®ãƒšã‚¢ã®ã†ã¡ã€ç§˜å¯†éµã‚’ä¿è­·ã™ã‚‹ã®ã«ä½¿ç”¨ã™ã‚‹ãƒ‘スワードを指定ã—ã¾ã™ã€‚パスワードを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ã“ã®ã¨ãã€[Return]キーを押ã™ã¨ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードã¨åŒã˜ãƒ‘スワードãŒéµã®ãƒ‘スワードã«è¨­å®šã•れã¾ã™ã€‚\f2keypass\fPã¯ã€6文字以上ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +\f2startdate\fPã«ã¯ã€è¨¼æ˜Žæ›¸ã®ç™ºè¡Œæ™‚刻を指定ã—ã¾ã™ã€‚ã“れã¯ã€X.509証明書ã®ã€ŒValidityã€ãƒ•ィールドã®ã€ŒNot Beforeã€å€¤ã¨ã‚‚呼ã°ã‚Œã¾ã™ã€‚ +.LP +オプションã®å€¤ã¯ã€æ¬¡ã®2ã¤ã®å½¢å¼ã®ã„ãšã‚Œã‹ã§è¨­å®šã§ãã¾ã™ã€‚ +.RS 3 +.TP 3 +1. +([+\-]\f2nnn\fP[ymdHMS])+ +.TP 3 +2. +[yyyy/mm/dd] [HH:MM:SS] +.RE +.LP +最åˆã®å½¢å¼ã§ã¯ã€ç™ºè¡Œæ™‚刻ã¯ã€æŒ‡å®šã•れる値ã®åˆ†ã€ç¾åœ¨ã®æ™‚刻ã‹ã‚‰ç§»ã‚Šã¾ã™ã€‚指定ã•れる値ã¯ã€ä¸€é€£ã®ä¸‹ä½ã®å€¤ã‚’連çµã—ãŸã‚‚ã®ã«ãªã‚Šã¾ã™ã€‚下ä½ã®å„値ã§ã€ãƒ—ラス記å·(「+ã€)ã¯æ™‚é–“ãŒé€²ã‚€ã“ã¨ã‚’ã€ãƒžã‚¤ãƒŠã‚¹è¨˜å·(「\-ã€)ã¯æ™‚é–“ãŒæˆ»ã‚‹ã“ã¨ã‚’æ„味ã—ã¦ã„ã¾ã™ã€‚移る時間ã¯\f2nnn\fPã§ã€å˜ä½ã¯å¹´ã€æœˆã€æ—¥ã€æ™‚é–“ã€åˆ†ã¾ãŸã¯ç§’ã§ã™(ãれãžã‚Œã€1文字ã®ã€Œyã€ã€ã€Œmã€ã€ã€Œdã€ã€ã€ŒHã€ã€ã€ŒMã€ã¾ãŸã¯ã€ŒSã€ã§ç¤ºã•れã¦ã„ã¾ã™)。下ä½ã®å„値ã§\f2java.util.GregorianCalendar.add(int field,int amount)\fPメソッドを使用ã™ã‚‹ã“ã¨ã§ã€ç™ºè¡Œæ™‚刻ã®è¿½åŠ ã®å€¤ãŒå·¦ã‹ã‚‰å³ã¸è¨ˆç®—ã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2「\-startdate \-1y+1m\-1dã€\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€é–‹å§‹æ™‚åˆ»ã¯æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl + Calendar c = new GregorianCalendar(); +.fl + c.add(Calendar.YEAR, \-1); +.fl + c.add(Calendar.MONTH, 1); +.fl + c.add(Calendar.DATE, \-1); +.fl + return c.getTime() +.fl +\fP +.fi +.LP +2番目ã®å½¢å¼ã§ã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ã€å¹´/月/æ—¥ã¨æ™‚é–“:分:ç§’ã®2ã¤ã®éƒ¨åˆ†ã§å޳坆ãªé–‹å§‹æ™‚刻を設定ã—ã¾ã™(åœ°å…ƒã®æ™‚間帯を使用)。ユーザーã¯ã€1ã¤ã®éƒ¨åˆ†ã®ã¿ã‚’指定ã§ãã¾ã™ã€‚ã“れã¯ã€ã‚‚ã†1ã¤ã®éƒ¨åˆ†ã¯ç¾åœ¨ã®æ—¥ä»˜(ã¾ãŸã¯æ™‚刻)ã¨åŒã˜ã«ãªã‚‹ã¨ã„ã†ã“ã¨ã§ã™ã€‚ユーザーã¯ã€å½¢å¼ã®å®šç¾©ã«ç¤ºã•れã¦ã„るよã†ã«ã€æ¡æ•°ã‚’åŽ³å¯†ã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™(短ã„å ´åˆã¯0ã§åŸ‹ã‚ã¾ã™)ã€‚æ—¥ä»˜ã¨æ™‚刻ã®ä¸¡æ–¹ãŒæŒ‡å®šã•れãŸçŠ¶æ…‹ã§ã€2ã¤ã®éƒ¨åˆ†ã®é–“ã«ç©ºç™½æ–‡å­—ãŒ1ã¤(1ã¤ã®ã¿)ã‚りã¾ã™ã€‚時間ã¯å¸¸ã«24時間形å¼ã§æŒ‡å®šã—ã¦ãã ã•ã„。 +.LP +オプションを指定ã—ãªã„ã¨ã€é–‹å§‹æ—¥ä»˜ã¯ç¾åœ¨ã®æ™‚刻ã«ãªã‚Šã¾ã™ã€‚オプションã¯ã€æœ€å¤§ã§1回指定ã§ãã¾ã™ã€‚ +.LP +\f2valDays\fPã«ã¯ã€è¨¼æ˜Žæ›¸ã®æœ‰åŠ¹æ—¥æ•°ã‚’æŒ‡å®šã—ã¾ã™(\f2\-startdate\fPã§æŒ‡å®šã•ã‚ŒãŸæ—¥ä»˜ã€ã¾ãŸã¯\f2\-startdate\fPãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ç¾åœ¨ã®æ—¥ä»˜ã‹ã‚‰å§‹ã¾ã‚Šã¾ã™)。 +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ä»¥å‰ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯\f2\-genkey\fPã¨ã„ã†åå‰ã§ã—ãŸã€‚ã“ã®å¤ã„åå‰ã¯ã€ã“ã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚引続ãサãƒãƒ¼ãƒˆã•れã¦ãŠã‚Šã€ä»Šå¾Œã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚サãƒãƒ¼ãƒˆã•れる予定ã§ã™ã€‚ãŸã ã—ã€ä»Šå¾Œã¯ã‚ã‹ã‚Šã‚„ã™ã„よã†ã«ã€æ–°ã—ã„åå‰\f2\-genkeypair\fPを使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.TP 3 +\-genseckey {\-aliasalias} {\-keyalgkeyalg} {\-keysizekeysize} [\-keypasskeypass] {\-storetypestoretype} {\-keystorekeystore} [\-storepassstorepass] {\-providerClassprovider_class_name {\-providerArgprovider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +秘密éµã‚’生æˆã—ã€ãれを新ã—ã„\f2KeyStore.SecretKeyEntry\fP(\f2alias\fPã§ç‰¹å®šã•れる)å†…ã«æ ¼ç´ã—ã¾ã™ã€‚ +.LP +\f2keyalg\fPã¯ç§˜å¯†éµã®ç”Ÿæˆã«ä½¿ç”¨ã™ã‚‹ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’ã€\f2keysize\fPã¯ç”Ÿæˆã™ã‚‹éµã®ã‚µã‚¤ã‚ºã‚’ã€ãれãžã‚ŒæŒ‡å®šã—ã¾ã™ã€‚\f2keypass\fPã¯ç§˜å¯†éµã®ä¿è­·ã«ä½¿ç”¨ã™ã‚‹ãƒ‘スワードã§ã™ã€‚パスワードを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ã“ã®ã¨ãã€[Return]キーを押ã™ã¨ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードã¨åŒã˜ãƒ‘スワードãŒéµã®ãƒ‘スワードã«è¨­å®šã•れã¾ã™ã€‚\f2keypass\fPã¯ã€6文字以上ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-importcert {\-alias alias} {\-file cert_file} [\-keypass keypass] {\-noprompt} {\-trustcacerts} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +ファイル\f2cert_file\fPã‹ã‚‰è¨¼æ˜Žæ›¸ã¾ãŸã¯è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³(証明書ãƒã‚§ãƒ¼ãƒ³ã®å ´åˆã¯ã€PKCS#7å½¢å¼ã®å¿œç­”ã¾ãŸã¯ä¸€é€£ã®X.509è¨¼æ˜Žæ›¸ã§æä¾›ã•れるもã®)を読ã¿è¾¼ã¿ã€\f2alias\fPã«ã‚ˆã£ã¦ç‰¹å®šã•ã‚Œã‚‹ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¨ãƒ³ãƒˆãƒªã«æ ¼ç´ã—ã¾ã™ã€‚ãƒ•ã‚¡ã‚¤ãƒ«ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€æ¨™æº–入力ã‹ã‚‰è¨¼æ˜Žæ›¸ã¾ãŸã¯è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’読ã¿è¾¼ã¿ã¾ã™ã€‚ +.LP +\f3keytool\fPã§ã¯ã€X.509 v1ã€v2ã€v3ã®è¨¼æ˜Žæ›¸ã€ãŠã‚ˆã³PKCS#7å½¢å¼ã®è¨¼æ˜Žæ›¸ã‹ã‚‰æ§‹æˆã•れã¦ã„ã‚‹PKCS#7å½¢å¼ã®è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’インãƒãƒ¼ãƒˆã§ãã¾ã™ã€‚インãƒãƒ¼ãƒˆã™ã‚‹ãƒ‡ãƒ¼ã‚¿ã¯ã€ãƒã‚¤ãƒŠãƒªç¬¦å·åŒ–æ–¹å¼ã€ã¾ãŸã¯å‡ºåŠ›å¯èƒ½ç¬¦å·åŒ–æ–¹å¼(Base64符å·åŒ–ã¨ã‚‚呼ã°ã‚Œã‚‹)ã®ã©ã¡ã‚‰ã‹ã§æä¾›ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚出力å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã¯ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆRFC 1421証明書符å·åŒ–è¦æ ¼ã§å®šç¾©ã•れã¦ã„ã¾ã™ã€‚ã“ã®ç¬¦å·åŒ–æ–¹å¼ã®å ´åˆã€è¨¼æ˜Žæ›¸ã¯ã€Œ\-\-\-\-\-BEGINã€ã§å§‹ã¾ã‚‹æ–‡å­—列ã§é–‹å§‹ã•れã€ã€Œ\-\-\-\-\-ENDã€ã§å§‹ã¾ã‚‹æ–‡å­—列ã§çµ‚了ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +証明書ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆã«ã¯ã€æ¬¡ã®2ã¤ã®ç›®çš„ãŒã‚りã¾ã™ã€‚ +.RS 3 +.TP 3 +1. +ä¿¡é ¼ã§ãる証明書ã®ãƒªã‚¹ãƒˆã«è¨¼æ˜Žæ›¸ã‚’追加ã—ã¾ã™ã€‚ +.TP 3 +2. +CAã«è¨¼æ˜Žæ›¸ç½²åリクエスト(\-certreqコマンドをå‚ç…§)ã‚’é€ä¿¡ã—ãŸçµæžœã¨ã—ã¦ã€CAã‹ã‚‰å—ã‘å–ã£ãŸè¨¼æ˜Žå¿œç­”をインãƒãƒ¼ãƒˆã—ã¾ã™ã€‚ +.RE +.LP +ã©ã¡ã‚‰ã®ã‚¿ã‚¤ãƒ—ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆã‚’行ã†ã‹ã¯ã€\f2\-alias\fPオプションã®å€¤ã«ã‚ˆã£ã¦æŒ‡å®šã—ã¾ã™ã€‚ +.RS 3 +.TP 3 +1. +\f3別åãŒã‚­ãƒ¼ãƒ»ã‚¨ãƒ³ãƒˆãƒªã‚’ãƒã‚¤ãƒ³ãƒˆã—ãªã„å ´åˆ\fPã€\f3keytool\fPã¯ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒä¿¡é ¼ã§ãる証明書エントリを追加ã—よã†ã¨ã—ã¦ã„ã‚‹ã‚‚ã®ã¨è¦‹ãªã—ã¾ã™ã€‚ã“ã®å ´åˆã€åˆ¥åãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«å­˜åœ¨ã—ã¦ã„ãªã„ã“ã¨ãŒå¿…è¦ã§ã™ã€‚別åãŒã™ã§ã«å­˜åœ¨ã—ã¦ã„ã‚‹å ´åˆã€ãã®åˆ¥åã®ä¿¡é ¼ã§ãる証明書ãŒã™ã§ã«å­˜åœ¨ã™ã‚‹ã“ã¨ã«ãªã‚‹ã®ã§ã€\f3keytool\fPã¯ã‚¨ãƒ©ãƒ¼ã‚’出力ã—ã€è¨¼æ˜Žæ›¸ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆã‚’行ã„ã¾ã›ã‚“。 +.TP 3 +2. +\f3別åãŒã‚­ãƒ¼ãƒ»ã‚¨ãƒ³ãƒˆãƒªã‚’ãƒã‚¤ãƒ³ãƒˆã™ã‚‹å ´åˆ\fPã€\f3keytool\fPã¯ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒè¨¼æ˜Žæ›¸å¿œç­”をインãƒãƒ¼ãƒˆã—よã†ã¨ã—ã¦ã„ã‚‹ã‚‚ã®ã¨è¦‹ãªã—ã¾ã™ã€‚ +.RE +\f3æ–°ã—ã„ä¿¡é ¼ã§ãる証明書ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆ\fP +.LP +\f3keytool\fPã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«è¨¼æ˜Žæ›¸ã‚’追加ã™ã‚‹å‰ã«ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«ã™ã§ã«å­˜åœ¨ã™ã‚‹ä¿¡é ¼ã§ãる証明書を使用ã—ã¦ã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆã™ã‚‹è¨¼æ˜Žæ›¸ã‹ã‚‰(ルートCAã®)自己署å証明書ã«è‡³ã‚‹ã¾ã§ã®ä¿¡é ¼ã®ãƒã‚§ãƒ¼ãƒ³ã®æ§‹ç¯‰ã‚’試ã¿ã¾ã™ã€‚ +.LP +\f2\-trustcacerts\fPオプションを指定ã—ãŸå ´åˆã€è¿½åŠ ã®è¨¼æ˜Žæ›¸ã¯ä¿¡é ¼ã§ãã‚‹ã™ãªã‚ã¡cacertsã¨ã„ã†åå‰ã®ãƒ•ァイルã«å«ã¾ã‚Œã‚‹è¨¼æ˜Žæ›¸ã®ãƒã‚§ãƒ¼ãƒ³ã¨è¦‹ãªã•れã¾ã™ã€‚ +.LP +\f3keytool\fPãŒã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆã™ã‚‹è¨¼æ˜Žæ›¸ã‹ã‚‰è‡ªå·±ç½²å証明書(キーストアã¾ãŸã¯cacertsファイルã«å«ã¾ã‚Œã¦ã„る自己署å証明書)ã«è‡³ã‚‹ã¾ã§ã®ä¿¡é ¼ã®ãƒ‘ã‚¹ã®æ§‹ç¯‰ã«å¤±æ•—ã—ãŸå ´åˆã¯ã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆã™ã‚‹è¨¼æ˜Žæ›¸ã®æƒ…報を表示ã—ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«ç¢ºèªã‚’求ã‚ã¾ã™ã€‚ã“ã®å ´åˆã¯ã€è¡¨ç¤ºã•れãŸè¨¼æ˜Žæ›¸ã®ãƒ•ィンガープリントã¨ã€ä»–ã®ãªã‚“らã‹ã®(ä¿¡é ¼ã§ãã‚‹)情報æº(è¨¼æ˜Žæ›¸ã®æ‰€æœ‰è€…本人ãªã©)ã‹ã‚‰å…¥æ‰‹ã—ãŸãƒ•ィンガープリントã¨ã‚’比較ã—ã¾ã™ã€‚「信頼ã§ãる証明書ã€ã¨ã—ã¦è¨¼æ˜Žæ›¸ã‚’インãƒãƒ¼ãƒˆã™ã‚‹ã¨ãã¯ã€è¨¼æ˜Žæ›¸ãŒæœ‰åйã§ã‚ã‚‹ã“ã¨ã‚’æ…Žé‡ã«ç¢ºèªã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚詳細ã¯ã€ä¿¡é ¼ã§ãる証明書ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆã«é–¢ã™ã‚‹æ³¨æ„事項をå‚ç…§ã—ã¦ãã ã•ã„。インãƒãƒ¼ãƒˆæ“作ã¯ã€è¨¼æ˜Žæ›¸ã‚’確èªã™ã‚‹æ™‚点ã§ä¸­æ­¢ã§ãã¾ã™ã€‚ãŸã ã—ã€\f2\-noprompt\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¨ã®å¯¾è©±ã¯è¡Œã‚れã¾ã›ã‚“。 +\f3証明書応答ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆ\fP +.LP +「証明応答ã€ã‚’インãƒãƒ¼ãƒˆã™ã‚‹ã¨ãã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®ä¿¡é ¼ã§ãる証明書ã€ãŠã‚ˆã³(\f2\-trustcacerts\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯)cacertsã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã§æ§‹æˆã•れãŸè¨¼æ˜Žæ›¸ã‚’使用ã—ã¦è¨¼æ˜Žå¿œç­”ãŒæ¤œæŸ»ã•れã¾ã™ã€‚ +.LP +証明書応答ãŒä¿¡é ¼ã§ãã‚‹ã‹ã©ã†ã‹ã‚’決定ã™ã‚‹æ–¹æ³•ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.RS 3 +.TP 2 +o +\f3証明応答ãŒå˜ä¸€ã®X.509証明書ã§ã‚ã‚‹å ´åˆ\fPã€\f3keytool\fPã¯ã€è¨¼æ˜Žå¿œç­”ã‹ã‚‰(ルートCAã®)自己署å証明書ã«è‡³ã‚‹ã¾ã§ã®ä¿¡é ¼ãƒã‚§ãƒ¼ãƒ³ã®ç¢ºç«‹ã‚’試ã¿ã¾ã™ã€‚証明応答ã¨ã€è¨¼æ˜Žå¿œç­”ã®èªè¨¼ã«ä½¿ç”¨ã•れる証明書ã®éšŽå±¤æ§‹é€ ã¯ã€\f2alias\fPã®æ–°ã—ã„証明書ãƒã‚§ãƒ¼ãƒ³ã‚’å½¢æˆã—ã¾ã™ã€‚ä¿¡é ¼ãƒã‚§ãƒ¼ãƒ³ãŒç¢ºç«‹ã•れãªã„å ´åˆã€è¨¼æ˜Žå¿œç­”ã¯ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れã¾ã›ã‚“。ã“ã®å ´åˆã€\f3keytool\fPã¯è¨¼æ˜Žæ›¸ã‚’出力ã›ãšã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«æ¤œè¨¼ã‚’求ã‚るプロンプトを表示ã—ã¾ã™ã€‚ユーザーãŒè¨¼æ˜Žå¿œç­”ã®ä¿¡é ¼æ€§ã‚’判断ã™ã‚‹ã®ã¯ã€ä¸å¯èƒ½ã§ã¯ãªãã¦ã‚‚éžå¸¸ã«å›°é›£ã ã‹ã‚‰ã§ã™ã€‚ +.TP 2 +o +\f3証明応答ãŒPKCS#7å½¢å¼ã®è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã¾ãŸã¯ä¸€é€£ã®X.509証明書ã§ã‚ã‚‹å ´åˆ\fPã€ãƒã‚§ãƒ¼ãƒ³ã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®è¨¼æ˜Žæ›¸ãŒæœ€åˆã«ã€0以上ã®CA証明書ãŒãã®æ¬¡ã«ãるよã†ã«ä¸¦ã¹ã‚‰ã‚Œã¾ã™ã€‚ãƒã‚§ãƒ¼ãƒ³ãŒè‡ªå·±ç½²åã®ãƒ«ãƒ¼ãƒˆCA証明書ã§çµ‚ã‚りã€\f2\-trustcacerts\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€\f3keytool\fPã¯ã€ãã®è¨¼æ˜Žæ›¸ã¨ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã¾ãŸã¯ã€Œcacertsã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ãƒ•ァイル内ã®ä¿¡é ¼ã§ãã‚‹ã™ã¹ã¦ã®è¨¼æ˜Žæ›¸ã‚’ç…§åˆã—よã†ã¨ã—ã¾ã™ã€‚ãƒã‚§ãƒ¼ãƒ³ãŒè‡ªå·±ç½²åã®ãƒ«ãƒ¼ãƒˆCA証明書ã§çµ‚ã‚ã£ã¦ãŠã‚‰ãšã€\f2\-trustcacerts\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€\f3keytool\fPã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã¾ãŸã¯ã€Œcacertsã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ãƒ•ァイル内ã®ä¿¡é ¼ã§ãる証明書ã‹ã‚‰è‡ªå·±ç½²åã®ãƒ«ãƒ¼ãƒˆCA証明書を見ã¤ã‘ã¦ãれをãƒã‚§ãƒ¼ãƒ³ã®æœ«å°¾ã«è¿½åŠ ã—よã†ã¨ã—ã¾ã™ã€‚ãã®è¨¼æ˜Žæ›¸ãŒè¦‹ã¤ã‹ã‚‰ãšã€\f2\-noprompt\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ãƒã‚§ãƒ¼ãƒ³å†…ã®æœ€å¾Œã®è¨¼æ˜Žæ›¸ã®æƒ…å ±ãŒå‡ºåŠ›ã•れã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ç¢ºèªã‚’求ã‚られã¾ã™ã€‚ +.RE +.LP +証明書応答内ã®å…¬é–‹éµãŒ\f2alias\fPã®ä¸‹ã«ã™ã§ã«æ ¼ç´ã•れã¦ã„るユーザーã®å…¬é–‹éµã«ä¸€è‡´ã—ãŸå ´åˆã€å¤ã„証明書ãƒã‚§ãƒ¼ãƒ³ãŒå¿œç­”å†…ã®æ–°ã—ã„証明書ãƒã‚§ãƒ¼ãƒ³ã§ç½®ãæ›ãˆã‚‰ã‚Œã¾ã™ã€‚以å‰ã®è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’æ–°ã—ã„証明書ãƒã‚§ãƒ¼ãƒ³ã§ç½®ãæ›ãˆã‚‹ã“ã¨ãŒã§ãã‚‹ã®ã¯ã€æœ‰åйãª\f2keypass\fPã€ã¤ã¾ã‚Šè©²å½“ã™ã‚‹ã‚¨ãƒ³ãƒˆãƒªã®ç§˜å¯†éµã‚’ä¿è­·ã™ã‚‹ãŸã‚ã®ãƒ‘スワードを指定ã—ãŸå ´åˆã®ã¿ã§ã™ã€‚パスワードを指定ã—ã¦ãŠã‚‰ãšã€ç§˜å¯†éµã®ãƒ‘スワードãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードã¨ç•°ãªã‚‹å ´åˆã¯ã€ç§˜å¯†éµã®ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ä»¥å‰ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯\f2\-import\fPã¨ã„ã†åå‰ã§ã—ãŸã€‚ã“ã®å¤ã„åå‰ã¯ã€ã“ã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚引続ãサãƒãƒ¼ãƒˆã•れã¦ãŠã‚Šã€ä»Šå¾Œã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚サãƒãƒ¼ãƒˆã•れる予定ã§ã™ã€‚ãŸã ã—ã€ä»Šå¾Œã¯ã‚ã‹ã‚Šã‚„ã™ã„よã†ã«ã€æ–°ã—ã„åå‰\f2\-importcert\fPを使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.TP 3 +\-importkeystore \-srckeystore srckeystore \-destkeystore destkeystore {\-srcstoretype srcstoretype} {\-deststoretype deststoretype} [\-srcstorepass srcstorepass] [\-deststorepass deststorepass] {\-srcprotected} {\-destprotected} {\-srcalias srcalias {\-destalias destalias} [\-srckeypass srckeypass] [\-destkeypass destkeypass] } {\-noprompt} {\-srcProviderName src_provider_name} {\-destProviderName dest_provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +ソース・キーストアã‹ã‚‰ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã¸ã€å˜ä¸€ã®ã‚¨ãƒ³ãƒˆãƒªã¾ãŸã¯ã™ã¹ã¦ã®ã‚¨ãƒ³ãƒˆãƒªã‚’インãƒãƒ¼ãƒˆã—ã¾ã™ã€‚ +.LP +\f2srcalias\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れãŸå ´åˆã€ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ãã®åˆ¥åã§ç‰¹å®šã•れるå˜ä¸€ã®ã‚¨ãƒ³ãƒˆãƒªã‚’ターゲット・キーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã—ã¾ã™ã€‚\f2destalias\fP経由ã§ã‚¿ãƒ¼ã‚²ãƒƒãƒˆåˆ¥åãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã€\f2srcalias\fPãŒã‚¿ãƒ¼ã‚²ãƒƒãƒˆåˆ¥åã¨ã—ã¦ä½¿ç”¨ã•れã¾ã™ã€‚ソースã®ã‚¨ãƒ³ãƒˆãƒªãŒãƒ‘スワードã§ä¿è­·ã•れã¦ã„ãŸå ´åˆã€\f2srckeypass\fPを使用ã—ã¦ãã®ã‚¨ãƒ³ãƒˆãƒªãŒå›žå¾©ã•れã¾ã™ã€‚\f2srckeypass\fPãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã€\f3keytool\fPã¯\f2srcstorepass\fPを使用ã—ã¦ãã®ã‚¨ãƒ³ãƒˆãƒªã‚’回復ã—よã†ã¨ã—ã¾ã™ã€‚\f2srcstorepass\fPãŒæŒ‡å®šã•れãªã‹ã£ãŸã‹æ­£ã—ããªã‹ã£ãŸå ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ターゲット・エントリã¯\f2destkeypass\fPã«ã‚ˆã£ã¦ä¿è­·ã•れã¾ã™ã€‚\f2destkeypass\fPãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚¨ãƒ³ãƒˆãƒªã¯ã‚½ãƒ¼ã‚¹ãƒ»ã‚¨ãƒ³ãƒˆãƒªã®ãƒ‘スワードã«ã‚ˆã£ã¦ä¿è­·ã•れã¾ã™ã€‚ +.LP +\f2srcalias\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®ã™ã¹ã¦ã®ã‚¨ãƒ³ãƒˆãƒªãŒã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れã¾ã™ã€‚å„ターゲット・エントリã¯å¯¾å¿œã™ã‚‹ã‚½ãƒ¼ã‚¹ãƒ»ã‚¨ãƒ³ãƒˆãƒªã®åˆ¥åã®ä¸‹ã«æ ¼ç´ã•れã¾ã™ã€‚ソースã®ã‚¨ãƒ³ãƒˆãƒªãŒãƒ‘スワードã§ä¿è­·ã•れã¦ã„ãŸå ´åˆã€\f2srcstorepass\fPを使用ã—ã¦ãã®ã‚¨ãƒ³ãƒˆãƒªãŒå›žå¾©ã•れã¾ã™ã€‚\f2srcstorepass\fPãŒæŒ‡å®šã•れãªã‹ã£ãŸã‹æ­£ã—ããªã‹ã£ãŸå ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ソース・キーストア内ã®ã‚るエントリ・タイプãŒã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã§ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ãªã„å ´åˆã‚„ã€ã‚ã‚‹ã‚¨ãƒ³ãƒˆãƒªã‚’ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«æ ¼ç´ã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ãŸå ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ãã®ã‚¨ãƒ³ãƒˆãƒªã‚’スキップã—ã¦å‡¦ç†ã‚’続行ã™ã‚‹ã‹ã€ã‚ã‚‹ã„ã¯å‡¦ç†ã‚’中断ã™ã‚‹ã‹ã®é¸æŠžã‚’求ã‚られã¾ã™ã€‚ターゲット・エントリã¯ã‚½ãƒ¼ã‚¹ãƒ»ã‚¨ãƒ³ãƒˆãƒªã®ãƒ‘スワードã«ã‚ˆã£ã¦ä¿è­·ã•れã¾ã™ã€‚ +.LP +ターゲット別åãŒã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«ã™ã§ã«å­˜åœ¨ã—ã¦ã„ãŸå ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ã€ãã®ã‚¨ãƒ³ãƒˆãƒªã‚’上書ãã™ã‚‹ã‹ã€ã‚ã‚‹ã„ã¯ç•°ãªã‚‹åˆ¥åã®ä¸‹ã§æ–°ã—ã„エントリを作æˆã™ã‚‹ã‹ã®é¸æŠžã‚’求ã‚られã¾ã™ã€‚ +.LP +\f2\-noprompt\fPを指定ã—ãŸå ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯æ–°ã—ã„ターゲット別åã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã›ã‚“。既存ã®ã‚¨ãƒ³ãƒˆãƒªã¯ãã®ã‚¿ãƒ¼ã‚²ãƒƒãƒˆåˆ¥åã§è‡ªå‹•çš„ã«ä¸Šæ›¸ãã•れã¾ã™ã€‚最後ã«ã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆã§ããªã„エントリã¯è‡ªå‹•çš„ã«ã‚¹ã‚­ãƒƒãƒ—ã•れã€è­¦å‘ŠãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.TP 3 +\-printcertreq {\-file file} +.LP +PKCS#10å½¢å¼ã®è¨¼æ˜Žæ›¸ãƒªã‚¯ã‚¨ã‚¹ãƒˆã®å†…容を出力ã—ã¾ã™ã€‚ã“ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã¯ã€keytool \-certreqコマンドã§ç”Ÿæˆã§ãã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€fileã‹ã‚‰ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’読ã¿è¾¼ã¿ã¾ã™ã€‚fileãŒçœç•¥ã•れã¦ã„ã‚‹å ´åˆã¯ã€æ¨™æº–入力ã‹ã‚‰èª­ã¿è¾¼ã¿ã¾ã™ã€‚ +.RE + +.LP +.SS +データã®ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆ +.LP +.RS 3 +.TP 3 +\-certreq {\-alias alias} {\-dname dname} {\-sigalg sigalg} {\-file certreq_file} [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +PKCS#10å½¢å¼ã‚’使用ã—ã¦è¨¼æ˜Žæ›¸ç½²åリクエスト(CSR)を生æˆã—ã¾ã™ã€‚ +.LP +CSRã¯ã€è¨¼æ˜Žæ›¸ç™ºè¡Œå±€(CA)ã«é€ä¿¡ã™ã‚‹ã“ã¨ã‚’目的ã¨ã—ãŸã‚‚ã®ã§ã™ã€‚CAã¯ã€è¨¼æ˜Žæ›¸è¦æ±‚者を(通常ã¯ã‚ªãƒ•ラインã§)èªè¨¼ã—ã€è¨¼æ˜Žæ›¸ã¾ãŸã¯è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’é€ã‚Šè¿”ã—ã¾ã™ã€‚ã“ã®è¨¼æ˜Žæ›¸ã¾ãŸã¯è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®æ—¢å­˜ã®è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³(最åˆã¯1ã¤ã®è‡ªå·±ç½²å証明書ã‹ã‚‰æ§‹æˆã•れる)ã«ç½®ãæ›ãˆã¦ä½¿ç”¨ã—ã¾ã™ã€‚ +.LP +\f2alias\fPã«é–¢é€£ä»˜ã‘られãŸç§˜å¯†éµã¯ã€PKCS#10証明書リクエストを作æˆã™ã‚‹ã®ã«ä½¿ç”¨ã•れã¾ã™ã€‚秘密éµã¯ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã§ã¯ãƒ‘スワードã«ã‚ˆã£ã¦ä¿è­·ã•れã¦ã„ã‚‹ã®ã§ã€ç§˜å¯†éµã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã«ã¯ã€é©åˆ‡ãªãƒ‘スワードをæä¾›ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚コマンドラインã§\f2keypass\fPを指定ã—ã¦ãŠã‚‰ãšã€ç§˜å¯†éµã®ãƒ‘スワードãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードã¨ç•°ãªã‚‹å ´åˆã¯ã€ç§˜å¯†éµã®ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚dnameãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€ãれãŒCSRã§ä¸»ä½“ã¨ã—ã¦ä½¿ç”¨ã•れã¾ã™ã€‚ãれ以外ã®å ´åˆã¯ã€åˆ¥åã«é–¢é€£ä»˜ã‘られãŸX.500識別åãŒä½¿ç”¨ã•れã¾ã™ã€‚ +.LP +\f2sigalg\fPã«ã¯ã€CSRã«ç½²åを付ã‘ã‚‹ã¨ãã«ä½¿ç”¨ã™ã‚‹ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’指定ã—ã¾ã™ã€‚ +.LP +CSRã¯ã€ãƒ•ァイル\f2certreq_file\fPã«æ ¼ç´ã•れã¾ã™ã€‚ãƒ•ã‚¡ã‚¤ãƒ«ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€æ¨™æº–出力ã«CSRãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.LP +CAã‹ã‚‰ã®ãƒ¬ã‚¹ãƒãƒ³ã‚¹ã‚’インãƒãƒ¼ãƒˆã™ã‚‹ã«ã¯ã€\f2importcert\fPコマンドを使用ã—ã¾ã™ã€‚ +.TP 3 +\-exportcert {\-alias alias} {\-file cert_file} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-rfc} {\-v} {\-protected} {\-Jjavaoption} +.LP +\f2alias\fPã«é–¢é€£ä»˜ã‘られãŸè¨¼æ˜Žæ›¸ã‚’(キーストアã‹ã‚‰)読ã¿è¾¼ã¿ã€ãƒ•ァイル\f2cert_file\fPã«æ ¼ç´ã—ã¾ã™ã€‚ +.LP +ãƒ•ã‚¡ã‚¤ãƒ«ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€æ¨™æº–出力ã«è¨¼æ˜Žæ›¸ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.LP +デフォルトã§ã¯ã€ãƒã‚¤ãƒŠãƒªç¬¦å·åŒ–æ–¹å¼ã®è¨¼æ˜Žæ›¸ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ãŸã ã—ã€\f2\-rfc\fPオプションを指定ã—ãŸå ´åˆã¯ã€å‡ºåŠ›å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã®è¨¼æ˜Žæ›¸ãŒå‡ºåŠ›ã•れã¾ã™ã€‚出力å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã¯ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆRFC 1421証明書符å·åŒ–è¦æ ¼ã§å®šç¾©ã•れã¦ã„ã¾ã™ã€‚ +.LP +\f2alias\fPãŒã€ä¿¡é ¼ã§ãる証明書をå‚ç…§ã—ã¦ã„ã‚‹å ´åˆã¯ã€è©²å½“ã™ã‚‹è¨¼æ˜Žæ›¸ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ãれ以外ã®å ´åˆã€\f2alias\fPã¯ã€é–¢é€£ä»˜ã‘られãŸè¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’æŒã¤éµã‚¨ãƒ³ãƒˆãƒªã‚’å‚ç…§ã—ã¾ã™ã€‚ã“ã®å ´åˆã¯ã€ãƒã‚§ãƒ¼ãƒ³å†…ã®æœ€åˆã®è¨¼æ˜Žæ›¸ãŒè¿”ã•れã¾ã™ã€‚ã“ã®è¨¼æ˜Žæ›¸ã¯ã€\f2alias\fPã«ã‚ˆã£ã¦è¡¨ã•れるエンティティã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ã§ã™ã€‚ +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ä»¥å‰ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯\f2\-export\fPã¨ã„ã†åå‰ã§ã—ãŸã€‚ã“ã®å¤ã„åå‰ã¯ã€ã“ã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚引続ãサãƒãƒ¼ãƒˆã•れã¦ãŠã‚Šã€ä»Šå¾Œã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚サãƒãƒ¼ãƒˆã•れる予定ã§ã™ã€‚ãŸã ã—ã€ä»Šå¾Œã¯ã‚ã‹ã‚Šã‚„ã™ã„よã†ã«ã€æ–°ã—ã„åå‰\f2\-exportcert\fPを使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.RE + +.LP +.SS +データã®è¡¨ç¤º +.LP +.RS 3 +.TP 3 +\-list {\-alias alias} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v | \-rfc} {\-protected} {\-Jjavaoption} +.LP +\f2alias\fPã§ç‰¹å®šã•れるキーストア・エントリã®å†…容を(標準出力ã«)出力ã—ã¾ã™ã€‚別åãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å…¨ä½“ã®å†…容ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ãƒ‡ãƒ•ォルトã§ã¯è¨¼æ˜Žæ›¸ã®SHA1フィンガープリントを表示ã—ã¾ã™ã€‚\f2\-v\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€æ‰€æœ‰è€…ã€ç™ºè¡Œè€…ã€ã‚·ãƒªã‚¢ãƒ«ç•ªå·ã€æ‹¡å¼µæ©Ÿèƒ½ãªã©ã®ä»˜åŠ çš„ãªæƒ…å ±ã¨ã¨ã‚‚ã«ã€äººé–“ãŒèª­ã‚€ã“ã¨ã®ã§ãã‚‹å½¢å¼ã§è¨¼æ˜Žæ›¸ãŒè¡¨ç¤ºã•れã¾ã™ã€‚\f2\-rfc\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã¯ã€å‡ºåŠ›å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã§è¨¼æ˜Žæ›¸ã®å†…容ãŒè¡¨ç¤ºã•れã¾ã™ã€‚出力å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã¯ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆRFC 1421証明書符å·åŒ–è¦æ ¼ã§å®šç¾©ã•れã¦ã„ã¾ã™ã€‚ +.LP +\f2\-v\fPオプションã¨\f2\-rfc\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’åŒæ™‚ã«æŒ‡å®šã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。 +.TP 3 +\-printcert {\-file cert_file | \-sslserver host[:port]} {\-jarfile JAR_file {\-rfc} {\-v} {\-Jjavaoption} +.LP +ファイル\f2cert_file\fPã€\f2host:port\fPã«ã‚ã‚‹SSLサーãƒãƒ¼ã€ã¾ãŸã¯ç½²å付ãJARファイル\f2JAR_file\fP(\f2\-jarfile\fPオプションを指定)ã‹ã‚‰è¨¼æ˜Žæ›¸ã‚’読ã¿è¾¼ã¿ã€äººé–“ãŒèª­ã‚€ã“ã¨ã®ã§ãã‚‹å½¢å¼ã§è¨¼æ˜Žæ›¸ã®å†…容を表示ã—ã¾ã™ã€‚ãƒãƒ¼ãƒˆãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€æ¨™æº–ã®HTTPSãƒãƒ¼ãƒˆ443ãŒæƒ³å®šã•れã¾ã™ã€‚\f2\-sslserver\fPãŠã‚ˆã³\f2\-file\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’åŒæ™‚ã«æŒ‡å®šã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ã€‚åŒæ™‚ã«æŒ‡å®šã™ã‚‹ã¨ã€ã‚¨ãƒ©ãƒ¼ãŒå ±å‘Šã•れã¾ã™ã€‚ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€æ¨™æº–入力ã‹ã‚‰è¨¼æ˜Žæ›¸ã‚’読ã¿è¾¼ã¿ã¾ã™ã€‚ +.LP +\f2\-rfc\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€keytoolã¯ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆRFC 1421標準ã§å®šç¾©ã•れã¦ã„るよã†ã«ã€PEMモードã§è¨¼æ˜Žæ›¸ã‚’出力ã—ã¾ã™ã€‚ +.LP +ファイルã¾ãŸã¯æ¨™æº–入力ã‹ã‚‰è¨¼æ˜Žæ›¸ã‚’読ã¿è¾¼ã‚€å ´åˆã€ãã®è¨¼æ˜Žæ›¸ã¯ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆRFC 1421標準ã§å®šç¾©ã•れã¦ã„るよã†ã«ã€ãƒã‚¤ãƒŠãƒªç¬¦å·åŒ–æ–¹å¼ã¾ãŸã¯å‡ºåŠ›å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã§è¡¨ç¤ºã§ãã¾ã™ã€‚ +.LP +SSLサーãƒãƒ¼ãŒãƒ•ァイアウォールã®èƒŒå¾Œã«ã‚ã‚‹å ´åˆã¯ã€\f2\-J\-Dhttps.proxyHost=proxyhost\fPã¨\f2\-J\-Dhttps.proxyPort=proxyport\fPã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ã¦ã€ãƒ—ロキシ・トンãƒãƒªãƒ³ã‚°ã‚’使用ã§ãã¾ã™ã€‚詳細ã¯ã€ +.na +\f2JSSEリファレンス・ガイド\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +\f3注æ„\fP: ã“ã®ã‚ªãƒ—ションã¯ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã¨ã¯é–¢ä¿‚ãªã使用ã§ãã¾ã™ã€‚ +.TP 3 +\-printcrl \-file crl_ {\-v} +.LP +ファイル\f2crl_file\fPã‹ã‚‰è¨¼æ˜Žæ›¸ã®å–消ã—リスト(CRL)を読ã¿è¾¼ã¿ã¾ã™ã€‚ +.LP +証明書ã®å–消ã—リスト(CRL)ã¯ã€ãƒ‡ã‚¸ã‚¿ãƒ«è¨¼æ˜Žæ›¸ã‚’発行ã—ãŸè¨¼æ˜Žæ›¸ç™ºè¡Œå±€(CA)ã«ã‚ˆã£ã¦å–り消ã•れãŸãƒ‡ã‚¸ã‚¿ãƒ«è¨¼æ˜Žæ›¸ã®ãƒªã‚¹ãƒˆã§ã™ã€‚CAã¯ã€\f2crl_file\fPを生æˆã—ã¾ã™ã€‚ +.LP +\f3注æ„\fP: ã“ã®ã‚ªãƒ—ションã¯ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã¨ã¯é–¢ä¿‚ãªã使用ã§ãã¾ã™ã€‚ +.RE + +.LP +.SS +キーストアã®ç®¡ç† +.LP +.RS 3 +.TP 3 +\-storepasswd [\-new new_storepass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-Jjavaoption} +.LP +キーストアã®å†…å®¹ã®æ•´åˆæ€§ã‚’ä¿è­·ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã™ã‚‹ãƒ‘スワードを変更ã—ã¾ã™ã€‚\f2new_storepass\fPã«ã¯ã€æ–°ã—ã„パスワードを指定ã—ã¾ã™ã€‚new_storepassã¯ã€6文字以上ã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-keypasswd {\-alias alias} [\-keypass old_keypass] [\-new new_keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-Jjavaoption} +.LP +\f2alias\fPã«ã‚ˆã£ã¦ç‰¹å®šã•れるéžå…¬é–‹/秘密éµã‚’ä¿è­·ã™ã‚‹ãŸã‚ã®ãƒ‘スワードをã€\f2old_keypass\fPã‹ã‚‰\f2new_keypass\fPã«å¤‰æ›´ã—ã¾ã™ã€‚new_keypassã¯ã€6文字以上ã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +コマンドラインã§\f2\-keypass\fPオプションを指定ã—ã¦ãŠã‚‰ãšã€éµã®ãƒ‘スワードãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードã¨ç•°ãªã‚‹å ´åˆã¯ã€éµã®ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.LP +コマンドラインã§\f2\-new\fPオプションを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€æ–°ã—ã„パスワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.TP 3 +\-delete [\-alias alias] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +\f2alias\fPã«ã‚ˆã£ã¦ç‰¹å®šã•れるエントリをキーストアã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚コマンドラインã§åˆ¥åを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€åˆ¥åã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.TP 3 +\-changealias {\-alias alias} [\-destalias destalias] [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +指定ã•れãŸ\f2alias\fPã‹ã‚‰æ–°ã—ã„別å\f2destalias\fPã¸ã€æ—¢å­˜ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¨ãƒ³ãƒˆãƒªã‚’移動ã—ã¾ã™ã€‚ターゲット別åãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã€ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ãã®å…¥åŠ›ã‚’æ±‚ã‚ã¾ã™ã€‚å…ƒã®ã‚¨ãƒ³ãƒˆãƒªãŒã‚¨ãƒ³ãƒˆãƒªãƒ»ãƒ‘スワードã§ä¿è­·ã•れã¦ã„ãŸå ´åˆã€ã€Œ\-keypassã€ã‚ªãƒ—ション経由ã§ãã®ãƒ‘スワードを指定ã§ãã¾ã™ã€‚éµãƒ‘ã‚¹ãƒ¯ãƒ¼ãƒ‰ãŒæŒ‡å®šã•れãªã‹ã£ãŸå ´åˆã€\f2storepass\fP(指定ã•れãŸå ´åˆ)ãŒã¾ãšè©¦ã¿ã‚‰ã‚Œã¾ã™ã€‚ãã®è©¦ã¿ãŒå¤±æ•—ã™ã‚‹ã¨ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.RE + +.LP +.SS +ヘルプã®è¡¨ç¤º +.LP +.RS 3 +.TP 3 +\-help +.LP +基本的ãªã‚³ãƒžãƒ³ãƒ‰ã¨ãã®ã‚ªãƒ—ションã®ä¸€è¦§ã‚’表示ã—ã¾ã™ã€‚ +.LP +特定ã®ã‚³ãƒžãƒ³ãƒ‰ã®è©³ç´°ã‚’å‚ç…§ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã—ã¦ãã ã•ã„。\f2command_name\fPã¯ã‚³ãƒžãƒ³ãƒ‰ã®åå‰ã§ã™ã€‚ +.nf +\f3 +.fl + keytool \-\fP\f4command_name\fP\f3 \-help +.fl +\fP +.fi +.RE + +.LP +.SH "例" +.LP +.LP +ã“ã“ã§ã¯ã€è‡ªåˆ†ã®éµã®ãƒšã‚¢ãŠã‚ˆã³ä¿¡é ¼ã§ãるエンティティã‹ã‚‰ã®è¨¼æ˜Žæ›¸ã‚’管ç†ã™ã‚‹ãŸã‚ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’作æˆã™ã‚‹å ´åˆã‚’例ã¨ã—ã¦ç¤ºã—ã¾ã™ã€‚ +.LP +.SS +éµã®ãƒšã‚¢ã®ç”Ÿæˆ +.LP +.LP +ã¾ãšã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’作æˆã—ã¦éµã®ãƒšã‚¢ã‚’生æˆã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚次ã«ç¤ºã™ã®ã¯ã€å®Ÿè¡Œã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã®ä¾‹ã§ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-genkeypair \-dname "cn=Mark Jones, ou=Java, o=Oracle, c=US" +.fl + \-alias business \-keypass \fP\f4<new password for private key>\fP\f3 \-keystore /working/mykeystore +.fl + \-storepass \fP\f4<new password for keystore>\fP\f3 \-validity 180 +.fl +\fP +.fi + +.LP +.LP +注æ„: ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯1行ã«å…¥åŠ›ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚例ã§è¤‡æ•°è¡Œã«å…¥åŠ›ã—ã¦ã„ã‚‹ã®ã¯èª­ã¿ã‚„ã™ãã™ã‚‹ãŸã‚ã§ã™ã€‚ +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€workingディレクトリã«mykeystoreã¨ã„ã†åå‰ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’作æˆã—(キーストアã¯ã¾ã å­˜åœ¨ã—ã¦ã„ãªã„ã¨ä»®å®š)ã€ä½œæˆã—ãŸã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«ã€\f2<new password for keystore>\fPã§æŒ‡å®šã—ãŸãƒ‘スワードを割り当ã¦ã¾ã™ã€‚生æˆã™ã‚‹å…¬é–‹éµã¨ç§˜å¯†éµã®ãƒšã‚¢ã«å¯¾å¿œã™ã‚‹ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®ã€Œè­˜åˆ¥åã€ã¯ã€é€šç§°ãŒã€ŒMark Jonesã€ã€çµ„ç¹”å˜ä½ãŒã€ŒJavaã€ã€çµ„ç¹”ãŒã€ŒOracleã€ã€2文字ã®å›½ç•ªå·ãŒã€ŒUSã€ã§ã™ã€‚公開éµã¨ç§˜å¯†éµã®ã‚µã‚¤ã‚ºã¯ã©ã¡ã‚‰ã‚‚1024ビットã§ã€éµã®ä½œæˆã«ã¯ãƒ‡ãƒ•ォルトã®DSAéµç”Ÿæˆã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’使用ã—ã¾ã™ã€‚ +.LP +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€å…¬é–‹éµã¨è­˜åˆ¥å情報をå«ã‚€è‡ªå·±ç½²å証明書(デフォルトã®SHA1withDSAç½²åアルゴリズムを使用)を作æˆã—ã¾ã™ã€‚è¨¼æ˜Žæ›¸ã®æœ‰åŠ¹æœŸé–“ã¯180æ—¥ã§ã™ã€‚証明書ã¯ã€åˆ¥å「businessã€ã§ç‰¹å®šã•れるキーストア・エントリ内ã®ç§˜å¯†éµã«é–¢é€£ä»˜ã‘られã¾ã™ã€‚秘密éµã«ã¯ã€\f2<new password for private key>\fPã§æŒ‡å®šã—ãŸãƒ‘スワードãŒå‰²ã‚Šå½“ã¦ã‚‰ã‚Œã¾ã™ã€‚ +.LP +.LP +オプションã®ãƒ‡ãƒ•ォルト値を使用ã™ã‚‹å ´åˆã¯ã€ä¸Šã«ç¤ºã—ãŸã‚³ãƒžãƒ³ãƒ‰ã‚’大幅ã«çŸ­ãã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚実際ã«ã¯ã€ã‚ªãƒ—ションを1ã¤ã‚‚指定ã›ãšã«ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚デフォルト値をæŒã¤ã‚ªãƒ—ションã§ã¯ã€ã‚ªãƒ—ションを指定ã—ãªã‘れã°ãƒ‡ãƒ•ォルト値ãŒä½¿ç”¨ã•れã€å¿…è¦ãªå€¤ã«ã¤ã„ã¦ã¯å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ãŸã¨ãˆã°ã€å˜ã«æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-genkeypair +.fl +\fP +.fi + +.LP +.LP +ã“ã®å ´åˆã¯ã€mykeyã¨ã„ã†åˆ¥åã§ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¨ãƒ³ãƒˆãƒªãŒä½œæˆã•ã‚Œã€æ–°ã—ã生æˆã•れãŸéµã®ãƒšã‚¢ã€ãŠã‚ˆã³90日間有効ãªè¨¼æ˜Žæ›¸ãŒã“ã®ã‚¨ãƒ³ãƒˆãƒªã«æ ¼ç´ã•れã¾ã™ã€‚ã“ã®ã‚¨ãƒ³ãƒˆãƒªã¯ã€ãƒ›ãƒ¼ãƒ ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã® .keystoreã¨ã„ã†åå‰ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«ç½®ã‹ã‚Œã¾ã™ã€‚ã“ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãŒã¾ã å­˜åœ¨ã—ã¦ã„ãªã„å ´åˆã¯ã€ä½œæˆã•れã¾ã™ã€‚è­˜åˆ¥åæƒ…å ±ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードãŠã‚ˆã³ç§˜å¯†éµã®ãƒ‘スワードã«ã¤ã„ã¦ã¯ã€å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.LP +.LP +以é™ã§ã¯ã€ã‚ªãƒ—ションを指定ã—ãªã„ã§\f2\-genkeypair\fPコマンドを実行ã—ãŸã‚‚ã®ã¨ã—ã¦ä¾‹ã‚’示ã—ã¾ã™ã€‚情報ã®å…¥åŠ›ã‚’æ±‚ã‚られãŸå ´åˆã¯ã€æœ€åˆã«ç¤ºã—ãŸ\f2\-genkeypair\fPコマンドã®å€¤ã‚’入力ã—ãŸã‚‚ã®ã¨ã—ã¾ã™(ãŸã¨ãˆã°ã€è­˜åˆ¥åã«ã¯cn=Mark Jones,ou=Java,o=Oracle,c=USã¨æŒ‡å®š)。 +.LP +.SS +証明書発行局ã«å¯¾ã™ã‚‹ç½²å付ã証明書ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆ +.LP +.LP +ç¾æ™‚ç‚¹ã§æ‰‹å…ƒã«ã‚ã‚‹ã®ã¯ã€1通ã®è‡ªå·±ç½²å証明書ã®ã¿ã§ã™ã€‚証明書ã«è¨¼æ˜Žæ›¸ç™ºè¡Œå±€(CA)ã®ç½²åãŒä»˜ã„ã¦ã„れã°ã€ä»–ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã‹ã‚‰è¨¼æ˜Žæ›¸ãŒä¿¡é ¼ã•れるå¯èƒ½æ€§ã‚‚高ããªã‚Šã¾ã™ã€‚ã“ã®ã‚ˆã†ãªç½²åã‚’å–å¾—ã™ã‚‹ã«ã¯ã€ã¾ãšã€è¨¼æ˜Žæ›¸ç½²åリクエスト(CSR)を生æˆã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-certreq \-file MarkJ.csr +.fl +\fP +.fi + +.LP +.LP +CSR(デフォルト別å「mykeyã€ã«ã‚ˆã£ã¦ç‰¹å®šã•れるエンティティã®CSR)ãŒä½œæˆã•れã€MarkJ.csrã¨ã„ã†åå‰ã®ãƒ•ァイルã«ç½®ã‹ã‚Œã¾ã™ã€‚ã“ã®ãƒ•ァイルã¯ã€VeriSignãªã©ã®CAã«æå‡ºã—ã¾ã™ã€‚CAã¯è¦æ±‚者を(通常ã¯ã‚ªãƒ•ラインã§)èªè¨¼ã—ã€è¦æ±‚者ã®å…¬é–‹éµã‚’èªè¨¼ã—ãŸç½²å付ãã®è¨¼æ˜Žæ›¸ã‚’é€ã‚Šè¿”ã—ã¾ã™ã€‚å ´åˆã«ã‚ˆã£ã¦ã¯ã€CAãŒè¨¼æ˜Žæ›¸ã®ãƒã‚§ãƒ¼ãƒ³ã‚’è¿”ã™ã“ã¨ã‚‚ã‚りã¾ã™ã€‚証明書ã®ãƒã‚§ãƒ¼ãƒ³ã§ã¯ã€å„証明書ãŒãƒã‚§ãƒ¼ãƒ³å†…ã®ãã®å‰ã®ç½²å者ã®å…¬é–‹éµã‚’èªè¨¼ã—ã¾ã™ã€‚ +.LP +.SS +CAã‹ã‚‰ã®è¨¼æ˜Žæ›¸ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆ +.LP +.LP +作æˆã—ãŸè‡ªå·±ç½²å証明書ã¯ã€è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã§ç½®ãæ›ãˆã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚証明書ãƒã‚§ãƒ¼ãƒ³ã§ã¯ã€å„証明書ãŒã€ã€Œãƒ«ãƒ¼ãƒˆã€CAを起点ã¨ã™ã‚‹ãƒã‚§ãƒ¼ãƒ³å†…ã®æ¬¡ã®è¨¼æ˜Žæ›¸ã®ç½²å者ã®å…¬é–‹éµã‚’èªè¨¼ã—ã¾ã™ã€‚ +.LP +.LP +CAã‹ã‚‰ã®è¨¼æ˜Žå¿œç­”をインãƒãƒ¼ãƒˆã™ã‚‹ã«ã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‹ã€\f2cacerts\fPキーストア・ファイル(importcertコマンドã§èª¬æ˜Ž)内ã«1ã¤ä»¥ä¸Šã®ã€Œä¿¡é ¼ã§ãる証明書ã€ãŒã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +証明応答ãŒè¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã®å ´åˆã¯ã€ãƒã‚§ãƒ¼ãƒ³ã®ãƒˆãƒƒãƒ—ã®è¨¼æ˜Žæ›¸(ãã®CAã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹ã€Œãƒ«ãƒ¼ãƒˆã€CAã®è¨¼æ˜Žæ›¸)ã®ã¿ãŒå¿…è¦ã§ã™ã€‚ +.TP 2 +o +証明応答ãŒå˜ä¸€ã®è¨¼æ˜Žæ›¸ã®å ´åˆã¯ã€è¨¼æ˜Žæ›¸ã«ç½²åã—ãŸCAã®ç™ºè¡Œç”¨ã®è¨¼æ˜Žæ›¸ãŒå¿…è¦ã§ã€ãã®è¨¼æ˜Žæ›¸ãŒè‡ªå·±ç½²åã•れãªã„å ´åˆã¯ã€ã•らã«ãã®è¨¼æ˜Žæ›¸ã®ç½²å者用ã®è¨¼æ˜Žæ›¸ãŒå¿…è¦ã§ã™ã€‚ã“ã®ã‚ˆã†ã«ã—ã¦è‡ªå·±ç½²åã•れる「ルートã€CAã®è¨¼æ˜Žæ›¸ã¾ã§ã€ãれãžã‚Œè¨¼æ˜Žæ›¸ãŒå¿…è¦ã§ã™ã€‚ +.RE + +.LP +.LP +cacertsキーストア・ファイルã¯ã€ã„ãã¤ã‹ã®VeriSignルートCA証明書をå«ã‚“ã çŠ¶æ…‹ã§å‡ºè·ã•れã¦ã„ã‚‹ã®ã§ã€VeriSignã®è¨¼æ˜Žæ›¸ã‚’ã€ä¿¡é ¼ã§ãる証明書ã¨ã—ã¦ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã™ã‚‹å¿…è¦ã¯ãªã„ã‹ã‚‚ã—れã¾ã›ã‚“。ãŸã ã—ã€ä»–ã®CAã«å¯¾ã—ã¦ç½²å付ã証明書をリクエストã—ã¦ã„ã¦ã€ã“ã®CAã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ãŒã€cacertsã«ã¾ã è¿½åŠ ã•れã¦ã„ãªã„å ´åˆã¯ã€è©²å½“ã™ã‚‹CAã‹ã‚‰ã®è¨¼æ˜Žæ›¸ã‚’ã€ã€Œä¿¡é ¼ã§ãる証明書ã€ã¨ã—ã¦ã‚¤ãƒ³ãƒãƒ¼ãƒˆã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +通常ã€CAã‹ã‚‰ã®è¨¼æ˜Žæ›¸ã¯ã€è‡ªå·±ç½²å証明書ã€ã¾ãŸã¯ä»–ã®CAã«ã‚ˆã£ã¦ç½²åã•れãŸè¨¼æ˜Žæ›¸ã§ã™(後者ã®å ´åˆã¯ã€è©²å½“ã™ã‚‹ä»–ã®CAã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ã‚‚å¿…è¦)。ãŸã¨ãˆã°ã€ABCã¨ã„ã†ä¼æ¥­ãŒCAã ã¨ã—ã¾ã™ã€‚ã“ã®ã¨ãã€ã“ã®CAã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è‡ªå·±ç½²å証明書ã¨è€ƒãˆã‚‰ã‚Œã‚‹ã€ŒABCCA.cerã€ã¨ã„ã†åå‰ã®ãƒ•ァイルをã€ABCã‹ã‚‰å…¥æ‰‹ã—ãŸã¨ã—ã¾ã™ã€‚ +.LP +.LP +「信頼ã§ãる証明書ã€ã¨ã—ã¦è¨¼æ˜Žæ›¸ã‚’インãƒãƒ¼ãƒˆã™ã‚‹ã¨ãã¯ã€è¨¼æ˜Žæ›¸ãŒæœ‰åйã§ã‚ã‚‹ã“ã¨ã‚’æ…Žé‡ã«ç¢ºèªã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã¾ãšã€è¨¼æ˜Žæ›¸ã®å†…容を表示ã—(\f3keytool\fP \f2\-printcert\fPコマンドを使用ã™ã‚‹ã‹ã€ã¾ãŸã¯\f2\-noprompt\fPオプションを指定ã—ãªã„ã§\f3keytool\fP \f2\-importcert\fPコマンドを使用ã—ã€è¡¨ç¤ºã•れãŸè¨¼æ˜Žæ›¸ã®ãƒ•ィンガープリントãŒã€æœŸå¾…ã•れるフィンガープリントã¨ä¸€è‡´ã™ã‚‹ã‹ã©ã†ã‹ã‚’確èªã—ã¾ã™ã€‚証明書をé€ä¿¡ã—ãŸäººç‰©ã«é€£çµ¡ã—ã€ã“ã®äººç‰©ãŒæç¤ºã—ãŸ(ã¾ãŸã¯å®‰å…¨ãªå…¬é–‹éµã®ãƒªãƒã‚¸ãƒˆãƒªã«ã‚ˆã£ã¦æç¤ºã•れる)フィンガープリントã¨ã€ä¸Šã®ã‚³ãƒžãƒ³ãƒ‰ã§è¡¨ç¤ºã•れãŸãƒ•ィンガープリントã¨ã‚’比較ã—ã¾ã™ã€‚フィンガープリントãŒä¸€è‡´ã™ã‚Œã°ã€é€ä¿¡é€”中ã§ä»–ã®ä½•者ã‹(攻撃者ãªã©)ã«ã‚ˆã‚‹è¨¼æ˜Žæ›¸ã®ã™ã‚Šæ›¿ãˆãŒè¡Œã‚れã¦ã„ãªã„ã“ã¨ã‚’確èªã§ãã¾ã™ã€‚é€ä¿¡é€”中ã§ã“ã®ç¨®ã®æ”»æ’ƒãŒè¡Œã‚れã¦ã„ãŸå ´åˆã€ãƒã‚§ãƒƒã‚¯ã‚’行ã‚ãšã«è¨¼æ˜Žæ›¸ã‚’インãƒãƒ¼ãƒˆã™ã‚‹ã¨ã€æ”»æ’ƒè€…ã«ã‚ˆã£ã¦ç½²åã•れãŸã™ã¹ã¦ã®ã‚‚ã®ã‚’ä¿¡é ¼ã™ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +ã“ã®è¨¼æ˜Žæ›¸ã‚’有効ãªã‚‚ã®ã¨ã—ã¦ä¿¡é ¼ã™ã‚‹å ´åˆã¯ã€è¨¼æ˜Žæ›¸ã‚’キーストアã«è¿½åŠ ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-importcert \-alias abc \-file ABCCA.cer +.fl +\fP +.fi + +.LP +.LP +ABCCA.cerファイルã®ãƒ‡ãƒ¼ã‚¿ã‚’å«ã‚€ã€Œä¿¡é ¼ã§ãる証明書ã€ã®ã‚¨ãƒ³ãƒˆãƒªãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«ä½œæˆã•れã€è©²å½“ã™ã‚‹ã‚¨ãƒ³ãƒˆãƒªã«abcã¨ã„ã†åˆ¥åãŒå‰²ã‚Šå½“ã¦ã‚‰ã‚Œã¾ã™ã€‚ +.LP +.SS +CAã‹ã‚‰ã®è¨¼æ˜Žæ›¸å¿œç­”ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆ +.LP +.LP +証明書署åãƒªã‚¯ã‚¨ã‚¹ãƒˆã®æå‡ºå…ˆã®CAã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ã‚’インãƒãƒ¼ãƒˆã—ãŸå¾Œã¯(ã¾ãŸã¯åŒç¨®ã®è¨¼æ˜Žæ›¸ãŒã™ã§ã«cacertsファイル内ã«å­˜åœ¨ã—ã¦ã„ã‚‹å ´åˆã¯)ã€è¨¼æ˜Žå¿œç­”をインãƒãƒ¼ãƒˆã—ã€è‡ªå·±ç½²å証明書を証明書ãƒã‚§ãƒ¼ãƒ³ã§ç½®ãæ›ãˆã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®ãƒã‚§ãƒ¼ãƒ³ã¯ã€CAã®å¿œç­”ãŒãƒã‚§ãƒ¼ãƒ³ã®å ´åˆã«ã€ãƒªã‚¯ã‚¨ã‚¹ãƒˆã«å¯¾ã™ã‚‹ãƒ¬ã‚¹ãƒãƒ³ã‚¹ã¨ã—ã¦CAã‹ã‚‰é€ã‚Šè¿”ã•れãŸè¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã§ã™ã€‚ã¾ãŸã€CAã®å¿œç­”ãŒå˜ä¸€ã®è¨¼æ˜Žæ›¸ã®å ´åˆã¯ã€ã“ã®è¨¼æ˜Žå¿œç­”ã¨ã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆå…ˆã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã¾ãŸã¯cacertsキーストアファイル内ã«ã™ã§ã«å­˜åœ¨ã™ã‚‹ä¿¡é ¼ã§ãる証明書ã¨ã‚’使用ã—ã¦æ§‹ç¯‰ã—ãŸè¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã§ã™ã€‚ +.LP +.LP +ãŸã¨ãˆã°ã€è¨¼æ˜Žæ›¸ç½²åリクエストをVeriSignã«é€ä¿¡ã—ãŸã¨ã—ã¾ã™ã€‚é€ã‚Šè¿”ã•れãŸè¨¼æ˜Žæ›¸ã®åå‰ãŒVSMarkJ.cerã ã¨ã™ã‚‹ã¨ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¦å¿œç­”をインãƒãƒ¼ãƒˆã§ãã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-importcert \-trustcacerts \-file VSMarkJ.cer +.fl +\fP +.fi + +.LP +.SS +公開éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ã®ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆ +.LP +.LP +ãŸã¨ãˆã°ã€jarsigner(1)ツールを使用ã—ã¦Java ARchive(JAR)ファイルã«ç½²åを付ã‘ãŸã¨ã—ã¾ã™ã€‚ã“ã®ãƒ•ァイルã¯ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã«ã‚ˆã£ã¦ä½¿ç”¨ã•れã¾ã™ãŒã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆå´ã§ã¯ç½²åã‚’èªè¨¼ã—ãŸã„ã¨è€ƒãˆã¦ã„ã¾ã™ã€‚ +.LP +.LP +クライアントãŒç½²åã‚’èªè¨¼ã™ã‚‹æ–¹æ³•ã®1ã¤ã«ã€ã¾ãšè‡ªåˆ†ã®å…¬é–‹éµã®è¨¼æ˜Žæ›¸ã‚’「信頼ã§ãã‚‹ã€ã‚¨ãƒ³ãƒˆãƒªã¨ã—ã¦ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã™ã‚‹æ–¹æ³•ãŒã‚りã¾ã™ã€‚ãã®ãŸã‚ã«ã¯ã€è¨¼æ˜Žæ›¸ã‚’エクスãƒãƒ¼ãƒˆã—ã¦ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã«æä¾›ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¦ã€è¨¼æ˜Žæ›¸ã‚’\f2MJ.cer\fPã¨ã„ã†åå‰ã®ãƒ•ァイルã«ã‚³ãƒ”ーã—ã¾ã™ã€‚ã“ã®ã‚¨ãƒ³ãƒˆãƒªã«ã¯ã€Œmykeyã€ã¨ã„ã†åˆ¥åãŒä½¿ç”¨ã•れã¦ã„ã‚‹ã¨ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-exportcert \-alias mykey \-file MJ.cer +.fl +\fP +.fi + +.LP +.LP +証明書ã¨ç½²å付ãJARファイルを入手ã—ãŸã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¯ã€\f3jarsigner\fPツールを使用ã—ã¦ç½²åã‚’èªè¨¼ã§ãã¾ã™ã€‚ +.LP +.SS +キーストアã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆ +.LP +.LP +コマンド「importkeystoreã€ã‚’使用ã™ã‚Œã°ã€ã‚るキーストアã®å…¨ä½“を別ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã§ãã¾ã™ã€‚ã“れã¯ã€éµã‚„証明書ã¨ã„ã£ãŸã‚½ãƒ¼ã‚¹ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®ã™ã¹ã¦ã®ã‚¨ãƒ³ãƒˆãƒªãŒã€å˜ä¸€ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¦ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れるã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã™ã‚Œã°ã€ç•°ãªã‚‹ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«å«ã¾ã‚Œã‚‹ã‚¨ãƒ³ãƒˆãƒªã‚’インãƒãƒ¼ãƒˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚インãƒãƒ¼ãƒˆæ™‚ã«ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®æ–°ã—ã„エントリã¯ã™ã¹ã¦ã€å…ƒã¨åŒã˜åˆ¥åãŠã‚ˆã³(秘密éµã‚„秘密éµã®å ´åˆã¯)ä¿è­·ç”¨ãƒ‘スワードをæŒã¡ã¾ã™ã€‚ソースキーストア内ã®ç§˜å¯†éµã‚„秘密éµã®å›žå¾©æ™‚ã«å•題ãŒç™ºç”Ÿã—ãŸå ´åˆã€\f3keytool\fPã¯ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚ã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€åˆ¥åã®é‡è¤‡ã‚’検出ã™ã‚‹ã¨ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«æ–°ã—ã„別åã®å…¥åŠ›ã‚’æ±‚ã‚ã¾ã™ã€‚ユーザーã¯ã€æ–°ã—ã„別åを指定ã™ã‚‹ã“ã¨ã‚‚ã€å˜ç´”ã«æ—¢å­˜ã®åˆ¥åã®ä¸Šæ›¸ãã‚’\f3keytool\fPã«è¨±å¯ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.LP +.LP +ãŸã¨ãˆã°ã€é€šå¸¸ã®JKSタイプã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢key.jks内ã®ã‚¨ãƒ³ãƒˆãƒªã‚’PKCS#11タイプã®ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢ãƒ»ãƒ™ãƒ¼ã‚¹ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã§ãã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-importkeystore +.fl + \-srckeystore key.jks \-destkeystore NONE +.fl + \-srcstoretype JKS \-deststoretype PKCS11 +.fl + \-srcstorepass \fP\f4<source keystore password>\fP\f3 \-deststorepass \fP\f4<destination keystore password>\fP\f3 +.fl +\fP +.fi + +.LP +.LP +ã¾ãŸã€importkeystoreコマンドを使用ã™ã‚Œã°ã€ã‚るソース・キーストア内ã®å˜ä¸€ã®ã‚¨ãƒ³ãƒˆãƒªã‚’ターゲット・キーストアã«ã‚¤ãƒ³ãƒãƒ¼ãƒˆã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ã“ã®å ´åˆã€ä¸Šè¨˜ã®ä¾‹ã§ç¤ºã—ãŸã‚ªãƒ—ションã«åŠ ãˆã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆå¯¾è±¡ã¨ãªã‚‹åˆ¥åを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚srcaliasオプションを指定ã™ã‚‹å ´åˆã«ã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆåˆ¥åもコマンドラインã‹ã‚‰æŒ‡å®šã§ãã‚‹ã»ã‹ã€ç§˜å¯†/秘密éµã®ä¿è­·ç”¨ãƒ‘スワードやターゲットä¿è­·ç”¨ãƒ‘スワードも指定ã§ãã¾ã™ã€‚ãã®æ–¹æ³•を示ã™ã‚³ãƒžãƒ³ãƒ‰ã‚’次ã«ç¤ºã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-importkeystore +.fl + \-srckeystore key.jks \-destkeystore NONE +.fl + \-srcstoretype JKS \-deststoretype PKCS11 +.fl + \-srcstorepass \fP\f4<source keystore password>\fP\f3 \-deststorepass \fP\f4<destination keystore password>\fP\f3 +.fl + \-srcalias myprivatekey \-destalias myoldprivatekey +.fl + \-srckeypass \fP\f4<source entry password>\fP\f3 \-destkeypass \fP\f4<destination entry password>\fP\f3 +.fl + \-noprompt +.fl +\fP +.fi + +.LP +.SS +一般的ãªSSLサーãƒãƒ¼ç”¨ã®è¨¼æ˜Žæ›¸ã®ç”Ÿæˆ +.LP +.LP +次ã«ã€3ã¤ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã€ã¤ã¾ã‚Šãƒ«ãƒ¼ãƒˆCA(root)ã€ä¸­é–“CA(ca)ãŠã‚ˆã³SSLサーãƒãƒ¼(server)用ã®éµãƒšã‚¢ã¨è¨¼æ˜Žæ›¸ã‚’生æˆã™ã‚‹keytoolコマンドを示ã—ã¾ã™ã€‚ã™ã¹ã¦ã®è¨¼æ˜Žæ›¸ã‚’åŒã˜ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«æ ¼ç´ã™ã‚‹ã‚ˆã†ã«ã—ã¦ãã ã•ã„。ã“れらã®ä¾‹ã§ã¯ã€éµã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã¨ã—ã¦RSAを指定ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +keytool \-genkeypair \-keystore root.jks \-alias root \-ext bc:c +.fl +keytool \-genkeypair \-keystore ca.jks \-alias ca \-ext bc:c +.fl +keytool \-genkeypair \-keystore server.jks \-alias server +.fl + +.fl +keytool \-keystore root.jks \-alias root \-exportcert \-rfc > root.pem +.fl + +.fl +keytool \-storepass \fP\f4<storepass>\fP\f3 \-keystore ca.jks \-certreq \-alias ca | keytool \-storepass \fP\f4<storepass>\fP\f3 \-keystore root.jks \-gencert \-alias root \-ext BC=0 \-rfc > ca.pem +.fl +keytool \-keystore ca.jks \-importcert \-alias ca \-file ca.pem +.fl + +.fl +keytool \-storepass \fP\f4<storepass>\fP\f3 \-keystore server.jks \-certreq \-alias server | keytool \-storepass \fP\f4<storepass>\fP\f3 \-keystore ca.jks \-gencert \-alias ca \-ext ku:c=dig,kE \-rfc > server.pem +.fl +cat root.pem ca.pem server.pem | keytool \-keystore server.jks \-importcert \-alias server +.fl +\fP +.fi + +.LP +.SH "用語ã¨è­¦å‘Š" +.LP +.SS +キーストア +.LP +.LP +キーストアã¯ã€æš—å·åŒ–ã®éµã¨è¨¼æ˜Žæ›¸ã‚’æ ¼ç´ã™ã‚‹ãŸã‚ã®æ©Ÿèƒ½ã§ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +\f3キーストアã®ã‚¨ãƒ³ãƒˆãƒª\fP +.LP +キーストアã«ã¯ç•°ãªã‚‹ã‚¿ã‚¤ãƒ—ã®ã‚¨ãƒ³ãƒˆãƒªã‚’å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚\f3keytool\fPã§æœ€ã‚‚é©ç”¨ç¯„囲ã®åºƒã„エントリ・タイプã¯ã€æ¬¡ã®2ã¤ã§ã™ã€‚ +.RS 3 +.TP 3 +1. +\f3éµã®ã‚¨ãƒ³ãƒˆãƒª\fP \- å„エントリã¯ã€éžå¸¸ã«é‡è¦ãªæš—å·åŒ–ã®éµã®æƒ…å ±ã‚’ä¿æŒã—ã¾ã™ã€‚ã“ã®æƒ…å ±ã¯ã€è¨±å¯ã—ã¦ã„ãªã„アクセスを防ããŸã‚ã«ã€ä¿è­·ã•れãŸå½¢ã§æ ¼ç´ã•れã¾ã™ã€‚一般ã«ã€ã“ã®ç¨®ã®ã‚¨ãƒ³ãƒˆãƒªã¨ã—ã¦æ ¼ç´ã•れるéµã¯ã€ç§˜å¯†éµã‹ã€å¯¾å¿œã™ã‚‹å…¬é–‹éµã®è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’ä¼´ã†ç§˜å¯†éµã§ã™ã€‚\f3keytool\fPãŒã“ã®ä¸¡æ–¹ã®ã‚¿ã‚¤ãƒ—ã®ã‚¨ãƒ³ãƒˆãƒªã‚’処ç†ã§ãã‚‹ã®ã«å¯¾ã—ã€\f3jarsigner\fPツールã¯å¾Œè€…ã®ã‚¿ã‚¤ãƒ—ã®ã‚¨ãƒ³ãƒˆãƒªã€ã¤ã¾ã‚Šç§˜å¯†éµã¨ãれã«é–¢é€£ä»˜ã‘られãŸè¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã®ã¿ã‚’処ç†ã—ã¾ã™ã€‚ +.TP 3 +2. +\f3ä¿¡é ¼ã§ãる証明書ã®ã‚¨ãƒ³ãƒˆãƒª\fP \- å„エントリã¯ã€ç¬¬ä¸‰è€…ã‹ã‚‰ã®å…¬é–‹éµè¨¼æ˜Žæ›¸ã‚’1ã¤å«ã‚“ã§ã„ã¾ã™ã€‚ã“ã®è¨¼æ˜Žæ›¸ã¯ã€ã€Œä¿¡é ¼ã§ãる証明書ã€ã¨å‘¼ã°ã‚Œã¾ã™ã€‚ãれã¯ã€è¨¼æ˜Žæ›¸å†…ã®å…¬é–‹éµãŒã€è¨¼æ˜Žæ›¸ã®ã€ŒSubjectã€(所有者)ã«ã‚ˆã£ã¦ç‰¹å®šã•れるアイデンティティã«ç”±æ¥ã™ã‚‹ã‚‚ã®ã§ã‚ã‚‹ã“ã¨ã‚’ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®æ‰€æœ‰è€…ãŒä¿¡é ¼ã™ã‚‹ã‹ã‚‰ã§ã™ã€‚証明書ã®ç™ºè¡Œè€…ã¯ã€è¨¼æ˜Žæ›¸ã«ç½²åを付ã‘ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ã€ãã®å†…容をä¿è¨¼ã—ã¾ã™ã€‚ +.RE +.TP 2 +o +\f3キーストアã®åˆ¥å\fP +.LP +キーストアã®ã™ã¹ã¦ã®ã‚¨ãƒ³ãƒˆãƒª(éµãŠã‚ˆã³ä¿¡é ¼ã§ãる証明書)ã¯ã€ä¸€æ„ã®\f2別å\fPを介ã—ã¦ã‚¢ã‚¯ã‚»ã‚¹ã•れã¾ã™ã€‚ +.LP +別åを指定ã™ã‚‹ã®ã¯ã€\-genseckeyコマンドを使用ã—ã¦ç§˜å¯†éµã‚’生æˆã—ãŸã‚Šã€\-genkeypairコマンドを使用ã—ã¦éµãƒšã‚¢(公開éµã¨ç§˜å¯†éµ)を生æˆã—ãŸã‚Šã€\-importcertコマンドを使用ã—ã¦è¨¼æ˜Žæ›¸ã¾ãŸã¯è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’ä¿¡é ¼ã§ãる証明書ã®ãƒªã‚¹ãƒˆã«è¿½åŠ ã™ã‚‹ãªã©ã€ç‰¹å®šã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã‚’キーストアã«è¿½åŠ ã™ã‚‹å ´åˆã§ã™ã€‚ã“れ以後ã€\f3keytool\fPコマンドã§ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã‚’å‚ç…§ã™ã‚‹å ´åˆã¯ã€ã“ã®ã¨ãã«æŒ‡å®šã—ãŸåˆ¥åを使用ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +ãŸã¨ãˆã°ã€\f2duke\fPã¨ã„ã†åˆ¥åを使用ã—ã¦æ–°ã—ã„公開éµã¨ç§˜å¯†éµã®ãƒšã‚¢ã‚’生æˆã—ã€å…¬é–‹éµã‚’自己署å証明書(証明書ãƒã‚§ãƒ¼ãƒ³ã‚’å‚ç…§)ã§ãƒ©ãƒƒãƒ—ã™ã‚‹ã¨ã—ã¾ã™ã€‚ã“ã®å ´åˆã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + keytool \-genkeypair \-alias duke \-keypass dukekeypasswd +.fl +\fP +.fi +.LP +ã“ã“ã§ã¯ã€åˆæœŸãƒ‘スワードã¨ã—ã¦dukekeypasswdを指定ã—ã¦ã„ã¾ã™ã€‚以後ã€åˆ¥å\f2duke\fPã«é–¢é€£ä»˜ã‘られãŸç§˜å¯†éµã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã™ã‚‹ã¨ãã¯ã€ã“ã®ãƒ‘スワードãŒå¿…è¦ã«ãªã‚Šã¾ã™ã€‚dukeã®ç§˜å¯†éµã®ãƒ‘スワードをã‚ã¨ã‹ã‚‰å¤‰æ›´ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + keytool \-keypasswd \-alias duke \-keypass dukekeypasswd \-new newpass +.fl +\fP +.fi +.LP +パスワードãŒã€dukekeypasswdã‹ã‚‰newpassã«å¤‰æ›´ã•れã¾ã™ã€‚ +.LP +注æ„: テストを目的ã¨ã™ã‚‹å ´åˆã€ã¾ãŸã¯å®‰å…¨ã§ã‚ã‚‹ã“ã¨ãŒã‚ã‹ã£ã¦ã„るシステムã§å®Ÿè¡Œã™ã‚‹å ´åˆä»¥å¤–ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚„スクリプトã§ãƒ‘スワードを指定ã—ãªã„ã§ãã ã•ã„。必è¦ãªãƒ‘スワードã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãªã‹ã£ãŸå ´åˆã¯ã€ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.TP 2 +o +\f3キーストアã®å®Ÿè£…\fP +.LP +\f2java.security\fPãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã§æä¾›ã•れã¦ã„ã‚‹\f2KeyStore\fPクラスã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®æƒ…å ±ã¸ã®ã‚¢ã‚¯ã‚»ã‚¹ãŠã‚ˆã³æƒ…å ±ã®å¤‰æ›´ã‚’行ã†ãŸã‚ã®ã€æ˜Žç¢ºã«å®šç¾©ã•れãŸã‚¤ãƒ³ã‚¿ãƒ•ェースをæä¾›ã—ã¾ã™ã€‚キーストアã®å›ºå®šå®Ÿè£…ã¨ã—ã¦ã¯ã€ãれãžã‚ŒãŒç‰¹å®šã®\f2タイプ\fPã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’対象ã¨ã™ã‚‹è¤‡æ•°ã®ç•°ãªã‚‹å®Ÿè£…ãŒå­˜åœ¨å¯èƒ½ã§ã™ã€‚ +.LP +ç¾åœ¨ã€\f3keytool\fPã¨\f3jarsigner\fPã®2ã¤ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ„ールã¨ã€\f3Policy Tool\fPã¨ã„ã†åå‰ã®GUIベースã®ãƒ„ールãŒã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…を使用ã—ã¦ã„ã¾ã™ã€‚\f2KeyStore\fPã¯publicã¨ã—ã¦ä½¿ç”¨å¯èƒ½ãªã®ã§ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¯KeyStoreを使用ã—ãŸä»–ã®ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ã‚¢ãƒ—リケーションも作æˆã§ãã¾ã™ã€‚ +.LP +キーストアã«ã¯ã€OracleãŒæä¾›ã™ã‚‹çµ„è¾¼ã¿ã®ãƒ‡ãƒ•ォルトã®å®Ÿè£…ãŒã‚りã¾ã™ã€‚ã“れã¯ã€JKSã¨ã„ã†åå‰ã®ç‹¬è‡ªã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¿ã‚¤ãƒ—(å½¢å¼)を利用ã™ã‚‹ã‚‚ã®ã§ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’ファイルã¨ã—ã¦å®Ÿè£…ã—ã¦ã„ã¾ã™ã€‚ã“ã®å®Ÿè£…ã§ã¯ã€å€‹ã€…ã®ç§˜å¯†éµã¯å€‹åˆ¥ã®ãƒ‘スワードã«ã‚ˆã£ã¦ä¿è­·ã•れã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å…¨ä½“ã®æ•´åˆæ€§ã‚‚(秘密éµã¨ã¯åˆ¥ã®)パスワードã«ã‚ˆã£ã¦ä¿è­·ã•れã¾ã™ã€‚ +.LP +キーストアã®å®Ÿè£…ã¯ã€ãƒ—ロãƒã‚¤ãƒ€ãƒ™ãƒ¼ã‚¹ã§ã™ã€‚具体的ã«ã¯ã€\f2KeyStore\fPã«ã‚ˆã£ã¦æä¾›ã•れるアプリケーション・インタフェースãŒã€Œã‚µãƒ¼ãƒ“ス・プロãƒã‚¤ãƒ€ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースã€(SPI)ã«åŸºã¥ã„ã¦å®Ÿè£…ã•れã¾ã™ã€‚ã¤ã¾ã‚Šã€å¯¾å¿œã™ã‚‹\f2KeystoreSpi\fP抽象クラス(ã“れも\f2java.security\fPパッケージã«å«ã¾ã‚Œã¦ã„ã¾ã™)ãŒã‚りã€ã“ã®ã‚¯ãƒ©ã‚¹ãŒã€ã€Œãƒ—ロãƒã‚¤ãƒ€ã€ãŒå®Ÿè£…ã™ã‚‹å¿…è¦ã®ã‚ã‚‹Service Provider Interfaceã®ãƒ¡ã‚½ãƒƒãƒ‰ã‚’定義ã—ã¦ã„ã¾ã™ã€‚(ã“ã“ã§ã€ã€Œãƒ—ロãƒã‚¤ãƒ€ã€ã¨ã¯ã€Java Security APIã«ã‚ˆã£ã¦ã‚¢ã‚¯ã‚»ã‚¹å¯èƒ½ãªã‚µãƒ¼ãƒ“スã®ã‚µãƒ–セットã«å¯¾ã—ã€ãã®å›ºå®šå®Ÿè£…ã‚’æä¾›ã™ã‚‹ãƒ‘ッケージã¾ãŸã¯ãƒ‘ッケージã®é›†åˆã®ã“ã¨ã§ã™ã€‚)ã—ãŸãŒã£ã¦ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ã‚’æä¾›ã™ã‚‹ã«ã¯ã€ +.na +\f2Javaæš—å·åŒ–アーキテクãƒãƒ£ç”¨ãƒ—ロãƒã‚¤ãƒ€ã®å®Ÿè£…方法\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.htmlã§èª¬æ˜Žã—ã¦ã„るよã†ã«ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãŒã€Œãƒ—ロãƒã‚¤ãƒ€ã€ã‚’実装ã—ã€KeystoreSpiサブクラスã®å®Ÿè£…ã‚’æä¾›ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +アプリケーションã§ã¯ã€\f2KeyStore\fPã‚¯ãƒ©ã‚¹ãŒæä¾›ã™ã‚‹getInstanceファクトリ・メソッドを使用ã™ã‚‹ã“ã¨ã§ã€æ§˜ã€…ãªãƒ—ロãƒã‚¤ãƒ€ã‹ã‚‰ç•°ãªã‚‹\f2タイプ\fPã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ã‚’é¸æŠžã§ãã¾ã™ã€‚キーストアã®ã‚¿ã‚¤ãƒ—ã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢æƒ…å ±ã®æ ¼ç´å½¢å¼ã¨ãƒ‡ãƒ¼ã‚¿å½¢å¼ã‚’定義ã™ã‚‹ã¨ã¨ã‚‚ã«ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å†…ã®éžå…¬é–‹/秘密éµã¨ã‚­ãƒ¼ã‚¹ãƒˆã‚¢è‡ªä½“ã®æ•´åˆæ€§ã‚’ä¿è­·ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•れるアルゴリズムを定義ã—ã¾ã™ã€‚ç•°ãªã‚‹ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ã«ã¯ã€äº’æ›æ€§ã¯ã‚りã¾ã›ã‚“。 +.LP +\f3keytool\fPã¯ã€ä»»æ„ã®ãƒ•ァイルベースã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢å®Ÿè£…ã§å‹•作ã—ã¾ã™ã€‚(ã“れã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‹ã‚‰æ¸¡ã•れãŸã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å ´æ‰€ã‚’ファイルåã¨ã—ã¦æ‰±ã„ã€ã“れをFileInputStreamã«å¤‰æ›ã—ã¦ã€FileInputStreamã‹ã‚‰ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®æƒ…報をロードã—ã¾ã™ã€‚)一方ã€\f3jarsigner\fPツールã¨\f3policytool\fPツールã¯ã€URLã§æŒ‡å®šå¯èƒ½ãªä»»æ„ã®å ´æ‰€ã‹ã‚‰ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’読ã¿è¾¼ã‚€ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +\f3keytool\fPã¨\f3jarsigner\fPã®å ´åˆã€\f2\-storetype\fPオプションを使用ã—ã¦ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—を指定ã§ãã¾ã™ã€‚\f3Policy Tool\fPã®å ´åˆã¯ã€ã€Œã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã€ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã«ã‚ˆã£ã¦ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—を指定ã§ãã¾ã™ã€‚ +.LP +ユーザーãŒã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—ã‚’æ˜Žç¤ºçš„ã«æŒ‡å®šã—ãªã‹ã£ãŸå ´åˆã¯ã€å˜ç´”ã«ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã§æŒ‡å®šã•れãŸ\f2keystore.type\fPプロパティã®å€¤ã«åŸºã¥ã„ã¦ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ãŒé¸æŠžã•れã¾ã™ã€‚ã“ã®ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ロパティ・ファイルã¯\f2java.security\fPã¨å‘¼ã°ã‚Œã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ロパティ・ディレクトリ\f2java.home\fP/lib/security内ã«å­˜åœ¨ã—ã¦ã„ã¾ã™ã€‚ã“ã“ã§ã€\f2java.home\fPã¯å®Ÿè¡Œæ™‚環境ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(SDKã®\f2jre\fPディレクトリã¾ãŸã¯Java 2 Runtime Environmentã®ãƒˆãƒƒãƒ—レベル・ディレクトリ)ã§ã™ã€‚ +.LP +å„ツールã¯ã€\f2keystore.type\fPã®å€¤ã‚’å–å¾—ã—ã€ã“ã®å€¤ã§æŒ‡å®šã•れãŸã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã‚’実装ã—ã¦ã„るプロãƒã‚¤ãƒ€ãŒè¦‹ã¤ã‹ã‚‹ã¾ã§ã€ç¾åœ¨ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ã‚‹ã™ã¹ã¦ã®ãƒ—ロãƒã‚¤ãƒ€ã‚’調ã¹ã¾ã™ã€‚目的ã®ãƒ—ロãƒã‚¤ãƒ€ãŒè¦‹ã¤ã‹ã‚‹ã¨ã€ãã®ãƒ—ロãƒã‚¤ãƒ€ã‹ã‚‰ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…を使用ã—ã¾ã™ã€‚ +.LP +\f2KeyStore\fPクラスã«å®šç¾©ã•れã¦ã„ã‚‹staticメソッド\f2getDefaultType\fPを使用ã™ã‚‹ã¨ã€ã‚¢ãƒ—リケーションやアプレットã‹ã‚‰\f2keystore.type\fPプロパティã®å€¤ã‚’å–å¾—ã§ãã¾ã™ã€‚次ã®ã‚³ãƒ¼ãƒ‰ã¯ã€ãƒ‡ãƒ•ォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¿ã‚¤ãƒ—(\f2keystore.type\fPãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ã§æŒ‡å®šã•れãŸã‚¿ã‚¤ãƒ—)ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã‚’生æˆã—ã¾ã™ã€‚ +.nf +\f3 +.fl + KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); +.fl +\fP +.fi +.LP +デフォルトã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¿ã‚¤ãƒ—ã¯JKS(OracleãŒæä¾›ã™ã‚‹ç‹¬è‡ªã®ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…)ã§ã™ã€‚ã“れã¯ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«å†…ã®æ¬¡ã®è¡Œã«ã‚ˆã£ã¦æŒ‡å®šã•れã¦ã„ã¾ã™ã€‚ +.nf +\f3 +.fl + keystore.type=jks +.fl +\fP +.fi +.LP +å„ツールã§ãƒ‡ãƒ•ォルト以外ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…を使用ã™ã‚‹ã«ã¯ã€ä¸Šã®è¡Œã‚’変更ã—ã¦åˆ¥ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã‚¿ã‚¤ãƒ—を指定ã—ã¾ã™ã€‚ +.LP +ãŸã¨ãˆã°ã€pkcs12ã¨å‘¼ã°ã‚Œã‚‹ã‚¿ã‚¤ãƒ—ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®å®Ÿè£…ã‚’æä¾›ã—ã¦ã„るプロãƒã‚¤ãƒ€ãƒ»ãƒ‘ッケージを使用ã™ã‚‹ã«ã¯ã€ä¸Šã®è¡Œã‚’次ã®ã‚ˆã†ã«å¤‰æ›´ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + keystore.type=pkcs12 +.fl +\fP +.fi +.LP +注æ„: キーストアã®ã‚¿ã‚¤ãƒ—ã®æŒ‡å®šã§ã¯ã€å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•れã¾ã›ã‚“。ãŸã¨ãˆã°ã€JKSã¨jksã¯åŒã˜ã‚‚ã®ã¨ã—ã¦æ‰±ã‚れã¾ã™ã€‚ +.RE + +.LP +.SS +証明書 +.LP +\f3証明書\fP(\f3公開éµè¨¼æ˜Žæ›¸\fPã¨ã‚‚呼ã°ã‚Œã¾ã™)ã¨ã¯ã€ã‚るエンティティ(\f2発行者\fP)ã‹ã‚‰ã®ãƒ‡ã‚¸ã‚¿ãƒ«ç½²å付ãã®æ–‡æ›¸ã®ã“ã¨ã§ã™ã€‚証明書ã«ã¯ã€ä»–ã®ã‚るエンティティ(\f2ç½²å者\fP)ã®å…¬é–‹éµ(ãŠã‚ˆã³ãã®ä»–ã®æƒ…å ±)ãŒç‰¹åˆ¥ãªå€¤ã‚’æŒã£ã¦ã„ã‚‹ã“ã¨ãŒæ›¸ã‹ã‚Œã¦ã„ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +\f3証明書ã®ç”¨èªž\fP +.RS 3 +.TP 3 +å…¬é–‹éµ +.LP +公開éµã¯ã€ç‰¹å®šã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã«é–¢é€£ä»˜ã‘ã‚‰ã‚ŒãŸæ•°ã§ã™ã€‚公開éµã¯ã€è©²å½“ã™ã‚‹ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã¨ã®é–“ã«ä¿¡é ¼ã§ãる関係をæŒã¤å¿…è¦ãŒã‚ã‚‹ã™ã¹ã¦ã®äººã«å¯¾ã—ã¦å…¬é–‹ã™ã‚‹ã“ã¨ã‚’æ„図ã—ãŸã‚‚ã®ã§ã™ã€‚公開éµã¯ã€ç½²åを検証ã™ã‚‹ã®ã«ä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +デジタル署å +.LP +データãŒã€Œ\f2デジタル署å\fPã€ã•れるã¨ã€ãã®ãƒ‡ãƒ¼ã‚¿ã¯ã€ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®ã€Œã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã€ã¨ã€ãã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãŒãƒ‡ãƒ¼ã‚¿ã®å†…容ã«ã¤ã„ã¦çŸ¥ã£ã¦ã„ã‚‹ã“ã¨ã‚’証明書ã™ã‚‹ç½²åã¨ã¨ã‚‚ã«æ ¼ç´ã•れã¾ã™ã€‚エンティティã®ç§˜å¯†éµã‚’使用ã—ã¦ãƒ‡ãƒ¼ã‚¿ã«ç½²åを付ã‘ã‚‹ã¨ã€ãƒ‡ãƒ¼ã‚¿ã®å½é€ ã¯ä¸å¯èƒ½ã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +アイデンティティ +.LP +エンティティを特定ã™ã‚‹ãŸã‚ã®æ—¢çŸ¥ã®æ–¹æ³•ã§ã™ã€‚システムã«ã‚ˆã£ã¦ã¯ã€å…¬é–‹éµã‚’アイデンティティã«ã™ã‚‹ã‚‚ã®ãŒã‚りã¾ã™ã€‚公開éµã®ä»–ã«ã‚‚ã€Unix UIDã‚„é›»å­ãƒ¡ãƒ¼ãƒ«ãƒ»ã‚¢ãƒ‰ãƒ¬ã‚¹ã€X.509識別åãªã©ã€æ§˜ã€…ãªã‚‚ã®ã‚’アイデンティティã¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.TP 3 +ç½²å +.LP +ç½²åã¯ã€ãªã‚“らã‹ã®ãƒ‡ãƒ¼ã‚¿ã‚’基ã«ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£(\f2ç½²å者\fP。証明書ã«é–¢ã—ã¦ã¯\f2発行者\fPã¨ã‚‚呼ã°ã‚Œã¾ã™)ã®ç§˜å¯†éµã‚’使用ã—ã¦è¨ˆç®—ã•れã¾ã™ã€‚ +.TP 3 +ç§˜å¯†éµ +.LP +秘密éµã¯ç‰¹å®šã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®ã¿ãŒçŸ¥ã£ã¦ã„ã‚‹æ•°ã®ã“ã¨ã§ã€ã“ã®æ•°ã®ã“ã¨ã‚’ã€ãã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®ç§˜å¯†éµã¨ã„ã„ã¾ã™ã€‚秘密éµã¯ã€ä»–ã«çŸ¥ã‚‰ã‚Œãªã„よã†ã«ç§˜å¯†ã«ã—ã¦ãŠãã“ã¨ãŒå‰æã«ãªã£ã¦ã„ã¾ã™ã€‚秘密éµã¨å…¬é–‹éµã¯ã€ã™ã¹ã¦ã®å…¬é–‹éµæš—å·åŒ–システムã§å¯¾ã«ãªã£ã¦å­˜åœ¨ã—ã¦ã„ã¾ã™ã€‚DSAãªã©ã®å…¸åž‹çš„ãªå…¬é–‹éµæš—å·åŒ–システムã®å ´åˆã€1ã¤ã®ç§˜å¯†éµã¯æ­£ç¢ºã«1ã¤ã®å…¬é–‹éµã«å¯¾å¿œã—ã¾ã™ã€‚秘密éµã¯ã€ç½²åを計算ã™ã‚‹ã®ã«ä½¿ç”¨ã•れã¾ã™ã€‚ +.TP 3 +エンティティ +.LP +エンティティã¯ã€äººã€çµ„ç¹”ã€ãƒ—ログラムã€ã‚³ãƒ³ãƒ”ュータã€ä¼æ¥­ã€éŠ€è¡Œãªã©ã€ä¸€å®šã®åº¦åˆã„ã§ä¿¡é ¼ã®å¯¾è±¡ã¨ãªã‚‹æ§˜ã€…ãªã‚‚ã®ã‚’指ã—ã¾ã™ã€‚ +.RE +.LP +公開鵿š—å·åŒ–ã§ã¯ã€ãã®æ€§è³ªä¸Šã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®å…¬é–‹éµã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚å¤§è¦æ¨¡ãªãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ç’°å¢ƒã§ã¯ã€äº’ã„ã«é€šä¿¡ã—ã¦ã„るエンティティ間ã§ä»¥å‰ã®é–¢ä¿‚ãŒå¼•ç¶šã確立ã•れã¦ã„ã‚‹ã¨ä»®å®šã—ãŸã‚Šã€ä½¿ç”¨ã•れã¦ã„ã‚‹ã™ã¹ã¦ã®å…¬é–‹éµã‚’åŽã‚ãŸä¿¡é ¼ã§ãるリãƒã‚¸ãƒˆãƒªãŒå­˜åœ¨ã™ã‚‹ã¨ä»®å®šã—ãŸã‚Šã™ã‚‹ã“ã¨ã¯ä¸å¯èƒ½ã§ã™ã€‚ã“ã®ã‚ˆã†ãªå…¬é–‹éµã®é…布ã«é–¢ã™ã‚‹å•題を解決ã™ã‚‹ãŸã‚ã«è¨¼æ˜Žæ›¸ãŒè€ƒæ¡ˆã•れã¾ã—ãŸã€‚ç¾åœ¨ã§ã¯ã€\f2証明書発行局\fP(CA)ãŒä¿¡é ¼ã§ãる第三者ã¨ã—ã¦æ©Ÿèƒ½ã—ã¾ã™ã€‚CAã¯ã€ä»–ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®è¨¼æ˜Žæ›¸ã«ç½²åã™ã‚‹(発行ã™ã‚‹)行為をã€ä¿¡é ¼ã—ã¦ä»»ã•れã¦ã„るエンティティ(伿¥­ãªã©)ã§ã™ã€‚CAã¯æ³•律上ã®å¥‘ç´„ã«æ‹˜æŸã•れるã®ã§ã€æœ‰åйã‹ã¤ä¿¡é ¼ã§ãる証明書ã®ã¿ã‚’作æˆã™ã‚‹ã‚‚ã®ã¨ã—ã¦æ‰±ã‚れã¾ã™ã€‚ +.na +\f2VeriSign\fP @ +.fi +http://www.verisign.com/〠+.na +\f2Thawte\fP @ +.fi +http://www.thawte.com/〠+.na +\f2Entrust\fP @ +.fi +http://www.entrust.com/ã‚’ã¯ã˜ã‚ã€å¤šãã®å…¬çš„ãªè¨¼æ˜Žæ›¸ç™ºè¡Œå±€ãŒå­˜åœ¨ã—ã¾ã™ã€‚Microsoftã®èªè¨¼ã‚µãƒ¼ãƒãƒ¼ã€Entrustã®CA製å“ãªã©ã‚’所属組織内ã§åˆ©ç”¨ã™ã‚Œã°ã€ç‹¬è‡ªã®è¨¼æ˜Žæ›¸ç™ºè¡Œå±€ã‚’é‹å–¶ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚ +.LP +\f3keytool\fPを使用ã™ã‚‹ã¨ã€è¨¼æ˜Žæ›¸ã®è¡¨ç¤ºã€ã‚¤ãƒ³ãƒãƒ¼ãƒˆãŠã‚ˆã³ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã‚’行ã†ã“ã¨ãŒã§ãã¾ã™ã€‚ã¾ãŸã€è‡ªå·±ç½²å証明書を生æˆã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.LP +ç¾åœ¨ã€\f3keytool\fPã¯X.509証明書を対象ã«ã—ã¦ã„ã¾ã™ã€‚ +.TP 2 +o +\f3X.509証明書\fP +.LP +X.509è¦æ ¼ã§ã¯ã€è¨¼æ˜Žæ›¸ã«å«ã‚る情報ãŒå®šç¾©ã•れã¦ãŠã‚Šã€ã“ã®æƒ…å ±ã‚’è¨¼æ˜Žæ›¸ã«æ›¸ã込む方法(データ形å¼)ã«ã¤ã„ã¦ã‚‚記述ã•れã¦ã„ã¾ã™ã€‚証明書ã®ã™ã¹ã¦ã®ãƒ‡ãƒ¼ã‚¿ã¯ã€ASN.1/DERã¨å‘¼ã°ã‚Œã‚‹2ã¤ã®é–¢é€£è¦æ ¼ã‚’使用ã—ã¦ç¬¦å·åŒ–ã•れã¾ã™ã€‚\f2Abstract Syntax Notation 1\fPã¯ãƒ‡ãƒ¼ã‚¿ã«ã¤ã„ã¦è¨˜è¿°ã—ã¦ã„ã¾ã™ã€‚\f2Definite Encoding Rules\fPã¯ã€ãƒ‡ãƒ¼ã‚¿ã®ä¿å­˜ãŠã‚ˆã³è»¢é€ã®æ–¹æ³•ã«ã¤ã„ã¦è¨˜è¿°ã—ã¦ã„ã¾ã™ã€‚ +.LP +ã™ã¹ã¦ã®X.509証明書ã¯ã€ç½²åã®ä»–ã«æ¬¡ã®ãƒ‡ãƒ¼ã‚¿ã‚’å«ã‚“ã§ã„ã¾ã™ã€‚ +.RS 3 +.TP 3 +ãƒãƒ¼ã‚¸ãƒ§ãƒ³ +.LP +証明書ã«é©ç”¨ã•れるX.509è¦æ ¼ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’特定ã—ã¾ã™ã€‚è¨¼æ˜Žæ›¸ã«æŒ‡å®šã§ãる情報ã¯ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ã‚ˆã£ã¦ç•°ãªã‚Šã¾ã™ã€‚ã“れã¾ã§ã«ã€3ã¤ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒå®šç¾©ã•れã¦ã„ã¾ã™ã€‚\f3keytool\fPã§ã¯ã€v1ã€v2ãŠã‚ˆã³v3ã®è¨¼æ˜Žæ›¸ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆã¨ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆãŒå¯èƒ½ã§ã™ã€‚v3ã®è¨¼æ˜Žæ›¸ã‚’生æˆã—ã¾ã™ã€‚ +.LP +\f2X.509 Version 1\fPã¯ã€1988å¹´ã‹ã‚‰åˆ©ç”¨ã•れã¦åºƒãæ™®åŠã—ã¦ãŠã‚Šã€æœ€ã‚‚一般的ã§ã™ã€‚ +.LP +\f2X.509 Version 2\fPã§ã¯ã€Subjectや発行者ã®åå‰ã‚’ã‚ã¨ã§å†åˆ©ç”¨ã§ãるよã†ã«ã™ã‚‹ãŸã‚ã«ã€Subjectã¨ç™ºè¡Œè€…ã®ä¸€æ„識別å­ã®æ¦‚念ãŒå°Žå…¥ã•れã¾ã—ãŸã€‚ã»ã¨ã‚“ã©ã®è¨¼æ˜Žæ›¸ãƒ—ロファイル文書ã§ã¯ã€åå‰ã‚’å†ä½¿ç”¨ã—ãªã„ã“ã¨ã¨ã€è¨¼æ˜Žæ›¸ã§ä¸€æ„ã®è­˜åˆ¥å­ã‚’使用ã—ãªã„ã“ã¨ãŒã€å¼·ã推奨ã•れã¦ã„ã¾ã™ã€‚Version 2ã®è¨¼æ˜Žæ›¸ã¯ã€åºƒãã¯ä½¿ç”¨ã•れã¦ã„ã¾ã›ã‚“。 +.LP +\f2X.509 Version 3\fPã¯æœ€ã‚‚æ–°ã—ã„(1996å¹´)è¦æ ¼ã§ã€ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã®æ¦‚念をサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚エクステンションã¯èª°ã§ã‚‚定義ã™ã‚‹ã“ã¨ãŒã§ãã€è¨¼æ˜Žæ›¸ã«å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ç¾åœ¨ä½¿ç”¨ã•れã¦ã„る一般的ãªã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã¨ã—ã¦ã¯ã€\f2KeyUsage\fP(「署å専用ã€ãªã©ã€éµã®ä½¿ç”¨ã‚’特定ã®ç›®çš„ã«åˆ¶é™ã™ã‚‹)ã€\f2AlternativeNames\fP(DNSåã€é›»å­ãƒ¡ãƒ¼ãƒ«ãƒ»ã‚¢ãƒ‰ãƒ¬ã‚¹ã€IPアドレスãªã©ã€ä»–ã®ã‚¢ã‚¤ãƒ‡ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã‚’公開éµã«é–¢é€£ä»˜ã‘ã‚‹ã“ã¨ãŒã§ãã‚‹)ãªã©ãŒã‚りã¾ã™ã€‚エクステンションã«ã¯ã€\f2critical\fPã¨ã„ã†ãƒžãƒ¼ã‚¯ã‚’付ã‘ã¦ã€ãã®ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã®ãƒã‚§ãƒƒã‚¯ã¨ä½¿ç”¨ã‚’義務ã¥ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€criticalã¨ãƒžãƒ¼ã‚¯ã•れã€KeyCertSignãŒè¨­å®šã•れãŸKeyUsageエクステンションãŒè¨¼æ˜Žæ›¸ã«å«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã€ã“ã®è¨¼æ˜Žæ›¸ã‚’SSLé€šä¿¡ä¸­ã«æç¤ºã™ã‚‹ã¨ã€è¨¼æ˜Žæ›¸ãŒæ‹’å¦ã•れã¾ã™ã€‚ã“れã¯ã€è¨¼æ˜Žæ›¸ã®ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã«ã‚ˆã£ã¦ã€é–¢é€£ã™ã‚‹ç§˜å¯†éµãŒè¨¼æ˜Žæ›¸ã®ç½²å専用ã¨ã—ã¦æŒ‡å®šã•れã¦ãŠã‚Šã€SSLã§ã¯ä½¿ç”¨ã§ããªã„ãŸã‚ã§ã™ã€‚ +.TP 3 +ã‚·ãƒªã‚¢ãƒ«ç•ªå· +.LP +証明書を作æˆã—ãŸã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã¯ã€ãã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãŒç™ºè¡Œã™ã‚‹ä»–ã®è¨¼æ˜Žæ›¸ã¨åŒºåˆ¥ã™ã‚‹ãŸã‚ã«ã€è¨¼æ˜Žæ›¸ã«ã‚·ãƒªã‚¢ãƒ«ç•ªå·ã‚’割り当ã¦ã¾ã™ã€‚ã“ã®æƒ…å ±ã¯ã€æ§˜ã€…ãªæ–¹æ³•ã§ä½¿ç”¨ã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€è¨¼æ˜Žæ›¸ãŒå–り消ã•れるã¨ã€ã‚·ãƒªã‚¢ãƒ«ç•ªå·ãŒè¨¼æ˜Žæ›¸ã®å–消ã—リスト(CRL)ã«æ ¼ç´ã•れã¾ã™ã€‚ +.TP 3 +ç½²åã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ è­˜åˆ¥å­ +.LP +証明書ã«ç½²åを付ã‘ã‚‹ã¨ãã«CAãŒä½¿ç”¨ã—ãŸã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’特定ã—ã¾ã™ã€‚ +.TP 3 +発行者å +.LP +証明書ã«ç½²åを付ã‘ãŸã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®X.500識別åã§ã™ã€‚エンティティã¯ã€é€šå¸¸ã¯CAã§ã™ã€‚ã“ã®è¨¼æ˜Žæ›¸ã‚’使用ã™ã‚‹ã“ã¨ã¯ã€è¨¼æ˜Žæ›¸ã«ç½²åを付ã‘ãŸã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã‚’ä¿¡é ¼ã™ã‚‹ã“ã¨ã‚’æ„味ã—ã¾ã™ã€‚\f2ルートã¤ã¾ã‚Šãƒˆãƒƒãƒ—レベル\fPã®CAã®è¨¼æ˜Žæ›¸ãªã©ã€å ´åˆã«ã‚ˆã£ã¦ã¯ç™ºè¡Œè€…ãŒè‡ªèº«ã®è¨¼æ˜Žæ›¸ã«ç½²åを付ã‘ã‚‹ã“ã¨ãŒã‚ã‚‹ç‚¹ã«æ³¨æ„ã—ã¦ãã ã•ã„。 +.TP 3 +有効期間 +.LP +å„証明書ã¯ã€é™ã‚‰ã‚ŒãŸæœŸé–“ã®ã¿æœ‰åйã«ãªã‚Šã¾ã™ã€‚ã“ã®æœŸé–“ã¯é–‹å§‹ã®æ—¥æ™‚ã¨çµ‚äº†ã®æ—¥æ™‚ã«ã‚ˆã£ã¦æŒ‡å®šã•ã‚Œã€æ•°ç§’ã®çŸ­ã„期間ã‹ã‚‰100å¹´ã¨ã„ã†é•·æœŸã«ã‚ãŸã‚‹ã“ã¨ã‚‚ã‚りã¾ã™ã€‚é¸æŠžã•れる有効期間ã¯ã€è¨¼æ˜Žæ›¸ã¸ã®ç½²åã«ä½¿ç”¨ã•れる秘密éµã®å¼·åº¦ã‚„è¨¼æ˜Žæ›¸ã«æ”¯æ‰•ã†é‡‘é¡ãªã©ã€æ§˜ã€…ãªè¦å› ã§ç•°ãªã‚Šã¾ã™ã€‚有効期間ã¯ã€é–¢é€£ã™ã‚‹ç§˜å¯†éµãŒæãªã‚れãªã„å ´åˆã«ã€ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ãŒå…¬é–‹éµã‚’ä¿¡é ¼ã§ãã‚‹ã¨æœŸå¾…ã•れる期間ã§ã™ã€‚ +.TP 3 +Subjectå +.LP +証明書ã§å…¬é–‹éµãŒè­˜åˆ¥ã•れã¦ã„るエンティティã®åå‰ã§ã™ã€‚ã“ã®åå‰ã¯X.500標準を使用ã™ã‚‹ã®ã§ã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆå…¨ä½“ã§ä¸€æ„ãªã‚‚ã®ã¨æƒ³å®šã•れã¾ã™ã€‚ã“れã¯ã€ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®X.500識別å(DN)ã§ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + CN=Java Duke, OU=Java Software Division, O=Oracle Corporation, C=US +.fl +\fP +.fi +.LP +ã“れらã¯ãれãžã‚Œä¸»ä½“ã®é€šç§°ã€çµ„ç¹”å˜ä½ã€çµ„ç¹”ã€å›½ã‚’表ã—ã¾ã™ã€‚ +.TP 3 +Subjectã®å…¬é–‹éµæƒ…å ± +.LP +åå‰ã‚’付ã‘られãŸã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã®å…¬é–‹éµã¨ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ è­˜åˆ¥å­ã§ã™ã€‚アルゴリズム識別å­ã§ã¯ã€å…¬é–‹éµã«å¯¾ã—ã¦ä½¿ç”¨ã•れã¦ã„ã‚‹å…¬é–‹éµæš—å·åŒ–システムãŠã‚ˆã³é–¢é€£ã™ã‚‹éµãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ãŒæŒ‡å®šã•れã¦ã„ã¾ã™ã€‚ +.RE +.TP 2 +o +\f3証明書ãƒã‚§ãƒ¼ãƒ³\fP +.LP +\f3keytool\fPã§ã¯ã€ç§˜å¯†éµãŠã‚ˆã³é–¢é€£ã™ã‚‹è¨¼æ˜Žæ›¸ã€Œãƒã‚§ãƒ¼ãƒ³ã€ã‚’å«ã‚€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã®ã€Œéµã€ã‚¨ãƒ³ãƒˆãƒªã‚’作æˆã—ã€ç®¡ç†ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã®ã‚ˆã†ãªã‚¨ãƒ³ãƒˆãƒªã§ã¯ã€ç§˜å¯†éµã«å¯¾å¿œã™ã‚‹å…¬é–‹éµã¯ã€ãƒã‚§ãƒ¼ãƒ³ã®æœ€åˆã®è¨¼æ˜Žæ›¸ã«å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +.LP +éµã‚’åˆã‚ã¦ä½œæˆã™ã‚‹ã¨(\-genkeypairコマンドをå‚ç…§)ã€ã€Œ\f2自己署å証明書\fPã€ã¨ã„ã†1ã¤ã®è¦ç´ ã®ã¿ã‚’å«ã‚€ãƒã‚§ãƒ¼ãƒ³ãŒé–‹å§‹ã•れã¾ã™ã€‚自己署å証明書ã¯ã€ç™ºè¡Œè€…(ç½²å者)ãŒä¸»ä½“(証明書ã§èªè¨¼ã•れã¦ã„る公開éµã®æŒã¡ä¸»)ã¨åŒã˜ã§ã‚る証明書ã®ã“ã¨ã§ã™ã€‚\f2\-genkeypair\fPコマンドを呼ã³å‡ºã—ã¦æ–°ã—ã„公開éµã¨ç§˜å¯†éµã®ãƒšã‚¢ã‚’作æˆã™ã‚‹ã¨ã€å…¬é–‹éµã¯å¸¸ã«è‡ªå·±ç½²å証明書ã§ãƒ©ãƒƒãƒ—ã•れã¾ã™ã€‚ +.LP +ã“ã®å¾Œã€è¨¼æ˜Žæ›¸ç½²åリクエスト(CSR)ãŒç”Ÿæˆã•れã¦(\-certreqコマンドをå‚ç…§)ã€CSRãŒè¨¼æ˜Žæ›¸ç™ºè¡Œå±€(CA)ã«é€ä¿¡ã•れるã¨ã€CAã‹ã‚‰ã®ãƒ¬ã‚¹ãƒãƒ³ã‚¹ãŒã‚¤ãƒ³ãƒãƒ¼ãƒˆã•れ(\-importcertコマンドをå‚ç…§)ã€å…ƒã®è‡ªå·±ç½²å証明書ã¯è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã«ã‚ˆã£ã¦ç½®ãæ›ãˆã‚‰ã‚Œã¾ã™ã€‚ãƒã‚§ãƒ¼ãƒ³ã®æœ€å¾Œã«ã‚ã‚‹ã®ã¯ã€Subjectã®å…¬é–‹éµã‚’èªè¨¼ã—ãŸCAãŒç™ºè¡Œã—ãŸè¨¼æ˜Žæ›¸(応答)ã§ã™ã€‚ãƒã‚§ãƒ¼ãƒ³å†…ã®ãã®å‰ã®è¨¼æ˜Žæ›¸ã¯ã€\f2CA\fPã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ã§ã™ã€‚ +.LP +CAã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ã¯ã€å¤šãã®å ´åˆã€è‡ªå·±ç½²å証明書(ã¤ã¾ã‚ŠCAãŒè‡ªèº«ã®å…¬é–‹éµã‚’èªè¨¼ã—ãŸè¨¼æ˜Žæ›¸)ã§ã‚りã€ã“れã¯ãƒã‚§ãƒ¼ãƒ³ã®æœ€åˆã®è¨¼æ˜Žæ›¸ã«ãªã‚Šã¾ã™ã€‚å ´åˆã«ã‚ˆã£ã¦ã¯ã€CAãŒè¨¼æ˜Žæ›¸ã®ãƒã‚§ãƒ¼ãƒ³ã‚’è¿”ã™ã“ã¨ã‚‚ã‚りã¾ã™ã€‚ã“ã®å ´åˆã€ãƒã‚§ãƒ¼ãƒ³å†…ã®æœ€å¾Œã®è¨¼æ˜Žæ›¸(CAã«ã‚ˆã£ã¦ç½²åã•れã€éµã‚¨ãƒ³ãƒˆãƒªã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸)ã«å¤‰ã‚りã¯ã‚りã¾ã›ã‚“ãŒã€ãƒã‚§ãƒ¼ãƒ³å†…ã®ãã®å‰ã®è¨¼æ˜Žæ›¸ã¯ã€CSRã®é€ä¿¡å…ˆã®CAã¨ã¯\f2別ã®\fPCAã«ã‚ˆã£ã¦ç½²åã•れã€CSRã®é€ä¿¡å…ˆã®CAã®å…¬é–‹éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ã«ãªã‚Šã¾ã™ã€‚ã•らã«ã€ãƒã‚§ãƒ¼ãƒ³å†…ã®ãã®å‰ã®è¨¼æ˜Žæ›¸ã¯ã€æ¬¡ã®CAã®éµã‚’èªè¨¼ã™ã‚‹è¨¼æ˜Žæ›¸ã«ãªã‚Šã¾ã™ã€‚ä»¥ä¸‹åŒæ§˜ã«ã€è‡ªå·±ç½²åã•れãŸã€Œãƒ«ãƒ¼ãƒˆã€è¨¼æ˜Žæ›¸ã«é”ã™ã‚‹ã¾ã§ãƒã‚§ãƒ¼ãƒ³ãŒç¶šãã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ãƒã‚§ãƒ¼ãƒ³å†…ã®(最åˆã®è¨¼æ˜Žæ›¸ä»¥å¾Œã®)å„証明書ã§ã¯ã€ãƒã‚§ãƒ¼ãƒ³å†…ã®æ¬¡ã®è¨¼æ˜Žæ›¸ã®ç½²å者ã®å…¬é–‹éµãŒèªè¨¼ã•れã¦ã„ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.LP +多ãã®CAã¯ã€ãƒã‚§ãƒ¼ãƒ³ã‚’サãƒãƒ¼ãƒˆã›ãšã«ç™ºè¡Œæ¸ˆã¿ã®è¨¼æ˜Žæ›¸ã®ã¿ã‚’è¿”ã—ã¾ã™ã€‚特ã«ã€ä¸­é–“ã®CAãŒå­˜åœ¨ã—ãªã„フラットãªéšŽå±¤æ§‹é€ ã®å ´åˆã¯ã€ãã®å‚¾å‘ãŒé¡•è‘—ã§ã™ã€‚ã“ã®ã‚ˆã†ãªå ´åˆã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã«ã™ã§ã«æ ¼ç´ã•れã¦ã„ã‚‹ä¿¡é ¼ã§ãる証明書情報ã‹ã‚‰ã€è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã‚’確立ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +別ã®å¿œç­”å½¢å¼(PKCS#7ã§å®šç¾©ã•れã¦ã„ã‚‹å½¢å¼)ã§ã‚‚ã€ç™ºè¡Œæ¸ˆã¿è¨¼æ˜Žæ›¸ã«åŠ ãˆã€è¨¼æ˜Žæ›¸ãƒã‚§ãƒ¼ãƒ³ã®ã‚µãƒãƒ¼ãƒˆãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚\f3keytool\fPã§ã¯ã€ã©ã¡ã‚‰ã®å¿œç­”å½¢å¼ã‚‚扱ã†ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +トップレベル(ルート)CAã®è¨¼æ˜Žæ›¸ã¯ã€è‡ªå·±ç½²å証明書ã§ã™ã€‚ãŸã ã—ã€ãƒ«ãƒ¼ãƒˆã®å…¬é–‹éµã«å¯¾ã™ã‚‹ä¿¡é ¼ã¯ã€ãƒ«ãƒ¼ãƒˆã®è¨¼æ˜Žæ›¸è‡ªä½“ã‹ã‚‰å°Žã出ã•れるもã®ã§ã¯ãªã(ãŸã¨ãˆã°ã€VeriSignルートCAã®ã‚ˆã†ãªæœ‰åãªè­˜åˆ¥åを使用ã—ãŸè‡ªå·±ç½²å証明書を作æˆã™ã‚‹ã“ã¨è‡ªä½“ã¯èª°ã§ã‚‚å¯èƒ½)ã€æ–°èžãªã©ã®ä»–ã®æƒ…å ±æºã«ç”±æ¥ã™ã‚‹ã‚‚ã®ã§ã™ã€‚ルートCAã®å…¬é–‹éµã¯åºƒã知られã¦ã„ã¾ã™ã€‚ルートCAã®å…¬é–‹éµã‚’è¨¼æ˜Žæ›¸ã«æ ¼ç´ã™ã‚‹ç†ç”±ã¯ã€è¨¼æ˜Žæ›¸ã¨ã„ã†å½¢å¼ã«ã™ã‚‹ã“ã¨ã§å¤šãã®ãƒ„ールã‹ã‚‰åˆ©ç”¨ã§ãるよã†ã«ãªã‚‹ã‹ã‚‰ã«ã™ãŽã¾ã›ã‚“。ã¤ã¾ã‚Šã€è¨¼æ˜Žæ›¸ã¯ã€ãƒ«ãƒ¼ãƒˆCAã®å…¬é–‹éµã‚’é‹ã¶ã€Œåª’体ã€ã¨ã—ã¦åˆ©ç”¨ã•れるã®ã¿ã§ã™ã€‚ルートCAã®è¨¼æ˜Žæ›¸ã‚’キーストアã«è¿½åŠ ã™ã‚‹ã¨ãã¯ã€ãã®å‰ã«è¨¼æ˜Žæ›¸ã®å†…容を表示ã—(\f2\-printcert\fPオプションを使用)ã€è¡¨ç¤ºã•れãŸãƒ•ィンガープリントã¨ã€æ–°èžã‚„ルートCAã®Webページãªã©ã‹ã‚‰å…¥æ‰‹ã—ãŸæ—¢çŸ¥ã®ãƒ•ィンガープリントã¨ã‚’比較ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 2 +o +\f3cacerts証明書ファイル\fP +.LP +\f3cacerts\fPã¨ã„ã†åå‰ã®è¨¼æ˜Žæ›¸ãƒ•ァイルã¯ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒ—ロパティ・ディレクトリ\f2java.home\fP/lib/securityã«ç½®ã‹ã‚Œã¦ã„ã¾ã™ã€‚\f2java.home\fPã¯ã€å®Ÿè¡Œç’°å¢ƒã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª(SDKã®\f2jre\fPディレクトリã¾ãŸã¯Java 2 Runtime Environmentã®æœ€ä¸Šä½ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª)ã§ã™ã€‚ +.LP +cacertsファイルã¯ã€CAã®è¨¼æ˜Žæ›¸ã‚’å«ã‚€ã€ã‚·ã‚¹ãƒ†ãƒ å…¨ä½“ã®ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ã§ã™ã€‚システム管ç†è€…ã¯ã€ã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ã‚¿ã‚¤ãƒ—ã«jksを指定ã™ã‚‹ã“ã¨ã§ã€\f3keytool\fPを使用ã—ã¦ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹æˆã¨ç®¡ç†ã‚’行ã†ã“ã¨ãŒã§ãã¾ã™ã€‚cacertsキーストア・ファイルã¯ã€ãƒ«ãƒ¼ãƒˆCA証明書ã®ãƒ‡ãƒ•ォルト・セットをå«ã‚“ã çŠ¶æ…‹ã§å‡ºè·ã•れã¦ã„ã¾ã™ã€‚ãれらã®è¨¼æ˜Žæ›¸ã‚’一覧表示ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +keytool \-list \-keystore \fP\f4java.home\fP\f3/lib/security/cacerts +.fl +\fP +.fi +.LP +cacertsキーストア・ファイルã®åˆæœŸãƒ‘スワードã¯ã€changeitã§ã™ã€‚システム管ç†è€…ã¯ã€SDKã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«å¾Œã€ã“ã®ãƒ•ァイルã®ãƒ‘スワードã¨ãƒ‡ãƒ•ォルト・アクセス権を変更ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +\f3é‡è¦: \fP\f4cacerts\fP\f3ファイルを確èªã—ã¦ãã ã•ã„\fP: \f2cacerts\fPファイル内ã®CAã¯ã€ç½²åãŠã‚ˆã³ä»–ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã¸ã®è¨¼æ˜Žæ›¸ç™ºè¡Œã®ãŸã‚ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã¨ã—ã¦ä¿¡é ¼ã•れるãŸã‚ã€\f2cacerts\fPファイルã®ç®¡ç†ã¯æ…Žé‡ã«è¡Œã†å¿…è¦ãŒã‚りã¾ã™ã€‚\f2cacerts\fPファイルã«ã¯ã€ä¿¡é ¼ã™ã‚‹CAã®è¨¼æ˜Žæ›¸ã®ã¿ãŒå«ã¾ã‚Œã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ユーザーã¯ã€è‡ªèº«ã®è²¬ä»»ã«ãŠã„ã¦ã€\f2cacerts\fPファイルã«ãƒãƒ³ãƒ‰ãƒ«ã•れã¦ã„ã‚‹ä¿¡é ¼ã§ãるルートCA証明書を検証ã—ã€ä¿¡é ¼æ€§ã«é–¢ã™ã‚‹ç‹¬è‡ªã®æ±ºå®šã‚’行ã„ã¾ã™ã€‚ä¿¡é ¼ã§ããªã„CA証明書を\f2cacerts\fPファイルã‹ã‚‰å‰Šé™¤ã™ã‚‹ã«ã¯ã€\f2keytool\fPコマンドã®å‰Šé™¤ã‚ªãƒ—ションを使用ã—ã¾ã™ã€‚\f2cacerts\fPファイルã¯JREã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã‚りã¾ã™ã€‚ã“ã®ãƒ•ァイルを編集ã™ã‚‹ã‚¢ã‚¯ã‚»ã‚¹æ¨©ãŒãªã„å ´åˆã¯ã€ã‚·ã‚¹ãƒ†ãƒ ç®¡ç†è€…ã«é€£çµ¡ã—ã¦ãã ã•ã„。 +.TP 2 +o +\f3インターãƒãƒƒãƒˆRFC 1421証明書符å·åŒ–è¦æ ¼\fP +.LP +多ãã®å ´åˆã€è¨¼æ˜Žæ›¸ã¯ã€ãƒã‚¤ãƒŠãƒªç¬¦å·åŒ–ã§ã¯ãªãã€ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆRFC 1421è¦æ ¼ã§å®šç¾©ã•れã¦ã„る出力å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã‚’使用ã—ã¦æ ¼ç´ã•れã¾ã™ã€‚「Base 64符å·åŒ–ã€ã¨ã‚‚呼ã°ã‚Œã‚‹ã“ã®è¨¼æ˜Žæ›¸å½¢å¼ã§ã¯ã€é›»å­ãƒ¡ãƒ¼ãƒ«ã‚„ãã®ä»–ã®æ©Ÿæ§‹ã‚’通ã˜ã¦ã€ä»–ã®ã‚¢ãƒ—リケーションã«è¨¼æ˜Žæ›¸ã‚’容易ã«ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã§ãã¾ã™ã€‚ +.LP +\f2\-importcert\fPã¨\f2\-printcert\fPコマンドã§ã¯ã€ã“ã®å½¢å¼ã®è¨¼æ˜Žæ›¸ã¨ãƒã‚¤ãƒŠãƒªç¬¦å·åŒ–ã®è¨¼æ˜Žæ›¸ã‚’読ã¿è¾¼ã‚€ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +\f2\-exportcert\fPコマンドã§ã¯ã€ãƒ‡ãƒ•ォルトã§ãƒã‚¤ãƒŠãƒªç¬¦å·åŒ–ã®è¨¼æ˜Žæ›¸ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ãŸã ã—ã€\f2\-rfc\fPオプションを指定ã—ãŸå ´åˆã¯ã€å‡ºåŠ›å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã®è¨¼æ˜Žæ›¸ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.LP +\f2\-list\fPコマンドã§ã¯ã€ãƒ‡ãƒ•ォルトã§è¨¼æ˜Žæ›¸ã®SHA1フィンガープリントãŒå‡ºåŠ›ã•れã¾ã™ã€‚\f2\-v\fPオプションを指定ã™ã‚‹ã¨ã€äººé–“ãŒèª­ã‚€ã“ã¨ã®ã§ãã‚‹å½¢å¼ã§è¨¼æ˜Žæ›¸ãŒå‡ºåŠ›ã•れã¾ã™ã€‚一方ã€\f2\-rfc\fPオプションを指定ã™ã‚‹ã¨ã€å‡ºåŠ›å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã§è¨¼æ˜Žæ›¸ãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.LP +出力å¯èƒ½ç¬¦å·åŒ–æ–¹å¼ã§ç¬¦å·åŒ–ã•れãŸè¨¼æ˜Žæ›¸ã¯ã€æ¬¡ã®è¡Œã§å§‹ã¾ã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl +\-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\- +.fl +\fP +.fi +.LP +最後ã¯ã€æ¬¡ã®è¡Œã§çµ‚ã‚りã¾ã™ã€‚ +.nf +\f3 +.fl +\-\-\-\-\-END CERTIFICATE\-\-\-\-\- +.fl +\fP +.fi +.RE + +.LP +.SS +X.500識別å +.LP +.LP +X.500識別åã¯ã€ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã‚’特定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•れã¾ã™ã€‚ãŸã¨ãˆã°ã€X.509証明書ã®\f2subject\fPフィールドã¨\f2issuer\fP(ç½²å者)ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã§æŒ‡å®šã•れるåå‰ã¯ã€X.500識別åã§ã™ã€‚\f3keytool\fPã¯ã€æ¬¡ã®ã‚µãƒ–パートをサãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +\f2commonName\fP \- 人ã®é€šç§°ã€‚「Susan Jonesã€ãªã© +.TP 2 +o +\f2organizationUnit\fP \- å°ã•ãªçµ„ç¹”(部ã€èª²ãªã©)ã®å称。「Purchasingã€ãªã© +.TP 2 +o +\f2organizationName\fP \- 大ããªçµ„ç¹”ã®å称。「ABCSystems,Inc.ã€ãªã© +.TP 2 +o +\f2localityName\fP \- 地域(都市)å。「Palo Altoã€ãªã© +.TP 2 +o +\f2stateName\fP \- å·žåã¾ãŸã¯åœ°æ–¹å。「Californiaã€ãªã© +.TP 2 +o +\f2country\fP \- 2文字ã®å›½ç•ªå·ã€‚「CHã€ãªã© +.RE + +.LP +.LP +è­˜åˆ¥åæ–‡å­—列を\f2\-dname\fPオプションã®å€¤ã¨ã—ã¦æŒ‡å®šã™ã‚‹å ´åˆã¯(\f2\-genkeypair\fP コマンド)ã€æ¬¡ã®å½¢å¼ã§æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +CN=\fP\f4cName\fP\f3, OU=\fP\f4orgUnit\fP\f3, O=\fP\f4org\fP\f3, L=\fP\f4city\fP\f3, S=\fP\f4state\fP\f3, C=\fP\f4countryCode\fP\f3 +.fl +\fP +.fi + +.LP +.LP +イタリック体ã®é …ç›®ã¯ã€å®Ÿéš›ã«æŒ‡å®šã™ã‚‹å€¤ã‚’表ã—ã¾ã™ã€‚短縮形ã®ã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰ã®æ„味ã¯ã€æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.LP +.nf +\f3 +.fl + CN=commonName +.fl + OU=organizationUnit +.fl + O=organizationName +.fl + L=localityName +.fl + S=stateName +.fl + C=country +.fl +\fP +.fi + +.LP +.LP +次ã«ç¤ºã™ã®ã¯ã€è­˜åˆ¥å文字列ã®ä¾‹ã§ã™ã€‚ +.LP +.nf +\f3 +.fl +CN=Mark Smith, OU=Java, O=Oracle, L=Cupertino, S=California, C=US +.fl +\fP +.fi + +.LP +.LP +次ã¯ã€ã“ã®æ–‡å­—列を使用ã—ãŸã‚³ãƒžãƒ³ãƒ‰ã®ä¾‹ã§ã™ã€‚ +.LP +.nf +\f3 +.fl +keytool \-genkeypair \-dname "CN=Mark Smith, OU=Java, O=Oracle, L=Cupertino, +.fl +S=California, C=US" \-alias mark +.fl +\fP +.fi + +.LP +.LP +キーワードã®çŸ­ç¸®å½¢ã§ã¯ã€å¤§æ–‡å­—ã¨å°æ–‡å­—ã¯åŒºåˆ¥ã•れã¾ã›ã‚“。ãŸã¨ãˆã°ã€CNã€cnãŠã‚ˆã³Cnã¯ã€ã©ã‚Œã‚‚åŒã˜ã‚‚ã®ã¨ã—ã¦æ‰±ã‚れã¾ã™ã€‚ +.LP +.LP +一方ã€ã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰ã®æŒ‡å®šé †åºã«ã¯æ„味ãŒã‚りã€å„サブコンãƒãƒ¼ãƒãƒ³ãƒˆã¯ä¸Šã«ç¤ºã—ãŸé †åºã§æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã ã—ã€ã‚µãƒ–コンãƒãƒ¼ãƒãƒ³ãƒˆã‚’ã™ã¹ã¦æŒ‡å®šã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ä¸€éƒ¨ã®ã‚µãƒ–コンãƒãƒ¼ãƒãƒ³ãƒˆã®ã¿ã‚’指定ã§ãã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +CN=Steve Meier, OU=Java, O=Oracle, C=US +.fl +\fP +.fi + +.LP +.LP +è­˜åˆ¥åæ–‡å­—列ã®å€¤ã«ã‚«ãƒ³ãƒžãŒå«ã¾ã‚Œã‚‹å ´åˆã«ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æ–‡å­—列を指定ã™ã‚‹ã¨ãã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«ã‚«ãƒ³ãƒžã‚’文字「\\ã€ã§ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + cn=Peter Schuster, ou=Java\\, Product Development, o=Oracle, c=US +.fl +\fP +.fi + +.LP +.LP +è­˜åˆ¥åæ–‡å­—åˆ—ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。識別åã‚’å¿…è¦ã¨ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã™ã‚‹ã¨ãã«ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§è­˜åˆ¥åを指定ã—ãªã‹ã£ãŸå ´åˆã¯ã€å„サブコンãƒãƒ¼ãƒãƒ³ãƒˆã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ã“ã®å ´åˆã¯ã€ã‚«ãƒ³ãƒžã‚’「\\ã€ã§ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。 +.LP +.SS +ä¿¡é ¼ã§ãる証明書ã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆã«é–¢ã™ã‚‹æ³¨æ„事項 +.LP +.LP +é‡è¦: ä¿¡é ¼ã§ãる証明書ã¨ã—ã¦è¨¼æ˜Žæ›¸ã‚’インãƒãƒ¼ãƒˆã™ã‚‹å‰ã«ã€è¨¼æ˜Žæ›¸ã®å†…容を慎é‡ã«èª¿ã¹ã¦ãã ã•ã„。 +.LP +.LP +ã¾ãšã€è¨¼æ˜Žæ›¸ã®å†…容を表示ã—(\f2\-printcert\fPコマンドを使用ã™ã‚‹ã‹ã€ã¾ãŸã¯\f2\-noprompt\fPオプションを指定ã—ãªã„ã§\f2\-importcert\fPコマンドを使用)ã€è¡¨ç¤ºã•れãŸè¨¼æ˜Žæ›¸ã®ãƒ•ィンガープリントãŒã€æœŸå¾…ã•れるフィンガープリントã¨ä¸€è‡´ã™ã‚‹ã‹ã©ã†ã‹ã‚’確èªã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ã‚るユーザーã‹ã‚‰è¨¼æ˜Žæ›¸ãŒé€ã‚‰ã‚Œã¦ãã¦ã€ã“ã®è¨¼æ˜Žæ›¸ã‚’\f2/tmp/cert\fPã¨ã„ã†åå‰ã§ãƒ•ã‚¡ã‚¤ãƒ«ã«æ ¼ç´ã—ã¦ã„ã‚‹ã¨ã—ã¾ã™ã€‚ã“ã®å ´åˆã¯ã€ä¿¡é ¼ã§ãる証明書ã®ãƒªã‚¹ãƒˆã«ã“ã®è¨¼æ˜Žæ›¸ã‚’追加ã™ã‚‹å‰ã«ã€\f2\-printcert\fPコマンドを実行ã—ã¦ãƒ•ィンガープリントを表示ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + keytool \-printcert \-file /tmp/cert +.fl + Owner: CN=ll, OU=ll, O=ll, L=ll, S=ll, C=ll +.fl + Issuer: CN=ll, OU=ll, O=ll, L=ll, S=ll, C=ll +.fl + Serial Number: 59092b34 +.fl + Valid from: Thu Sep 25 18:01:13 PDT 1997 until: Wed Dec 24 17:01:13 PST 1997 +.fl + Certificate Fingerprints: +.fl + MD5: 11:81:AD:92:C8:E5:0E:A2:01:2E:D4:7A:D7:5F:07:6F +.fl + SHA1: 20:B6:17:FA:EF:E5:55:8A:D0:71:1F:E8:D6:9D:C0:37:13:0E:5E:FE +.fl + SHA256: 90:7B:70:0A:EA:DC:16:79:92:99:41:FF:8A:FE:EB:90: +.fl + 17:75:E0:90:B2:24:4D:3A:2A:16:A6:E4:11:0F:67:A4 +.fl +\fP +.fi + +.LP +.LP +次ã«ã€è¨¼æ˜Žæ›¸ã‚’é€ä¿¡ã—ãŸäººç‰©ã«é€£çµ¡ã—ã€ã“ã®äººç‰©ãŒæç¤ºã—ãŸãƒ•ィンガープリントã¨ã€ä¸Šã®ã‚³ãƒžãƒ³ãƒ‰ã§è¡¨ç¤ºã•れãŸãƒ•ィンガープリントã¨ã‚’比較ã—ã¾ã™ã€‚フィンガープリントãŒä¸€è‡´ã™ã‚Œã°ã€é€ä¿¡é€”中ã§ä»–ã®ä½•者ã‹(攻撃者ãªã©)ã«ã‚ˆã‚‹è¨¼æ˜Žæ›¸ã®ã™ã‚Šæ›¿ãˆãŒè¡Œã‚れã¦ã„ãªã„ã“ã¨ã‚’確èªã§ãã¾ã™ã€‚é€ä¿¡é€”中ã§ã“ã®ç¨®ã®æ”»æ’ƒãŒè¡Œã‚れã¦ã„ãŸå ´åˆã€ãƒã‚§ãƒƒã‚¯ã‚’行ã‚ãšã«è¨¼æ˜Žæ›¸ã‚’インãƒãƒ¼ãƒˆã™ã‚‹ã¨ã€æ”»æ’ƒè€…ã«ã‚ˆã£ã¦ç½²åã•れãŸã™ã¹ã¦ã®ã‚‚ã®(攻撃的æ„図をæŒã¤ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルをå«ã‚“ã JARファイルãªã©)ã‚’ä¿¡é ¼ã™ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +注æ„: 証明書をインãƒãƒ¼ãƒˆã™ã‚‹å‰ã«\f2\-printcert\fPコマンドを実行ã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。キーストア内ã®ä¿¡é ¼ã§ãる証明書ã®ãƒªã‚¹ãƒˆã«è¨¼æ˜Žæ›¸ã‚’追加ã™ã‚‹å‰ã«\f2\-importcert\fPコマンドを実行ã™ã‚‹ã¨ã€è¨¼æ˜Žæ›¸ã®æƒ…å ±ãŒè¡¨ç¤ºã•れã€ç¢ºèªã‚’求ã‚るメッセージãŒè¡¨ç¤ºã•れã¾ã™ã€‚インãƒãƒ¼ãƒˆæ“作ã¯ã€ã“ã®æ™‚点ã§ä¸­æ­¢ã§ãã¾ã™ã€‚ãŸã ã—ã€ç¢ºèªãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒè¡¨ç¤ºã•れるã®ã¯ã€\f2\-importcert\fPコマンドを\f2\-noprompt\fPオプションを指定ã›ãšã«å®Ÿè¡Œã—ãŸå ´åˆã®ã¿ã§ã™ã€‚コマンドを使用ã—ã€\f2\-noprompt\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ã‚‹å ´åˆã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã¨ã®å¯¾è©±ã¯è¡Œã‚れã¾ã›ã‚“。 +.LP +.SS +パスワードã«é–¢ã™ã‚‹æ³¨æ„事項 +.LP +.LP +キーストアã«å¯¾ã™ã‚‹æ“作を行ã†ã»ã¨ã‚“ã©ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã¯ã€ã‚¹ãƒˆã‚¢ã®ãƒ‘スワードãŒå¿…è¦ã§ã™ã€‚ã¾ãŸã€ä¸€éƒ¨ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã¯ã€éžå…¬é–‹/秘密éµã®ãƒ‘スワードãŒå¿…è¦ã«ãªã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚ +.LP +.LP +パスワードã¯ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã§ãã¾ã™(ストアã®ãƒ‘スワードã«ã¯\f2\-storepass\fPオプションã€ç§˜å¯†éµã®ãƒ‘スワードã«ã¯\f2\-keypass\fPオプションを使用)。ãŸã ã—ã€ãƒ†ã‚¹ãƒˆã‚’目的ã¨ã™ã‚‹å ´åˆã€ã¾ãŸã¯å®‰å…¨ã§ã‚ã‚‹ã“ã¨ãŒã‚ã‹ã£ã¦ã„るシステムã§å®Ÿè¡Œã™ã‚‹å ´åˆä»¥å¤–ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚„スクリプトã§ãƒ‘スワードを指定ã—ãªã„ã§ãã ã•ã„。 +.LP +.LP +å¿…è¦ãªãƒ‘スワードã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã‚’ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§æŒ‡å®šã—ãªã‹ã£ãŸå ´åˆã¯ã€ãƒ‘スワードã®å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.LP +.SS +è¨¼æ˜Žæ›¸ã®æº–æ‹ ã«é–¢ã™ã‚‹æ³¨æ„事項 +.LP +.LP +インターãƒãƒƒãƒˆæ¨™æº–ã® +.na +\f2RFC 5280\fP @ +.fi +http://tools.ietf.org/rfc/rfc5280.txtã§ã¯ã€X.509è¨¼æ˜Žæ›¸ãŒæº–æ‹ ã™ã‚‹ãƒ—ロファイルを定義ã—ã¦ã„ã¾ã™ã€‚ã“ã®ãƒ—ロファイルã«ã¯ã€è¨¼æ˜Žæ›¸ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã‚„ã‚¨ã‚¯ã‚¹ãƒ†ãƒ³ã‚·ãƒ§ãƒ³ã§æœ‰åйãªå€¤ã‚„値ã®çµ„åˆã›ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚\f3keytool\fPã§ã¯ã€ã“れらã®ã™ã¹ã¦ã®è¦å‰‡ãŒé©ç”¨ã•れã¦ã„ã‚‹ã‚ã‘ã§ã¯ãªã„ã®ã§ã€æ¨™æº–ã«æº–æ‹ ã—ãªã„証明書ãŒç”Ÿæˆã•れるå¯èƒ½æ€§ãŒã‚りã€ãã®ã‚ˆã†ãªè¨¼æ˜Žæ›¸ã¯JREã‚„ä»–ã®ã‚¢ãƒ—ãƒªã‚±ãƒ¼ã‚·ãƒ§ãƒ³ã§æ‹’å¦ã•れるã“ã¨ãŒã‚りã¾ã™ã€‚ユーザーã¯ã€\f2\-dname\fPã‚„\f2\-ext\fPãªã©ã§é©æ­£ãªã‚ªãƒ—ションを指定ã™ã‚‹ã‚ˆã†ã«ã—ã¦ãã ã•ã„。 +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +jar(1)ツールã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ +.TP 2 +o +jarsigner(1)ツールã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ +.TP 2 +o +\f3keytool\fPã®ä½¿ç”¨ä¾‹ã«ã¤ã„ã¦ã¯ã€ +.na +\f4Javaãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«\fP @ +.fi +http://docs.oracle.com/javase/tutorial/ã® +.na +\f4セキュリティ\fP @ +.fi +http://docs.oracle.com/javase/tutorial/security/index.htmlã‚’å‚ç…§ +.RE + +.LP +.SH "変更点" +.LP +.LP +Java SE 6ã§keytoolã®ã‚³ãƒžãƒ³ãƒ‰ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースãŒå¤‰æ›´ã•れã¾ã—ãŸã€‚ +.LP +.LP +\f3keytool\fPã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒãƒ‘スワードを入力ã™ã‚‹éš›ã«ãã®å…¥åŠ›å†…å®¹ã‚’è¡¨ç¤ºã—ãªããªã‚Šã¾ã—ãŸã€‚ユーザーã¯ãƒ‘スワード入力時ã«ãã®å…¥åŠ›å†…å®¹ã‚’ç¢ºèªã§ããªããªã£ãŸãŸã‚ã€åˆæœŸã‚­ãƒ¼ã‚¹ãƒˆã‚¢ãƒ»ãƒ‘スワードを設定ã—ãŸã‚Šéµãƒ‘スワードを変更ã—ãŸã‚Šã™ã‚‹ãªã©ã€ãƒ‘スワードã®è¨­å®šã‚„変更を行ã†ãŸã³ã«ãƒ‘スワードã®å†å…¥åŠ›ã‚’æ±‚ã‚られã¾ã™ã€‚ +.LP +.LP +変更ã•れãŸã‚³ãƒžãƒ³ãƒ‰ã®ä¸­ã«ã¯ã€åå‰ã®ã¿ãŒå¤‰æ›´ã•れãŸã‚‚ã®ã‚‚ã‚れã°ã€å»ƒæ­¢ã•れã¦ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«è¨˜è¼‰ã•れãªããªã£ãŸã‚‚ã®ã‚‚ã‚りã¾ã™ã€‚以å‰ã®ã™ã¹ã¦ã®ã‚³ãƒžãƒ³ãƒ‰(åå‰ãŒå¤‰æ›´ã•れãŸã‚‚ã®ã¨å»ƒæ­¢ã•れãŸã‚‚ã®ã®ä¸¡æ–¹)ã¯ã€ã“ã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚引続ãサãƒãƒ¼ãƒˆã•れã¦ãŠã‚Šã€ä»Šå¾Œã®ãƒªãƒªãƒ¼ã‚¹ã§ã‚‚サãƒãƒ¼ãƒˆã•れる予定ã§ã™ã€‚keytoolã®ã‚³ãƒžãƒ³ãƒ‰ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースã«åŠ ãˆã‚‰ã‚ŒãŸã™ã¹ã¦ã®å¤‰æ›´ç‚¹ã®æ¦‚è¦ã‚’ã€æ¬¡ã«ç¤ºã—ã¾ã™ã€‚ +.LP +.LP +åå‰ãŒå¤‰æ›´ã•れãŸã‚³ãƒžãƒ³ãƒ‰: +.LP +.RS 3 +.TP 2 +o +\f2\-export\fPã®åå‰ãŒ\f2\-exportcert\fPã«å¤‰æ›´ +.TP 2 +o +\f2\-genkey\fPã®åå‰ãŒ\f2\-genkeypair\fPã«å¤‰æ›´ +.TP 2 +o +\f2\-import\fPã®åå‰ãŒ\f2\-importcert\fPã«å¤‰æ›´ +.RE + +.LP +.LP +廃止ã•れã¦ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«è¨˜è¼‰ã•れãªããªã£ãŸã‚³ãƒžãƒ³ãƒ‰: +.LP +.RS 3 +.TP 2 +o +.na +\f2\-keyclone\fP @ +.fi +http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html#keycloneCmd +.TP 2 +o +.na +\f2\-identitydb\fP @ +.fi +http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html#identitydbCmd +.TP 2 +o +.na +\f2\-selfcert\fP @ +.fi +http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html#selfcertCmd +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/native2ascii.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/native2ascii.1 new file mode 100644 index 00000000..135a6ac7 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/native2ascii.1 @@ -0,0 +1,53 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH native2ascii 1 "05 Jul 2012" + +.LP +.SH "åå‰" +native2ascii \- ãƒã‚¤ãƒ†ã‚£ãƒ– \- ASCIIコンãƒãƒ¼ã‚¿ +.LP +.LP +サãƒãƒ¼ãƒˆã•ã‚Œã‚‹æ–‡å­—ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã®æ–‡å­—ã®ãƒ•ァイルをASCIIã¾ãŸã¯Unicodeエスケープã‚ã‚‹ã„ã¯ãã®ä¸¡æ–¹ã®ãƒ•ァイルã«å¤‰æ›ã—ã¾ã™ã€‚ãã®é€†ã®å¤‰æ›ã‚‚行ã„ã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f4native2ascii\fP\f2 [options] [inputfile [outputfile]]\fP +.fl +.fi + +.LP +.SH "説明" +.LP +.LP +\f2native2ascii\fP Java実行環境ã§ã‚µãƒãƒ¼ãƒˆã•れる文字エンコーディングã«ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã•れãŸãƒ•ァイルをã€ASCIIã§ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã•れãŸãƒ•ァイルã«å¤‰æ›ã—ã¾ã™ã€‚ASCII文字セットã®ä¸€éƒ¨ã§ãªã„ã™ã¹ã¦ã®æ–‡å­—ã§Unicodeエスケープ(「\\uxxxxã€ã®è¡¨è¨˜)を使用ã—ã¾ã™ã€‚ã“ã®ãƒ—ロセスã¯ã€ISO\-8859\-1文字セットã«å«ã¾ã‚Œãªã„文字ãŒå«ã¾ã‚Œã¦ã„るプロパティ・ファイルã§å¿…è¦ã§ã™ã€‚ã“ã®ãƒ„ールã¯ã€ãã®é€†ã®å¤‰æ›ã‚’実行ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.LP +.LP +\f2outputfile\fPã‚’çœç•¥ã—ãŸå ´åˆã€æ¨™æº–出力ã«å‡ºåŠ›ã•れã¾ã™ã€‚ã•らã«ã€\f2inputfile\fPã‚’çœç•¥ã—ãŸå ´åˆã€æ¨™æº–入力ã‹ã‚‰å…¥åŠ›ã•れã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-reverse +逆ã®å‡¦ç†ã‚’行ã„ã¾ã™ã€‚ã¤ã¾ã‚Šã€ISO\-8859\-1ã§Unicodeエスケープを使用ã—ã¦ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‰ã•れãŸãƒ•ァイルをã€Java実行環境ã§ã‚µãƒãƒ¼ãƒˆã•れる文字エンコーディングã®ãƒ•ァイルã«å¤‰æ›ã—ã¾ã™ã€‚ +.br +.br +.TP 3 +\-encoding encoding_name +変æ›å‡¦ç†ã§ä½¿ç”¨ã™ã‚‹æ–‡å­—エンコーディングã®åå‰ã‚’指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションãŒå­˜åœ¨ã—ãªã„å ´åˆã¯ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æ–‡å­—エンコーディング(\f2java.nio.charset.Charset.defaultCharset\fPメソッドã§å®šç¾©ã•れる)ãŒä½¿ç”¨ã•れã¾ã™ã€‚\f2encoding_name\fP文字列ã¯ã€ +.na +\f4サãƒãƒ¼ãƒˆã•れã¦ã„る文字列エンコーディング\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/intl/encoding.doc.html・ドキュメントã«ç¤ºã•れã¦ã„ã‚‹ã€Java実行環境ã§ã‚µãƒãƒ¼ãƒˆã•れる文字エンコーディングã®åå‰ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.br +.br +.TP 3 +\-Joption +Java仮想マシンã«\f2option\fPを渡ã—ã¾ã™ã€‚\f2option\fPã«ã¯ã€java(1)ã®ãƒªãƒ•ァレンス・ページã«è¨˜è¼‰ã•れã¦ã„るオプションを1ã¤æŒ‡å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚ +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/orbd.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/orbd.1 new file mode 100644 index 00000000..5b547516 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/orbd.1 @@ -0,0 +1,349 @@ +." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH orbd 1 "05 Jul 2012" + +.LP +.SH "åå‰" +orbd \- The Object Request Broker Daemon +.LP +.LP +\f3orbd\fPã¯ã€CORBA環境ã®ã‚µãƒ¼ãƒãƒ¼ã«ã‚る永続オブジェクトをクライアントã‹ã‚‰é€éŽçš„ã«æ¤œç´¢ã—ã¦å‘¼ã³å‡ºã›ã‚‹ã‚ˆã†ã«ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚ +.LP +.LP +\f3関連項目:\fP +.na +\f2ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +orbd <\fP\f3options\fP\f3> +.fl +\fP +.fi + +.LP +.SH "説明" +.LP +.LP +\f3orbd\fPツールã«å«ã¾ã‚Œã‚‹ã‚µãƒ¼ãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã‚’使用ã™ã‚‹ã¨ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¯CORBA環境ã§ã‚µãƒ¼ãƒãƒ¼ä¸Šã«ã‚る永続オブジェクトをé€éŽçš„ã«æ¤œç´¢ã—ã¦å‘¼ã³å‡ºã™ã“ã¨ãŒã§ãã¾ã™ã€‚永続サーãƒãƒ¼ã¯ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ã‚¹ã«æ°¸ç¶šã‚ªãƒ–ジェクトå‚照を発行ã™ã‚‹éš›ã€ã‚µãƒ¼ãƒãƒ¼ã®ãƒãƒ¼ãƒˆç•ªå·ã®ã‹ã‚りã«ORBDã®ãƒãƒ¼ãƒˆç•ªå·ã‚’オブジェクトå‚ç…§ã«å«ã‚ã¾ã™ã€‚永続オブジェクトå‚ç…§ã®ã‚ªãƒ–ジェクトå‚ç…§ã«ORBDãƒãƒ¼ãƒˆç•ªå·ã‚’å«ã‚ã‚‹ã“ã¨ã«ã¯ã€æ¬¡ã®ã‚ˆã†ãªåˆ©ç‚¹ãŒã‚りã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã«ã‚るオブジェクトå‚ç…§ãŒã€ã‚µãƒ¼ãƒãƒ¼ã®ãƒ©ã‚¤ãƒ•・サイクルã¨ç„¡é–¢ä¿‚ã«ãªã‚Šã¾ã™ã€‚ãŸã¨ãˆã°ã€ã‚ªãƒ–ジェクトå‚ç…§ã¯ã€åˆã‚ã¦ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れãŸã¨ãã¯ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®ã‚µãƒ¼ãƒãƒ¼ã«ã‚ˆã£ã¦ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã«ç™ºè¡Œã•れã¾ã™ãŒã€ãã®å¾Œã¯ã€ã‚µãƒ¼ãƒãƒ¼ã®é–‹å§‹ã¾ãŸã¯ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³ã®å›žæ•°ã«ã‹ã‹ã‚らãšã€å‘¼ã³å‡ºã—ãŸã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã«ORBDãŒã„ã¤ã§ã‚‚æ­£ã—ã„オブジェクトå‚ç…§ã‚’è¿”ã—ã¾ã™ã€‚ +.TP 2 +o +クライアントã¯ä¸€åº¦ã®ã¿ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚µãƒ¼ãƒ“スã®ã‚ªãƒ–ジェクトå‚照をルックアップã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ãŒã€ãã®å¾Œã¯ã‚µãƒ¼ãƒãƒ¼ã®ãƒ©ã‚¤ãƒ•・サイクルã«ã‚ˆã‚‹å¤‰æ›´ã¨ã¯ç„¡é–¢ä¿‚ã«ã“ã®å‚照を利用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.RE + +.LP +.LP +ORBDã®ã‚µãƒ¼ãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã«ã¯ã€servertool(1)を使用ã—ã¦ã‚µãƒ¼ãƒãƒ¼ã‚’èµ·å‹•ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚servertoolã¯ã€ã‚¢ãƒ—リケーション・プログラマãŒã€æ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã®ç™»éŒ²ã€ç™»éŒ²è§£é™¤ã€èµ·å‹•ãŠã‚ˆã³ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³ã‚’行ã†ãŸã‚ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースã§ã™ã€‚サーãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã®è©³ç´°ã¯ã€ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®\f2サーãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£\fPã¨ã„ã†é …ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +\f2orbd\fPã‚’èµ·å‹•ã™ã‚‹ã¨ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スも起動ã•れã¾ã™ã€‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®è©³ç´°ã¯ã€ +.na +\f2ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "オプション" +.LP +.SS +必須オプション +.LP +.RS 3 +.TP 3 +\-ORBInitialPort nameserverport +ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ã‚’èµ·å‹•ã™ã‚‹ãƒãƒ¼ãƒˆã®ç•ªå·ã‚’指定ã—ã¾ã™ã€‚\f2orbd\fPã¯ã€èµ·å‹•ã•れるã¨ã€ã“ã®ãƒãƒ¼ãƒˆä¸Šã§ç€ä¿¡ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’待機ã—ã¾ã™ã€‚Solarisソフトウェアを使用ã™ã‚‹å ´åˆã€1024よりå°ã•ã„ãƒãƒ¼ãƒˆä¸Šã§ãƒ—ロセスを開始ã™ã‚‹ã«ã¯ã€rootユーザーã«ãªã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ãŸã‚ã€1024以上ã®ãƒãƒ¼ãƒˆç•ªå·ã‚’使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚(å¿…é ˆ) +.RE + +.LP +.LP + +.LP +.SS +ãã®ä»–ã®ã‚ªãƒ—ション +.LP +.RS 3 +.TP 3 +\-port port +ORBDã‚’èµ·å‹•ã™ã‚‹ãƒãƒ¼ãƒˆã‚’指定ã—ã¾ã™ã€‚ã“ã®ãƒãƒ¼ãƒˆã§ã€æ°¸ç¶šã‚ªãƒ–ジェクトã«å¯¾ã™ã‚‹ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’ORBDãŒå—ã‘å–りã¾ã™ã€‚ã“ã®ãƒãƒ¼ãƒˆã®ãƒ‡ãƒ•ォルト値ã¯1049ã§ã™ã€‚ã“ã®ãƒãƒ¼ãƒˆç•ªå·ã¯ã€æ°¸ç¶šInteroperable Object References(IOR)ã®ãƒãƒ¼ãƒˆãƒ»ãƒ•ィールドã«è¿½åŠ ã•れã¾ã™ã€‚(çœç•¥å¯) +.RE + +.LP +.RS 3 +.TP 3 +\-defaultdb directory +ORBD永続格ç´ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª\f2orb.db\fPãŒä½œæˆã•れるベース・ディレクトリを指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ãƒ‡ãƒ•ォルト値ã¯ã€Œ./orb.dbã€ã«ãªã‚Šã¾ã™ã€‚(çœç•¥å¯) +.RE + +.LP +.RS 3 +.TP 3 +\-serverPollingTime milliseconds +\f2servertool\fPを使用ã—ã¦ç™»éŒ²ã•ã‚ŒãŸæ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ãŒæ­£å¸¸ã«å‹•作ã—ã¦ã„ã‚‹ã“ã¨ã‚’ORBDãŒç¢ºèªã™ã‚‹å›žæ•°ã‚’指定ã—ã¾ã™ã€‚デフォルト値ã¯1,000ミリ秒ã§ã™ã€‚\f2milliseconds\fPã«æŒ‡å®šã™ã‚‹å€¤ã¯ã€æœ‰åŠ¹ãªæ­£ã®æ•´æ•°ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚(çœç•¥å¯) +.RE + +.LP +.RS 3 +.TP 3 +\-serverStartupDelay milliseconds +\f2servertool\fPを使用ã—ã¦ç™»éŒ²ã•ã‚ŒãŸæ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã‚’å†èµ·å‹•ã—ã¦ã‹ã‚‰ã€ä½ç½®è»¢é€ã®ä¾‹å¤–ã‚’é€ä¿¡ã™ã‚‹ã¾ã§ã®ORBDã®å¾…機時間を指定ã—ã¾ã™ã€‚デフォルト値ã¯1,000ミリ秒ã§ã™ã€‚\f2milliseconds\fPã«æŒ‡å®šã™ã‚‹å€¤ã¯ã€æœ‰åŠ¹ãªæ­£ã®æ•´æ•°ã«ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚(çœç•¥å¯) +.RE + +.LP +.RS 3 +.TP 3 +\-Joption +Java仮想マシンã«\f2option\fPを渡ã—ã¾ã™ã€‚\f2option\fPã«ã¯ã€java(1)ã®ãƒªãƒ•ァレンス・ページã«è¨˜è¼‰ã•れã¦ã„るオプションを1ã¤æŒ‡å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚\f3\-J\fPを使用ã—ã¦èƒŒå¾Œã®ä»®æƒ³ãƒžã‚·ãƒ³ã«ã‚ªãƒ—ションを渡ã™ã“ã¨ã¯ã‚ˆã行ã‚れã¦ã„ã¾ã™ã€‚ +.TP 3 + +.RE + +.LP +.SH "ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®èµ·å‹•ã¨åœæ­¢" +.LP +.LP +ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¯ã€ +.na +\f2CORBAオブジェクト\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlGlossary.html#CORBA%20objectã«ãƒãƒ¼ãƒŸãƒ³ã‚°ã‚’å¯èƒ½ã«ã™ã‚‹CORBAサービスã§ã™ã€‚ãƒãƒ¼ãƒŸãƒ³ã‚°ã¯åå‰ã‚’オブジェクトå‚ç…§ã«ãƒã‚¤ãƒ³ãƒ‰ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šå¯èƒ½ã«ãªã‚Šã¾ã™ã€‚ +.na +\f2ãƒãƒ¼ãƒ ãƒ»ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlGlossary.html#name%20bindingã‚’ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ã‚¹ã«æ ¼ç´ã™ã‚Œã°ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãŒåå‰ã‚’指定ã—ã¦ç›®çš„ã®ã‚ªãƒ–ジェクトå‚ç…§ã‚’å–å¾—ã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +ORBDã¯ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¾ãŸã¯ã‚µãƒ¼ãƒãƒ¼ã‚’実行ã™ã‚‹å‰ã«èµ·å‹•ã—ã¾ã™ã€‚ORBDã«ã¯ã€æ°¸ç¶šãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スãŠã‚ˆã³ä¸€æ™‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スãŒçµ„ã¿è¾¼ã¾ã‚Œã¦ã„ã¾ã™ã€‚ã“れらã¯ã©ã¡ã‚‰ã‚‚COSãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®å®Ÿè£…ã§ã™ã€‚ +.LP +.LP +\f4永続\fP\f3ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\fPã¯ã€ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã«å¯¾ã—ã¦æ°¸ç¶šæ€§ã‚’æä¾›ã—ã¾ã™ã€‚ã¤ã¾ã‚Šã€ã“ã®æƒ…å ±ã¯ã€ã‚µãƒ¼ãƒ“スã®åœæ­¢ã‚„起動後ã«ã‚‚ç¶­æŒã•れã€ã‚µãƒ¼ãƒ“スã«éšœå®³ãŒç™ºç”Ÿã—ãŸå ´åˆã§ã‚‚回復ã§ãã¾ã™ã€‚ORBDã‚’å†èµ·å‹•ã™ã‚‹ã¨ã€æ°¸ç¶šãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¯ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã®ã‚°ãƒ©ãƒ•を復元ã—ã€ã™ã¹ã¦ã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¨ã‚µãƒ¼ãƒãƒ¼ã®åå‰ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒãã®ã¾ã¾(永続的ã«)ä¿æŒã•れるよã†ã«ã—ã¾ã™ã€‚ +.LP +.LP +\ +.LP +.LP +下ä½äº’æ›æ€§ã®ãŸã‚ã€æ—§ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®JDKã«åŒæ¢±ã•れã¦ã„ãŸ\f4一時\fP\f3ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\fP\f2tnameserv\fPãŒã€ä»Šå›žã®ãƒªãƒªãƒ¼ã‚¹ã®J2SEã«ã‚‚åŒæ¢±ã•れã¦ã„ã¾ã™ã€‚一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã§ã¯ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®å®Ÿè¡Œä¸­ã«ã®ã¿ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãŒä¿æŒã•れã¾ã™ã€‚サービスãŒä¸­æ–­ã•れるã¨ã€ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ»ã‚°ãƒ©ãƒ•ã¯å¤±ã‚れã¾ã™ã€‚ +.LP +.LP +\f2\-ORBInitialPort\fP引数ã¯ã€\f2orbd\fPã®å¿…é ˆã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å¼•æ•°ã§ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スãŒå®Ÿè¡Œã•れるãƒãƒ¼ãƒˆã®ç•ªå·ã‚’設定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•れã¾ã™ã€‚æ¬¡ã®æ‰‹é †ã§ã¯ã€Java\ IDL Object Request Broker Daemon用ã«ãƒãƒ¼ãƒˆ1050を使用ã§ãã‚‹ã“ã¨ã‚’剿ã¨ã—ã¦ã„ã¾ã™ã€‚Solarisソフトウェアを使用ã™ã‚‹å ´åˆã€1024よりå°ã•ã„ãƒãƒ¼ãƒˆä¸Šã§ãƒ—ロセスを開始ã™ã‚‹ã«ã¯ã€rootユーザーã«ãªã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ãŸã‚ã€1024以上ã®ãƒãƒ¼ãƒˆç•ªå·ã‚’使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚å¿…è¦ã§ã‚れã°åˆ¥ã®ãƒãƒ¼ãƒˆã«å¤‰æ›´ã—ã¦ãã ã•ã„。 +.LP +.LP +UNIXコマンド・シェルã§\f2orbd\fPã‚’èµ·å‹•ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + orbd \-ORBInitialPort 1050& +.fl +\fP +.fi + +.LP +.LP +Windowsã®MS\-DOSシステム・プロンプトã§ã¯ã€æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + start orbd \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +ã“れã§ORBDãŒå®Ÿè¡Œã•れã€ã‚µãƒ¼ãƒãƒ¼ã¨ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã®ã‚¢ãƒ—リケーションを実行ã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚クライアントã¨ã‚µãƒ¼ãƒãƒ¼ã®ã‚¢ãƒ—リケーションã¯ã€å®Ÿè¡Œæ™‚ã«ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スãŒå®Ÿè¡Œã•れã¦ã„ã‚‹ãƒãƒ¼ãƒˆã®ç•ªå·(å¿…è¦ãªå ´åˆã¯ã•らã«ãƒžã‚·ãƒ³å)ã‚’èªè­˜ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“れを実ç¾ã™ã‚‹1ã¤ã®æ–¹æ³•ã¯ã€æ¬¡ã®ã‚³ãƒ¼ãƒ‰ã‚’アプリケーションã«è¿½åŠ ã™ã‚‹ã“ã¨ã§ã™ã€‚ +.LP +.nf +\f3 +.fl + Properties props = new Properties(); +.fl + props.put("org.omg.CORBA.ORBInitialPort", "1050"); +.fl + props.put("org.omg.CORBA.ORBInitialHost", "MyHost"); +.fl + ORB orb = ORB.init(args, props); +.fl +\fP +.fi + +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¯ã€ãƒ›ã‚¹ãƒˆMyHostã®ãƒãƒ¼ãƒˆ1050上ã§å®Ÿè¡Œã•れã¾ã™ã€‚åˆ¥ã®æ–¹æ³•ã¨ã—ã¦ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‹ã‚‰ã‚µãƒ¼ãƒãƒ¼ã¾ãŸã¯ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã®ã‚¢ãƒ—リケーションを実行ã™ã‚‹ã¨ãã«ã€ãƒãƒ¼ãƒˆç•ªå·ã¾ãŸã¯ãƒžã‚·ãƒ³åã‚ã‚‹ã„ã¯ãã®ä¸¡æ–¹ã‚’指定ã™ã‚‹æ–¹æ³•ã‚‚ã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションを使用ã—ã¦ã€ã€ŒHelloApplicationã€ã‚’èµ·å‹•ã§ãã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + java HelloApplication \-ORBInitialPort 1050 \-ORBInitialHost MyHost +.fl +\fP +.fi + +.LP +.LP +ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ã‚¹ã‚’åœæ­¢ã™ã‚‹ã«ã¯ã€é©åˆ‡ãªã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ãƒ»ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€Solaris上ã§\f2pkill orbd\fPを実行ã—ãŸã‚Šã€\f2orbd\fPãŒå‹•作中ã®DOSウィンドウã§\f2[Ctrl]+[C]\fPキーを押ã—ã¾ã™ã€‚一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®å ´åˆã¯ã€ã‚µãƒ¼ãƒ“スãŒçµ‚了ã•れるã¨ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã«ç™»éŒ²ã•れãŸåå‰ãŒæ¶ˆåŽ»ã•れる場åˆãŒã‚りã¾ã™ã€‚Java IDLãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¯ã€æ˜Žç¤ºçš„ã«åœæ­¢ã•れるã¾ã§å®Ÿè¡Œã•れã¾ã™ã€‚ +.LP +.LP +ORBDã«å«ã¾ã‚Œã‚‹ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®è©³ç´°ã¯ã€ +.na +\f2ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "サーãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£" +.LP +.LP +ORBDã®ã‚µãƒ¼ãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã«ã‚¢ã‚¯ã‚»ã‚¹ã—ã¦ã€æ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã‚’実行ã™ã‚‹ã«ã¯ã€servertool(1)を使用ã—ã¦ã‚µãƒ¼ãƒãƒ¼ã‚’èµ·å‹•ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚servertoolã¯ã€ã‚¢ãƒ—リケーション・プログラマãŒã€æ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã®ç™»éŒ²ã€ç™»éŒ²è§£é™¤ã€èµ·å‹•ãŠã‚ˆã³ã‚·ãƒ£ãƒƒãƒˆãƒ€ã‚¦ãƒ³ã‚’行ã†ãŸã‚ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースã§ã™ã€‚\f2servertool\fPを使用ã—ã¦ã‚µãƒ¼ãƒãƒ¼ã‚’èµ·å‹•ã™ã‚‹å ´åˆã¯ã€\f2orbd\fPãŒå®Ÿè¡Œã•れã¦ã„る場所ã¨åŒã˜ãƒãƒ¼ãƒˆã¨ãƒ›ã‚¹ãƒˆã§èµ·å‹•ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚サーãƒãƒ¼ã‚’ç•°ãªã‚‹ãƒãƒ¼ãƒˆã§å®Ÿè¡Œã™ã‚‹ã¨ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆç”¨ã«ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ã«ä¿å­˜ã•れã¦ã„る情報ãŒç„¡åйã«ãªã‚Šã€ã‚µãƒ¼ãƒ“ã‚¹ãŒæ­£ã—ã動作ã—ã¾ã›ã‚“。 +.LP +.SS +サーãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£: 例 +.LP +.LP +デモ用㮠+.na +\f2サンプル・ãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlExample.htmlを使用ã—ã€ãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«ã®æ‰‹é †ã«å¾“ã£ã¦ã€\f2idlj\fPコンパイラã¨\f2javac\fPコンパイラを実行ã—ã¾ã™ã€‚サーãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã‚’実行ã™ã‚‹ã«ã¯ã€æ¬¡ã®æ‰‹é †ã«å¾“ã£ã¦ã‚¢ãƒ—リケーションを実行ã—ã¾ã™ã€‚ +.LP +.LP +\f2orbd\fPã‚’èµ·å‹•ã—ã¾ã™ã€‚ +.LP +.LP +UNIXコマンド・シェルã§\f2orbd\fPã‚’èµ·å‹•ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã—ã¾ã™ã€‚ +.LP +.LP +\ +.LP +.nf +\f3 +.fl + orbd \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +Windowsã®MS\-DOSシステム・プロンプトã§ã¯ã€æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + start orbd \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +\f21050\fPã¯ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ã‚’実行ã™ã‚‹ãƒãƒ¼ãƒˆã§ã™ã€‚\f2\-ORBInitialPort\fPã¯å¿…è¦ãªã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã®å¼•æ•°ã§ã™ã€‚Solarisソフトウェアを使用ã™ã‚‹å ´åˆã€1024よりå°ã•ã„ãƒãƒ¼ãƒˆä¸Šã§ãƒ—ロセスを開始ã™ã‚‹ã«ã¯ã€rootユーザーã«ãªã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ãŸã‚ã€1024以上ã®ãƒãƒ¼ãƒˆç•ªå·ã‚’使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.LP +.LP +\f2servertool\fPã‚’èµ·å‹•ã—ã¾ã™ã€‚ +.LP +.LP +Helloサーãƒãƒ¼ã‚’èµ·å‹•ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + servertool \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +å‰å›žã®æ‰‹é †ã¨ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼(\f2orbd\fP)ã®ãƒãƒ¼ãƒˆãŒåŒã˜ã§ã‚ã‚‹ã“ã¨ã‚’確èªã—ã¾ã™ã€‚ãŸã¨ãˆã°\f2\-ORBInitialPort 1050\fPã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚\f2servertool\fPã¯ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ã¨åŒã˜ãƒãƒ¼ãƒˆä¸Šã§èµ·å‹•ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +\f2servertool\fPコマンドライン・インタフェースãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +.LP + +.LP +.LP +\f2servertool\fPプロンプトã‹ã‚‰Helloサーãƒãƒ¼ã‚’èµ·å‹•ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + servertool > register \-server HelloServer \-classpath . \-applicationName +.fl + HelloServerApName +.fl +\fP +.fi + +.LP +.LP +\f2servertool\fPã«ã‚ˆã£ã¦ã‚µãƒ¼ãƒãƒ¼ãŒç™»éŒ²ã•れã¦ã€ã€ŒHelloServerApNameã€ã¨ã„ã†åå‰ãŒã‚µãƒ¼ãƒãƒ¼ã«å‰²ã‚Šå½“ã¦ã‚‰ã‚Œã€ç™»éŒ²ã•れã¦ã„ã‚‹ã™ã¹ã¦ã®ã‚µãƒ¼ãƒãƒ¼ä¸€è¦§ã¨ã¨ã‚‚ã«ã‚µãƒ¼ãƒãƒ¼IDãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +.LP + +.LP +.LP +別ã®ç«¯æœ«ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã¾ãŸã¯ãƒ—ロンプトã‹ã‚‰ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãƒ»ã‚¢ãƒ—リケーションを実行ã—ã¾ã™ã€‚ +.LP +.LP +\ +.LP +.nf +\f3 +.fl + java HelloClient \-ORBInitialPort 1050 \-ORBInitialHost localhost +.fl +\fP +.fi + +.LP +.LP +ã“ã®ä¾‹ã®\f2\-ORBInitialHost localhost\fPã¯çœç•¥ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒHelloクライアントã¨ã—ã¦åŒä¸€ãƒ›ã‚¹ãƒˆä¸Šã§å‹•作ã—ã¦ã„ã‚‹ã‹ã‚‰ã§ã™ã€‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒåˆ¥ã®ãƒ›ã‚¹ãƒˆã§å‹•作ã—ã¦ã„ã‚‹å ´åˆã¯ã€IDLãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒå‹•作ã—ã¦ã„るホストを\f2\-ORBInitialHost\fP \f2nameserverhost\fPã§æŒ‡å®šã—ã¾ã™ã€‚ +.LP +.LP +å‰å›žã®æ‰‹é †ã¨åŒæ§˜ã«ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼(\f2orbd\fP)ã®ãƒãƒ¼ãƒˆã‚’指定ã—ã¾ã™ã€‚ãŸã¨ãˆã°\f2\-ORBInitialPort 1050\fPã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +.LP +\ +.LP +.LP +\ +.LP +.LP +サーãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã®æ“作ãŒçµ‚了ã—ãŸã‚‰ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼(\f2orbd\fP)ã¨\f2servertool\fPã‚’åœæ­¢ã™ã‚‹ã‹çµ‚了ã—ã¦ãã ã•ã„。 +.LP +.LP +DOSプロンプトã§\f2orbd\fPをシャットダウンã™ã‚‹ã«ã¯ã€ã‚µãƒ¼ãƒãƒ¼ã‚’実行ã—ã¦ã„ã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚’é¸æŠžã—ã¦\f2[Ctrl]+[C]\fPキーを押ã—ã¾ã™ã€‚UNIXシェルã§\f2orbd\fPをシャットダウンã™ã‚‹ã«ã¯ã€ãƒ—ロセスを検出ã—ã¦çµ‚了(kill)ã—ã¾ã™ã€‚サーãƒãƒ¼ã‚’明示的ã«åœæ­¢ã™ã‚‹ã¾ã§ã¯ã€å‘¼å‡ºã—待機状態ãŒç¶šãã¾ã™ã€‚ +.LP +.LP +\f2servertool\fPをシャットダウンã™ã‚‹ã«ã¯ã€\f2quit\fPã¨å…¥åŠ›ã—ã¦ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰ã®\f2[Enter]\fPキーを押ã—ã¾ã™ã€‚ +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +.na +\f2ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html +.br +.TP 2 +o +servertool(1) +.RE + +.LP +.br + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/pack200.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/pack200.1 new file mode 100644 index 00000000..cebfb713 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/pack200.1 @@ -0,0 +1,343 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH pack200 1 "05 Jul 2012" + +.LP +.SH "åå‰" +pack200 \- JARパック・ツール +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +終了ステータス +.TP 2 +o +関連項目 +.TP 2 +o +æ³¨æ„ +.RE + +.LP +.SH "å½¢å¼" +.LP +.LP +\f4pack200\fP\f2 [ \fP\f2options\fP ] \f2output\-file\fP \f2JAR\-file\fP +.LP +.LP +ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æŒ‡å®šé †åºã«æ±ºã¾ã‚Šã¯ã‚りã¾ã›ã‚“。コマンドラインã¾ãŸã¯propertiesãƒ•ã‚¡ã‚¤ãƒ«ã«æŒ‡å®šã•ã‚ŒãŸæœ€å¾Œã®ã‚ªãƒ—ションãŒã€ãれ以å‰ã«æŒ‡å®šã•れãŸã™ã¹ã¦ã®ã‚ªãƒ—ションより優先ã•れã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +options +コマンドライン・オプション。 +.TP 3 +output\-file +出力ファイルã®åå‰ã€‚ +.TP 3 +JAR\-file +入力ファイルã®åå‰ã€‚ +.RE + +.LP +.SH "説明" +.LP +.LP +\f2pack200\fPツールã¯ã€Java \f2gzip\fP圧縮プログラムを使用ã—ã¦JARファイルを\f2pack200\fP圧縮ファイルã«å¤‰æ›ã™ã‚‹Javaアプリケーションã§ã™ã€‚\f2pack200\fPファイルã¯é«˜åœ§ç¸®ã®ãƒ•ァイルã§ã€å¸¯åŸŸå¹…ã®ç¯€ç´„やダウンロード時間ã®çŸ­ç¸®ã‚„直接デプロイã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +.LP +\f2pack200\fPツールã«ã¯ã€åœ§ç¸®ã‚¨ãƒ³ã‚¸ãƒ³ã®è¨­å®šã‚„微調整を行ã†ã‚ªãƒ—ションãŒç”¨æ„ã•れã¦ã„ã¾ã™ã€‚ +.LP +.SS +一般的ãªä½¿ç”¨æ–¹æ³•: +.LP +.LP +\f2% pack200 myarchive.pack.gz myarchive.jar\fP +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€ãƒ‡ãƒ•ォルトã®\f2pack200\fP設定を使用ã—ã¦\f2myarchive.pack.gz\fPãŒç”Ÿæˆã•れã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.LP +\f4\-r \-\-repack\fP +.LP +.LP +ファイル\f2myarchive.jar\fPをパックã—ãŸå¾Œã‚¢ãƒ³ãƒ‘ックã™ã‚‹ã“ã¨ã§ã€JARファイルを生æˆã—ã¾ã™ã€‚生æˆã•れãŸãƒ•ァイルã¯\f2jarsigner(1)\fPツールã®å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã¨ã—ã¦ä½¿ç”¨ã§ãã¾ã™ã€‚ +.LP +.LP +\f2% pack200 \-\-repack myarchive\-packer.jar myarchive.jar\fP +.LP +.LP +\f2% pack200 \-\-repack myarchive.jar\fP +.LP +.LP +\f4\-g \-\-no\-gzip\fP +.LP +.LP +\f2pack200\fPファイルを生æˆã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ãã¯ã€é©åˆ‡ãªåœ§ç¸®ãƒ„ールを使用ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã¾ãŸã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚·ã‚¹ãƒ†ãƒ ã§ã¯ã€å¯¾å¿œã™ã‚‹åœ§ç¸®è§£é™¤ãƒ„ールを使用ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.LP +\f2% pack200 \-\-no\-gzip myarchive.pack myarchive.jar\fP +.LP +.LP +\f4\-G \-\-strip\-debug\fP +.LP +.LP +出力ã‹ã‚‰ãƒ‡ãƒãƒƒã‚°ç”¨ã®å±žæ€§ã‚’削除ã—ã¾ã™ã€‚ã“れã«ã¯ã€\f2SourceFile\fPã€\f2LineNumberTable\fPã€\f2LocalVariableTable\fPã€\f2LocalVariableTypeTable\fPãŒå«ã¾ã‚Œã¾ã™ã€‚ã“れらã®å±žæ€§ã‚’削除ã™ã‚Œã°ã€ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã¨ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã®ã‚µã‚¤ã‚ºã¯å°ã•ããªã‚Šã¾ã™ãŒã€ãƒ‡ãƒãƒƒã‚¬ã®æ©Ÿèƒ½ã¯åˆ¶é™ã•れã¾ã™ã€‚ +.LP +.LP +\f4\-\-keep\-file\-order\fP +.LP +.LP +入力ファイル内ã®ãƒ•ァイルã®é †åºã‚’ç¶­æŒã—ã¾ã™ã€‚ã“れãŒãƒ‡ãƒ•ォルトã®å‹•作ã§ã™ã€‚ +.LP +.LP +\f4\-O \-\-no\-keep\-file\-order\fP +.LP +.LP +パック・ツールã¯ã€ã™ã¹ã¦ã®è¦ç´ ã‚’ä¸¦ã¹æ›¿ãˆã¦è»¢é€ã—ã¾ã™ã€‚ã•らã«ã€JARディレクトリåãŒå‰Šé™¤ã•れる場åˆãŒã‚りã¾ã™ã€‚ã“ã®ãŸã‚ã€ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã®ã‚µã‚¤ã‚ºã¯å°ã•ããªã‚Šã¾ã™ãŒã€ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ã‚’ã¯ã˜ã‚ã¨ã™ã‚‹JARãƒ•ã‚¡ã‚¤ãƒ«ã®æœ€é©åŒ–æ©Ÿèƒ½ã¯æ­£å¸¸ã«å‹•作ã—ãªããªã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚ +.LP +.LP +\f4\-Svalue \-\-segment\-limit=\fP\f2value\fP +.LP +.LP +ã“ã®å€¤ã¯ã€å„アーカイブ・セグメントã®äºˆæƒ³ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ã‚µã‚¤ã‚ºN(ãƒã‚¤ãƒˆå˜ä½)ã§ã™ã€‚å˜ä¸€ã®å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®å¿…è¦ã‚µã‚¤ã‚ºãŒ +.br +Nãƒã‚¤ãƒˆã‚’è¶…ãˆã‚‹ã¨ã€ãã®ãƒ•ァイルã«ã¯ç‹¬ç«‹ã—ãŸã‚¢ãƒ¼ã‚«ã‚¤ãƒ–・セグメントãŒå‰²ã‚Šå½“ã¦ã‚‰ã‚Œã¾ã™ã€‚特殊ãªã‚±ãƒ¼ã‚¹ã¨ã—ã¦ã€å€¤ãŒ\f2\-1\fPã®å ´åˆã¯ã€ã™ã¹ã¦ã®å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å«ã‚€å¤§ããªå˜ä¸€ã®ã‚»ã‚°ãƒ¡ãƒ³ãƒˆãŒç”Ÿæˆã•れã€å€¤ãŒ\f20\fPã®å ´åˆã¯ã€ã‚¯ãƒ©ã‚¹ã”ã¨ã«ã‚»ã‚°ãƒ¡ãƒ³ãƒˆãŒ1ã¤ãšã¤ç”Ÿæˆã•れã¾ã™ã€‚アーカイブ・セグメントãŒå¤§ãããªã‚‹ã¨ã€æ–­ç‰‡åŒ–ãŒå°‘ãªããªã‚Šåœ§ç¸®çއãŒé«˜ããªã‚Šã¾ã™ãŒã€ãã®å‡¦ç†ã«ã¯å¤šãã®ãƒ¡ãƒ¢ãƒªãƒ¼ãŒå¿…è¦ã§ã™ã€‚ +.LP +.LP +å„セグメントã®ã‚µã‚¤ã‚ºã¯ã€ã‚»ã‚°ãƒ¡ãƒ³ãƒˆã«å¤‰æ›ã•れるãれãžã‚Œã®å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚µã‚¤ã‚ºã®ã»ã‹ã€ãã®åå‰ã¨ä»–ã®é€ä¿¡ã•れるプロパティã®ã‚µã‚¤ã‚ºã‚’計算ã—ã¦æŽ¨æ¸¬ã•れã¾ã™ã€‚ +.LP +.LP +デフォルト㯠\-1ã§ã™ã€‚ã¤ã¾ã‚Šã€ãƒ‘ック・ツールã¯å¸¸ã«å˜ä¸€ã®ã‚»ã‚°ãƒ¡ãƒ³ãƒˆå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ä½œæˆã—ã¾ã™ã€‚極端ã«å¤§ããªå‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ãŒç”Ÿæˆã•れる場åˆã«ã¯ã€å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ã‚»ã‚°ãƒ¡ãƒ³ãƒˆåŒ–(分割)ã—ã¦ã‚ˆã‚Šå°ã•ãªJARã«ã™ã‚‹ã“ã¨ã‚’å¼·ããŠè–¦ã‚ã—ã¾ã™ã€‚ +.LP +.LP +ã“ã®åˆ¶é™ãŒèª²ã•れã¦ã„ãªã„10MBã®JARパック・ファイルã¯é€šå¸¸ã€ç´„10%å°ã•ãパックã•れã¾ã™ã€‚ã—ã‹ã—ã€ãƒ‘ック・ツールã§ã‚ˆã‚Šå¤§ããªJavaヒープ(セグメントã®åˆ¶é™ã®ç´„10å€)ã‚’å¿…è¦ã¨ã™ã‚‹å ´åˆã‚‚ã‚りã¾ã™ã€‚ +.LP +.LP +\f4\-Evalue \-\-effort=\fP\f2value\fP +.LP +.LP +å˜ä¸€ã®10進数値を指定ã—ãŸå ´åˆã€ãƒ‘ック・ツールã¯ã€æŒ‡å®šã•れãŸåœ§ç¸®çއã§ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–を圧縮ã—ã¾ã™ã€‚レベル\f21\fPã®å ´åˆã¯ã€æ¯”較的短ã„圧縮時間ã§ã‚„や大ãã‚ã®ãƒ•ァイルãŒç”Ÿæˆã•れã¾ã™ãŒã€ãƒ¬ãƒ™ãƒ«\f29\fPã®å ´åˆã¯ã€éžå¸¸ã«é•·ã„時間ãŒã‹ã‹ã‚‹ã‚‚ã®ã®ã€ã‚ˆã‚Šåœ§ç¸®çއã®é«˜ã„ファイルãŒç”Ÿæˆã•れã¾ã™ã€‚特殊ãªå€¤\f20\fPを指定ã—ãŸå ´åˆã¯ã€å…ƒã®JARファイルを圧縮ãªã—ã§ç›´æŽ¥ã‚³ãƒ”ーã—ã¾ã™ã€‚JSR 200標準ã§ã¯ã€ã™ã¹ã¦ã®è§£å‡ãƒ—ログラムãŒã€ã“ã®ç‰¹åˆ¥ãªå ´åˆã‚’アーカイブ全体ã®ãƒ‘ススルーã¨è§£é‡ˆã™ã‚‹ã‚ˆã†ã«è¦å®šã—ã¦ã„ã¾ã™ã€‚ +.LP +.LP +デフォルトã¯\f25\fPã§ã™ã€‚ã“ã®å ´åˆã€æ¨™æº–çš„ãªæ™‚é–“ã§é©åˆ‡ãªåœ§ç¸®ãŒè¡Œã‚れã¾ã™ã€‚ +.LP +.LP +\f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP +.LP +.LP +入力情報をä¿å­˜ã™ã‚‹ã¨ã„ã†ãƒ‡ãƒ•ォルト値を上書ãã—ã¾ã™ã€‚転é€ã•れるアーカイブã®ã‚µã‚¤ã‚ºã¯å¤§ãããªã‚‹å ´åˆãŒã‚りã¾ã™ã€‚次ã®å€¤ã‚’指定ã§ãã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +true +.TP 3 +false +ã©ã¡ã‚‰ã®å ´åˆã§ã‚‚ã€æŒ‡å®šã«å¾“ã£ã¦ãƒ‘ック・ツールãŒãƒ‡ãƒ•レーション・ヒントを出力アーカイブã«è¨­å®šã—ã¾ã™ã€‚アーカイブè¦ç´ ã®å€‹ã€…ã®ãƒ‡ãƒ•レーション・ヒントã¯è»¢é€ã•れã¾ã›ã‚“。 +.RE + +.LP +.RS 3 +.TP 3 +keep +入力JAR.内ã§è¦‹ã¤ã‹ã£ãŸãƒ‡ãƒ•レーション・ヒントを維æŒã—ã¾ã™ã€‚(ã“れãŒãƒ‡ãƒ•ォルトã§ã™ã€‚) +.RE + +.LP +.LP +\f4\-mvalue \-\-modification\-time=\fP\f2value\fP +.LP +.LP +次ã®å€¤ã‚’指定ã§ãã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +latest +パック・ツールã¯ã€å…ƒã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã®ä½¿ç”¨å¯èƒ½ãªã™ã¹ã¦ã®ã‚¨ãƒ³ãƒˆãƒªã®ã†ã¡ã®æœ€çµ‚更新時刻ã‹ã€ãã®ã‚»ã‚°ãƒ¡ãƒ³ãƒˆã®ä½¿ç”¨å¯èƒ½ãªã™ã¹ã¦ã®ã‚¨ãƒ³ãƒˆãƒªã®æœ€çµ‚更新時刻を特定ã—よã†ã¨ã—ã¾ã™ã€‚ã“ã®å˜ä¸€ã®å€¤ã¯ã‚»ã‚°ãƒ¡ãƒ³ãƒˆã®ä¸€éƒ¨ã¨ã—ã¦è»¢é€ã•れã€å„セグメントã®å…¨ã‚¨ãƒ³ãƒˆãƒªã«é©ç”¨ã•れã¾ã™ã€‚ã“ã®å ´åˆã€ã™ã¹ã¦ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ»ãƒ•ァイルã«å˜ä¸€ã®æ—¥ä»˜ãŒè¨­å®šã•れるã¨ã„ã†å•題ã¯ã‚りã¾ã™ãŒã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã®è»¢é€ã‚µã‚¤ã‚ºã‚’å°‘ã—å°ã•ãã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.TP 3 +keep +入力JAR内ã§è¦‹ã¤ã‹ã£ãŸå¤‰æ›´æ™‚刻を維æŒã—ã¾ã™ã€‚(ã“れãŒãƒ‡ãƒ•ォルトã§ã™ã€‚) +.RE + +.LP +.LP +\f4\-Pfile \-\-pass\-file=\fP\f2file\fP +.LP +.LP +ファイルを圧縮ã›ãšã€ãƒã‚¤ãƒˆå˜ä½ã§è»¢é€ã™ã‚‹ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを繰返ã—使用ã—ã¦ã€è¤‡æ•°ã®ãƒ•ァイルを指定ã§ãã¾ã™ã€‚システム・ファイル・セパレータãŒJARファイルセパレータ「\f2/\fPã€ã«ç½®ãæ›ãˆã‚‰ã‚Œã‚‹ç‚¹ã‚’除ãã€ãƒ‘スåã®å¤‰æ›ã¯è¡Œã‚れã¾ã›ã‚“ã€‚çµæžœã¨ã—ã¦å¾—られるファイルåã¯ã€æ–‡å­—列ã¨ã—ã¦æ­£ç¢ºã«JARファイルã§ã®å‡ºç¾ã¨ä¸€è‡´ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚fileã«ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªåを指定ã—ãŸå ´åˆã€ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®ãƒ•ァイルãŒè»¢é€ã•れã¾ã™ã€‚ +.LP +.LP +\f4\-Uaction \-\-unknown\-attribute=\fP\f2action\fP +.LP +.LP +デフォルトã®å‹•作を無効ã«ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€ä¸æ˜Žãªå±žæ€§ã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを指定ã—ãŸã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã§è»¢é€ã—ã¾ã™ã€‚アクションã¨ã—ã¦æŒ‡å®šå¯èƒ½ãªå€¤ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.LP +.RS 3 +.TP 3 +error +\f2pack200\fPã®æ“作全体ã«å¤±æ•—ã—ã€é©åˆ‡ãªè§£èª¬ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.TP 3 +strip +属性ãŒãƒ‰ãƒ­ãƒƒãƒ—ã•れã¾ã™ã€‚注æ„: VM必須属性を削除ã™ã‚‹ã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ã®éšœå®³ãŒç™ºç”Ÿã™ã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚ +.TP 3 +pass +ã“ã®å±žæ€§ãŒæ¤œå‡ºã•れãŸå ´åˆã€ã‚¯ãƒ©ã‚¹å…¨ä½“ãŒ1ã¤ã®ãƒªã‚½ãƒ¼ã‚¹ã¨ã—ã¦è»¢é€ã•れã¾ã™ã€‚ +.RE + +.LP +.LP +\f4\-Cattribute\-name=\fP\f2layout\fP \f3\-\-class\-attribute=\fP\f2attribute\-name=action\fP +.br +\f4\-Fattribute\-name=\fP\f2layout\fP \f3\-\-field\-attribute=\fP\f2attribute\-name=action\fP +.br +\f4\-Mattribute\-name=\fP\f2layout\fP \f3\-\-method\-attribute=\fP\f2attribute\-name=action\fP +.br +\f4\-Dattribute\-name=\fP\f2layout\fP \f3\-\-code\-attribute=\fP\f2attribute\-name=action\fP +.LP +.LP +ã“れら4ã¤ã®ã‚ªãƒ—ションã§ã¯ã€ã‚¯ãƒ©ã‚¹ãƒ»ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã«Class属性ã€Field属性ã€Method属性ã€Code属性ãªã©ã®å±žæ€§ã®ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã‚’指定ã§ãã¾ã™ã€‚attribute\-nameã«ã¯ã€ã“れã‹ã‚‰ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆã¾ãŸã¯ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã‚’定義ã™ã‚‹å±žæ€§ã®åå‰ã‚’指定ã—ã¾ã™ã€‚アクションã¨ã—ã¦æŒ‡å®šå¯èƒ½ãªå€¤ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ã€‚ +.LP +.RS 3 +.TP 3 +some\-layout\-string +レイアウト言語ã¯ã€JSR 200仕様ã«å®šç¾©ã•れã¦ã„ã¾ã™ã€‚ +.LP +例: \f2\-\-class\-attribute=SourceFile=RUH\fP +.TP 3 +error +ã“ã®å±žæ€§ãŒæ¤œå‡ºã•れãŸå ´åˆã€pack200ã®æ“作ã«å¤±æ•—ã—ã€é©åˆ‡ãªè§£èª¬ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.TP 3 +strip +ã“ã®å±žæ€§ãŒæ¤œå‡ºã•れãŸå ´åˆã€å±žæ€§ã¯å‡ºåŠ›ã‹ã‚‰å‰Šé™¤ã•れã¾ã™ã€‚注æ„: VM必須属性を削除ã™ã‚‹ã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ€ãƒ¼ã®éšœå®³ãŒç™ºç”Ÿã™ã‚‹ã“ã¨ãŒã‚りã¾ã™ã€‚ +.RE + +.LP +.LP +例: \f2\-\-class\-attribute=CompilationID=pass\fPã¨ã„ã†ã“ã®å±žæ€§ã‚’å«ã‚€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルを転é€ã—ã¾ã™ã€‚パック・ツールã¯ã€ãã®ä»–ã®ã‚¢ã‚¯ã‚·ãƒ§ãƒ³ã‚’行ã„ã¾ã›ã‚“。 +.LP +.LP +\f4\-f\fP\f2 \fP\f2pack.properties\fP \f3\-\-config\-file=\fP\f2pack.properties\fP +.LP +.LP +コマンドラインã«ã€ãƒ‘ãƒƒã‚¯ãƒ»ãƒ„ãƒ¼ãƒ«ã‚’åˆæœŸåŒ–ã™ã‚‹ãŸã‚ã®JavaプロパティãŒå«ã¾ã‚Œã¦ã„ã‚‹æ§‹æˆãƒ•ァイルを指定ã§ãã¾ã™ã€‚ +.LP +.LP +\f2% pack200 \-f pack.properties myarchive.pack.gz myarchive.jar\fP +.br +\f2% more pack.properties\fP +.br +\f2# Generic properties for the packer.\fP +.br +\f2modification.time=latest\fP +.br +\f2deflate.hint=false\fP +.br +\f2keep.file.order=false\fP +.br +\f2# This option will cause the files bearing new attributes to\fP +.br +\f2# be reported as an error rather than passed uncompressed.\fP +.br +\f2unknown.attribute=error\fP +.br +\f2# Change the segment limit to be unlimited.\fP +.br +\f2segment.limit=\-1\fP +.LP +.LP +\f4\-v \-\-verbose\fP +.LP +.LP +最å°é™ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’出力ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを複数指定ã™ã‚‹ã¨ã€ã‚ˆã‚Šé•·ã„メッセージãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.LP +.LP +\f4\-q \-\-quiet\fP +.LP +.LP +メッセージを表示ã›ãšã«å‹•作ã™ã‚‹ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.LP +.LP +\f4\-lfilename \-\-log\-file=\fP\f2filename\fP +.LP +.LP +出力メッセージã®ãƒ­ã‚°ãƒ»ãƒ•ァイルを指定ã—ã¾ã™ã€‚ +.LP +.LP +\f4\-? \-h \-\-help\fP +.LP +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã«é–¢ã™ã‚‹ãƒ˜ãƒ«ãƒ—情報を出力ã—ã¾ã™ã€‚ +.LP +.LP +\f4\-V \-\-version\fP +.LP +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã«é–¢ã™ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¾ã™ã€‚ +.LP +.LP +\f4\-J\fP\f2option\fP +.LP +.LP +\f2option\fPã‚’ã€\f2pack200\fPã‹ã‚‰å‘¼ã³å‡ºã•れãŸJavaèµ·å‹•ãƒ„ãƒ¼ãƒ«ã«æ¸¡ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーãŒ48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯\f2\-X\fPã§å§‹ã¾ã£ã¦ã„ã¾ã›ã‚“ãŒã€\f2pack200\fPã®æ¨™æº–オプションã§ã¯ã‚りã¾ã›ã‚“。\f2\-J\fPを使用ã—ã¦ã€Javaã§è¨˜è¿°ã•れãŸã‚¢ãƒ—リケーションを実行ã™ã‚‹èƒŒå¾Œã®VMã«ã‚ªãƒ—ション渡ã™ã“ã¨ã¯ã€ã‚ˆã行ã‚れã¦ã„ã¾ã™ã€‚ +.LP +.SH "終了ステータス" +.LP +.LP +次ã®çµ‚了値ãŒè¿”ã•れã¾ã™ã€‚ +.LP +.LP +\f2\ 0\fP正常終了ã—ãŸå ´åˆ +.LP +.LP +\f2>0\fPエラーãŒç™ºç”Ÿã—ãŸå ´åˆ +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +unpack200(1) +.TP 2 +o +.na +\f2Java SEã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://docs.oracle.com/javase/7/docs/index.html +.TP 2 +o +.na +\f2Javaデプロイメント・ガイド \- Pack200\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html +.TP 2 +o +jar(1) \- Java Archiveツール +.TP 2 +o +jarsigner(1) \- JARç½²åツール +.TP 2 +o +\f2attributes(5)\fPã®ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«ãƒ»ãƒšãƒ¼ã‚¸ +.RE + +.LP +.SH "注æ„" +.LP +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¨\f2pack(1)\fPã‚’æ··åŒã—ãªã„ã§ãã ã•ã„。ã“れらã¯åˆ¥è£½å“ã§ã™ã€‚ +.LP +.LP +JDKã«ä»˜å±žã™ã‚‹Java SE API仕様ã¨ã®ç›¸é•ãŒè¦‹ã¤ã‹ã£ãŸå ´åˆã«ã¯ã€ä»•様を優先ã—ã¦ãã ã•ã„。 +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/policytool.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/policytool.1 new file mode 100644 index 00000000..96d5b24d --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/policytool.1 @@ -0,0 +1,101 @@ +." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH policytool 1 "05 Jul 2012" + +.LP +.SH "åå‰" +policytool \- PolicyTool管ç†GUIユーティリティ +.LP +\f3policytool\fPã¯ã€ãƒ¦ãƒ¼ãƒ†ã‚£ãƒªãƒ†ã‚£GUI経由ã§å–å¾—ã—ãŸãƒ¦ãƒ¼ã‚¶ãƒ¼å…¥åŠ›ã«åŸºã¥ã„ã¦ã€ãƒ—レーン・テキストã®ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã‚’èª­ã¿æ›¸ãã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +関連項目 +.RE + +.LP +.SH "å½¢å¼" +.LP +.LP +policytool管ç†è€…ユーティリティを実行ã—ã¾ã™ +.LP +.LP +\f4policytool\fP +.LP +.LP +policytoolを実行ã—ã€æŒ‡å®šã•れãŸãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを読ã¿è¾¼ã¿ã¾ã™ +.LP +.LP +\f4policytool\fP\f2[\-file\ \fP\f2filename\fP\f2]\fP +.LP +.LP +説明 +.LP +.RS 3 +.TP 3 +file +ローカル・ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを読ã¿è¾¼ã‚€ã‚ˆã†ã«\f2policytool\fPã«æŒ‡ç¤ºã—ã¾ã™ +.TP 3 +filename +ファイルå +.RE + +.LP +.SH "説明" +.LP +.LP +\f3policytool\fPã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã®å†…容を管ç†ã™ã‚‹ã“ã¨ã‚’å¯èƒ½ã«ã™ã‚‹GUIã§ã™ã€‚詳細ã¯ã€ +.na +\f2ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイル作æˆãŠã‚ˆã³ç®¡ç†ãƒ„ール\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyGuide.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +file +\f2filename\fPを読ã¿è¾¼ã¿ã¾ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +.na +\f2デフォルトã®ãƒãƒªã‚·ãƒ¼å®Ÿè£…ãŠã‚ˆã³æ§‹æ–‡\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html +.br + +.LP +.na +\f2ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ„ール・ユーザーズ・ガイド\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyGuide.html +.br + +.LP +.na +\f2セキュリティ権é™\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/permissions.html +.br + +.LP +.na +\f2ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ã®æ¦‚è¦\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/overview/jsoverview.html +.br + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmic.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmic.1 new file mode 100644 index 00000000..ea107ca1 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmic.1 @@ -0,0 +1,208 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH rmic 1 "05 Jul 2012" + +.LP +.SH "åå‰" +rmic \- Java RMIコンパイラ +.LP +.LP +\f3rmic\fPã«ã‚ˆã£ã¦ã€JRMPã¾ãŸã¯IIOPプロトコルを使用ã™ã‚‹ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトã®ã‚¹ã‚¿ãƒ–ã€ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã€ãŠã‚ˆã³TieクラスãŒç”Ÿæˆã•れã¾ã™ã€‚ã¾ãŸã€OMG IDLも生æˆã•れã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +rmic [ \fP\f3options\fP\f3 ] \fP\f4package\-qualified\-class\-name(s)\fP\f3 +.fl +\fP +.fi + +.LP +.SH "説明" +.LP +.LP +\f3rmic\fPコンパイラã«ã‚ˆã£ã¦ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトã®ã€ã‚¹ã‚¿ãƒ–ã€ã‚¹ã‚±ãƒ«ãƒˆãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイル(JRMPプロトコル)ã€ãŠã‚ˆã³ã‚¹ã‚¿ãƒ–ã¨Tieクラス・ファイルã®çµ„åˆã›(IIOPプロトコル)ãŒç”Ÿæˆã•れã¾ã™ã€‚リモート・オブジェクトã®å®Ÿè£…クラスã§ã‚ã‚‹ã“れらã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã¯ã€Javaプログラミング言語ã®ã‚¯ãƒ©ã‚¹ã‚’コンパイルã—ãŸã¨ãã«ç”Ÿæˆã•れã¾ã™ã€‚リモート実装クラスã¯ã€\f2java.rmi.Remote\fPインタフェースを実装ã™ã‚‹ã‚¯ãƒ©ã‚¹ã§ã™ã€‚\f3rmic\fPコマンドã§ã®ã‚¯ãƒ©ã‚¹åã¯ã€ãã®ã‚¯ãƒ©ã‚¹ãŒ\f3javac\fPコマンドã§ã‚³ãƒ³ãƒ‘ã‚¤ãƒ«ãŒæˆåŠŸã—ã¦ã„ã¦ã€ã‹ã¤å®Œå…¨ä¿®é£¾ãƒ‘ッケージåã§ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãŸã¨ãˆã°ã€ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルå\f2HelloImpl\fPã§\f3rmic\fPを実行ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +rmic hello.HelloImpl +.fl +\fP +.fi + +.LP +.LP +\f2HelloImpl_Stub.class\fPファイルãŒã€ã‚¯ãƒ©ã‚¹ã®ãƒ‘ッケージåãŒä»˜ã„ãŸ\f2hello\fPサブディレクトリã«ä½œæˆã•れã¾ã™ã€‚ +.LP +.LP +リモート・オブジェクトã®\f2スケルトン\fPã¯JRMPプロトコル・サーãƒãƒ¼å´ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã§ã€å®Ÿéš›ã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクト実装を呼ã³å‡ºã™ãƒ¡ã‚½ãƒƒãƒ‰ã‚’å«ã¿ã¾ã™ã€‚ +.LP +.LP +リモート・オブジェクトã®\f2Tie\fPã¯ã€ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã¨åŒæ§˜ã«ã‚µãƒ¼ãƒãƒ¼å´ã®ã‚¨ãƒ³ãƒ†ã‚£ãƒ†ã‚£ã§ã™ãŒã€IIOPプロトコルを使用ã—ã¦ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¨é€šä¿¡ã—ã¾ã™ã€‚ +.LP +.LP +\f2スタブ\fPã¨ã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆå´ã§ã®ä»£ç†ã§ã™ã€‚スタブã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトã®ãƒ¡ã‚½ãƒƒãƒ‰å‘¼å‡ºã—ã‚’ã€å®Ÿç‰©ã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトãŒå¸¸é§ã™ã‚‹ã‚µãƒ¼ãƒãƒ¼ã¨é€šä¿¡ã™ã‚‹å½¹å‰²ã‚’æŒã¡ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトã¸ã®å‚ç…§ã¯ã€å®Ÿéš›ã¯ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ã‚¹ã‚¿ãƒ–ã¸ã®å‚ç…§ã¨ãªã‚Šã¾ã™ã€‚ +.LP +.LP +デフォルトã§\f3rmic\fPã§ã¯ã€1.2 JRMPスタブ・プロトコル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã¿ã‚’使用ã™ã‚‹ã‚¹ã‚¿ãƒ–・クラスを生æˆã—ã¾ã™ã€‚ã“れã¯ã€\f2\-v1.2\fPオプションを指定ã—ãŸå ´åˆã¨åŒã˜å‹•作ã§ã™ã€‚(5.0以å‰ã§ã¯\f2\-vcompat\fPオプションãŒãƒ‡ãƒ•ォルトã§ã‚ã£ãŸã“ã¨ã«æ³¨æ„。)IIOPプロトコル用ã®ã‚¹ã‚¿ãƒ–ãŠã‚ˆã³Tieクラスを生æˆã™ã‚‹ã«ã¯\f2\-iiop\fPオプションを使用ã—ã¾ã™ã€‚ +.LP +.LP +スタブã¯ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースã®ã¿ã‚’実装ã—ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトãŒå®Ÿè£…ã™ã‚‹ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースã¯å®Ÿè£…ã—ã¦ã„ã¾ã›ã‚“。JRMPスタブã¯ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクト自体ãŒå®Ÿè£…ã™ã‚‹ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースã¨åŒã˜ã‚‚ã®ã‚’実装ã—ã¦ã„ã‚‹ã®ã§ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¯ã€ã‚­ãƒ£ã‚¹ãƒˆã‚„åž‹ãƒã‚§ãƒƒã‚¯ã«Javaプログラミング言語ã«çµ„ã¿è¾¼ã¾ã‚ŒãŸæ¼”ç®—å­ã‚’使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚IIOPã®å ´åˆã¯ã€\f2PortableRemoteObject.narrow\fPメソッドを使用ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-bootclasspath path +ブートストラップ・クラス・ファイルã®ä½ç½®ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ +.TP 3 +\-classpath path +\f3rmic\fPãŒã‚¯ãƒ©ã‚¹ã‚’探ã™ãŸã‚ã®ãƒ‘スを指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€ãƒ‡ãƒ•ォルトやCLASSPATH環境変数設定を上書ãã—ã¾ã™ã€‚ディレクトリã¯ã‚³ãƒ­ãƒ³ã§åˆ†å‰²ã—ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€\f2path\fPã®ä¸€èˆ¬å½¢å¼ã¯æ¬¡ã®ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ +.nf +\f3 +.fl +.:<your_path> +.fl +\fP +.fi +次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +.:/usr/local/java/classes +.fl +\fP +.fi +.TP 3 +\-d directory +生æˆã•れãŸã‚¯ãƒ©ã‚¹éšŽå±¤ã®å‡ºåŠ›å…ˆãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®ãƒ«ãƒ¼ãƒˆã‚’指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ–ã€ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã€ãŠã‚ˆã³Tieファイルを格ç´ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’指定ã§ãã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«ä½¿ç”¨ã—ã¾ã™ã€‚ +.nf +\f3 +.fl +% rmic \-d /java/classes foo.MyClass +.fl +\fP +.fi +\f2MyClass\fPã‹ã‚‰å–å¾—ã—ãŸã‚¹ã‚¿ãƒ–ã¨ã‚¹ã‚±ãƒ«ãƒˆãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã‚’\f2/java/classes/foo\fPディレクトリã«ç½®ãã¾ã™ã€‚\f2\-d\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€\f2「\-d\ .ã€\fPãŒæŒ‡å®šã•れã¦ã„ã‚‹ã¨è¦‹ãªã•れã¾ã™ã€‚ターゲット・クラスã®ãƒ‘ッケージ階層ãŒç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ä½œæˆã•れã€ã‚¹ã‚¿ãƒ–ã€Tieã€ãŠã‚ˆã³ã‚¹ã‚±ãƒ«ãƒˆãƒ³ãƒ»ãƒ•ァイルãŒãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æ ¼ç´ã•れã¾ã™ã€‚(以å‰ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®\f3rmic\fPã§ã¯ã€\f2\-d\fPãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ãƒ‘ッケージ階層ã¯ä½œæˆ\f2ã•れãš\fPã€å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã™ã¹ã¦ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç›´æŽ¥æ ¼ç´ã•れã¦ã„ãŸã€‚) +.br +\ +.TP 3 +\-extdirs path +インストール型拡張機能ã®ä½ç½®ã‚’オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¾ã™ã€‚ +.TP 3 +\-g +ローカル変数をå«ã‚€ã™ã¹ã¦ã®ãƒ‡ãƒãƒƒã‚°æƒ…報を生æˆã—ã¾ã™ã€‚デフォルトã§ã¯ã€è¡Œç•ªå·æƒ…å ±ã®ã¿ç”Ÿæˆã•れã¾ã™ã€‚ +.TP 3 +\-idl +\f2rmic\fPã«ã‚ˆã£ã¦ã€æŒ‡å®šã—ãŸã‚¯ãƒ©ã‚¹ãŠã‚ˆã³å‚ç…§ã•れãŸã‚¯ãƒ©ã‚¹ã®OMG IDLãŒç”Ÿæˆã•れã¾ã™ã€‚IDLã§ã¯ã€ãƒ—ログラミング言語ã«ä¾å­˜ã›ãšã«ã€å®£è¨€ã™ã‚‹ã ã‘ã§ã‚ªãƒ–ジェクトã®APIを指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚IDLã¯ã€ãƒ¡ã‚½ãƒƒãƒ‰ãŠã‚ˆã³ãƒ‡ãƒ¼ã‚¿ã®ä»•様ã¨ã—ã¦ä½¿ç”¨ã—ã¾ã™ã€‚CORBAãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’æä¾›ã™ã‚‹ä»»æ„ã®è¨€èªžã§ã€ãƒ¡ã‚½ãƒƒãƒ‰ãŠã‚ˆã³ãƒ‡ãƒ¼ã‚¿ã®ä½œæˆãŠã‚ˆã³å‘¼å‡ºã—を行ã†ã“ã¨ãŒã§ãã¾ã™ã€‚ã“れらã®è¨€èªžã«ã¯ã€JavaãŠã‚ˆã³C++ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚詳細ã¯ã€ +.na +\f2Java 言語ã¨IDLã®ãƒžãƒƒãƒ”ング\fP @ +.fi +http://www.omg.org/technology/documents/formal/java_language_mapping_to_omg_idl.htm(OMG)ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br +.br +\f2\-idl\fPオプションを使用ã™ã‚‹ã¨ãã«ã¯ã€ä»–ã®ã‚ªãƒ—ションも指定ã§ãã¾ã™ã€‚ +.RS 3 +.TP 3 +\-alwaysã¾ãŸã¯\-alwaysgenerate +既存ã®ã‚¹ã‚¿ãƒ–ã€Tieã€ãŠã‚ˆã³IDLãŒå…¥åŠ›ã‚¯ãƒ©ã‚¹ã‚ˆã‚Šæ–°ã—ã„ã¨ãã§ã‚‚ã€å¼·åˆ¶çš„ã«ç”Ÿæˆã—ç›´ã—ã¾ã™ã€‚ +.TP 3 +\-factory +生æˆã•れãŸIDLã§factoryキーワードを使用ã—ã¾ã™ã€‚ +.TP 3 +\-idlModule\ fromJavaPackage[.class]\ toIDLModule +IDLEntityパッケージã®ãƒžãƒƒãƒ—を指定ã—ã¾ã™ã€‚例を示ã—ã¾ã™ã€‚\ \f2\-idlModule foo.bar my::real::idlmod\fP +.TP 3 +\-idlFile\ fromJavaPackage[.class]\ toIDLFile +IDLEntityファイルã®ãƒžãƒƒãƒ—を指定ã—ã¾ã™ã€‚例を示ã—ã¾ã™ã€‚\ \f2\-idlFile test.pkg.X TEST16.idl\fP\ +.RE +.TP 3 +\-iiop +\f2rmic\fPã«ã‚ˆã£ã¦ã€JRMPã®ã‚¹ã‚¿ãƒ–ã¨ã‚¹ã‚±ãƒ«ãƒˆãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã®ã‹ã‚りã«ã€IIOPã®ã‚¹ã‚¿ãƒ–ã¨TieクラスãŒç”Ÿæˆã•れã¾ã™ã€‚スタブ・クラスã¯ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトã®ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ—ロキシã§ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã‹ã‚‰ã‚µãƒ¼ãƒãƒ¼ã«å‘¼å‡ºã—ã‚’é€ä¿¡ã™ã‚‹ã¨ãã«ä½¿ç”¨ã•れã¾ã™ã€‚å„リモート・インタフェースã«ã¯ã‚¹ã‚¿ãƒ–・クラスãŒå¿…è¦ã§ã™ã€‚スタブ・クラスã«ã‚ˆã£ã¦ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースãŒå®Ÿè£…ã•れã¾ã™ã€‚クライアントã§ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトをå‚ç…§ã™ã‚‹ã¨ãã¯ã€å®Ÿéš›ã«ã¯ã‚¹ã‚¿ãƒ–ã‚’å‚ç…§ã™ã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚タイ・クラスã¯ã€ã‚µãƒ¼ãƒãƒ¼å´ã§ç€å‘¼ã‚’処ç†ã—ã€ãã®å‘¼å‡ºã—ã‚’é©åˆ‡ãªå®Ÿè£…クラスã«ãƒ‡ã‚£ã‚¹ãƒ‘ッãƒã™ã‚‹ã¨ãã«ä½¿ç”¨ã•れã¾ã™ã€‚å„実装クラスã«ã¯ã€ã‚¿ã‚¤ãƒ»ã‚¯ãƒ©ã‚¹ãŒå¿…è¦ã§ã™ã€‚ +.br +.br +\f2\-iiop\fPを使用ã—ã¦\f2rmic\fPを呼ã³å‡ºã™ã¨ã€æ¬¡ã®å‘½åè¦ç´„ã«æº–æ‹ ã—ãŸã‚¹ã‚¿ãƒ–ã¨TieãŒç”Ÿæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl +_<implementationName>_stub.class +.fl +_<interfaceName>_tie.class +.fl +\fP +.fi +\f2\-iiop\fPオプションを使用ã™ã‚‹ã¨ãã«ã¯ã€ä»–ã®ã‚ªãƒ—ションも指定ã§ãã¾ã™ã€‚ +.RS 3 +.TP 3 +\-alwaysã¾ãŸã¯\-alwaysgenerate +既存ã®ã‚¹ã‚¿ãƒ–ã€Tieã€ãŠã‚ˆã³IDLãŒå…¥åŠ›ã‚¯ãƒ©ã‚¹ã‚ˆã‚Šæ–°ã—ã„ã¨ãã§ã‚‚ã€å¼·åˆ¶çš„ã«ç”Ÿæˆã—ç›´ã—ã¾ã™ã€‚ +.TP 3 +\-nolocalstubs +åŒã˜ãƒ—ロセスã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¨ã‚µãƒ¼ãƒãƒ¼ã«å¯¾ã—ã¦æœ€é©åŒ–ã•れãŸã‚¹ã‚¿ãƒ–を作æˆã—ã¾ã›ã‚“。 +.TP 3 +\-noValueMethods +ã“れã¯\f2\-idl\fPオプションã¨ã¨ã‚‚ã«ä½¿ç”¨ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚発行ã•れãŸIDLã«ã€\f2valuetype\fPメソッドãŠã‚ˆã³åˆæœŸåŒ–å­ã‚’追加ã—ã¾ã›ã‚“。ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ãŠã‚ˆã³åˆæœŸåŒ–å­ã¯ã€\f2valuetype\fPã®å ´åˆã¯ã‚ªãƒ—ションã§ã™ã€‚\f2\-idl\fPオプションを使用ã™ã‚‹ã¨ãã«ã€\f2\-noValueMethods\fPオプションを指定ã—ãªã„é™ã‚Šç”Ÿæˆã•れã¾ã™ã€‚ +.TP 3 +\-poa +継承ãŒ\f2org.omg.CORBA_2_3.portable.ObjectImpl\fPã‹ã‚‰\f2org.omg.PortableServer.Servant\fPã«å¤‰ã‚りã¾ã™ã€‚ +.na +\f2Portable Object Adapter\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/POA.html(POA)ã®\f2PortableServer\fPモジュールã¯ã€ãƒã‚¤ãƒ†ã‚£ãƒ–ã®\f2Servant\fP型を定義ã—ã¾ã™ã€‚Javaプログラミング言語ã§ã¯ã€\f2Servant\fPåž‹ã¯Javaã®\f2org.omg.PortableServer.Servant\fPクラスã«ãƒžãƒƒãƒ—ã•れã¾ã™ã€‚ã“ã®ã‚¯ãƒ©ã‚¹ã¯ã€ã™ã¹ã¦ã®POAサーãƒãƒ³ãƒˆå®Ÿè£…ã®ãƒ™ãƒ¼ã‚¹ãƒ»ã‚¯ãƒ©ã‚¹ã¨ã—ã¦æ©Ÿèƒ½ã—ã€ã‚¢ãƒ—リケーション・プログラマãŒå‘¼ã³å‡ºã™ã“ã¨ã®ã§ãã‚‹ã„ãã¤ã‹ã®ãƒ¡ã‚½ãƒƒãƒ‰ã®ä»–ã«ã€POAãã®ã‚‚ã®ã«ã‚ˆã£ã¦å‘¼ã³å‡ºã•れã€ã‚µãƒ¼ãƒãƒ³ãƒˆã®å‹•作を制御ã™ã‚‹ãŸã‚ã«ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã§ãるメソッドもæä¾›ã—ã¾ã™ã€‚OMG IDL to Java Language Mapping Specificationã€CORBA V 2.3.1 ptc/00\-01\-08.pdfã«æº–æ‹ ã—ã¦ã„ã¾ã™ã€‚ +.RE +.TP 3 +\-J +\f2\-J\fPã®å¾Œã‚ã«ç¶šãオプションを\f2java\fPインタプリタã«å¼•ãæ¸¡ã—ã¾ã™ã€‚\f2java\fPオプションã¨çµ„ã¿åˆã›ã¦ä½¿ç”¨ã—ã¾ã™(\-Jã¨javaオプションã®é–“ã«ã‚¹ãƒšãƒ¼ã‚¹ã¯å…¥ã‚Œãªã„)。 +.TP 3 +\-keepã¾ãŸã¯\-keepgenerated +スタブã€ã‚¹ã‚±ãƒ«ãƒˆãƒ³ã€ã¾ãŸã¯Tieクラスã®ãŸã‚ã®\f2.java\fPソース・ファイルを\f2.class\fPファイルã¨åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«æ®‹ã—ã¾ã™ã€‚ +.TP 3 +\-nowarn +警告をオフã«ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€ã‚³ãƒ³ãƒ‘イラã¯è­¦å‘Šã‚’表示ã—ã¾ã›ã‚“。 +.TP 3 +\-nowrite +コンパイルã—ãŸã‚¯ãƒ©ã‚¹ã‚’ãƒ•ã‚¡ã‚¤ãƒ«ãƒ»ã‚·ã‚¹ãƒ†ãƒ ã«æ›¸ãè¾¼ã¿ã¾ã›ã‚“。 +.TP 3 +\-vcompat +1.1ã¨1.2ã®ä¸¡æ–¹ã®JRMPスタブ・プロトコル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¨äº’æ›æ€§ã®ã‚るスタブãŠã‚ˆã³ã‚¹ã‚±ãƒ«ãƒˆãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã‚’作æˆã—ã¾ã™ã€‚(5.0以å‰ã®ãƒªãƒªãƒ¼ã‚¹ã§ã¯ã“ã®ã‚ªãƒ—ションã¯ãƒ‡ãƒ•ォルト。)生æˆã•れãŸã‚¹ã‚¿ãƒ–・クラスã¯ã€JDK 1.1仮想マシンã«ãƒ­ãƒ¼ãƒ‰ã•れるã¨1.1スタブ・プロトコル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’使用ã—ã€JDK 1.2以é™ã®ä»®æƒ³ãƒžã‚·ãƒ³ã«ãƒ­ãƒ¼ãƒ‰ã•れるã¨1.2スタブ・プロトコル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’使用ã—ã¾ã™ã€‚生æˆã•れãŸã‚¹ã‚±ãƒ«ãƒˆãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã§ã¯ã€1.1ã¨1.2ã®ä¸¡æ–¹ã®ã‚¹ã‚¿ãƒ–・プロトコル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’サãƒãƒ¼ãƒˆã—ã¾ã™ã€‚生æˆã•れãŸã‚¯ãƒ©ã‚¹ã¯ä¸¡æ–¹ã®æ“作モードをサãƒãƒ¼ãƒˆã™ã‚‹ãŸã‚ã«ã€ã‚µã‚¤ã‚ºãŒå¤§ãããªã‚Šã¾ã™ã€‚ +.TP 3 +\-verbose +コンパイラやリンカーãŒã€ã‚³ãƒ³ãƒ‘イルã•れã¦ã„るクラスやロードã•れã¦ã„るクラス・ファイルã«ã¤ã„ã¦ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’表示ã™ã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚ +.TP 3 +\-v1.1 +1.1 JRMPスタブ・プロトコル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã¿ã®ã‚¹ã‚¿ãƒ–ãŠã‚ˆã³ã‚¹ã‚±ãƒ«ãƒˆãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã‚’生æˆã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションãŒä½¿ç”¨ã§ãã‚‹ã®ã¯ã€JDK 1.1ã‹ã‚‰\f3rmic\fPツールã§ç”Ÿæˆã•れã€ã‚¢ãƒƒãƒ—グレードã§ããªã„(ã•らã«ãƒ€ã‚¤ãƒŠãƒŸãƒƒã‚¯ãƒ»ã‚¯ãƒ©ã‚¹ãƒ»ãƒ­ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚’使用ã—ã¦ã„ãªã„)ã€æ—¢å­˜ã®é™çš„デプロイã•れãŸã‚¹ã‚¿ãƒ–・クラスã«å¯¾ã—ã€ç›´åˆ—åŒ–äº’æ›æ€§ã®ã‚るスタブ・クラスを生æˆã™ã‚‹å ´åˆã®ã¿ã§ã™ã€‚ +.TP 3 +\-v1.2 +(デフォルト)1.2 JRMPスタブ・プロトコル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ã¿ã®ã‚¹ã‚¿ãƒ–・クラスを生æˆã—ã¾ã™ã€‚スケルトン・クラスã¯1.2スタブ・プロトコル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ä½¿ç”¨ã§ããªã„ãŸã‚ã€ã“ã®ã‚ªãƒ—ションã§ã¯ã‚¹ã‚±ãƒ«ãƒˆãƒ³ãƒ»ã‚¯ãƒ©ã‚¹ã¯ç”Ÿæˆã•れã¾ã›ã‚“。生æˆã•れãŸã‚¹ã‚¿ãƒ–・クラスã¯ã€JDK 1.1仮想マシンã«ãƒ­ãƒ¼ãƒ‰ã•れã¦ã‚‚動作ã—ã¾ã›ã‚“。 +.RE + +.LP +.SH "環境変数" +.LP +.RS 3 +.TP 3 +CLASSPATH +ユーザー定義クラスã¸ã®ãƒ‘ã‚¹ã‚’ã‚·ã‚¹ãƒ†ãƒ ã«æŒ‡å®šã—ã¾ã™ã€‚ディレクトリã¯ã‚³ãƒ­ãƒ³ã§åˆ†å‰²ã—ã¾ã™ã€‚次ã«ç¤ºã—ã¾ã™ã€‚ +.nf +\f3 +.fl +.:/usr/local/java/classes +.fl +\fP +.fi +.RE + +.LP +.SH "関連項目" +.LP +.LP +java(1)ã€javac(1)〠+.na +\f2CLASSPATH\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#classpath +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmid.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmid.1 new file mode 100644 index 00000000..dda6f34e --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmid.1 @@ -0,0 +1,309 @@ +." Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH rmid 1 "05 Jul 2012" + +.LP +.SH "åå‰" +rmid \- Java RMI起動システム・デーモン +.LP +.LP +\f3rmid\fPã§ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã™ã‚‹ã‚·ã‚¹ãƒ†ãƒ ãƒ»ãƒ‡ãƒ¼ãƒ¢ãƒ³ã‚’é–‹å§‹ã™ã‚‹ã¨ã€ã‚ªãƒ–ジェクトを仮想マシン(VM)ã«ç™»éŒ²ã—ã¦ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +rmid [options] +.fl +\fP +.fi + +.LP +.SH "説明" +.LP +.LP +\f3rmid\fPツールã¯ã€èµ·å‹•システム・デーモンを開始ã—ã¾ã™ã€‚アクティブ化システム・デーモンを開始ã—ã¦ã‹ã‚‰ã§ãªã„ã¨ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化å¯èƒ½ã‚ªãƒ–ジェクトをアクティブ化システムã«ç™»éŒ²ã—ãŸã‚Šã€VM内ã§ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã—ãŸã‚Šã™ã‚‹ã“ã¨ãŒã§ãã¾ã›ã‚“。起動å¯èƒ½ãªãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトを使用ã—ãŸãƒ—ログラムã®ä½œæˆæ–¹æ³•ã®è©³ç´°ã¯ã€ +.na +\f2Java RMI仕様\fP @ +.fi +http://docs.oracle.com/javase/7/docs/platform/rmi/spec/rmiTOC.htmlãŠã‚ˆã³ +.na +\f2èµ·å‹•ã®ãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/activation/overview.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +デーモンを起動ã™ã‚‹ã«ã¯ã€æ¬¡ã®ã‚ˆã†ã«ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを指定ã—ã¦\f2rmid\fPコマンドを実行ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + rmid \-J\-Djava.security.policy=rmid.policy +.fl +\fP +.fi + +.LP +.LP +\f3注æ„:\fP \f2rmid\fPã®Sunã®å®Ÿè£…を実行ã™ã‚‹å ´åˆã€ãƒ‡ãƒ•ォルトã§ã¯ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãれã¯ã€\f2rmid\fPãŒèµ·å‹•グループ用ã«VMã‚’èµ·å‹•ã™ã‚‹ãŸã‚ã«å„\f2ActivationGroupDesc\fPå†…ã®æƒ…報を使用ã§ãã‚‹ã‹ã©ã†ã‹ã‚’検証ã§ãるよã†ã«ã™ã‚‹ãŸã‚ã§ã™ã€‚特ã«ã€\f2ActivationGroupDesc\fPã®ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã«æ¸¡ã•れる\f2CommandEnvironment\fPã‚„ä»»æ„ã®\f2Properties\fPã«ã‚ˆã£ã¦æŒ‡å®šã•れるコマンドãŠã‚ˆã³ã‚ªãƒ—ションã¯ã€\f2rmid\fPã®ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã®ä¸­ã§æ˜Žç¤ºçš„ã«è¨±å¯ã™ã‚‹ã“ã¨ãŒå¿…è¦ã«ãªã‚Šã¾ã—ãŸã€‚\f2sun.rmi.activation.execPolicy\fPプロパティã®å€¤ã¯ã€èµ·å‹•グループ用ã«VMã‚’èµ·å‹•ã™ã‚‹ãŸã‚ã«\f2ActivationGroupDesc\fPå†…ã®æƒ…報を使用ã§ãã‚‹ã‹ã©ã†ã‹ã‚’判断ã™ã‚‹ã¨ãã«\f2rmid\fPãŒä½¿ç”¨ã™ã‚‹ãƒãƒªã‚·ãƒ¼ã‚’決定ã—ã¾ã™ã€‚ +.LP +.LP +\f2rmid\fPをデフォルト設定ã§å®Ÿè¡Œã™ã‚‹ã¨ã€æ¬¡ã®ã‚ˆã†ãªå‡¦ç†ãŒè¡Œã‚れã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +アクティベータを起動ã—ã€ãƒ‡ãƒ•ォルト・ãƒãƒ¼ãƒˆ1098ã§å†…部レジストリを起動ã™ã‚‹ +.TP 2 +o +ã“ã®å†…部レジストリã®ä¸­ã§ã€\f2ActivationSystem\fPã‚’\f2java.rmi.activation.ActivationSystemã¨ã„ã†åå‰ã«\fPãƒã‚¤ãƒ³ãƒ‰ã™ã‚‹ +.RE + +.LP +.LP +レジストリã«ä»–ã®ãƒãƒ¼ãƒˆã‚’指定ã™ã‚‹ã«ã¯ã€\f2rmid\fPã®èµ·å‹•時ã«\f2\-port\fPオプションを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚次ã«ç¤ºã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + rmid \-J\-Djava.security.policy=rmid.policy \-port 1099 +.fl +\fP +.fi + +.LP +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€èµ·å‹•システム・デーモンを開始ã—ã€ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã®ãƒ‡ãƒ•ォルト・ãƒãƒ¼ãƒˆ1099ã§ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã‚’é–‹å§‹ã—ã¾ã™ã€‚ +.LP +.SS +rmidã‚’inetd/xinetdã‹ã‚‰é–‹å§‹ã™ã‚‹ +.LP +.LP +\f2rmid\fPをコマンドラインã‹ã‚‰é–‹å§‹ã™ã‚‹ã«ã¯ã€\f2inetd\fP(Solarisã®å ´åˆ)ã€ã¾ãŸã¯\f2xinetd\fP(Linuxã®å ´åˆ)ã‚’æ§‹æˆã—ã¦\f2rmid\fPã‚’å¿…è¦ã«å¿œã˜ã¦é–‹å§‹ã™ã‚‹æ–¹æ³•ã‚‚ã‚りã¾ã™ã€‚ +.LP +.LP +\f2rmid\fPã‚’é–‹å§‹ã™ã‚‹ã¨ã€\f2System.inheritedChannel\fPメソッドを呼ã³å‡ºã—ã¦ã€ç¶™æ‰¿ã•れãŸãƒãƒ£ãƒ³ãƒãƒ«(\f2inetd\fP/\f2xinetd\fPã‹ã‚‰ç¶™æ‰¿)ã‚’å–å¾—ã—よã†ã¨ã—ã¾ã™ã€‚継承ã•れãŸãƒãƒ£ãƒ³ãƒãƒ«ãŒ\f2null\fPã§ã‚ã‚‹ã‹ã€\f2java.nio.channels.ServerSocketChannel\fPã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã§ãªã‹ã£ãŸå ´åˆã€\f2rmid\fPã¯ãã®ãƒãƒ£ãƒ³ãƒãƒ«ã¯\f2inetd\fP/\f2xinetd\fPã«ã‚ˆã£ã¦èµ·å‹•ã•れãŸã‚‚ã®ã§ã¯ãªã„ã¨åˆ¤æ–­ã—ã€å‰è¿°ã®ã‚ˆã†ã«èµ·å‹•ã—ã¾ã™ã€‚ +.LP +.LP +継承ã•れãŸãƒãƒ£ãƒ³ãƒãƒ«ãŒ\f2ServerSocketChannel\fPインスタンスã§ã‚ã‚‹å ´åˆã¯ã€\f2rmid\fPã¯ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã™ã‚‹ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトã€ã¤ã¾ã‚Š\f2java.rmi.activation.ActivationSystem\fPãŒãƒã‚¤ãƒ³ãƒ‰ã•れã¦ã„るレジストリã¨\f2java.rmi.activation.Activator\fPリモート・オブジェクトã«å¯¾ã™ã‚‹ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’å—ä¿¡ã™ã‚‹ã‚µãƒ¼ãƒãƒ¼ãƒ»ã‚½ã‚±ãƒƒãƒˆã¨ã—ã¦ã€\f2ServerSocketChannel\fPã‹ã‚‰å–å¾—ã—ãŸ\f2java.net.ServerSocket\fPを使用ã—ã¾ã™ã€‚ã“ã®ãƒ¢ãƒ¼ãƒ‰ã§ã¯ã€\f2rmid\fPã®å‹•作ã¯ã€\f2次ã®ã“ã¨ã‚’除ã„ã¦\fPã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‹ã‚‰èµ·å‹•ã—ãŸå ´åˆã¨åŒã˜ã§ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +\f2System.err\fPã«å¯¾ã™ã‚‹å‡ºåŠ›ã¯ã€ãƒ•ァイルã«ãƒªãƒ€ã‚¤ãƒ¬ã‚¯ãƒˆã•れる。ã“ã®ãƒ•ァイルã¯\f2java.io.tmpdir\fPã‚·ã‚¹ãƒ†ãƒ ãƒ»ãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ã§æŒ‡å®šã•れるディレクトリ(通常ã¯\f2/var/tmp\fPã¾ãŸã¯\f2/tmp\fP)ã«ã‚る。ファイルåã®æŽ¥é ­è¾žã¯\f2"rmid\-err"\fPã§ã€æŽ¥å°¾è¾žã¯\f2"tmp"\fPã§ã‚る。 +.TP 2 +o +\f2\-port\fPã‚ªãƒ—ã‚·ãƒ§ãƒ³ã¯æ‹’å¦ã•れる。ã“ã®ã‚ªãƒ—ションを指定ã™ã‚‹ã¨ã€\f2rmid\fPã¯ã‚¨ãƒ©ãƒ¼ãƒ»ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’出ã—ã¦çµ‚了ã™ã‚‹ã€‚ +.TP 2 +o +\f2\-log\fPオプションã¯å¿…須。ã“ã®ã‚ªãƒ—ションを指定ã—ãªã„ã¨ã€\f2rmid\fPã¯ã‚¨ãƒ©ãƒ¼ãƒ»ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’出ã—ã¦çµ‚了ã™ã‚‹ã€‚ +.RE + +.LP +.LP +å¿…è¦ã«å¿œã˜ã¦ã‚µãƒ¼ãƒ“スを開始ã™ã‚‹ã‚ˆã†ã«æ§‹æˆã™ã‚‹æ–¹æ³•ã®è©³ç´°ã¯ã€\f2inetd\fP(Solarisã®å ´åˆ)ã€ã¾ãŸã¯\f2xinetd\fP(Linux)ã®ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«ãƒ»ãƒšãƒ¼ã‚¸ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-C<someCommandLineOption> +\f2rmid\fPã®å­ãƒ—ロセス(起動グループ)ãŒä½œæˆã•れãŸã¨ãã«ã€ãれãžã‚Œã®å­ãƒ—ロセスã«ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³å¼•æ•°ã¨ã—ã¦æ¸¡ã•れるオプションを指定ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ã«æŒ‡å®šã™ã‚‹ã¨ã€èµ·å‹•システム・デーモンã«ã‚ˆã£ã¦ç”Ÿæˆã•れるå„仮想マシンã«ãƒ—ロパティを渡ã™ã“ã¨ãŒã§ãã¾ã™ã€‚ +.nf +\f3 +.fl + rmid \-C\-Dsome.property=value +.fl +\fP +.fi +コマンドライン引数をå­ãƒ—ãƒ­ã‚»ã‚¹ã«æ¸¡ã™æ©Ÿèƒ½ã¯ã€ãƒ‡ãƒãƒƒã‚°ã‚’行ã†å ´åˆã«ä¾¿åˆ©ã§ã™ã€‚ãŸã¨ãˆã°ã€æ¬¡ã®ã‚ˆã†ãªã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã§ãã¾ã™ã€‚ +.nf +\f3 +.fl + rmid \-C\-Djava.rmi.server.logCalls=true +.fl +\fP +.fi +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã‚Šã€ã™ã¹ã¦ã®å­VMã§ã‚µãƒ¼ãƒãƒ¼å‘¼å‡ºã—ã®ãƒ­ã‚°ãŒä½œæˆã•れるよã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +.TP 3 +\-J<someCommandLineOption> +\f2rmid\fPを実行ã—ã¦ã„ã‚‹\f2java\fPã‚¤ãƒ³ã‚¿ãƒ—ãƒªã‚¿ã«æ¸¡ã™ã‚ªãƒ—ションを指定ã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f2rmid\fPãŒ\f2rmid.policy\fPã¨ã„ã†åå‰ã®ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを使用ã™ã‚‹ã‚ˆã†ã«æŒ‡å®šã™ã‚‹ã«ã¯ã€\f2rmid\fPã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§\f2\-J\fPオプションを使用ã—ã¦ã€\f2java.security.policy\fPプロパティを定義ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + rmid \-J\-Djava.security.policy=rmid.policy +.fl +\fP +.fi +.TP 3 +\-J\-Dsun.rmi.activation.execPolicy=<policy> +起動グループãŒå®Ÿè¡Œã•れるã“ã¨ã«ãªã‚‹VMã®èµ·å‹•ã«ä½¿ç”¨ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ãŠã‚ˆã³ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションをãƒã‚§ãƒƒã‚¯ã™ã‚‹ãŸã‚ã«ã€\f2rmid\fPãŒæŽ¡ç”¨ã™ã‚‹ãƒãƒªã‚·ãƒ¼ã‚’指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションã¯ã€Java RMI起動デーモンã®Sunã®å®Ÿè£…ã®ã¿ã«å­˜åœ¨ã™ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。コマンドラインã«ã“ã®ãƒ—ロパティを指定ã—ãªã„å ´åˆã€çµæžœã¯\f2\-J\-Dsun.rmi.activation.execPolicy=default\fPを指定ã—ãŸå ´åˆã¨åŒã˜ã«ãªã‚Šã¾ã™ã€‚\f2<policy>\fPã«æŒ‡å®šå¯èƒ½ãªå€¤ã¯ã€\f2default\fPã€\f2<policyClassName>\fPã€ã¾ãŸã¯\f2none\fPã§ã™ã€‚ +.RS 3 +.TP 2 +o +\f3default(ã¾ãŸã¯ã€ã“ã®ãƒ—ロパティãŒ\fP\f4指定ã•れã¦ã„ãªã„\fP\f3å ´åˆ)\fP +.LP +デフォルトã®\f2execPolicy\fPã®å ´åˆã€\f2rmid\fPãŒå®Ÿè¡Œã§ãã‚‹ã®ã¯ã€\f2rmid\fPãŒä½¿ç”¨ã™ã‚‹ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã®ä¸­ã§ã€å®Ÿè¡Œã™ã‚‹æ¨©é™ãŒ\f2rmid\fPã«ä¸Žãˆã‚‰ã‚Œã¦ã„るコマンドãŠã‚ˆã³ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションã®ã¿ã§ã™ã€‚\f2デフォルト\fPã®å®Ÿè¡Œãƒãƒªã‚·ãƒ¼ã§ä½¿ç”¨ã§ãã‚‹ã®ã¯ã€ãƒ‡ãƒ•ォルトã®èµ·å‹•グループ実装ã®ã¿ã§ã™ã€‚ +.LP +\f2rmid\fPã¯ã€èµ·å‹•グループ用ã®VMã‚’èµ·å‹•ã™ã‚‹ã¨ãã«ã€ãã®ã‚°ãƒ«ãƒ¼ãƒ—ã«ã¤ã„ã¦ç™»éŒ²ã•れãŸèµ·å‹•グループ記述å­ã§ã‚ã‚‹\f2ActivationGroupDesc\fPå†…ã®æƒ…報を使用ã—ã¾ã™ã€‚グループ記述å­ã¯ã€\f2ActivationGroupDesc.CommandEnvironment\fPを指定ã—ã¾ã™(çœç•¥å¯èƒ½)。ã“れã«ã¯ã€èµ·å‹•グループを開始ã™ã‚‹\f2コマンド\fPã¨ã€ãã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«è¿½åŠ ã§ãるコマンドライン・\f2オプション\fPãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚デフォルトã§ã¯ã€\f2rmid\fPã¯\f2java.home\fPã«ã‚ã‚‹\f2java\fPコマンドを使用ã—ã¾ã™ã€‚グループ記述å­ã«ã¯ã€ã‚ªãƒ—ションã¨ã—ã¦ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«è¿½åŠ ã•れる\f2プロパティ\fP・オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã‚‚å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ã“ã®ãƒ—ロパティã¯ã€æ¬¡ã®ã‚ˆã†ã«å®šç¾©ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + \-D\fP\f4<property>\fP\f3=\fP\f4<value>\fP\f3 +.fl +\fP +.fi +.LP +アクセス権\f2com.sun.rmi.rmid.ExecPermission\fPを使用ã™ã‚‹ã¨ã€\f2rmid\fPã«å¯¾ã—ã¦ã€ã‚°ãƒ«ãƒ¼ãƒ—記述å­ã®\f2CommandEnvironment\fPã§æŒ‡å®šã•れãŸã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¦èµ·å‹•グループを開始ã™ã‚‹æ¨©é™ã‚’許å¯ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚アクセス権\f2com.sun.rmi.rmid.ExecOptionPermission\fPを使用ã™ã‚‹ã¨ã€ã‚°ãƒ«ãƒ¼ãƒ—記述å­ã§ãƒ—ロパティ・オーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã¨ã—ã¦æŒ‡å®šã•れãŸã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションã€ã¾ãŸã¯\f2CommandEnvironment\fPã§ã‚ªãƒ—ションã¨ã—ã¦æŒ‡å®šã•れãŸã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションをã€èµ·å‹•グループを開始ã™ã‚‹ã¨ãã«\f2rmid\fPãŒä½¿ç”¨ã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ +.LP +\f2rmidã«\fP様々ãªã‚³ãƒžãƒ³ãƒ‰ãŠã‚ˆã³ã‚ªãƒ—ションを実行ã™ã‚‹æ¨©é™ã‚’許å¯ã™ã‚‹å ´åˆã¯ã€ã‚¢ã‚¯ã‚»ã‚¹æ¨©\f2ExecPermission\fPãŠã‚ˆã³\f2ExecOptionPermission\fPを汎用的ã«è¨±å¯ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã¤ã¾ã‚Šã€ã™ã¹ã¦ã®ã‚³ãƒ¼ãƒ‰ãƒ»ã‚½ãƒ¼ã‚¹ã«å¯¾ã—ã¦è¨±å¯ã—ã¾ã™ã€‚ +.RS 3 +.TP 3 +ExecPermission +\f2ExecPermission\fPクラスã¯ã€èµ·å‹•グループを開始ã™ã‚‹ãŸã‚ã«\f2rmidãŒ\fP特定ã®\f2コマンド\fPを実行ã™ã‚‹æ¨©é™ã‚’表ã—ã¾ã™ã€‚ +.LP +\f3æ§‹æ–‡\fP +.br +\f2ExecPermission\fPã®\f2åå‰\fPã¯ã€\f2rmid\fPã«å®Ÿè¡Œã‚’許å¯ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã®ãƒ‘スåã§ã™ã€‚「/*ã€(「/ã€ã¯ãƒ•ァイル区切り文字\f2File.separatorChar\fP)ã§çµ‚ã‚るパスåã¯ã€ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«å«ã¾ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ•ァイルを示ã—ã¾ã™ã€‚「/\-ã€ã§çµ‚ã‚るパスåã¯ã€ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«å«ã¾ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ•ァイルã¨ã‚µãƒ–ディレクトリ(å†å¸°çš„ã«)を示ã—ã¾ã™ã€‚パスåã«ç‰¹åˆ¥ãªãƒˆãƒ¼ã‚¯ãƒ³ã€Œ<<ALL FILES>>ã€ã‚’指定ã—ãŸå ´åˆã¯ã€\f3ä»»æ„ã®\fPファイルを示ã—ã¾ã™ã€‚ +.LP +\f3注æ„:\fP 「*ã€ã‚’1ã¤ã®ã¿æŒ‡å®šã—ãŸãƒ‘スåã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®ãƒ•ァイルを表ã—ã¾ã™ã€‚ã¾ãŸã€ã€Œ\-ã€ã‚’1ã¤ã®ã¿æŒ‡å®šã—ãŸãƒ‘スåã¯ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªå†…ã®ã™ã¹ã¦ã®ãƒ•ァイルã¨ã€ç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«å«ã¾ã‚Œã‚‹ã™ã¹ã¦ã®ãƒ•ァイルã¨ã‚µãƒ–ディレクトリ(å†å¸°çš„ã«)を表ã—ã¾ã™ã€‚ +.TP 3 +ExecOptionPermission +\f2ExecOptionPermission\fPクラスã¯ã€èµ·å‹•グループを開始ã™ã‚‹ã¨ãã«\f2rmid\fPã§ç‰¹å®šã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»\f2オプション\fPを使用ã§ãる権é™ã‚’表ã—ã¾ã™ã€‚\f2ExecOptionPermission\fPã®\f2åå‰\fPã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションã®å€¤ã§ã™ã€‚ +.LP +\f3æ§‹æ–‡\fP +.br +オプションã§ã¯ã€ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ãŒé™å®šçš„ã«ã‚µãƒãƒ¼ãƒˆã•れã¾ã™ã€‚アスタリスクã¯ã€ãƒ¯ã‚¤ãƒ«ãƒ‰ã‚«ãƒ¼ãƒ‰ãƒ»ãƒžãƒƒãƒã‚’表ã—ã¾ã™ã€‚アスタリスクã¯ã€ã‚ªãƒ—ションåãã®ã‚‚ã®ã¨ã—ã¦ä½¿ç”¨ã§ãã¾ã™ã€‚ã¤ã¾ã‚Šã€ä»»æ„ã®ã‚ªãƒ—ションを表ã™ã“ã¨ãŒã§ãã¾ã™ã€‚ã¾ãŸã€ã‚ªãƒ—ションåã®æœ«å°¾ã«ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ãŸã ã—ã€ã€Œ.ã€ã‹ã€Œ=ã€ã®ç›´å¾Œã«ã‚¢ã‚¹ã‚¿ãƒªã‚¹ã‚¯ã‚’指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.LP +例を示ã—ã¾ã™ã€‚「*ã€ã€ã€Œ\-Dfoo.*ã€ã€ã€Œ\-Da.b.c=*ã€ã¯æœ‰åйã§ã™ãŒã€ã€Œ*fooã€ã€ã€Œ\-Da*bã€ã€ã€Œab*ã€ã¯ç„¡åйã§ã™ã€‚ +.TP 3 +rmidã®ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイル +\f2rmidã«\fP様々ãªã‚³ãƒžãƒ³ãƒ‰ãŠã‚ˆã³ã‚ªãƒ—ションを実行ã™ã‚‹æ¨©é™ã‚’許å¯ã™ã‚‹å ´åˆã¯ã€ã‚¢ã‚¯ã‚»ã‚¹æ¨©\f2ExecPermission\fPãŠã‚ˆã³\f2ExecOptionPermission\fPを汎用的ã«è¨±å¯ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã¤ã¾ã‚Šã€ã™ã¹ã¦ã®ã‚³ãƒ¼ãƒ‰ãƒ»ã‚½ãƒ¼ã‚¹ã«å¯¾ã—ã¦è¨±å¯ã—ã¾ã™ã€‚ã“れらã®ã‚¢ã‚¯ã‚»ã‚¹æ¨©ã‚’ãƒã‚§ãƒƒã‚¯ã™ã‚‹ã®ã¯\f2rmid\fPã®ã¿ãªã®ã§ã€ã“れらã®ã‚¢ã‚¯ã‚»ã‚¹æ¨©ã‚’汎用的ã«è¨±å¯ã—ã¦ã‚‚安全ã§ã™ã€‚ +.LP +\f2rmid\fPã«å„種ã®å®Ÿè¡Œæ¨©é™ã‚’許å¯ã™ã‚‹ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルã®ä¾‹ã‚’ã€æ¬¡ã«ç¤ºã—ã¾ã™ã€‚ +.nf +\f3 +.fl +grant { +.fl + permission com.sun.rmi.rmid.ExecPermission +.fl + "/files/apps/java/jdk1.7.0/solaris/bin/java"; +.fl + +.fl + permission com.sun.rmi.rmid.ExecPermission +.fl + "/files/apps/rmidcmds/*"; +.fl + +.fl + permission com.sun.rmi.rmid.ExecOptionPermission +.fl + "\-Djava.security.policy=/files/policies/group.policy"; +.fl + +.fl + permission com.sun.rmi.rmid.ExecOptionPermission +.fl + "\-Djava.security.debug=*"; +.fl + +.fl + permission com.sun.rmi.rmid.ExecOptionPermission +.fl + "\-Dsun.rmi.*"; +.fl +}; +.fl +\fP +.fi +最åˆã«ä»˜ä¸Žã•れã¦ã„るアクセス権ã¯ã€\f2rmid\fPã«å¯¾ã—ã€ãƒ‘スåã«ã‚ˆã‚Šæ˜Žç¤ºçš„ã«æŒ‡å®šã•れる\f2java\fPコマンドã®1.7.0ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®å®Ÿè¡Œã‚’許å¯ã—ã¾ã™ã€‚デフォルトã§ã¯ã€\f2java.home\fPã«ã‚ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®\f2java\fPコマンドを使用ã—ã¾ã™ã€‚\f2rmid\fPãŒä½¿ç”¨ã™ã‚‹ã®ã¨åŒã˜ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãŒä½¿ç”¨ã•れるãŸã‚ã€ãã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã€ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã§æŒ‡å®šã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。2番目ã®ã‚¢ã‚¯ã‚»ã‚¹æ¨©ã¯ã€\f2rmid\fPã«å¯¾ã—ã¦ã€ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒª\f2/files/apps/rmidcmds\fP内ã®ä»»æ„ã®ã‚³ãƒžãƒ³ãƒ‰ã®å®Ÿè¡Œæ¨©é™ã‚’許å¯ã—ã¾ã™ã€‚ +.LP +3番目ã«ä»˜ä¸Žã•れã¦ã„るアクセス権\f2ExecOptionPermission\fPã¯ã€\f2rmid\fPã«å¯¾ã—ã¦ã€ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを\f2/files/policies/group.policy\fPã¨ã—ã¦å®šç¾©ã—ã¦ã„る起動グループã®é–‹å§‹ã‚’許å¯ã—ã¾ã™ã€‚次ã®ã‚¢ã‚¯ã‚»ã‚¹æ¨©ã¯ã€èµ·å‹•グループãŒ\f2java.security.debug\fPプロパティを使用ã™ã‚‹ã“ã¨ã‚’許å¯ã—ã¦ã„ã¾ã™ã€‚最後ã®ã‚¢ã‚¯ã‚»ã‚¹æ¨©ã¯ã€èµ·å‹•グループãŒ\f2sun.rmi\fPã¨ã„ã†ãƒ—ロパティåã®éšŽå±¤å†…ã®ä»»æ„ã®ãƒ—ロパティを使用ã™ã‚‹ã“ã¨ã‚’許å¯ã—ã¦ã„ã¾ã™ã€‚ +.LP +ãƒãƒªã‚·ãƒ¼ãƒ»ãƒ•ァイルを指定ã—ã¦\f2rmid\fPã‚’èµ·å‹•ã™ã‚‹ã«ã¯ã€\f2rmid\fPã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã§\f2java.security.policy\fPプロパティを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.LP +\f2rmid \-J\-Djava.security.policy=rmid.policy\fP +.RE +.TP 2 +o +\f4<policyClassName>\fP +.LP +デフォルトã®å‹•作ã§ã¯ååˆ†ãªæŸ”軟性ãŒå¾—られãªã„å ´åˆã€ç®¡ç†è€…ã¯ã€\f2rmid\fPã®èµ·å‹•時ã«ã€\f2checkExecCommand\fPãƒ¡ã‚½ãƒƒãƒ‰ãŒæ‰€å±žã™ã‚‹ã‚¯ãƒ©ã‚¹ã®åå‰ã‚’指定ã—ã¦ã€rmidãŒå®Ÿè¡Œã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã‚’ãƒã‚§ãƒƒã‚¯ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ +.LP +\f2policyClassName\fPã«ã¯ã€å¼•æ•°ãªã—ã®ã‚³ãƒ³ã‚¹ãƒˆãƒ©ã‚¯ã‚¿ã‚’æŒã¡ã€æ¬¡ã®ã‚ˆã†ãª\f2checkExecCommand\fPメソッドを実装ã—ã¦ã„ã‚‹publicクラスを指定ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + public void checkExecCommand(ActivationGroupDesc desc, +.fl + String[] command) +.fl + throws SecurityException; +.fl +\fP +.fi +アクティブ化グループを開始ã™ã‚‹å‰ã«ã€\f2rmid\fPã¯ã€ãƒãƒªã‚·ãƒ¼ã®\f2checkExecCommand\fPメソッドを呼ã³å‡ºã—ã¾ã™ã€‚ã“ã®ã¨ãã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化グループã®è¨˜è¿°å­ã¨ã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化グループを開始ã™ã‚‹ãŸã‚ã®å®Œå…¨ãªã‚³ãƒžãƒ³ãƒ‰ã‚’å«ã‚€é…列をãã®ãƒ¡ã‚½ãƒƒãƒ‰ã«æ¸¡ã—ã¾ã™ã€‚\f2checkExecCommand\fPãŒ\f2SecurityException\fPをスローã™ã‚‹ã¨ã€\f2rmid\fPã¯ãã®ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化グループを開始ã›ãšã€ã‚ªãƒ–ジェクトã®ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化を試行ã—ã¦ã„る呼出ã—å´ã«ã¯\f2ActivationException\fPãŒã‚¹ãƒ­ãƒ¼ã•れã¾ã™ã€‚ +.TP 2 +o +\f3none\fP +.LP +\f2sun.rmi.activation.execPolicy\fPプロパティã®å€¤ãŒã€Œnoneã€ã®å ´åˆã€\f2rmid\fPã¯ã€èµ·å‹•グループを開始ã™ã‚‹ã‚³ãƒžãƒ³ãƒ‰ã‚’ã¾ã£ãŸã検証ã—ã¾ã›ã‚“。 +.RE +.LP +.TP 3 +\-log dir +起動システム・デーモンãŒãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ãŠã‚ˆã³é–¢é€£æƒ…報を書ã込むã®ã«ä½¿ç”¨ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã®åå‰ã‚’指定ã—ã¾ã™ã€‚デフォルトã§ã¯ã€\f2rmid\fPコマンドを実行ã—ãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã€\f2log\fPã¨ã„ã†ãƒ­ã‚°ãƒ»ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªãŒä½œæˆã•れã¾ã™ã€‚ +.LP +.TP 3 +\-port port +\f2rmid\fPã®ãƒ¬ã‚¸ã‚¹ãƒˆãƒªãŒä½¿ç”¨ã™ã‚‹ãƒãƒ¼ãƒˆã‚’指定ã—ã¾ã™ã€‚起動システム・デーモンã¯ã€ã“ã®ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã®ä¸­ã§ã€\f2java.rmi.activation.ActivationSystem\fPã¨ã„ã†åå‰ã§\f2ActivationSystem\fPã‚’ãƒã‚¤ãƒ³ãƒ‰ã—ã¾ã™ã€‚ã—ãŸãŒã£ã¦ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒžã‚·ãƒ³ä¸Šã®\f2ActivationSystem\fPã¯ã€æ¬¡ã®ã‚ˆã†ã«\f2Naming.lookup\fPメソッドを呼ã³å‡ºã™ã“ã¨ã«ã‚ˆã£ã¦å–å¾—ã§ãã¾ã™ã€‚ +.nf +\f3 +.fl + import java.rmi.*; +.fl + import java.rmi.activation.*; +.fl + +.fl + ActivationSystem system; system = (ActivationSystem) +.fl + Naming.lookup("//:\fP\f4port\fP/java.rmi.activation.ActivationSystem"); +.fl +.fi +.TP 3 +\-stop +\f2\-port\fPオプションã«ã‚ˆã£ã¦æŒ‡å®šã•れãŸãƒãƒ¼ãƒˆã®ã€ç¾åœ¨ã®\f2rmid\fP呼出ã—ã‚’åœæ­¢ã—ã¾ã™ã€‚ãƒãƒ¼ãƒˆãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ãƒãƒ¼ãƒˆ1098ã§å®Ÿè¡Œã•れã¦ã„ã‚‹\f2rmid\fPã‚’åœæ­¢ã—ã¾ã™ã€‚ +.RE + +.LP +.SH "環境変数" +.LP +.RS 3 +.TP 3 +CLASSPATH +ユーザー定義クラスã¸ã®ãƒ‘ã‚¹ã‚’ã‚·ã‚¹ãƒ†ãƒ ã«æŒ‡å®šã—ã¾ã™ã€‚ディレクトリã¯ã‚³ãƒ­ãƒ³ã§åˆ†å‰²ã—ã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + .:/usr/local/java/classes +.fl +\fP +.fi +.RE + +.LP +.SH "関連項目" +.LP +.LP +rmic(1)〠+.na +\f2CLASSPATH\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#classpathã€java(1) +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmiregistry.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmiregistry.1 new file mode 100644 index 00000000..aaf11db1 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/rmiregistry.1 @@ -0,0 +1,64 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH rmiregistry 1 "05 Jul 2012" + +.LP +.SH "åå‰" +rmiregistry \- Javaリモート・オブジェクト・レジストリ +.LP +.RS 3 +\f3rmiregistry\fPコマンドã¯ã€ç¾åœ¨ã®ãƒ›ã‚¹ãƒˆã®æŒ‡å®šã—ãŸãƒãƒ¼ãƒˆä¸Šã«ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクト・レジストリを開始ã—ã¾ã™ã€‚ +.RE + +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +rmiregistry [\fP\f4port\fP\f3] +.fl +\fP +.fi + +.LP +.SH "説明" +.LP +.LP +\f3rmiregistry\fPコマンドã¯ã€ç¾åœ¨ã®ãƒ›ã‚¹ãƒˆã®æŒ‡å®š\f2port\fP上ã«ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクト・レジストリを作æˆã—ã€é–‹å§‹ã—ã¾ã™ã€‚\f2port\fPã®æŒ‡å®šã‚’çœç•¥ã—ãŸå ´åˆã€ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã¯ãƒãƒ¼ãƒˆ1099ã§é–‹å§‹ã—ã¾ã™ã€‚\f3rmiregistry\fPコマンドã«ã€å‡ºåŠ›æ©Ÿèƒ½ã¯ã‚りã¾ã›ã‚“。通常ã€ã“れã¯ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã§å®Ÿè¡Œã•れã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚ +.LP +.LP +\f2rmiregistry &\fP +.LP +.LP +リモート・オブジェクト・レジストリã¯ã€ãƒ–ートストラップã®ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã§ã™ã€‚åŒä¸€ãƒ›ã‚¹ãƒˆã®RMIサーãƒãƒ¼ãŒã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトをåå‰ã«ãƒã‚¤ãƒ³ãƒ‰ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•れã¾ã™ã€‚次ã«ã€ãƒ­ãƒ¼ã‚«ãƒ«ãŠã‚ˆã³ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ›ã‚¹ãƒˆã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¯ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトを検索ã—ã€ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ãƒ¡ã‚½ãƒƒãƒ‰ã®å‘¼å‡ºã—を行ã„ã¾ã™ã€‚ +.LP +.LP +レジストリã¯ã€ä¸€èˆ¬çš„ã«ã€æœ€åˆã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトã®ä½ç½®ã‚’指定ã—ã¾ã™ã€‚ãã“ã§ã€ã‚¢ãƒ—リケーションã¯ãƒ¡ã‚½ãƒƒãƒ‰ã‚’呼ã³å‡ºã™å¿…è¦ãŒã‚りã¾ã™ã€‚ã‹ã‚ã£ã¦ã€ãã®ã‚ªãƒ–ジェクトã¯ã‚¢ãƒ—リケーション指定ã®ã‚µãƒãƒ¼ãƒˆã‚’æä¾›ã—ã€ä»–ã®ã‚ªãƒ–ジェクトを探ã—ã¾ã™ã€‚ +.LP +.LP +\f2java.rmi.registry.LocateRegistry\fPクラスã®ãƒ¡ã‚½ãƒƒãƒ‰ã¯ã€ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ›ã‚¹ãƒˆã€ã¾ãŸã¯ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ›ã‚¹ãƒˆã¨ãƒãƒ¼ãƒˆã§å‹•作ã™ã‚‹ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã‚’å–å¾—ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•れã¾ã™ã€‚ +.LP +.LP +\f2java.rmi.Naming\fPクラスã®URLベースã®ãƒ¡ã‚½ãƒƒãƒ‰ã¯ã€ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã§å‹•作ã—ã€ä»»æ„ã®ãƒ›ã‚¹ãƒˆãŠã‚ˆã³ãƒ­ãƒ¼ã‚«ãƒ«ãƒ»ãƒ›ã‚¹ãƒˆä¸Šã®ãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã®æ¤œç´¢ã«ä½¿ç”¨ã•れã¾ã™ã€‚リモート・オブジェクトã«å˜ç´”ãª(文字列)åå‰ã‚’ãƒã‚¤ãƒ³ãƒ‰ã—ãŸã‚Šã€æ–°ã—ã„åå‰ã‚’リãƒã‚¤ãƒ³ãƒ‰(å¤ã„ãƒã‚¤ãƒ³ãƒ‰ã«ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰)ã—ã¾ã™ã€‚ã¾ãŸãƒªãƒ¢ãƒ¼ãƒˆãƒ»ã‚ªãƒ–ジェクトをアンãƒã‚¤ãƒ³ãƒ‰ã—ãŸã‚Šã€ãƒ¬ã‚¸ã‚¹ãƒˆãƒªã«ãƒã‚¤ãƒ³ãƒ‰ã•れãŸURLを出力ã—ã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-J +\f2\-J\fPã®å¾Œã‚ã«ç¶šãオプションを\f2java\fPインタプリタã«å¼•ãæ¸¡ã—ã¾ã™ã€‚\f2java\fPオプションã¨çµ„ã¿åˆã›ã¦ä½¿ç”¨ã—ã¾ã™(\-Jã¨javaオプションã®é–“ã«ã‚¹ãƒšãƒ¼ã‚¹ã¯å…¥ã‚Œãªã„)。 +.RE + +.LP +.SH "関連項目" +.LP +java(1)〠+.na +\f2java.rmi.registry.LocateRegistry\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/rmi/registry/LocateRegistry.htmlãŠã‚ˆã³ +.na +\f2java.rmi.Naming\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/rmi/Naming.html diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/schemagen.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/schemagen.1 new file mode 100644 index 00000000..4cd45d62 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/schemagen.1 @@ -0,0 +1,108 @@ +." Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH schemagen 1 "05 Jul 2012" + +.LP +.SH "åå‰" +schemagen \- XMLãƒã‚¤ãƒ³ãƒ‰ã®ãŸã‚ã®Java(tm)アーキテクãƒãƒ£ãƒ»ã‚¹ã‚­ãƒ¼ãƒžãƒ»ã‚¸ã‚§ãƒãƒ¬ãƒ¼ã‚¿ +.LP +.LP +\f3仕様ãƒãƒ¼ã‚¸ãƒ§ãƒ³:\fP 2.1 +.br +\f3実装ãƒãƒ¼ã‚¸ãƒ§ãƒ³:\fP 2.1.3 +.LP +.SH "schemagenã®èµ·å‹•" +.LP +.LP +スキーマ・ジェãƒãƒ¬ãƒ¼ã‚¿ã‚’èµ·å‹•ã™ã‚‹ã«ã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ãƒ—ラットフォームã®\f2bin\fPディレクトリ内ã«ã‚ã‚‹é©åˆ‡ãª\f2schemagen\fPシェル・スクリプトを使用ã—ã¾ã™ã€‚ +.LP +.LP +ç¾åœ¨ã®ã‚¹ã‚­ãƒ¼ãƒžãƒ»ã‚¸ã‚§ãƒãƒ¬ãƒ¼ã‚¿ã¯ã€Javaソース・ファイルã¨ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ァイルã®ã„ãšã‚Œã‚‚処ç†ã§ãã¾ã™ã€‚ +.LP +.LP +ã¾ãŸã€ã‚¹ã‚­ãƒ¼ãƒžãƒ»ã‚¸ã‚§ãƒãƒ¬ãƒ¼ã‚¿ã‚’実行ã™ã‚‹ãŸã‚ã®Antタスクも用æ„ã•れã¦ã„ã¾ã™ã€‚ +.na +\f2schemagenã‚’Antã¨ã¨ã‚‚ã«ä½¿ç”¨ã™ã‚‹\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.htmlãŸã‚ã®æ‰‹é †ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.nf +\f3 +.fl +% schemagen.sh Foo.java Bar.java ... +.fl +Note: Writing schema1.xsd +.fl +\fP +.fi + +.LP +.LP +ユーザーã®Javaソース/クラスãŒä»–ã®ã‚¯ãƒ©ã‚¹ã‚’å‚ç…§ã—ã¦ã„ã‚‹å ´åˆã€ã‚·ã‚¹ãƒ†ãƒ ã®CLASSPATH環境変数ã§ãれらã®ã‚¯ãƒ©ã‚¹ã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãるよã†ã«ãªã£ã¦ã„ã‚‹ã‹ã€\f2\-classpath\fP/\f2\-cp\fPを使用ã—ã¦ãれらã®ã‚¯ãƒ©ã‚¹ã‚’ãƒ„ãƒ¼ãƒ«ã«æŒ‡å®šã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãã†ã—ãªã„ã¨ã€ã‚¹ã‚­ãƒ¼ãƒžã®ç”Ÿæˆæ™‚ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã™ã€‚ +.LP +.SS +コマンドライン・オプション +.LP +.nf +\f3 +.fl +Usage: schemagen [\-options ...] <java files> +.fl + +.fl +Options: +.fl + \-d <path> : specify where to place processor and javac generated class files +.fl + \-cp <path> : specify where to find user specified files +.fl + \-classpath <path> : specify where to find user specified files +.fl + \-encoding <encoding> : specify encoding to be used for apt/javac invocation +.fl + +.fl + \-episode <file> : generate episode file for separate compilation +.fl + \-version : display version information +.fl + \-help : display this usage message +.fl +\fP +.fi + +.LP +.SH "生æˆã•れるリソース・ファイル" +.LP +.LP +ç¾åœ¨ã®ã‚¹ã‚­ãƒ¼ãƒžãƒ»ã‚¸ã‚§ãƒãƒ¬ãƒ¼ã‚¿ã¯å˜ç´”ã«ã€Javaクラス内ã§å‚ç…§ã•れã¦ã„ã‚‹åå‰ç©ºé–“ã”ã¨ã«1ã¤ã®ã‚¹ã‚­ãƒ¼ãƒžãƒ»ãƒ•ァイルを作æˆã—ã¾ã™ã€‚生æˆã•れるスキーマ・ファイルã®åå‰ã‚’制御ã™ã‚‹æ–¹æ³•ã¯ã€ç¾æ™‚点ã§ã¯å­˜åœ¨ã—ã¾ã›ã‚“。ãã†ã—ãŸç›®çš„ã«ã¯ã€ +.na +\f2スキーマ・ジェãƒãƒ¬ãƒ¼ã‚¿ã®antタスク\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.htmlを使用ã—ã¦ãã ã•ã„。 +.LP +.SH "åå‰" +関連項目 +.LP +.RS 3 +.TP 2 +o +スキーマ・ジェãƒãƒ¬ãƒ¼ã‚¿ã®å®Ÿè¡Œ(schemagen): [ +.na +\f2コマンドラインã®å‘½ä»¤\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagen.html〠+.na +\f2SchemaGenã®Antタスクã®ä½¿ç”¨\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html] +.TP 2 +o +.na +\f2XMLãƒã‚¤ãƒ³ãƒ‰ã®ãŸã‚ã®Javaアーキテクãƒãƒ£(JAXB)\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/serialver.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/serialver.1 new file mode 100644 index 00000000..6c179663 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/serialver.1 @@ -0,0 +1,78 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH serialver 1 "05 Jul 2012" + +.LP +.SH "åå‰" +serialver \- シリアル・ãƒãƒ¼ã‚¸ãƒ§ãƒ³ãƒ»ã‚³ãƒžãƒ³ãƒ‰ +.LP +.LP +\f3serialver\fPコマンドã¯\f2serialVersionUID\fPã‚’è¿”ã—ã¾ã™ã€‚ +.LP +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +\fP\f3serialver\fP [ options ] [ classnames ] +.fl +.fi + +.LP +.RS 3 +.TP 3 +options +ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã§èª¬æ˜Žã•れã¦ã„るコマンドライン・オプションã§ã™ã€‚ +.TP 3 +classnames +1ã¤ä»¥ä¸Šã®ã‚¯ãƒ©ã‚¹åã§ã™ã€‚ +.RE + +.LP +.SH "説明" +.LP +.LP +\f3serialver\fPã¯ã€1ã¤ä»¥ä¸Šã®ã‚¯ãƒ©ã‚¹ã®\f2serialVersionUID\fPã‚’ã€å±•é–‹ã—ã¦ã„るクラスã¸ã‚³ãƒ”ーã™ã‚‹ã®ã«é©ã—ãŸå½¢å¼ã§è¿”ã—ã¾ã™ã€‚引数を指定ã—ãªã„ã§å‘¼ã³å‡ºã™ã¨ã€ä½¿ç”¨æ–¹æ³•ãŒè¡¨ç¤ºã•れã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-classpath<: ã§åŒºåˆ‡ã‚‰ã‚ŒãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¨zipã‚„jarファイル> +アプリケーションã®ã‚¯ãƒ©ã‚¹ãŠã‚ˆã³ãƒªã‚½ãƒ¼ã‚¹ã®æ¤œç´¢ãƒ‘スを設定ã—ã¾ã™ã€‚ +.RE + +.LP +.RS 3 +.TP 3 +\-show +ç°¡å˜ãªãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースを表示ã—ã¾ã™ã€‚完全指定ã®ã‚¯ãƒ©ã‚¹åを入力ã—ã¦ã€Enterキーã‹ã€ŒShowã€ãƒœã‚¿ãƒ³ã‚’押ã—ã€ã‚·ãƒªã‚¢ãƒ«ãƒ»ãƒãƒ¼ã‚¸ãƒ§ãƒ³UIDを表示ã—ã¾ã™ã€‚ +.TP 3 +\-Joption +Java仮想マシンã«\f2option\fPを渡ã—ã¾ã™ã€‚\f2option\fPã«ã¯ã€java(1)ã®ãƒªãƒ•ァレンス・ページã«è¨˜è¼‰ã•れã¦ã„るオプションを1ã¤æŒ‡å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚ +.RE + +.LP +.SH "注æ„" +.LP +.LP +\f3serialver\fPコマンドã¯ã€æŒ‡å®šã•れãŸã‚¯ãƒ©ã‚¹ã‚’ãã®ä»®æƒ³ãƒžã‚·ãƒ³å†…ã«èª­ã¿è¾¼ã‚“ã§åˆæœŸåŒ–ã—ã¾ã™ãŒã€ãƒ‡ãƒ•ォルトã§ã¯ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã®è¨­å®šã¯è¡Œã„ã¾ã›ã‚“。信頼ã§ããªã„クラスã¨ã¨ã‚‚ã«\f3serialver\fPを実行ã™ã‚‹å ´åˆã«ã¯ã€æ¬¡ã®ã‚ªãƒ—ションを使用ã—ã¦ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã‚’設定ã§ãã¾ã™ã€‚ +.LP +.LP +\f2\-J\-Djava.security.manager\fP +.LP +.LP +ã¾ãŸã€å¿…è¦ã§ã‚れã°ã€æ¬¡ã®ã‚ªãƒ—ションを使用ã—ã¦ã‚»ã‚­ãƒ¥ãƒªãƒ†ã‚£ãƒ»ãƒãƒªã‚·ãƒ¼ã‚’指定ã§ãã¾ã™ã€‚ +.LP +.LP +\f2\-J\-Djava.security.policy=<policy file>\fP +.LP +.SH "関連項目" +.LP +.LP +.na +\f2java.io.ObjectStreamClass\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.html +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/servertool.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/servertool.1 new file mode 100644 index 00000000..dde36149 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/servertool.1 @@ -0,0 +1,94 @@ +." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH servertool 1 "05 Jul 2012" + +.LP +.SH "åå‰" +servertool \- Java(tm)IDLサーãƒãƒ¼ãƒ»ãƒ„ール +.LP +\f3servertool\fPã¯ã‚¢ãƒ—リケーション・プログラマãŒã€æ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã®ç™»éŒ²ã€ç™»éŒ²è§£é™¤ã€èµ·å‹•ãŠã‚ˆã³åœæ­¢ã‚’行ã†ãŸã‚ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースをæä¾›ã—ã¾ã™ã€‚ +.SH "å½¢å¼" +.LP +.nf +\f3 +.fl +servertool \-ORBInitialPort \fP\f4nameserverport\fP\f3 \fP\f3options\fP\f3 [ \fP\f3commands\fP\f3 ] +.fl +\fP +.fi + +.LP +.LP +コマンドを入力ã—ãªã„ã§\f2servertool\fPã‚’èµ·å‹•ã™ã‚‹ã¨ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ãƒ„ールã¨ã—ã¦\f2servertool >\fPプロンプトãŒè¡¨ç¤ºã•れã¾ã™ã€‚\f2servertool >\fPプロンプトã«ã‚³ãƒžãƒ³ãƒ‰ã‚’入力ã—ã¾ã™ã€‚ +.LP +.LP +コマンドを入力ã—ã¦\f2servertool\fPã‚’èµ·å‹•ã™ã‚‹ã¨ã€Java IDLサーãƒãƒ¼ãƒ»ãƒ„ールãŒèµ·å‹•ã—ã€ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã—ã¦çµ‚了ã—ã¾ã™ã€‚ +.LP +.LP +\f2\-ORBInitialPort\fP \f2nameserverport\fPオプションã¯\f3å¿…é ˆ\fPã§ã™ã€‚\f2nameserverport\fPã®å€¤ã«ã¯ã€\f2orbd\fPãŒå®Ÿè¡Œã•れã€ç€ä¿¡ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’待機ã—ã¦ã„ã‚‹ãƒãƒ¼ãƒˆã‚’指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚Solarisソフトウェアを使用ã™ã‚‹å ´åˆã€1024よりå°ã•ã„ãƒãƒ¼ãƒˆä¸Šã§ãƒ—ロセスを開始ã™ã‚‹ã«ã¯ã€rootユーザーã«ãªã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ãŸã‚ã€\f2nameserverport\fPã¨ã—ã¦1024以上ã®ãƒãƒ¼ãƒˆç•ªå·ã‚’使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚ +.LP +.SH "説明" +.LP +.LP +\f2servertool\fPã¯ã‚¢ãƒ—リケーション・プログラマãŒã€æ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã®ç™»éŒ²ã€ç™»éŒ²è§£é™¤ã€èµ·å‹•ãŠã‚ˆã³åœæ­¢ã‚’行ã†ãŸã‚ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェースをæä¾›ã—ã¾ã™ã€‚ãã®ä»–ã«ã€ã‚µãƒ¼ãƒãƒ¼ã«é–¢ã™ã‚‹æ§˜ã€…ãªçµ±è¨ˆæƒ…報をå–å¾—ã™ã‚‹ãŸã‚ã®ã‚³ãƒžãƒ³ãƒ‰ã‚‚æä¾›ã—ã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-ORBInitialHost nameserverhost +ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ãŒã€å®Ÿè¡Œã•れã€ç€ä¿¡ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚’待機ã—ã¦ã„るホスト・マシンを指定ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを指定ã—ãªã„å ´åˆã€\f2nameserverhost\fPã¯ãƒ‡ãƒ•ォルトã§\f2localhost\fPã«è¨­å®šã•れã¾ã™ã€‚\f2orbd\fPã¨\f2servertool\fPãŒç•°ãªã‚‹ãƒžã‚·ãƒ³ä¸Šã§å®Ÿè¡Œã•れã¦ã„ã‚‹å ´åˆã¯ã€\f2orbd\fPãŒå®Ÿè¡Œã•れã¦ã„るホストã®åå‰ã¨IPアドレスを指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.TP 3 +\-Joption +Java仮想マシンã«\f2option\fPを渡ã—ã¾ã™ã€‚\f2option\fPã«ã¯ã€java(1)ã®ãƒªãƒ•ァレンス・ページã«è¨˜è¼‰ã•れã¦ã„るオプションを1ã¤æŒ‡å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚\f3\-J\fPを使用ã—ã¦èƒŒå¾Œã®ä»®æƒ³ãƒžã‚·ãƒ³ã«ã‚ªãƒ—ションを渡ã™ã“ã¨ã¯ã‚ˆã行ã‚れã¦ã„ã¾ã™ã€‚ +.RE + +.LP +.SH "コマンド" +.LP +.RS 3 +.TP 3 +register \-server\ <server\ class\ name> \ \-classpath\ <classpath\ to\ server> [\ \-applicationName\ <application\ name> \-args\ <args\ to\ server> \-vmargs\ <flags\ to\ be\ passed\ to\ Java\ VM> \ ] +Object Request Broker Daemon(ORBD)ã«æ–°è¦æ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã‚’登録ã—ã¾ã™ã€‚サーãƒãƒ¼ãŒæœªç™»éŒ²ã®å ´åˆã€ç™»éŒ²ã—ã¦ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã—ã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã£ã¦ã€\f2\-server\fPオプションã§è­˜åˆ¥ã•れるサーãƒãƒ¼ã®ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹å†…ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ»ãƒ¡ã‚½ãƒƒãƒ‰ãŒå‘¼ã³å‡ºã•れã¾ã™ã€‚ã“ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ»ãƒ¡ã‚½ãƒƒãƒ‰ã¯ã€\f2public static void install(org.omg.CORBA.ORB)\fPã«ãªã£ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚インストール・メソッドã¯ã€ã‚ªãƒ—ションã§ã‚りã€ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ãƒ»ã‚¹ã‚­ãƒ¼ãƒžã®ä½œæˆãªã©ã®ç‹¬è‡ªã®ã‚µãƒ¼ãƒãƒ¼ãƒ»ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«å‹•ä½œã‚’é–‹ç™ºè€…ãŒæŒ‡å®šã§ãã¾ã™ã€‚ +.TP 3 +unregister \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +サーãƒãƒ¼IDã¾ãŸã¯ã‚¢ãƒ—リケーションåを使用ã—ã¦ã€ORBDã®ã‚µãƒ¼ãƒãƒ¼ã®ç™»éŒ²ã‚’解除ã—ã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã«ã‚ˆã£ã¦ã€\f2\-server\fPオプションã§è­˜åˆ¥ã•れるサーãƒãƒ¼ã®ãƒ¡ã‚¤ãƒ³ãƒ»ã‚¯ãƒ©ã‚¹å†…ã§ã‚¢ãƒ³ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ»ãƒ¡ã‚½ãƒƒãƒ‰ãŒå‘¼ã³å‡ºã•れã¾ã™ã€‚ã“ã®ã‚¢ãƒ³ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ»ãƒ¡ã‚½ãƒƒãƒ‰ã¯ã€\f2public static void uninstall(org.omg.CORBA.ORB)\fPã«ãªã£ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚アンインストール・メソッドã¯ã€ã‚ªãƒ—ションã§ã‚りã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ»ãƒ¡ã‚½ãƒƒãƒ‰ã®å‹•作ã®å–り消ã—ãªã©ã®ç‹¬è‡ªã®ã‚µãƒ¼ãƒãƒ¼ãƒ»ã‚¢ãƒ³ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«å‹•ä½œã‚’é–‹ç™ºè€…ãŒæŒ‡å®šã§ãã¾ã™ã€‚ +.TP 3 +getserverid \-applicationName\ <application\ name> +アプリケーションã«é–¢é€£ä»˜ã‘られã¦ã„るサーãƒãƒ¼IDã‚’è¿”ã—ã¾ã™ã€‚ +.TP 3 +list +ORBDã«ç™»éŒ²ã•れã¦ã„ã‚‹ã™ã¹ã¦ã®æ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã«é–¢ã™ã‚‹æƒ…報を一覧表示ã—ã¾ã™ã€‚ +.TP 3 +listappnames +ç¾åœ¨ORBDã«ç™»éŒ²ã•れã¦ã„ã‚‹ã™ã¹ã¦ã®ã‚µãƒ¼ãƒãƒ¼ã®ã‚¢ãƒ—リケーションåを一覧表示ã—ã¾ã™ã€‚ +.TP 3 +listactive +ORBDã«ã‚ˆã£ã¦èµ·å‹•ã•れã€ç¾åœ¨å®Ÿè¡Œã•れã¦ã„ã‚‹ã™ã¹ã¦ã®æ°¸ç¶šã‚µãƒ¼ãƒãƒ¼ã«é–¢ã™ã‚‹æƒ…報を一覧表示ã—ã¾ã™ã€‚ +.TP 3 +locate \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-endpointType\ <endpointType>\ ] +登録ã•れãŸã‚µãƒ¼ãƒãƒ¼ã§ä½œæˆã—ãŸã™ã¹ã¦ã®ORBã®ç‰¹å®šã®ã‚¿ã‚¤ãƒ—ã«ã¤ã„ã¦ã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆ(ãƒãƒ¼ãƒˆ)を検出ã—ã¾ã™ã€‚サーãƒãƒ¼ãŒå®Ÿè¡Œã•れã¦ã„ãªã„å ´åˆã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã•れã¾ã™ã€‚エンドãƒã‚¤ãƒ³ãƒˆãƒ»ã‚¿ã‚¤ãƒ—ãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã€ã‚µãƒ¼ãƒãƒ¼ã®ORBã”ã¨ã«é–¢é€£ä»˜ã‘られã¦ã„ã‚‹plainタイプã¾ãŸã¯non\-protectedタイプã®ã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆãŒè¿”ã•れã¾ã™ã€‚ +.TP 3 +locateperorb \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-orbid\ <ORB\ name>\ ] +登録ã•れãŸã‚µãƒ¼ãƒãƒ¼ã®ç‰¹å®šã®ORBã§ç™»éŒ²ã•れãŸã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆ(ãƒãƒ¼ãƒˆ)を検出ã—ã¾ã™ã€‚サーãƒãƒ¼ãŒå®Ÿè¡Œã•れã¦ã„ãªã„å ´åˆã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã•れã¾ã™ã€‚\f2orbid\fPãŒæŒ‡å®šã•れã¦ã„ãªã„å ´åˆã¯ã€ãƒ‡ãƒ•ォルト値ã®ã€Œ""ã€ãŒ\f2orbid\fPã«å‰²ã‚Šå½“ã¦ã‚‰ã‚Œã¾ã™ã€‚ORBãŒç©ºæ–‡å­—列ã®\f2orbid\fPã§ä½œæˆã•れã¦ã„ã‚‹å ´åˆã€ç™»éŒ²ã—ãŸãƒãƒ¼ãƒˆãŒã™ã¹ã¦è¿”ã•れã¾ã™ã€‚ +.TP 3 +orblist \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +サーãƒãƒ¼ä¸Šã«å®šç¾©ã•れãŸORBã®ORBIdを一覧表示ã—ã¾ã™ã€‚ORBIdã¯ã‚µãƒ¼ãƒãƒ¼ã§ä½œæˆã•れãŸORBã®æ–‡å­—列åã§ã™ã€‚サーãƒãƒ¼ãŒå®Ÿè¡Œã•れã¦ã„ãªã„å ´åˆã€ã‚¢ã‚¯ãƒ†ã‚£ãƒ–化ã•れã¾ã™ã€‚ +.TP 3 +shutdown \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +ORBDã«ç™»éŒ²ã•れãŸã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªã‚µãƒ¼ãƒãƒ¼ã‚’åœæ­¢ã—ã¾ã™ã€‚ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã®å®Ÿè¡Œä¸­ã«ã€\f2\-serverid\fPパラメータã¾ãŸã¯\f2\-applicationName\fPãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ã§æŒ‡å®šã•れãŸã‚¯ãƒ©ã‚¹å†…ã«å®šç¾©ã•れãŸ\f2shutdown()\fPメソッドも呼ã³å‡ºã•れã¦ã‚µãƒ¼ãƒãƒ¼ãƒ»ãƒ—ロセスを正ã—ãåœæ­¢ã—ã¾ã™ã€‚ +.TP 3 +startup \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +ORBDã«ç™»éŒ²ã•れãŸã‚µãƒ¼ãƒãƒ¼ã‚’èµ·å‹•ã—ã¾ã™ã€‚サーãƒãƒ¼ãŒå®Ÿè¡Œã•れã¦ã„ãªã„å ´åˆã¯ã€ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã‚µãƒ¼ãƒãƒ¼ã‚’èµ·å‹•ã—ã¾ã™ã€‚サーãƒãƒ¼ãŒã™ã§ã«å®Ÿè¡Œã•れã¦ã„ã‚‹å ´åˆã¯ã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«ã‚¨ãƒ©ãƒ¼ãƒ»ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒè¿”ã•れã¾ã™ã€‚ +.TP 3 +help +サーãƒãƒ¼ãŒã‚µãƒ¼ãƒãƒ¼ãƒ»ãƒ„ールã§ä½¿ç”¨ã§ãã‚‹ã™ã¹ã¦ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’表示ã—ã¾ã™ã€‚ +.TP 3 +quit +サーãƒãƒ¼ãƒ»ãƒ„ールを終了ã—ã¾ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +orbd(1) diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/tnameserv.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/tnameserv.1 new file mode 100644 index 00000000..70d2d2a7 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/tnameserv.1 @@ -0,0 +1,475 @@ +." Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH tnameserv 1 "05 Jul 2012" + +.LP +.SH "åå‰" +Java IDL: 一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス \- \f2tnameserv\fP +.LP +.LP +ã“ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã§ã¯ã€Java IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\f2tnameserv\fPã®ä½¿ç”¨æ–¹æ³•ã«ã¤ã„ã¦èª¬æ˜Žã—ã¾ã™ã€‚Java IDLã«ã¯ã€Object Request Broker Daemon(ORBD)ã‚‚å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ORBDã¯ã€ãƒ–ートストラップ・サービスã€ä¸€æ™‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã€\f3永続\fPãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スãŠã‚ˆã³ã‚µãƒ¼ãƒãƒ¼ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã‚’å«ã‚€ãƒ‡ãƒ¼ãƒ¢ãƒ³ãƒ»ãƒ—ロセスã§ã™ã€‚Java IDLã®ã™ã¹ã¦ã®ãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«ã§ã¯ORBDを使用ã—ã¦ã„ã¾ã™ãŒã€ä¸€æ™‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スを使用ã™ã‚‹ä¾‹ã§ã¯ã€\f2orbd\fPã®ã‹ã‚りã«\f2tnameserv\fPを使用ã§ãã¾ã™ã€‚\f2orbd\fPツールã®è©³ç´°ã¯ã€orbdã®orbd(1)ã¾ãŸã¯ +.na +\f2ORBDã«å«ã¾ã‚Œã‚‹Java IDLãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.htmlã«é–¢ã™ã‚‹ãƒˆãƒ”ックをå‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +ã“ã“ã§ã¯ã€ä»¥ä¸‹ã®é …ç›®ã«ã¤ã„ã¦èª¬æ˜Žã—ã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +Java\ IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス +.TP 2 +o +Java\ IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®èµ·å‹• +.TP 2 +o +Java\ IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®åœæ­¢ +.TP 2 +o +サンプル・クライアント: åå‰ç©ºé–“ã¸ã®ã‚ªãƒ–ジェクトã®è¿½åŠ  +.TP 2 +o +サンプル・クライアント: åå‰ç©ºé–“ã®ãƒ–ラウズ +.RE + +.LP +.SH "Java IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス" +.LP +.LP +CORBAã®COS(Common Object Services)ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¯ã€ãƒ•ァイル・システムãŒãƒ•ァイルã«å¯¾ã—ã¦ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªæ§‹é€ ã‚’æä¾›ã—ã¦ã„ã‚‹ã®ã¨åŒã˜ã‚ˆã†ã«ã€ã‚ªãƒ–ジェクトå‚ç…§ã«å¯¾ã—ã¦ãƒ„リー構造ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’æä¾›ã—ã¾ã™ã€‚Java IDLã®ä¸€æ™‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã§ã‚ã‚‹\f2tnameserv\fPã¯ã€COSãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®ä»•様をå˜ç´”ãªå½¢ã§å®Ÿè£…ã—ãŸã‚‚ã®ã§ã™ã€‚ +.LP +.LP +オブジェクトå‚ç…§ã¯åå‰ç©ºé–“ã«åå‰ã§æ ¼ç´ã•れã€ã‚ªãƒ–ジェクトå‚ç…§ã¨åå‰ã®ãƒšã‚¢ã¯ã€ãれãžã‚Œãƒãƒ¼ãƒ ãƒ»\f2ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°\fPã¨å‘¼ã°ã‚Œã¾ã™ã€‚ãƒãƒ¼ãƒ ãƒ»ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã¯\f2ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆ\fPã«çµ„ã¿è¾¼ã‚€ã“ã¨ãŒã§ãã¾ã™ã€‚ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã¯ãれ自体ãŒãƒãƒ¼ãƒ ãƒ»ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã§ã‚りã€ãƒ•ァイル・システムã®ã‚µãƒ–ディレクトリã¨åŒã˜ç·¨æˆæ©Ÿèƒ½ã‚’æŒã¡ã¾ã™ã€‚ã™ã¹ã¦ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã¯\f2åˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆ\fPã«æ ¼ç´ã•れã¾ã™ã€‚åå‰ç©ºé–“ã«ãŠã„ã¦ã€åˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã¯å”¯ä¸€ã®æ°¸ç¶šçš„ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã§ã™ã€‚ãれ以外ã®ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã¯ã€Java IDLã®ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚µãƒ¼ãƒ“ス・プロセスãŒåœæ­¢ã—ã€å†èµ·å‹•ã•れるã¨å¤±ã‚れã¾ã™ã€‚ +.LP +.LP +アプレットã¾ãŸã¯ã‚¢ãƒ—リケーションã‹ã‚‰COSãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スを使用ã™ã‚‹ãŸã‚ã«ã¯ã€ãã®ORBãŒãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スãŒå‹•作ã—ã¦ã„るホストã®ãƒãƒ¼ãƒˆã‚’知ã£ã¦ã„ã‚‹ã‹ã€ãã®ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ã‚¹ã®æ–‡å­—列化ã•れãŸåˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¯ã€Java IDLã®ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã§ã‚‚ãã®ä»–ã®COS準拠ã®ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã§ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。 +.LP +.SH "Java IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®èµ·å‹•" +.LP +.LP +Java IDLãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¯ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スを使用ã™ã‚‹ã‚¢ãƒ—リケーションã¾ãŸã¯ã‚¢ãƒ—レットよりå‰ã«èµ·å‹•ã—ã¦ãŠãå¿…è¦ãŒã‚りã¾ã™ã€‚Java\ IDL製å“をインストールã™ã‚‹ã¨ã€Java\ IDLãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スを起動ã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—ト(Solaris: \f2tnameserv\fP)ã¾ãŸã¯å®Ÿè¡Œå¯èƒ½ãƒ•ァイル(Windows NT: \f2tnameserv.exe\fP)ãŒä½œæˆã•れã¾ã™ã€‚ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã§å‹•作ã™ã‚‹ã‚ˆã†ã«ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スを起動ã—ã¦ãã ã•ã„。 +.LP +.LP +ç‰¹ã«æŒ‡å®šã—ãªã„å ´åˆã€Java IDLãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¯ã€ORBã®\f2resolve_initial_references()\fPメソッドã¨\f2list_initial_references()\fPメソッドã®å®Ÿè£…ã«ä½¿ç”¨ã™ã‚‹ãƒ–ートストラップ・プロトコルã«å¯¾ã—ã¦ãƒãƒ¼ãƒˆ900ã§å¾…機ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + tnameserv \-ORBInitialPort \fP\f4nameserverport\fP\f3& +.fl +\fP +.fi + +.LP +.LP +ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ãƒ»ãƒãƒ¼ãƒˆã‚’指定ã—ãªã„å ´åˆã€ãƒ‡ãƒ•ォルトã§ãƒãƒ¼ãƒˆ900ãŒä½¿ç”¨ã•れã¾ã™ã€‚Solarisソフトウェアã®å®Ÿè¡Œæ™‚ã¯ã€1024よりå°ã•ã„ãƒãƒ¼ãƒˆã§ãƒ—ロセスを開始ã™ã‚‹å ´åˆã€rootユーザーã«ãªã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“ã®ãŸã‚ã€1024以上ã®ãƒãƒ¼ãƒˆç•ªå·ã‚’使用ã™ã‚‹ã“ã¨ã‚’ãŠè–¦ã‚ã—ã¾ã™ã€‚1050ã®ã‚ˆã†ã«åˆ¥ã®ãƒãƒ¼ãƒˆã‚’指定ã—ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スをãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã§å®Ÿè¡Œã™ã‚‹ã«ã¯ã€UNIXã‚³ãƒžãƒ³ãƒ‰ãƒ»ã‚·ã‚§ãƒ«ã§æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + tnameserv \-ORBInitialPort 1050& +.fl +\fP +.fi + +.LP +.LP +Windowsã®MS\-DOSシステム・プロンプトã§ã¯ã€æ¬¡ã®ã‚ˆã†ã«å…¥åŠ›ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl + start tnameserv \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã«ã¯ã€æ–°ã—ã„ãƒãƒ¼ãƒˆç•ªå·ã‚’知らã›ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ã“れを行ã†ã«ã¯ã€ORBオブジェクトã®ä½œæˆæ™‚ã«\f2org.omg.CORBA.ORBInitialPort\fPãƒ—ãƒ­ãƒ‘ãƒ†ã‚£ã«æ–°ã—ã„ãƒãƒ¼ãƒˆç•ªå·ã‚’設定ã—ã¾ã™ã€‚ +.LP +.SS +ç•°ãªã‚‹ãƒžã‚·ãƒ³ä¸Šã§ã®ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¨ã‚µãƒ¼ãƒãƒ¼ã®å®Ÿè¡Œ +.LP +.LP +Java IDLã¨RMI\-IIOPã®ã»ã¨ã‚“ã©ã®ãƒãƒ¥ãƒ¼ãƒˆãƒªã‚¢ãƒ«ã§ã¯ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã€ã‚µãƒ¼ãƒãƒ¼ãŠã‚ˆã³ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¯ã™ã¹ã¦é–‹ç™ºç”¨ã®ãƒžã‚·ãƒ³ä¸Šã§å®Ÿè¡Œã•れã¾ã™ã€‚実際ã«ãƒ‡ãƒ—ロイメントã™ã‚‹å ´åˆã«ã¯ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¨ã‚µãƒ¼ãƒãƒ¼ã‚’ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã¨ã¯ç•°ãªã‚‹ãƒ›ã‚¹ãƒˆä¸Šã§å®Ÿè¡Œã™ã‚‹ã“ã¨ãŒå¤šããªã‚Šã¾ã™ã€‚ +.LP +.LP +クライアントã¨ã‚µãƒ¼ãƒãƒ¼ãŒãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スを見ã¤ã‘ã‚‹ã«ã¯ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¨ã‚µãƒ¼ãƒãƒ¼ãŒã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スãŒå®Ÿè¡Œã•れã¦ã„ã‚‹ãƒãƒ¼ãƒˆã®ç•ªå·ã¨ãƒ›ã‚¹ãƒˆã‚’èªè­˜ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ãã®ãŸã‚ã«ã¯ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¨ã‚µãƒ¼ãƒãƒ¼ã®ãƒ•ァイル内ã®\f2org.omg.CORBA.ORBInitialPort\fPプロパティã¨\f2org.omg.CORBA.ORBInitialHost\fPプロパティをãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スãŒå®Ÿè¡Œã•れã¦ã„ã‚‹ãƒãƒ¼ãƒˆã®ç•ªå·ã¨ãƒžã‚·ãƒ³ã®åå‰ã«è¨­å®šã—ã¾ã™ã€‚ã“ã®ä¾‹ã¯ã€ +.na +\f2RMI\-IIOPを使用ã—ãŸHello Worldã®ä¾‹\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/rmi\-iiop/rmiiiopexample.htmlã«ç¤ºã•れã¦ã„ã¾ã™ã€‚コマンドライン・オプション\f2\-ORBInitialPort\fP \f2nameserverport#\fPã¨\f2\-ORBInitialHost\fP \f2nameserverhostname\fPを使用ã—ã¦ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã¨ã‚µãƒ¼ãƒãƒ¼ã«å¯¾ã—ã¦ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スを探ã™å ´æ‰€ã‚’指定ã™ã‚‹ã“ã¨ã‚‚ã§ãã¾ã™ã€‚ +.na +\f2Java IDL: 2å°ã®ãƒžã‚·ãƒ³ä¸Šã§å®Ÿè¡Œã™ã‚‹Hello Worldプログラム\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/tutorial/jidl2machines.htmlã«ã¯ã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションを使用ã—ã¦æŒ‡å®šã™ã‚‹æ–¹æ³•ãŒç¤ºã•れã¦ã„ã¾ã™ã€‚ +.LP +.LP +ãŸã¨ãˆã°ã€ä¸€æ™‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス\f2tnameserv\fPãŒã€ãƒ›ã‚¹ãƒˆ\f2nameserverhost\fPã®ãƒãƒ¼ãƒˆ1050上ã§å®Ÿè¡Œã•れã¦ã„ã‚‹ã¨ã—ã¾ã™ã€‚ã•らã«ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãŒãƒ›ã‚¹ãƒˆ\f2clienthost\fP上ã§å®Ÿè¡Œã•れã€ã‚µãƒ¼ãƒãƒ¼ã¯ãƒ›ã‚¹ãƒˆ\f2serverhost\fP上ã§å®Ÿè¡Œã•れã¦ã„ã‚‹ã¨ã—ã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +次ã®ã‚ˆã†ã«ã€ãƒ›ã‚¹ãƒˆ\f2nameserverhost\fP上ã§\f2tnameserv\fPã‚’èµ·å‹•ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + tnameserv \-ORBInitialPort 1050 +.fl + +.fl +\fP +.fi +.TP 2 +o +次ã®ã‚ˆã†ã«ã€\f2serverhost\fP上ã§ã‚µãƒ¼ãƒãƒ¼ã‚’èµ·å‹•ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + java Server \-ORBInitialPort 1050 \-ORBInitialHost nameserverhost +.fl +\fP +.fi +.TP 2 +o +次ã®ã‚ˆã†ã«ã€\f2clienthost\fP上ã§ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆã‚’èµ·å‹•ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + java Client \-ORBInitialPort 1050 \-ORBInitialHost nameserverhost +.fl +\fP +.fi +.RE + +.LP +.SS +\-Jオプション +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ションã¯ã€\f2tnameserve\fPã¨ã¨ã‚‚ã«ä½¿ç”¨ã§ãã¾ã™ã€‚ +.RS 3 +.TP 3 +\-Joption +Java仮想マシンã«\f2option\fPを渡ã—ã¾ã™ã€‚\f2option\fPã«ã¯ã€java(1)ã®ãƒªãƒ•ァレンス・ページã«è¨˜è¼‰ã•れã¦ã„るオプションを1ã¤æŒ‡å®šã—ã¾ã™ã€‚ãŸã¨ãˆã°ã€\f3\-J\-Xms48m\fPã¨æŒ‡å®šã™ã‚‹ã¨ã€ã‚¹ã‚¿ãƒ¼ãƒˆã‚¢ãƒƒãƒ—・メモリーã¯48Mãƒã‚¤ãƒˆã«è¨­å®šã•れã¾ã™ã€‚\f3\-J\fPを使用ã—ã¦èƒŒå¾Œã®ä»®æƒ³ãƒžã‚·ãƒ³ã«ã‚ªãƒ—ションを渡ã™ã“ã¨ã¯ã‚ˆã行ã‚れã¦ã„ã¾ã™ã€‚ +.RE + +.LP +.SH "Java IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®åœæ­¢" +.LP +.LP +Java IDLãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ã‚¹ã‚’åœæ­¢ã™ã‚‹ã«ã¯ã€Unixã®å ´åˆã¯ã€\f2kill\fPãªã©ã®ã‚ªãƒšãƒ¬ãƒ¼ãƒ†ã‚£ãƒ³ã‚°ãƒ»ã‚·ã‚¹ãƒ†ãƒ ã®ã‚³ãƒžãƒ³ãƒ‰ã‚’使用ã—ã€Windowsã®å ´åˆã¯ã€\f2[Ctrl]+[C]\fPキーを使用ã—ã¾ã™ã€‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スを明示的ã«åœæ­¢ã™ã‚‹ã¾ã§ã¯ã€å‘¼å‡ºã—待機状態ãŒç¶šãã¾ã™ã€‚サービスを終了ã•ã›ã‚‹ã¨ã€Java IDLãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã«ç™»éŒ²ã•れã¦ã„ã‚‹åå‰ã¯å¤±ã‚れã¾ã™ã€‚ +.LP +.SH "サンプル・クライアント: åå‰ç©ºé–“ã¸ã®ã‚ªãƒ–ジェクトã®è¿½åŠ " +.LP +.LP +次ã«ç¤ºã™ã‚µãƒ³ãƒ—ル・プログラムã¯ã€åå‰ã‚’åå‰ç©ºé–“ã«è¿½åŠ ã™ã‚‹æ–¹æ³•を示ã™ã‚‚ã®ã§ã™ã€‚ã“ã®ã‚µãƒ³ãƒ—ル・プログラムã¯ã€ã“ã®ã¾ã¾ã®çŠ¶æ…‹ã§å®Œå…¨ã«å‹•作ã™ã‚‹ä¸€æ™‚ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“ス・クライアントã§ã€æ¬¡ã®ã‚ˆã†ãªå˜ç´”ãªãƒ„リーを作æˆã™ã‚‹ã‚‚ã®ã§ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +\f4åˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆ\fP +.RS 3 +.TP 2 +* +\f3plans\fP +.TP 2 +* +\f4Personal\fP +.RS 3 +.TP 2 +- +\f3calendar\fP +.TP 2 +- +\f3schedule\fP +.RE +.RE +.RE + +.LP +.LP +ã“ã®ä¾‹ã§ã€\f3plans\fPã¯ã‚ªãƒ–ジェクトå‚ç…§ã€\f3Personal\fPã¯\f3calendar\fPã¨\f3schedule\fPã®2ã¤ã®ã‚ªãƒ–ジェクトå‚ç…§ã‚’å«ã‚€ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã§ã™ã€‚ +.LP +.nf +\f3 +.fl +import java.util.Properties; +.fl +import org.omg.CORBA.*; +.fl +import org.omg.CosNaming.*; +.fl + +.fl +public class NameClient +.fl +{ +.fl + public static void main(String args[]) +.fl + { +.fl + try { +.fl +\fP +.fi + +.LP +å‰è¿°ã®Java IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®èµ·å‹•ã§ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ã¯ãƒãƒ¼ãƒˆ1050を使用ã—ã¦èµ·å‹•ã—ã¾ã—ãŸã€‚次ã®ã‚³ãƒ¼ãƒ‰ã§ã€ã“ã®ãƒãƒ¼ãƒˆç•ªå·ã‚’クライアント・システムã«çŸ¥ã‚‰ã›ã¾ã™ã€‚ +.nf +\f3 +.fl + Properties props = new Properties(); +.fl + props.put("org.omg.CORBA.ORBInitialPort", "1050"); +.fl + ORB orb = ORB.init(args, props); +.fl + +.fl +\fP +.fi + +.LP +次ã®ã‚³ãƒ¼ãƒ‰ã§ã¯ã€åˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã‚’å–å¾—ã—ã€ãれを\f3ctx\fPã«ä»£å…¥ã—ã¾ã™ã€‚2行目ã§ã¯ã€\f3ctx\fPをダミーã®ã‚ªãƒ–ジェクトå‚ç…§\f3objref\fPã«ã‚³ãƒ”ーã—ã¾ã™ã€‚ã“ã®objrefã«ã¯ã€ã‚ã¨ã§æ§˜ã€…ãªåå‰ã‚’割り当ã¦ã¦åå‰ç©ºé–“ã«è¿½åŠ ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + NamingContext ctx = +.fl +NamingContextHelper.narrow(orb.resolve_initial_references("NameService")); +.fl + NamingContext objref = ctx; +.fl + +.fl +\fP +.fi + +.LP +次ã®ã‚³ãƒ¼ãƒ‰ã§ã¯ã€textタイプã®åå‰plansを作æˆã—ã€ãれをダミーã®ã‚ªãƒ–ジェクトå‚ç…§ã«ãƒã‚¤ãƒ³ãƒ‰ã—ã¾ã™ã€‚ãã®å¾Œã€\f2rebind\fPを使用ã—ã¦åˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã®ä¸‹ã«plansを追加ã—ã¦ã„ã¾ã™ã€‚\f2rebind\fPメソッドを使用ã™ã‚Œã°ã€\f2bind\fPを使用ã—ãŸå ´åˆã«ç™ºç”Ÿã™ã‚‹ä¾‹å¤–を発生ã•ã›ãšã«ã€ã“ã®ãƒ—ログラムを何度も繰返ã—実行ã§ãã¾ã™ã€‚ +.nf +\f3 +.fl + NameComponent nc1 = new NameComponent("plans", "text"); +.fl + NameComponent[] name1 = {nc1}; +.fl + ctx.rebind(name1, objref); +.fl + System.out.println("plans rebind successful!"); +.fl + +.fl +\fP +.fi + +.LP +次ã®ã‚³ãƒ¼ãƒ‰ã§ã¯ã€directoryタイプã®Personalã¨ã„ã†ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã‚’作æˆã—ã¾ã™ã€‚ãã®çµæžœå¾—られるオブジェクトå‚ç…§\f3ctx2\fPã‚’ã“ã®åå‰ã«ãƒã‚¤ãƒ³ãƒ‰ã—ã€åˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã«è¿½åŠ ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + NameComponent nc2 = new NameComponent("Personal", "directory"); +.fl + NameComponent[] name2 = {nc2}; +.fl + NamingContext ctx2 = ctx.bind_new_context(name2); +.fl + System.out.println("new naming context added.."); +.fl + +.fl +\fP +.fi + +.LP +残りã®ã‚³ãƒ¼ãƒ‰ã§ã¯ã€ãƒ€ãƒŸãƒ¼ã®ã‚ªãƒ–ジェクトå‚ç…§ã‚’scheduleã¨calendarã¨ã„ã†åå‰ã§ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã€ŒPersonalã€(\f3ctx2\fP)ã«ãƒã‚¤ãƒ³ãƒ‰ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + NameComponent nc3 = new NameComponent("schedule", "text"); +.fl + NameComponent[] name3 = {nc3}; +.fl + ctx2.rebind(name3, objref); +.fl + System.out.println("schedule rebind successful!"); +.fl + +.fl + NameComponent nc4 = new NameComponent("calender", "text"); +.fl + NameComponent[] name4 = {nc4}; +.fl + ctx2.rebind(name4, objref); +.fl + System.out.println("calender rebind successful!"); +.fl + +.fl + +.fl + } catch (Exception e) { +.fl + e.printStackTrace(System.err); +.fl + } +.fl + } +.fl +} +.fl +\fP +.fi + +.LP +.SH "サンプル・クライアント: åå‰ç©ºé–“ã®ãƒ–ラウズ" +.LP +.LP +次ã®ã‚µãƒ³ãƒ—ル・プログラムã§ã¯ã€åå‰ç©ºé–“をブラウズã™ã‚‹æ–¹æ³•を示ã—ã¾ã™ã€‚ +.LP +.nf +\f3 +.fl +import java.util.Properties; +.fl +import org.omg.CORBA.*; +.fl +import org.omg.CosNaming.*; +.fl + +.fl +public class NameClientList +.fl +{ +.fl + public static void main(String args[]) +.fl + { +.fl + try { +.fl +\fP +.fi + +.LP +å‰è¿°ã®Java IDL一時ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒ“スã®èµ·å‹•ã§ã€ãƒãƒ¼ãƒ ãƒ»ã‚µãƒ¼ãƒãƒ¼ã¯ãƒãƒ¼ãƒˆ1050を使用ã—ã¦èµ·å‹•ã—ã¾ã—ãŸã€‚次ã®ã‚³ãƒ¼ãƒ‰ã§ã€ã“ã®ãƒãƒ¼ãƒˆç•ªå·ã‚’クライアント・システムã«çŸ¥ã‚‰ã›ã¾ã™ã€‚ +.nf +\f3 +.fl + +.fl + Properties props = new Properties(); +.fl + props.put("org.omg.CORBA.ORBInitialPort", "1050"); +.fl + ORB orb = ORB.init(args, props); +.fl + +.fl + +.fl +\fP +.fi + +.LP +次ã®ã‚³ãƒ¼ãƒ‰ã§ã¯ã€åˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã‚’å–å¾—ã—ã¦ã„ã¾ã™ã€‚ +.nf +\f3 +.fl + NamingContext nc = +.fl +NamingContextHelper.narrow(orb.resolve_initial_references("NameService")); +.fl + +.fl +\fP +.fi + +.LP +\f2list\fPメソッドã¯ã€ãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’リストã—ã¾ã™ã€‚ã“ã®å ´åˆã€æœ€å¤§1000個ã¾ã§ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒåˆæœŸãƒãƒ¼ãƒŸãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆã‹ã‚‰BindingListHolderã«è¿”ã•れã¾ã™ã€‚残りã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã¯ã€BindingIteratorHolderã«è¿”ã•れã¾ã™ã€‚ +.nf +\f3 +.fl + BindingListHolder bl = new BindingListHolder(); +.fl + BindingIteratorHolder blIt= new BindingIteratorHolder(); +.fl + nc.list(1000, bl, blIt); +.fl + +.fl +\fP +.fi + +.LP +次ã®ã‚³ãƒ¼ãƒ‰ã§ã¯ã€è¿”ã•れãŸBindingListHolderã‹ã‚‰ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã®é…列をå–å¾—ã—ã¾ã™ã€‚ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãŒãªã„å ´åˆã¯ã€ãƒ—ログラムãŒçµ‚了ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + Binding bindings[] = bl.value; +.fl + if (bindings.length == 0) return; +.fl + +.fl +\fP +.fi + +.LP +残りã®ã‚³ãƒ¼ãƒ‰ã§ã¯ã€ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã«å¯¾ã—ã¦ãƒ«ãƒ¼ãƒ—処ç†ã‚’行ã„ã€åå‰ã‚’出力ã—ã¾ã™ã€‚ +.nf +\f3 +.fl + for (int i=0; i < bindings.length; i++) { +.fl + +.fl + // get the object reference for each binding +.fl + org.omg.CORBA.Object obj = nc.resolve(bindings[i].binding_name); +.fl + String objStr = orb.object_to_string(obj); +.fl + int lastIx = bindings[i].binding_name.length\-1; +.fl + +.fl + // check to see if this is a naming context +.fl + if (bindings[i].binding_type == BindingType.ncontext) { +.fl + System.out.println( "Context: " + +.fl +bindings[i].binding_name[lastIx].id); +.fl + } else { +.fl + System.out.println("Object: " + +.fl +bindings[i].binding_name[lastIx].id); +.fl + } +.fl + } +.fl + +.fl + } catch (Exception e) { +.fl + e.printStackTrace(System.err); +.fl + } +.fl + } +.fl +} +.fl +\fP +.fi + +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/unpack200.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/unpack200.1 new file mode 100644 index 00000000..21b05993 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/unpack200.1 @@ -0,0 +1,159 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH unpack200 1 "05 Jul 2012" + +.LP +.SH "åå‰" +unpack200 \- JARアンパック・ツール +.LP +.RS 3 +.TP 2 +o +å½¢å¼ +.TP 2 +o +説明 +.TP 2 +o +オプション +.TP 2 +o +終了ステータス +.TP 2 +o +関連項目 +.TP 2 +o +æ³¨æ„ +.RE + +.LP +.SH "å½¢å¼" +.LP +.LP +\f4unpack200\fP\f2 [ \fP\f2options\fP ] \f2input\-file\fP \f2JAR\-file\fP +.LP +.LP +ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®æŒ‡å®šé †åºã«æ±ºã¾ã‚Šã¯ã‚りã¾ã›ã‚“ã€‚ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«æŒ‡å®šã•ã‚ŒãŸæœ€å¾Œã®ã‚ªãƒ—ションãŒã€ãれ以å‰ã«æŒ‡å®šã•れãŸã™ã¹ã¦ã®ã‚ªãƒ—ションより優先ã•れã¾ã™ã€‚ +.LP +.RS 3 +.TP 3 +input\-file +入力ファイルã®åå‰ã€‚pack200 gzipファイルã‹pack200ファイルを指定ã§ãã¾ã™ã€‚ã“ã®ä»–ã«ã€0を設定ã™ã‚Œã°pack200(1)ã‹ã‚‰ä½œæˆã•れãŸJARファイルも入力ã¨ã—ã¦ä½¿ç”¨ã§ãã¾ã™ã€‚ã“ã®å ´åˆã€å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®å†…容ãŒPack200マーカーã¨ã¨ã‚‚ã«å‡ºåŠ›JARファイルã«ã‚³ãƒ”ーã•れã¾ã™ã€‚ +.TP 3 +JAR\-file +出力JARファイルå。 +.RE + +.LP +.SH "説明" +.LP +.LP +\f2unpack200\fPã¯ã€\f2pack200\fP(1)ã§ä½œæˆã•れãŸãƒ‘ック・ファイルをJARファイルã«å¤‰æ›ã™ã‚‹ãƒã‚¤ãƒ†ã‚£ãƒ–実装ã§ã™ã€‚一般的ãªä½¿ç”¨æ–¹æ³•: +.LP +.LP +\f2% unpack200 myarchive.pack.gz myarchive.jar\fP +.LP +.LP +ã“ã®ä¾‹ã§ã¯ã€ãƒ‡ãƒ•ォルトã®\f2unpack200\fPã®è¨­å®šã§ã€\f2myarchive.pack.gz\fPã‹ã‚‰\f2myarchive.jar\fPãŒä½œæˆã•れã¾ã™ã€‚ +.LP +.SH "オプション" +.LP +.LP +\f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP +.LP +.LP +JARファイル内ã®ã™ã¹ã¦ã®ã‚¨ãƒ³ãƒˆãƒªã«\f2true\fPã€\f2false\fPã¾ãŸã¯\f2keep\fPã®ãƒ‡ãƒ•レーションを設定ã—ã¾ã™ã€‚デフォルト・モードã¯\f2keep\fPã§ã™ã€‚\f2true\fPã¾ãŸã¯\f2false\fPå ´åˆã€ãƒ‡ãƒ•ォルトã®å‹•作をオーãƒãƒ¼ãƒ©ã‚¤ãƒ‰ã—ã¦ã€å‡ºåŠ›JARファイル内ã®ã™ã¹ã¦ã®ã‚¨ãƒ³ãƒˆãƒªã®ãƒ‡ãƒ•レーション・モードãŒè¨­å®šã•れã¾ã™ã€‚ +.LP +.LP +\f4\-r \-\-remove\-pack\-file\fP +.LP +.LP +入力パック・ファイルを削除ã—ã¾ã™ã€‚ +.LP +.LP +\f4\-v \-\-verbose\fP +.LP +.LP +最å°é™ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’出力ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを複数指定ã™ã‚‹ã¨ã€ã‚ˆã‚Šé•·ã„メッセージãŒå‡ºåŠ›ã•れã¾ã™ã€‚ +.LP +.LP +\f4\-q \-\-quiet\fP +.LP +.LP +メッセージを表示ã›ãšã«å‹•作ã™ã‚‹ã‚ˆã†ã«æŒ‡å®šã—ã¾ã™ã€‚ +.LP +.LP +\f4\-lfilename \-\-log\-file=\fP\f2filename\fP +.LP +.LP +出力メッセージã®ãƒ­ã‚°ãƒ»ãƒ•ァイルを指定ã—ã¾ã™ã€‚ +.LP +.LP +\f4\-? \-h \-\-help\fP +.LP +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã«é–¢ã™ã‚‹ãƒ˜ãƒ«ãƒ—情報を出力ã—ã¾ã™ã€‚ +.LP +.LP +\f4\-V \-\-version\fP +.LP +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã«é–¢ã™ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¾ã™ã€‚ +.LP +.LP +\f4\-J\fP\f2option\fP +.LP +.LP +\f2unpack200\fPã«ã‚ˆã£ã¦å‘¼ã³å‡ºã•れるJava起動ツールã«\f2option\fPを渡ã—ã¾ã™ã€‚ +.LP +.SH "終了ステータス" +.LP +.LP +次ã®çµ‚了値ãŒè¿”ã•れã¾ã™ã€‚ +.LP +.LP +\f2\ 0\fP: 正常終了ã—ãŸå ´åˆ +.LP +.LP +\f2>0\fP: エラーãŒç™ºç”Ÿã—ãŸå ´åˆ +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +pack200(1) +.TP 2 +o +.na +\f2Java SEã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\fP @ +.fi +http://docs.oracle.com/javase/7/docs/index.html +.TP 2 +o +.na +\f2Javaデプロイメント・ガイド \- Pack200\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html +.TP 2 +o +jar(1) \- Java Archiveツール +.TP 2 +o +jarsigner(1) \- JARç½²åツール +.TP 2 +o +\f2attributes(5)\fPã®ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«ãƒ»ãƒšãƒ¼ã‚¸ +.RE + +.LP +.SH "注æ„" +.LP +.LP +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¨\f2unpack(1)\fPã‚’æ··åŒã—ãªã„ã§ãã ã•ã„。ã“れらã¯åˆ¥è£½å“ã§ã™ã€‚ +.LP +.LP +JDKã«ä»˜å±žã™ã‚‹Java SE API仕様ã¨ã®ç›¸é•ãŒè¦‹ã¤ã‹ã£ãŸå ´åˆã«ã¯ã€ä»•様を優先ã—ã¦ãã ã•ã„。 +.LP + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/wsgen.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/wsgen.1 new file mode 100644 index 00000000..0c8c5031 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/wsgen.1 @@ -0,0 +1,637 @@ +." Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH wsgen 1 "05 Jul 2012" +.SH "åå‰" +wsgen \- XML Web Services(JAX\-WS)2.0ã®ãŸã‚ã®Java(tm)API +.LP +\f3仕様ãƒãƒ¼ã‚¸ãƒ§ãƒ³:\fP 2.1 +.br +\f3実装ãƒãƒ¼ã‚¸ãƒ§ãƒ³:\fP 2.1.1 +.LP +\f2wsgen\fPツールã¯ã€JAX\-WS Webサービスã§ä½¿ç”¨ã•れるJAX\-WSãƒãƒ¼ã‚¿ãƒ–ル・アーティファクトを生æˆã—ã¾ã™ã€‚ã“ã®ãƒ„ールã¯ã€Webサービスã®ã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆå®Ÿè£…クラス(SEI)を読å–りã€Webサービスã®ãƒ‡ãƒ—ロイメントã¨å‘¼å‡ºã—ã«å¿…è¦ãªã™ã¹ã¦ã®ã‚¢ãƒ¼ãƒ†ã‚£ãƒ•ァクトを生æˆã—ã¾ã™ã€‚ +.SH "概è¦" +.LP +\f2wsgen\fPツールã¯ã€JAX\-WS Webサービスã§ä½¿ç”¨ã•れるJAX\-WSãƒãƒ¼ã‚¿ãƒ–ル・アーティファクトを生æˆã—ã¾ã™ã€‚ã“ã®ãƒ„ールã¯ã€Webサービスã®ã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆãƒ»ã‚¯ãƒ©ã‚¹ã‚’読å–りã€Webサービスã®ãƒ‡ãƒ—ロイメントã¨å‘¼å‡ºã—ã«å¿…è¦ãªã™ã¹ã¦ã®ã‚¢ãƒ¼ãƒ†ã‚£ãƒ•ァクトを生æˆã—ã¾ã™ã€‚JAXWS 2.1.1 RIã«ã¯wsgen Antタスクも用æ„ã•れã¦ã„ã¾ã™ã€‚詳細ã¯ã€ +.na +\f2Wsgen Antタスク\fP @ +.fi +https://jax\-ws.dev.java.net/nonav/2.1.1/docs/wsgenant.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.SH "wsgenã®èµ·å‹•" +.RS 3 +.TP 2 +o +\f3Solaris/Linux\fP +.RS 3 +.TP 2 +* +\f2export JAXWS_HOME=/pathto/jaxws\-ri\fP +.TP 2 +* +\f2$JAXWS_HOME/bin/wsgen.sh \-help\fP +.RE +.TP 2 +o +\f3Windows\fP +.RS 3 +.TP 2 +* +\f2set JAXWS_HOME=c:\\pathto\\jaxws\-ri\fP +.TP 2 +* +\f2%JAXWS_HOME%\\bin\\wsgen.bat \-help\fP +.RE +.RE + +.LP +.SH "æ§‹æ–‡" +.nf +\f3 +.fl +wsgen [options] <SEI>\fP +.br +\f3 +.fl +\fP +.fi +.LP +次ã®è¡¨ã«ã€\f2wsgen\fPã®ã‚ªãƒ—ションを示ã—ã¾ã™ã€‚ +.br +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +å…¥åŠ›ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œç´¢å ´æ‰€ã‚’指定ã—ã¾ã™ +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f2\-classpath<path>\fPã¨åŒã˜ã§ã™ +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +生æˆã•れる出力ファイルを格ç´ã™ã‚‹å ´æ‰€ã‚’指定ã—ã¾ã™ +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ベンダー拡張(仕様ã§è¦å®šã•れã¦ã„ãªã„機能)を許å¯ã—ã¾ã™ã€‚拡張を使用ã™ã‚‹ã¨ã€ã‚¢ãƒ—リケーションã®ç§»æ¤æ€§ãŒå¤±ã‚れãŸã‚Šã€ä»–ã®å®Ÿè£…ã¨ã®ç›¸äº’é‹ç”¨ãŒè¡Œãˆãªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ヘルプを表示ã—ã¾ã™ +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +生æˆã•れãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’ä¿æŒã—ã¾ã™ +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +常㫠\-wsdlオプションã¨çµ„ã¿åˆã‚ã¦ä½¿ç”¨ã—ã¾ã™ã€‚WSDLãªã©ã®ç”Ÿæˆã•れãŸãƒªã‚½ãƒ¼ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ ¼ç´å ´æ‰€ã‚’指定ã—ã¾ã™ +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +生æˆã•れるソース・ファイルを格ç´ã™ã‚‹å ´æ‰€ã‚’指定ã—ã¾ã™ +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +コンパイラãŒå®Ÿè¡Œã—ã¦ã„る処ç†ã«é–¢ã™ã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’出力ã—ã¾ã™ +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…å ±ã®ã¿ãŒå‡ºåŠ›ã•れã¾ã™ã€‚通常ã®å‡¦ç†ã¯å®Ÿè¡Œã•れã¾ã›ã‚“。 +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +デフォルトã§ã¯\f2wsgen\fPã¯WSDLファイルを生æˆã—ã¾ã›ã‚“。ã“ã®ãƒ•ラグã¯çœç•¥å¯èƒ½ã§ã™ãŒã€æŒ‡å®šã—ãŸå ´åˆã¯\f2wsgen\fPãŒWSDLファイルを生æˆã™ã‚‹ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚ã“ã®ãƒ•ラグã¯é€šå¸¸ã€ã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆã®ãƒ‡ãƒ—ロイå‰ã«é–‹ç™ºè€…ãŒWSDLã‚’å‚ç…§ã§ãるよã†ã«ã™ã‚‹ãŸã‚ã«ã®ã¿ä½¿ç”¨ã—ã¾ã™ã€‚\f2protocol\fPã¯çœç•¥å¯èƒ½ã§ã‚りã€\f2wsdl:binding\fPã§ä½¿ç”¨ã™ã‚‹ãƒ—ロトコルを指定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã•れã¾ã™ã€‚有効ãªãƒ—ロトコルã¯\f2soap1.1\fPãŠã‚ˆã³\f2Xsoap1.2\fPãªã©ã§ã™ã€‚デフォルトã¯\f2soap1.1\fPã§ã™ã€‚\f2Xsoap1.2\fPã¯æ¨™æº–ã§ã¯ãªã„ãŸã‚ã€\f2\-extension\fPオプションã¨çµ„ã¿åˆã›ãªã„ã¨ä½¿ç”¨ã§ãã¾ã›ã‚“。 +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +常ã«\f2\-wsdl\fPオプションã¨çµ„ã¿åˆã›ã¦ä½¿ç”¨ã—ã¾ã™ã€‚WSDL内ã§ç”Ÿæˆã•れる\f2wsdl:service\fPã®åå‰ã‚’指定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚例: \f2\-servicename "{http://mynamespace/}MyService"\fP +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di m+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +常ã«\f2\-wsdl\fPオプションã¨çµ„ã¿åˆã›ã¦ä½¿ç”¨ã—ã¾ã™ã€‚WSDL内ã§ç”Ÿæˆã•れる\f2wsdl:port\fPã®åå‰ã‚’指定ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚例: \f2\-portname "{http://mynamespace/}MyPort"\fP +.br +.br +.di +.nr m| \n(dn +.nr m- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3オプション\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-classpath <path>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-cp <path>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-d <directory>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-extension\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-help\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-keep\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-r <directory>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-s <directory>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-verbose\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-version\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-wsdl[:protocol]\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-servicename <name>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-portname <name>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(l- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(m- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 137 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3オプション\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-classpath <path>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-cp <path>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-d <directory>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-extension\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-help\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-keep\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-r <directory>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-s <directory>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-verbose\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-version\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-wsdl[:protocol]\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-servicename <name>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(m|u+\n(.Vu +.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-portname <name>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.m+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.rm m+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-57 + +.LP +.SH "例" +.nf +\f3 +.fl +\fP\f3wsgen \-d stock \-cp myclasspath stock.StockService\fP +.fl +.fi +.LP +\f3stock\fPディレクトリ内ã«@WebService注釈ãŒä»˜ã‘られãŸã€StockServiceã«å¿…è¦ãªãƒ©ãƒƒãƒ‘ー・クラスãŒç”Ÿæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl +\fP\f3wsgen \-wsdl \-d stock \-cp myclasspath stock.StockService\fP +.fl +.fi +.LP +SOAP 1.1 WSDLã¨ã€@WebService注釈ãŒä»˜ã‘られãŸJavaクラスstock.StockServiceã®ã‚¹ã‚­ãƒ¼ãƒžãŒç”Ÿæˆã•れã¾ã™ã€‚ +.nf +\f3 +.fl +\fP\f3wsgen \-wsdl:Xsoap1.2 \-d stock \-cp myclasspath stock.StockService\fP +.fl +.fi +.LP +SOAP 1.2 WSDLãŒç”Ÿæˆã•れã¾ã™ã€‚ +.LP +サービスをデプロイã™ã‚‹ã¨ãã«JAXWSランタイムã«ã‚ˆã£ã¦è‡ªå‹•çš„ã«WSDLãŒç”Ÿæˆã•れるãŸã‚ã€é–‹ç™ºæ™‚ã«WSDLを生æˆã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。 diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/wsimport.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/wsimport.1 new file mode 100644 index 00000000..4bb18a5f --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/wsimport.1 @@ -0,0 +1,1047 @@ +." Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH wsimport 1 "05 Jul 2012" +.SH "åå‰" +wsimport \- XML Web Services(JAX\-WS)2.0ã®ãŸã‚ã®Java(tm)API +.LP +\f3仕様ãƒãƒ¼ã‚¸ãƒ§ãƒ³:\fP 2.1 +.br +\f3実装ãƒãƒ¼ã‚¸ãƒ§ãƒ³:\fP 2.1.1 +.br +.SH "概è¦" +.LP +\f2wsimport\fPツールã¯ã€æ¬¡ã®ã‚ˆã†ãªJAX\-WSãƒãƒ¼ã‚¿ãƒ–ル・アーティファクトを生æˆã—ã¾ã™ã€‚ +.RS 3 +.TP 2 +o +サービス・エンドãƒã‚¤ãƒ³ãƒˆãƒ»ã‚¤ãƒ³ã‚¿ãƒ•ェース(SEI) +.TP 2 +o +サービス +.TP 2 +o +wsdl:faultã‹ã‚‰ãƒžãƒƒãƒ—ã•れる例外クラス(存在ã™ã‚‹å ´åˆ) +.TP 2 +o +レスãƒãƒ³ã‚¹wsdl:messageã‹ã‚‰æ´¾ç”Ÿã™ã‚‹éžåŒæœŸãƒ¬ã‚¹ãƒãƒ³ã‚¹Bean(存在ã™ã‚‹å ´åˆ) +.TP 2 +o +JAXBãŒç”Ÿæˆã™ã‚‹å€¤ã‚¿ã‚¤ãƒ—(スキーマã®ã‚¿ã‚¤ãƒ—ã‹ã‚‰ãƒžãƒƒãƒ—ã•れãŸJavaクラス) +.RE +.LP +ã“れらã®ã‚¢ãƒ¼ãƒ†ã‚£ãƒ•ァクトã¯ã€WSDLドキュメントã€ã‚¹ã‚­ãƒ¼ãƒžãƒ»ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã€ãŠã‚ˆã³ã‚¨ãƒ³ãƒ‰ãƒã‚¤ãƒ³ãƒˆå®Ÿè£…ã¨ã¨ã‚‚ã«WARファイル内ã«ãƒ‘ッケージ化ã—ã¦ãƒ‡ãƒ—ロイã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã¾ãŸã€wsimport Antタスクも用æ„ã•れã¦ã„ã¾ã™ã€‚ +.na +\f2wsimport Antタスク\fP @ +.fi +https://jax\-ws.dev.java.net/nonav/2.1.1/docs/wsimportant.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.br + +.LP +.SH "wsimportã®èµ·å‹•" +.RS 3 +.TP 2 +o +\f3Solaris/Linux\fP +.RS 3 +.TP 2 +* +\f2/bin/wsimport.sh \-help\fP +.RE +.TP 2 +o +\f3Windows\fP +.RS 3 +.TP 2 +* +\f2\\bin\\wsimport.bat \-help\fP +.RE +.RE + +.LP +.SH "æ§‹æ–‡" +.nf +\f3 +.fl +wsimport [options] <wsdl> +.fl +\fP +.fi +.LP +次ã®è¡¨ã«ã€\f2wsimport\fPã®ã‚ªãƒ—ションを示ã—ã¾ã™ã€‚ +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +生æˆã•れる出力ファイルを格ç´ã™ã‚‹å ´æ‰€ã‚’指定ã—ã¾ã™ +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +外部ã®JAX\-WSã¾ãŸã¯JAXBãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルを指定ã—ã¾ã™(\f2<file>\fPã”ã¨ã«\f2\-b\fPãŒå¿…è¦ã«ãªã‚Šã¾ã™) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã“ã®ã‚ªãƒ—ションをJAXBã‚¹ã‚­ãƒ¼ãƒžãƒ»ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ã«æ¸¡ã—ã¾ã™ +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +外部エンティティå‚照を解決ã™ã‚‹ãŸã‚ã®ã‚«ã‚¿ãƒ­ã‚°ãƒ»ãƒ•ァイルを指定ã—ã¾ã™ã€‚TR9401ã€XCatalogã€OASIS XML Catalogã®å„å½¢å¼ãŒã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ã€‚ +.na +\f2カタログ\fP @ +.fi +https://jax\-ws.dev.java.net/nonav/2.1.1/docs/catalog\-support.htmlã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’読んã§ã€\f3カタログ\fPã®ã‚µãƒ³ãƒ—ルをå‚ç…§ã—ã¦ãã ã•ã„。 +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ベンダー拡張(仕様ã§è¦å®šã•れã¦ã„ãªã„機能)を許å¯ã—ã¾ã™ã€‚拡張を使用ã™ã‚‹ã¨ã€ã‚¢ãƒ—リケーションã®ç§»æ¤æ€§ãŒå¤±ã‚れãŸã‚Šã€ä»–ã®å®Ÿè£…ã¨ã®ç›¸äº’é‹ç”¨ãŒè¡Œãˆãªããªã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ヘルプを表示ã—ã¾ã™ +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3\-httpproxy:<host>:<port> \fP +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +HTTPプロキシ・サーãƒãƒ¼ã‚’指定ã—ã¾ã™(デフォルトã®ãƒãƒ¼ãƒˆã¯8080ã§ã™) +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +生æˆã•れãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’ä¿æŒã—ã¾ã™ +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ション経由ã§ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ‘ッケージを指定ã—ãŸå ´åˆã€ãƒ‘ッケージåã«å¯¾ã™ã‚‹ã™ã¹ã¦ã®WSDL/スキーマ・ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã®ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºã‚„ã€ä»•様ã§è¦å®šã•れã¦ã„るデフォルトã®ãƒ‘ッケージåアルゴリズムよりもã€ãã®æŒ‡å®šãŒå„ªå…ˆã•れã¾ã™ +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +生æˆã•れるソース・ファイルを格ç´ã™ã‚‹å ´æ‰€ã‚’指定ã—ã¾ã™ +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +コンパイラãŒå®Ÿè¡Œã—ã¦ã„る処ç†ã«é–¢ã™ã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’出力ã—ã¾ã™ +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di m+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を出力ã—ã¾ã™ +.br +.di +.nr m| \n(dn +.nr m- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di n+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3\-wsdllocation <location>\fP +.br +.di +.nr n| \n(dn +.nr n- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di o+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f2@WebServiceClient.wsdlLocation\fP値 +.br +.di +.nr o| \n(dn +.nr o- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di p+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +指定ã•れãŸJAX\-WS仕様ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«å¾“ã£ã¦ã‚³ãƒ¼ãƒ‰ã‚’生æˆã—ã¾ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³2.0ã§ã¯ã€JAX\-WS 2.0ä»•æ§˜ã«æº–æ‹ ã—ãŸã‚³ãƒ¼ãƒ‰ãŒç”Ÿæˆã•れã¾ã™ +.br +.di +.nr p| \n(dn +.nr p- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di q+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +wsimport出力を抑制ã—ã¾ã™ +.br +.di +.nr q| \n(dn +.nr q- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3オプション\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-d <directory> \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-b <path> \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-B <jaxbOption>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-catalog\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-extension \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-help \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-keep \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-p \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-s <directory> \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-verbose \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-version \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-target \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-quiet \fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 38 \n(g- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(n- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(l- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(m- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(o- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(p- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(q- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 163 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3オプション\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-d <directory> \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-b <path> \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-B <jaxbOption>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-catalog\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-extension \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-help \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.ne \n(h|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-keep \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-p \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-s <directory> \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-verbose \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(m|u+\n(.Vu +.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-version \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.m+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(n|u+\n(.Vu +.ne \n(o|u+\n(.Vu +.if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v) +.if (\n(o|+\n(#^-1v)>\n(#- .nr #- +(\n(o|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.n+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.o+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(p|u+\n(.Vu +.if (\n(p|+\n(#^-1v)>\n(#- .nr #- +(\n(p|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-target \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.p+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(q|u+\n(.Vu +.if (\n(q|+\n(#^-1v)>\n(#- .nr #- +(\n(q|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-quiet \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.q+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.rm m+ +.rm n+ +.rm o+ +.rm p+ +.rm q+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-72 +.LP +\f2\-b\fPオプションを使用ã—ã¦ã€è¤‡æ•°ã®JAX\-WSãŠã‚ˆã³JAXBãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルを指定ã§ãã¾ã™ã€‚ã“れらã®ãƒ•ァイルを使用ã—ã¦ã€ãƒ‘ッケージåã‚„Beanåãªã©ã€æ§˜ã€…ãªã‚‚ã®ã‚’カスタマイズã§ãã¾ã™ã€‚JAX\-WSãŠã‚ˆã³JAXBãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルã®è©³ç´°ã¯ã€ +.na +\f2カスタマイズ・マニュアル\fP @ +.fi +https://jax\-ws.dev.java.net/nonav/2.1.1/docs/customizations.htmlã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +次ã®è¡¨ã«ã€\f2wsimport\fPã®éžæ¨™æº–オプションを示ã—ã¾ã™ã€‚ +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +リクエストã¾ãŸã¯ãƒ¬ã‚¹ãƒãƒ³ã‚¹ãƒ»ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã«ãƒã‚¤ãƒ³ãƒ‰ã•れãªã„ヘッダーをJavaメソッドã®ãƒ‘ラメータã«ãƒžãƒƒãƒ—ã—ã¾ã™ +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +èªè¨¼æƒ…報をå«ã‚€ãƒ•ァイルを指定ã™ã‚‹WSDL URIã§ã™ã€‚ã“ã®URIã®å½¢å¼ã¯æ¬¡ã®ã¨ãŠã‚Šã§ã™ http://\f2<user name>\fP:\f2<password>\fP@\f2<host name>\fP/\f2<Web service name>\fP?wsdl +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +デãƒãƒƒã‚°æƒ…報を出力ã—ã¾ã™ +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3\-Xno\-addressing\-databinding\fP +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +W3C \f2EndpointReferenceType\fPã¨Javaã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ã‚’有効ã«ã—ã¾ã™ +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +生æˆã•れãŸJavaファイルをコンパイルã—ã¾ã›ã‚“ +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3オプション\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-XadditionalHeaders\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-Xauthfile <file>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-Xdebug\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-Xnocompile\fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 38 \n(d- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.nr 38 \w\f3説明\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 199 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3オプション\fP\h'|\n(41u'\f3説明\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-XadditionalHeaders\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-Xauthfile <file>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-Xdebug\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.ne \n(e|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-Xnocompile\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-26 + +.LP +.SH "例" +.nf +\f3 +.fl +\fP\f3wsimport \-p stockquote http://stockquote.example.com/quote?wsdl\fP +.fl +.fi +.LP +Javaアーティファクトを生æˆã—ã€\f2http://stockquote.example.com/quote?wsdl\fPをインãƒãƒ¼ãƒˆã—ã¦ãã®Javaアーティファクトをコンパイルã—ã¾ã™ +.br + diff --git a/Java-Visualizer/java/man/ja_JP.UTF-8/man1/xjc.1 b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/xjc.1 new file mode 100644 index 00000000..dfc11b31 --- /dev/null +++ b/Java-Visualizer/java/man/ja_JP.UTF-8/man1/xjc.1 @@ -0,0 +1,278 @@ +." Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH xjc 1 "05 Jul 2012" + +.LP +.SH "åå‰" +xjc \- XMLãƒã‚¤ãƒ³ãƒ‰ã®ãŸã‚ã®Java(tm)アーキテクãƒãƒ£ +.br +ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラ +.LP +.LP +\f3仕様ãƒãƒ¼ã‚¸ãƒ§ãƒ³:\fP 2.1 +.br +\f3リファレンス実装(RI)ãƒãƒ¼ã‚¸ãƒ§ãƒ³:\fP 2.1.3 +.LP +.SH "xjcã®èµ·å‹•" +.LP +.LP +ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラを起動ã™ã‚‹ã«ã¯ã€ä½¿ç”¨ã™ã‚‹ãƒ—ラットフォームã«å¿œã˜ãŸ\f2bin\fPディレクトリ内ã®\f2xjc\fPシェル・スクリプトを使用ã—ã¾ã™ã€‚ã¾ãŸã€ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラを実行ã™ã‚‹ãŸã‚ã®Antタスクも用æ„ã•れã¦ã„ã¾ã™ã€‚ +.na +\f2XJC Antタスクã®ä½¿ç”¨\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/xjcTask.htmlã®æ‰‹é †ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 +.LP +.LP +\f2% xjc \-help\fP +.LP +.SS +出力 +.LP +.nf +\f3 +.fl +Usage: xjc [\-options ...] <schema file/URL/dir/jar> ... [\-b <bindinfo>] ... +.fl +If dir is specified, all schema files in it will be compiled. +.fl +If jar is specified, /META\-INF/sun\-jaxb.episode binding file will be compiled. +.fl +Options: +.fl + \-nv : do not perform strict validation of the input schema(s) +.fl + \-extension : allow vendor extensions \- do not strictly follow the Compatibility Rules and App E.2 from the JAXB Spec +.fl + \-b <file/dir> : specify external bindings files (each <file> must have its own \-b); if a directory is given, **/*.xjb is searched +.fl + \-d <dir> : generated files will go into this directory +.fl + \-p <pkg> : specifies the target package +.fl + \-httpproxy <proxy> : set HTTP/HTTPS proxy; format is [user[:password]@]proxyHost:proxyPort +.fl + \-httpproxyfile <f> : works like \-httpproxy but takes the argument in a file to protect password +.fl + \-classpath <arg> : specify where to find user class files +.fl + \-catalog <file> : specify catalog files to resolve external entity references; support TR9401, XCatalog, and OASIS XML Catalog format +.fl + \-readOnly : generated files will be in read\-only mode +.fl + \-npa : suppress generation of package level annotations (**/package\-info.java) +.fl + \-no\-header : suppress generation of a file header with timestamp +.fl + \-target 2.0 : behave like XJC 2.0 and generate code that doesnt use any 2.1 features +.fl + \-xmlschema : treat input as W3C XML Schema (default) +.fl + \-relaxng : treat input as RELAX NG (experimental,unsupported) +.fl + \-relaxng\-compact : treat input as RELAX NG compact syntax (experimental,unsupported) +.fl + \-dtd : treat input as XML DTD (experimental,unsupported) +.fl + \-wsdl : treat input as WSDL and compile schemas inside it (experimental,unsupported) +.fl + \-verbose : be extra verbose +.fl + \-quiet : suppress compiler output +.fl + \-help : display this help message +.fl + \-version : display version information +.fl + +.fl + +.fl +Extensions: +.fl + \-Xlocator : enable source location support for generated code +.fl + \-Xsync\-methods : generate accessor methods with the 'synchronized' keyword +.fl + \-mark\-generated : mark the generated code as @javax.annotation.Generated +.fl + \-episode <FILE> : generate the episode file for separate compilation +.fl +\fP +.fi + +.LP +.SH "オプション" +.LP +.RS 3 +.TP 3 +\-nv +デフォルトã§ã¯ã€XJCãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラã¯ã€ã‚½ãƒ¼ã‚¹ãƒ»ã‚¹ã‚­ãƒ¼ãƒžã‚’処ç†ã™ã‚‹å‰ã«åŽ³å¯†ãªæ¤œè¨¼ã‚’実行ã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€å޳坆ãªã‚¹ã‚­ãƒ¼ãƒžæ¤œè¨¼ã‹ç„¡åйã«ãªã‚Šã¾ã™ã€‚ã“れã¯ã€ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘ã‚¤ãƒ©ãŒæ¤œè¨¼ã‚’一切実行ã—ãªã„ã¨ã„ã†ã“ã¨ã§ã¯ã‚りã¾ã›ã‚“。より厳密ã§ãªã„検証を実行ã™ã‚‹ã¨ã„ã†ã“ã¨ã§ã™ã€‚ +.TP 3 +\-extension +デフォルトã§ã¯ã€XJCãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラã¯ã€JAXB仕様ã®Compatibilityã®ç« ã§èª¬æ˜Žã•れã¦ã„るルールを厳密ã«å¼·åˆ¶ã—ã¾ã™ã€‚付録E.2ã«ã¯ã€JAXB v1.0ã§å®Œå…¨ã«ã¯ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ãªã„一連ã®W3C XMLスキーマ機能ãŒå®šç¾©ã•れã¦ã„ã¾ã™ã€‚å ´åˆã«ã‚ˆã£ã¦ã¯ã€ã“ã®ã‚¹ã‚¤ãƒƒãƒã§æœ‰åйã«ãªã‚‹ã€Œ\-extensionã€ãƒ¢ãƒ¼ãƒ‰ã§ãã‚Œã‚‰ã®æ©Ÿèƒ½ãŒä½¿ç”¨ã§ãã‚‹å ´åˆãŒã‚りã¾ã™ã€‚ã¾ãŸã€ãƒ‡ãƒ•ォルトã®å޳坆ãªãƒ¢ãƒ¼ãƒ‰ã§ã¯ã€ä»•様ã«å®šç¾©ã•れã¦ã„ã‚‹ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºã®ã¿ãŒä½¿ç”¨ã§ãã¾ã™ã€‚「\-extensionã€ã‚¹ã‚¤ãƒƒãƒã‚’指定ã™ã‚Œã°ã€JAXB Vendor Extensionを使用ã§ãã¾ã™ã€‚ +.TP 3 +\-b <file> +処ç†ã™ã‚‹å¤–部ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルを1ã¤ã¾ãŸã¯è¤‡æ•°æŒ‡å®šã—ã¾ã™ã€‚(ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルã”ã¨ã«\f2「\-bã€\fPスイッãƒã‚’指定ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚)外部ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ§‹æ–‡ã¯éžå¸¸ã«æŸ”軟ã§ã™ã€‚複数ã®ã‚¹ã‚­ãƒ¼ãƒžã®ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºãŒå«ã¾ã‚Œã‚‹1ã¤ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルを使用ã—ãŸã‚Šã€ãれらã®ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºã‚’複数ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルã«åˆ†å‰²ã—ãŸã‚Šã§ãã¾ã™ã€‚次ã«ä¾‹ã‚’示ã—ã¾ã™ã€‚\f2xjc schema1.xsd schema2.xsd schema3.xsd \-b bindings123.xjb\fP +.br +\f2xjc schema1.xsd schema2.xsd schema3.xsd \-b bindings1.xjb \-b bindings2.xjb \-b bindings3.xjb\fPã¾ãŸã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã«ã‚¹ã‚­ãƒ¼ãƒžãƒ»ãƒ•ァイルã¨ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ãƒ•ァイルを指定ã™ã‚‹é †ç•ªã¯ä»»æ„ã§ã™ã€‚ +.TP 3 +\-d <dir> +デフォルトã§ã¯ã€XJCãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラã¯ã€Javaコンテンツ・クラスをç¾åœ¨ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ç”Ÿæˆã—ã¾ã™ã€‚ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€ä»£æ›¿å‡ºåŠ›ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’æŒ‡å®šã§ãã¾ã™ã€‚出力ディレクトリã¯ã‚らã‹ã˜ã‚存在ã—ã¦ã„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚XJCãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラã¯ã€ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’自動的ã«ä½œæˆã—ã¾ã›ã‚“。 +.TP 3 +\-p <pkg> +ã“ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ション経由ã§ã‚¿ãƒ¼ã‚²ãƒƒãƒˆãƒ»ãƒ‘ッケージを指定ã—ãŸå ´åˆã€ãã®æŒ‡å®šå†…容ã¯ã€ãƒ‘ッケージåã«å¯¾ã™ã‚‹ã™ã¹ã¦ã®ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºã‚„ã€ä»•様ã§è¦å®šã•れã¦ã„るデフォルトã®ãƒ‘ッケージåアルゴリズムよりも優先ã•れã¾ã™ã€‚ +.TP 3 +\-httpproxy <proxy> +HTTP/HTTPSプロキシを指定ã—ã¾ã™ã€‚å½¢å¼ã¯[user[:password]@]proxyHost[:proxyPort]ã§ã™ã€‚従æ¥ã®\f2\-host\fPãŠã‚ˆã³\f2\-port\fPã¯ã€ä¸‹ä½äº’æ›æ€§ã®ãŸã‚ã«ãƒªãƒ•ァレンス実装(RI)ã§ã¯ã‚µãƒãƒ¼ãƒˆã•れã¦ã„ã¾ã™ãŒã€æŽ¨å¥¨ã•れãªããªã‚Šã¾ã—ãŸã€‚ã“ã®ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã§æŒ‡å®šã•れãŸãƒ‘スワードã¯ã€\f2top\fPコマンドを使用ã™ã‚‹ãƒ¦ãƒ¼ã‚¶ãƒ¼ãªã©ã€ä»–ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒè¡¨ç¤ºã§ãる引数ã§ã‚ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。セキュリティを高ã‚ã‚‹ã«ã¯ã€æ¬¡ã®\f2\-httpproxyfile\fPを使用ã—ã¦ãã ã•ã„。 +.TP 3 +\-httpproxyfile <file> +HTTP/HTTPSãƒ—ãƒ­ã‚­ã‚·ã‚’ãƒ•ã‚¡ã‚¤ãƒ«çµŒç”±ã§æŒ‡å®šã—ã¾ã™ã€‚å½¢å¼ã¯å‰è¿°ã®ã‚‚ã®ã¨åŒã˜ã§ã™ãŒã€ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«å†…ã«æŒ‡å®šã•れãŸãƒ‘スワードを他ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒè¡¨ç¤ºã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。 +.TP 3 +\-classpath <arg> +\f2<jxb:javaType>\fPãŠã‚ˆã³\f2<xjc:superClass>\fPカスタマイズãŒä½¿ç”¨ã™ã‚‹ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãƒ»ã‚¢ãƒ—リケーションã®ã‚¯ãƒ©ã‚¹ãƒ»ãƒ•ã‚¡ã‚¤ãƒ«ã®æ¤œç´¢å ´æ‰€ã‚’指定ã—ã¾ã™ã€‚ +.TP 3 +\-catalog <file> +外部エンティティå‚照を解決ã™ã‚‹ã‚«ã‚¿ãƒ­ã‚°ãƒ»ãƒ•ァイルを指定ã—ã¾ã™ã€‚TR9401ã€XCatalogãŠã‚ˆã³OASIS XML Catalogå½¢å¼ãŒã‚µãƒãƒ¼ãƒˆã•れã¾ã™ã€‚詳細ã¯ã€XML Entity and URI Resolversã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’å‚ç…§ã™ã‚‹ã‹ã€\f2catalog\-resolver\fPサンプル・アプリケーションを調ã¹ã¦ãã ã•ã„。 +.TP 3 +\-readOnly +デフォルトã§ã¯ã€XJCãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラã¯ã€ç”Ÿæˆã™ã‚‹Javaソース・ファイルを書込ã¿ã‹ã‚‰ä¿è­·ã—ã¾ã›ã‚“。ã“ã®ã‚ªãƒ—ションを使用ã™ã‚‹ã¨ã€XJCãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラã¯ç”Ÿæˆã•れるJavaソースを強制的ã«èª­å–り専用ã«ã—ã¾ã™ã€‚ +.TP 3 +\-npa +ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ»ãƒ¬ãƒ™ãƒ«ã®æ³¨é‡ˆã‚’**/package\-info.javaã«ç”Ÿæˆã™ã‚‹ã“ã¨ã‚’抑制ã—ã¾ã™ã€‚ã“ã®ã‚¹ã‚¤ãƒƒãƒã‚’使用ã—ã¦ç”Ÿæˆã™ã‚‹ã‚³ãƒ¼ãƒ‰ã§ã¯ã€ã“ã‚Œã‚‰ã®æ³¨é‡ˆãŒä»–ã®ç”Ÿæˆæ¸ˆã¿ã‚¯ãƒ©ã‚¹ã«å†…部化ã•れã¾ã™ã€‚ +.TP 3 +\-no\-header +多少ã®ãƒ¡ãƒ¢ã¨ã‚¿ã‚¤ãƒ ã‚¹ã‚¿ãƒ³ãƒ—ã‚’å«ã‚€ãƒ•ァイル・ヘッダー・コメントã®ç”Ÿæˆã‚’抑制ã—ã¾ã™ã€‚ã“れを使用ã™ã‚‹ã¨ã€ç”Ÿæˆã•れãŸã‚³ãƒ¼ãƒ‰ã§diffを使用ã—ã‚„ã™ããªã‚Šã¾ã™ã€‚ +.TP 3 +\-target 2.0 +JAXB 2.1機能ã«ä¾å­˜ã™ã‚‹ã‚³ãƒ¼ãƒ‰ã‚’生æˆã—ãªã„よã†ã«ã—ã¾ã™ã€‚ã“れã«ã‚ˆã‚Šã€ç”Ÿæˆã•れãŸã‚³ãƒ¼ãƒ‰ã‚’JAXB 2.0ランタイム(JavaSE 6ãªã©)ã§å®Ÿè¡Œã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +\-xmlschema +入力スキーマをW3C XMLスキーマã¨ã—ã¦æ‰±ã„ã¾ã™(デフォルト)。ã“ã®ã‚¹ã‚¤ãƒƒãƒã‚’指定ã—ãªãã¦ã‚‚ã€å…¥åŠ›ã‚¹ã‚­ãƒ¼ãƒžã¯W3C XMLスキーマã¨è¦‹ãªã•れã¾ã™ã€‚ +.TP 3 +\-relaxng +入力スキーマをRELAX NGã¨ã—ã¦æ‰±ã„ã¾ã™(è©¦é¨“çš„ã€æœªã‚µãƒãƒ¼ãƒˆ)。RELAX NGスキーマã®ã‚µãƒãƒ¼ãƒˆã¯JAXB Vendor Extensionã¨ã—ã¦æä¾›ã•れã¦ã„ã¾ã™ã€‚ +.TP 3 +\-relaxng\-compact +入力スキーマをRELAX NG圧縮構文ã¨ã—ã¦å‡¦ç†ã—ã¾ã™(è©¦é¨“çš„ã€æœªã‚µãƒãƒ¼ãƒˆ)。RELAX NGスキーマã®ã‚µãƒãƒ¼ãƒˆã¯JAXB Vendor Extensionã¨ã—ã¦æä¾›ã•れã¦ã„ã¾ã™ã€‚ +.TP 3 +\-dtd +入力スキーマをXML DTDã¨ã—ã¦æ‰±ã„ã¾ã™(è©¦é¨“çš„ã€æœªã‚µãƒãƒ¼ãƒˆ)。RELAX NGスキーマã®ã‚µãƒãƒ¼ãƒˆã¯JAXB Vendor Extensionã¨ã—ã¦æä¾›ã•れã¦ã„ã¾ã™ã€‚ +.TP 3 +\-wsdl +入力をWSDLã¨ã—ã¦æ‰±ã„ã€ãã®å†…部ã®ã‚¹ã‚­ãƒ¼ãƒžã‚’コンパイルã—ã¾ã™(è©¦é¨“çš„ã€æœªã‚µãƒãƒ¼ãƒˆ)。 +.TP 3 +\-quiet +é€²æ—æƒ…報や警告ãªã©ã€ã‚³ãƒ³ãƒ‘イラã®å‡ºåŠ›ã‚’æŠ‘åˆ¶ã—ã¾ã™ã€‚ +.TP 3 +\-verbose +情報メッセージを出力ã—ãŸã‚Šç‰¹å®šã®ã‚¨ãƒ©ãƒ¼ç™ºç”Ÿæ™‚ã«ã‚¹ã‚¿ãƒƒã‚¯ãƒ»ãƒˆãƒ¬ãƒ¼ã‚¹ã‚’表示ã—ãŸã‚Šã™ã‚‹ãªã©ã€ãã‚ã‚ã¦å†—é•·ã«ãªã‚Šã¾ã™ã€‚ +.TP 3 +\-help +コンパイラ・スイッãƒã®æ¦‚è¦ã‚’表示ã—ã¾ã™ã€‚ +.TP 3 +\-version +コンパイラã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…報を表示ã—ã¾ã™ã€‚ +.TP 3 +<schema file/URL/dir> +コンパイル対象ã¨ãªã‚‹1ã¤ã¾ãŸã¯è¤‡æ•°ã®ã‚¹ã‚­ãƒ¼ãƒžãƒ»ãƒ•ァイルを指定ã—ã¾ã™ã€‚ユーザーãŒãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’指定ã—ãŸå ´åˆã€xjcã¯ãã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’走査ã—ã€ãã“ã§è¦‹ã¤ã‹ã£ãŸã™ã¹ã¦ã®ã‚¹ã‚­ãƒ¼ãƒžãƒ»ãƒ•ァイルをコンパイルã—ã¾ã™ã€‚ +.RE + +.LP +.SS +éžæ¨™æº–ã®ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ション +.LP +.RS 3 +.TP 3 +\-Xlocator +生æˆã•れãŸã‚³ãƒ¼ãƒ‰ã§ã¯ã€éžæ•´åˆ—化ã®å¾Œã«Java Beanインスタンスã«å«ã¾ã‚Œã‚‹ã‚½ãƒ¼ã‚¹XMLã«é–¢ã™ã‚‹SAX Locator情報ãŒå…¬é–‹ã•れã¾ã™ã€‚ +.TP 3 +\-Xsync\-methods +生æˆã•れãŸã™ã¹ã¦ã®ãƒ¡ã‚½ãƒƒãƒ‰ãƒ»ã‚·ã‚°ãƒ‹ãƒãƒ£ã«\f2synchronized\fPキーワードãŒå«ã‚られã¾ã™ã€‚ +.TP 3 +\-mark\-generated +生æˆã•れãŸã‚³ãƒ¼ãƒ‰ã«æ³¨é‡ˆ\f2@javax.annotation.Generated\fPを付ã‘ã¾ã™ã€‚ +.TP 3 +\-episode <file> +コンパイルã”ã¨ã«æŒ‡å®šã•れãŸã‚¨ãƒ”ソード・ファイルを生æˆã—ã¾ã™ã€‚ +.RE + +.LP +.SS +éžæŽ¨å¥¨ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŠã‚ˆã³å‰Šé™¤ã•れãŸã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ション +.LP +.RS 3 +.TP 3 +\-host & \-port +ã“れらã®ã‚ªãƒ—ションã¯éžæŽ¨å¥¨ã¨ãªã‚Šã€\f3\-httpproxy\fPオプションã§ç½®ãæ›ãˆã‚‰ã‚Œã¾ã—ãŸã€‚ã“れらã®ã‚ªãƒ—ションã¯ã€ä¸‹ä½äº’æ›æ€§ã‚’確ä¿ã™ã‚‹ç›®çš„ã§å¼•ç¶šãサãƒãƒ¼ãƒˆã•れã¾ã™ãŒã€ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«ã¯è¨˜è¼‰ã•れãšã€å°†æ¥ã®ãƒªãƒªãƒ¼ã‚¹ã§å‰Šé™¤ã•れるå¯èƒ½æ€§ã‚‚ã‚りã¾ã™ã€‚ +.TP 3 +\-use\-runtime +JAXB 2.0仕様ã§ã¯ã€ç§»æ¤æ€§ã®ã‚るランタイムãŒå®šç¾©ã•れãŸãŸã‚ã€JAXB RIãŒ**/impl/runtimeパッケージを生æˆã™ã‚‹å¿…è¦ãŒãªããªã‚Šã¾ã—ãŸã€‚ã“ã®ãŸã‚ã€ã“ã®ã‚¹ã‚¤ãƒƒãƒã¯ä¸è¦ã¨ãªã‚Šã€å‰Šé™¤ã•れã¾ã—ãŸã€‚ +.TP 3 +\-source +\-sourceäº’æ›æ€§ã‚¹ã‚¤ãƒƒãƒã¯ã€JAXB 2.0ã®æœ€åˆã®Early Access版ã§å°Žå…¥ã•れã¾ã—ãŸã€‚ã“ã®ã‚¹ã‚¤ãƒƒãƒã¯ã€JAXB 2.0ã®ä»Šå¾Œã®ãƒªãƒªãƒ¼ã‚¹ã‹ã‚‰å‰Šé™¤ã•れるã“ã¨ã«ãªã‚Šã¾ã—ãŸã€‚1.0.xコードを生æˆã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã¯ã€1.0.xコードベースã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã‚’使用ã—ã¦ãã ã•ã„。 +.RE + +.LP +.SS +コンパイラã®åˆ¶é™ +.LP +.LP +通常ã¯ã€é–¢é€£ã™ã‚‹ã™ã¹ã¦ã®ã‚¹ã‚­ãƒ¼ãƒžã‚’ã€åŒã˜ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラ・スイッãƒã‚’指定ã—ã¦1ã¤ã®å˜ä½ã¨ã—ã¦ã‚³ãƒ³ãƒ‘イルã™ã‚‹ã®ãŒæœ€ã‚‚安全ã§ã™ã€‚ +.LP +.LP +xjcを実行ã™ã‚‹ã¨ãã¯ã€æ¬¡ã«ç¤ºã™åˆ¶é™ã«æ³¨æ„ã—ã¦ãã ã•ã„。ã“れらã®å•題ã®ã»ã¨ã‚“ã©ã¯ã€xjcを何度ã‹å‘¼ã³å‡ºã—ã¦è¤‡æ•°ã®ã‚¹ã‚­ãƒ¼ãƒžã‚’コンパイルã™ã‚‹å ´åˆã«ã®ã¿å½“ã¦ã¯ã¾ã‚Šã¾ã™ã€‚ +.LP +.RS 3 +.TP 2 +o +複数ã®ã‚¹ã‚­ãƒ¼ãƒžã‚’åŒæ™‚ã«ã‚³ãƒ³ãƒ‘イルã™ã‚‹å ´åˆã¯ã€ã‚¿ãƒ¼ã‚²ãƒƒãƒˆã®Javaパッケージåã«æ¬¡ã®å„ªå…ˆé †ä½ã®ãƒ«ãƒ¼ãƒ«ãŒé©ç”¨ã•れるã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„。 +.RS 3 +.TP 3 +1. +「\f2\-p\fPã€ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ãƒ»ã‚ªãƒ—ã‚·ãƒ§ãƒ³ãŒæœ€ã‚‚優先ã•れã¾ã™ã€‚ +.TP 3 +2. +<\f2jaxb:package\fP>ã®ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚º +.TP 3 +3. +\f2targetNamespace\fPãŒå®£è¨€ã•れã¦ã„ã‚‹å ´åˆã¯ã€ä»•様ã«å®šç¾©ã•れã¦ã„ã‚‹\f2targetNamespace\fP \-> Javaパッケージåã®ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã‚’é©ç”¨ã—ã¾ã™ã€‚ +.TP 3 +4. +\f2targetNamespace\fPãŒå®£è¨€ã•れã¦ã„ãªã„å ´åˆã¯ã€ã€Œgeneratedã€ã¨ã„ã†åå‰ã®ãƒãƒ¼ãƒ‰ã‚³ãƒ¼ãƒ‰ã•れãŸãƒ‘ッケージを使用ã—ã¾ã™ã€‚ +.RE +.TP 2 +o +åå‰ç©ºé–“ã”ã¨ã«è¤‡æ•°ã®<\f2jaxb:schemaBindings\fP>ã‚’æŒã¤ã“ã¨ã¯ä¸æ­£ã§ã™ã€‚ã“ã®ãŸã‚ã€1ã¤ã®ã‚¿ãƒ¼ã‚²ãƒƒãƒˆåå‰ç©ºé–“内ã®2ã¤ã®ã‚¹ã‚­ãƒ¼ãƒžã‚’ç•°ãªã‚‹Javaパッケージã«ã‚³ãƒ³ãƒ‘イルã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。 +.TP 2 +o +1ã¤ã®Javaパッケージã«ã‚³ãƒ³ãƒ‘イルã•れるã™ã¹ã¦ã®ã‚¹ã‚­ãƒ¼ãƒžã¯ã€XJCãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラã«åŒæ™‚ã«é€ä¿¡ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚個別ã«ã‚³ãƒ³ãƒ‘イルã™ã‚‹ã“ã¨ã¯ã§ããšã€äºˆæœŸã—ãŸã¨ãŠã‚Šã«å‹•作ã—ã¾ã›ã‚“。 +.TP 2 +o +複数ã®ã‚¹ã‚­ãƒ¼ãƒžãƒ»ãƒ•ァイルã«ã¾ãŸãŒã‚‹è¦ç´ ç½®æ›ã‚°ãƒ«ãƒ¼ãƒ—ã¯ã€åŒæ™‚ã«ã‚³ãƒ³ãƒ‘イルã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +.RE + +.LP +.SH "関連項目" +.LP +.RS 3 +.TP 2 +o +ãƒã‚¤ãƒ³ãƒ‡ã‚£ãƒ³ã‚°ãƒ»ã‚³ãƒ³ãƒ‘イラ(XJC)ã®å®Ÿè¡Œ: [ +.na +\f2コマンドラインã®å‘½ä»¤\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/xjc.html〠+.na +\f2XJC Antタスクã®ä½¿ç”¨\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/xjcTask.html] +.TP 2 +o +.na +\f2XMLãƒã‚¤ãƒ³ãƒ‰ã®ãŸã‚ã®Javaアーキテクãƒãƒ£(JAXB)\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/appletviewer.1 b/Java-Visualizer/java/man/man1/appletviewer.1 new file mode 100644 index 00000000..6ed4fa63 --- /dev/null +++ b/Java-Visualizer/java/man/man1/appletviewer.1 @@ -0,0 +1,50 @@ +." Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH appletviewer 1 "18 Jul 2013" + +.LP +.SH "Name" +appletviewer \- The Java Applet Viewer. +.LP +.LP +The \f3appletviewer\fP command allows you to run applets outside of a web browser. +.LP +.SH "SYNOPSIS" +.LP +.LP +\f4appletviewer\fP \f2[\fP \f2options\fP \f2] \fP\f2urls\fP ... +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3appletviewer\fP command connects to the documents or resources designated by \f2urls\fP and displays each applet referenced by the documents in its own window. Note: if the documents referred to by \f2urls\fP do not reference any applets with the \f2OBJECT\fP, \f2EMBED\fP, or \f2APPLET\fP tag, then \f3appletviewer\fP does nothing. For details on the HTML tags that \f3appletviewer\fP supports, see +.na +\f2AppletViewer Tags\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/appletviewertags.html. +.LP +.LP +\f3Note:\fP The \f3appletviewer\fP is intended for development purposes only. See About Sample / Test Applications and Code for more information. +.LP +.LP +\f3Note:\fP The \f3appletviewer\fP requires encoded URLs according to the escaping mechanism defined in RFC2396. Only encoded URLs are supported. However, file names must be unencoded, as specified in RFC2396. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-debug +Starts the applet viewer in the Java debugger, jdb(1), thus allowing you to debug the applets in the document. +.TP 3 +\-encoding \ \ encoding name +Specify the input HTML file encoding name. +.TP 3 +\-Jjavaoption +Passes through the string \f2javaoption\fP as a single argument to the Java interpreter which runs the appletviewer. The argument should not contain spaces. Multiple argument words must all begin with the prefix \f3\-J\fP, which is stripped. This is useful for adjusting the compiler's execution environment or memory usage. +.RE + +.LP +.LP + +.LP + diff --git a/Java-Visualizer/java/man/man1/apt.1 b/Java-Visualizer/java/man/man1/apt.1 new file mode 100644 index 00000000..af5898d0 --- /dev/null +++ b/Java-Visualizer/java/man/man1/apt.1 @@ -0,0 +1,134 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH apt 1 "18 Jul 2013" + +.LP +.SH "NAME" +.LP +.LP +\f2apt\fP \- annotation processing tool +.LP +.SH "SYNOPSIS" +.LP +.LP +\f2apt [\-classpath \fP\f2classpath\fP] [\-sourcepath \f2sourcepath\fP] [\-d \f2directory\fP] [\-s \f2directory\fP] [\-factorypath \f2path\fP] [\-factory \f2class\fP] [\-print] [\-nocompile] [\-A\f2key\fP[\f2=val\fP] ...] [\f2javac option\fP] sourcefiles [@files] +.LP +.SH "PARAMETERS" +.LP +.LP +Options may be in any order. For a discussion of parameters which apply to a specific option, see OPTIONS below. +.LP +.RS 3 +.TP 3 +sourcefiles +Zero or more source files to be processed. +.TP 3 +@files +One or more files that list source files or other options +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3Note\fP: The \f2apt\fP tool and its associated API contained in the package \f2com.sun.mirror\fP have been deprecated since JDK 7 and are planned to be removed in the next major JDK release. Use the options available in the \f2javac(1)\fP tool and the APIs contained in the packages \f2javax.annotation.processing\fP and \f2javax.lang.model\fP to process annotations. +.LP +.LP +The tool \f2apt\fP, annotation processing tool, includes reflective APIs and supporting infrastructure to process program annotations. The \f2apt\fP reflective APIs provide a build\-time, source\-based, read\-only view of program structure. These reflective APIs are designed to cleanly model the Java(TM) programming language's type system after the addition of generics. First, \f2apt\fP runs annotation processors that can produce new source code and other files. Next, \f2apt\fP can cause compilation of both original and generated source files, easing development. The reflective APIs and other APIs used to interact with the tool are subpackages of \f2com.sun.mirror\fP. +.LP +.LP +A fuller discussion of how the tool operates as well as instructions for developing with \f2apt\fP are in +.na +\f4Getting Started with \fP\f4apt\fP. @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/apt/GettingStarted.html +.LP +.SH "OPTIONS" +.LP +.SS +apt specific options +.LP +.RS 3 +.TP 3 +\-s dir +Specify the directory root under which processor\-generated source files will be placed; files are placed in subdirectories based on package namespace. +.TP 3 +\-nocompile +Do not compile source files to class files. +.TP 3 +\-print +Print out textual representation of specified types; perform no annotation processing or compilation. +.TP 3 +\-A[key[=val]] +Options to pass to annotation processors \-\- these are not interpreted by \f2apt\fP directly, but are made available for use by individual processors +.TP 3 +\-factorypath path +Specify where to find annotation processor factories; if this option is used, the classpath is \f2not\fP searched for factories. +.TP 3 +\-factory classname +Name of annotation processor factory to use; bypasses default discovery process +.TP 3 +\-version +Print version information. +.TP 3 +\-X +Display information about non\-standard options. +.RE + +.LP +.SS +Options shared with javac +.LP +.RS 3 +.TP 3 +\-d dir +Specify where to place processor and javac generated class files +.TP 3 +\-cp path or \-classpath path +Specify where to find user class files and annotation processor factories. If \f2\-factorypath\fP is given, the classpath is not searched for factories. +.RE + +.LP +.LP +Consult the javac(1) man page for information on \f2javac\fP options. +.LP +.SS +Non\-Standard Options +.LP +.RS 3 +.TP 3 +\-XListAnnotationTypes +List found annotation types. +.TP 3 +\-XListDeclarations +List specified and included declarations. +.TP 3 +\-XPrintAptRounds +Print information about initial and recursive \f2apt\fP rounds. +.TP 3 +\-XPrintFactoryInfo +Print information about which annotations a factory is asked to process. +.TP 3 +\-XclassesAsDecls +Treat both class and source files as declarations to process. +.RE + +.LP +.LP +\f3Note\fP: Because these options are non\-standard, they are subject to change without notice. +.LP +.SH "NOTES" +.LP +.LP +The \f2apt\fP tool and its associated API contained in the package \f2com.sun.mirror\fP have been deprecated since JDK 7 and are planned to be removed in the next major JDK release. Use the options available in the \f2javac(1)\fP tool and the APIs contained in the packages \f2javax.annotation.processing\fP and \f2javax.lang.model\fP to process annotations. +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +javac(1), java(1) +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/extcheck.1 b/Java-Visualizer/java/man/man1/extcheck.1 new file mode 100644 index 00000000..a78534a9 --- /dev/null +++ b/Java-Visualizer/java/man/man1/extcheck.1 @@ -0,0 +1,54 @@ +." Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH extcheck 1 "18 Jul 2013" + +.LP +.SH "Name" +extcheck \- A utility to detect jar conflicts +.LP +.LP +\f3extcheck\fP detects version conflicts between a target jar file and currently installed extension jar files. +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +extcheck [ \-verbose ] targetfile.jar +.fl +\fP +.fi + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3extcheck\fP utility checks a specified Jar file for title and version conflicts with any extensions installed in the Java(TM) SDK. Before installing an extension, you can use this utility to see if the same or a more recent version of the extension is already installed. +.LP +.LP +The \f3extcheck\fP utility compares the \f2Specification\-title\fP and \f2Specification\-version\fP headers in the manifest of the \f2targetfile.jar\fP file against the corresponding headers in all Jar files currently installed in the extension directory. (The extension directory is \f2jre/lib/ext\fP by default.) The \f3extcheck\fP utility compares version numbers in the same way as the method \f2java.lang.Package.isCompatibleWith\fP. +.LP +.LP +If no conflict is detected, the return code is \f20\fP. +.LP +.LP +If the manifest of any jar file in the extensions directory has the same \f2Specification\-title\fP and the same or a newer \f2Specification\-version\fP number, a non\-zero error code is returned. A non\-zero error code is also returned if \f2targetfile.jar\fP does not have the \f2Specification\-title\fP or \f2Specification\-version\fP attributes in its manifest. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-verbose +Lists Jar files in the extension directory as they are checked. Additionally, manifest attributes of the target jar file and any conflicting jar files are also reported. +.TP 3 +\-Joption +Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. +.RE + +.LP +.SH "SEE ALSO" +.LP +.LP +jar(1) +.LP + diff --git a/Java-Visualizer/java/man/man1/idlj.1 b/Java-Visualizer/java/man/man1/idlj.1 new file mode 100644 index 00000000..27a17d93 --- /dev/null +++ b/Java-Visualizer/java/man/man1/idlj.1 @@ -0,0 +1,720 @@ +." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH idlj 1 "18 Jul 2013" + +.LP +.SH "Name" +idlj \- The IDL\-to\-Java Compiler +.LP +\f3idlj\fP generates Java bindings from a given IDL file. +.SH "Synopsis" +.LP +.nf +\f3 +.fl +idlj [ \fP\f3options\fP\f3 ] \fP\f4idl\-file\fP\f3 +.fl +\fP +.fi + +.LP +.LP +where \f2idl\-file\fP is the name of a file containing Interface Definition Language (IDL) definitions. \f2Options\fP may appear in any order, but must precede the \f2idl\-file\fP. +.LP +.SH "Description" +.LP +.LP +The IDL\-to\-Java Compiler generates the Java bindings for a given IDL file.\ For binding details, see the +.na +\f2OMG IDL to Java Language Language Mapping Specification\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/mapping/jidlMapping.html. Some previous releases of the IDL\-to\-Java compiler were named \f2idltojava\fP. +.LP +.SS +Emitting Client and Server Bindings +.LP +.LP +To generate Java bindings for an IDL file named My.idl: +.LP +.nf +\f3 +.fl +idlj My.idl +.fl +\fP +.fi + +.LP +.LP +This generates the client\-side bindings and is equivalent to: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fclient\fP My.idl +.fl +.fi + +.LP +.LP +The client\-side bindings do not include the server\-side skeleton. If you want to generate the server\-side bindings for the interfaces: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fserver\fP My.idl +.fl +.fi + +.LP +.LP +Server\-side bindings include the client\-side bindings plus the skeleton, all of which are \f2POA\fP (that is, Inheritance Model) classes. If you want to generate both client and server\-side bindings, use one of the following (equivalent) commands: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fclient \-fserver\fP My.idl +.fl +idlj \f3\-fall\fP My.idl +.fl +.fi + +.LP +.LP +There are two possible server\-side models: the Inheritance Model and the Tie Delegation Model. +.LP +.LP +The default server\-side model is the \f2Portable Servant Inheritance Model\fP. Given an interface \f2My\fP defined in \f2My.idl\fP, the file \f2MyPOA.java\fP is generated. You must provide the implementation for \f2My\fP and it must inherit from \f2MyPOA\fP. +.LP +.LP +\f2MyPOA.java\fP is a stream\-based skeleton that extends +.na +\f2org.omg.PortableServer.Servant\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/org/omg/PortableServer/Servant.html and implements the \f2InvokeHandler\fP interface and the operations interface associated with the IDL interface the skeleton implements. +.LP +.LP +The \f2PortableServer\fP module for the +.na +\f2Portable Object Adapter (POA)\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/POA.html defines the native \f2Servant\fP type. In the Java programming language, the \f2Servant\fP type is mapped to the Java \f2org.omg.PortableServer.Servant\fP class. It serves as the base class for all POA servant implementations and provides a number of methods that may be invoked by the application programmer, as well as methods which are invoked by the POA itself and may be overridden by the user to control aspects of servant behavior. +.LP +.LP +Another option for the Inheritance Model is to use the \f2\-oldImplBase\fP flag in order to generate server\-side bindings that are compatible with versions of the Java programming language prior to J2SE 1.4. Note that using the \f2\-oldImplBase\fP flag is non\-standard: these APIs are being deprecated. You would use this flag ONLY for compatibility with existing servers written in J2SE 1.3. In that case, you would need to modify an existing MAKEFILE to add the \f2\-oldImplBase\fP flag to the \f2idlj\fP compiler, otherwise POA\-based server\-side mappings will be generated. To generate server\-side bindings that are backwards compatible: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fclient \-fserver\fP \f3\-oldImplBase\fP My.idl +.fl +idlj \f3\-fall\fP \f3\-oldImplBase\fP My.idl +.fl +.fi + +.LP +.LP +Given an interface \f2My\fP defined in \f2My.idl\fP, the file \f2_MyImplBase.java\fP is generated. You must provide the implementation for \f2My\fP and it must inherit from \f2_MyImplBase\fP. +.LP +.LP +The other server\-side model is called the Tie Model. This is a delegation model. Because it is not possible to generate ties and skeletons at the same time, they must be generated separately. The following commands generate the bindings for the Tie Model: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-fall\fP My.idl +.fl +idlj \f3\-fallTIE\fP My.idl +.fl +.fi + +.LP +.LP +For the interface \f2My\fP, the second command generates \f2MyPOATie.java\fP. The constructor to \f2MyPOATie\fP takes a \f2delegate\fP. In this example, using the default POA model, the constructor also needs a \f2poa\fP. You must provide the implementation for \f2delegate\fP, but it does not have to inherit from any other class, only the interface \f2MyOperations\fP. But to use it with the ORB, you must wrap your implementation within \f2MyPOATie\fP. For instance: +.LP +.nf +\f3 +.fl + ORB orb = ORB.init(args, System.getProperties()); +.fl + +.fl + // Get reference to rootpoa & activate the POAManager +.fl + POA rootpoa = (POA)orb.resolve_initial_references("RootPOA"); +.fl + rootpoa.the_POAManager().activate(); +.fl + +.fl + // create servant and register it with the ORB +.fl + MyServant myDelegate = new MyServant(); +.fl + myDelegate.setORB(orb); +.fl + +.fl + // create a tie, with servant being the delegate. +.fl + MyPOATie tie = new MyPOATie(myDelegate, rootpoa); +.fl + +.fl + // obtain the objectRef for the tie +.fl + My ref = tie._this(orb); +.fl +\fP +.fi + +.LP +.LP +You might want to use the Tie model instead of the typical Inheritance model if your implementation must inherit from some other implementation. Java allows any number of interface inheritance, but there is only one slot for class inheritance. If you use the inheritance model, that slot is used up . By using the Tie Model, that slot is freed up for your own use. The drawback is that it introduces a level of indirection: one extra method call occurs when invoking a method. +.LP +.LP +To generate server\-side, Tie model bindings that are compatible with versions of the IDL to Java language mapping in versions prior to J2SE 1.4. +.LP +.nf +\f3 +.fl +idlj \fP\f3\-oldImplBase\fP \f3\-fall\fP My.idl +.fl +idlj \f3\-oldImplBase\fP \f3\-fallTIE\fP My.idl +.fl +.fi + +.LP +.LP +For the interface \f2My\fP, this will generate \f2My_Tie.java\fP. The constructor to \f2My_Tie\fP takes a \f2impl\fP. You must provide the implementation for \f2impl\fP, but it does not have to inherit from any other class, only the interface \f2HelloOperations\fP. But to use it with the ORB, you must wrap your implementation within \f2My_Tie\fP. For instance: +.LP +.nf +\f3 +.fl + ORB orb = ORB.init(args, System.getProperties()); +.fl + +.fl + // create servant and register it with the ORB +.fl + MyServant myDelegate = new MyServant(); +.fl + myDelegate.setORB(orb); +.fl + +.fl + // create a tie, with servant being the delegate. +.fl + MyPOATie tie = new MyPOATie(myDelegate); +.fl + +.fl + // obtain the objectRef for the tie +.fl + My ref = tie._this(orb); +.fl +\fP +.fi + +.LP +.SS +Specifying Alternate Locations for Emitted Files +.LP +.LP +If you want to direct the emitted files to a directory other than the current directory, invoke the compiler as: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-td /altdir\fP My.idl +.fl +.fi + +.LP +.LP +For the interface \f2My\fP, the bindings will be emitted to \f2/altdir/My.java\fP, etc., instead of \f2./My.java\fP. +.LP +.SS +Specifying Alternate Locations for Include Files +.LP +.LP +If \f2My.idl\fP included another idl file, \f2MyOther.idl\fP, the compiler assumes that \f2MyOther.idl\fP resides in the local directory. If it resides in \f2/includes\fP, for example, then you would invoke the compiler with the following command: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-i /includes\fP My.idl +.fl +.fi + +.LP +.LP +If \f2My.idl\fP also included \f2Another.idl\fP that resided in \f2/moreIncludes\fP, for example, then you would invoke the compiler with the following command: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-i /includes \-i /moreIncludes\fP My.idl +.fl +.fi + +.LP +.LP +Since this form of include can become irritatingly long, another means of indicating to the compiler where to search for included files is provided. This technique is similar to the idea of an environment variable. Create a file named \f2idl.config\fP in a directory that is listed in your CLASSPATH. Inside of \f2idl.config\fP, provide a line with the following form: +.LP +.nf +\f3 +.fl +includes=/includes;/moreIncludes +.fl +\fP +.fi + +.LP +.LP +The compiler will find this file and read in the includes list. Note that in this example the separator character between the two directories is a semicolon (;). This separator character is platform dependent. On the Windows platform, use a semicolon, on the Unix platform, use a colon, etc. For more information on \f2includes\fP, see the +.na +\f2Setting the Classpath\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#general. +.LP +.SS +Emitting Bindings for Include Files +.LP +.LP +By default, only those interfaces, structs, etc, that are defined in the idl file on the command line have Java bindings generated for them. The types defined in included files are not generated. For example, assume the following two idl files: +.LP + +.LP +.LP +\f4My.idl\fP +.LP +.nf +\f3 +.fl +#include <MyOther.idl> +.fl +interface My +.fl +{ +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +\f4MyOther.idl\fP +.LP +.nf +\f3 +.fl +interface MyOther +.fl +{ +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +The following command will only generate the java bindings for \f2My\fP: +.LP +.nf +\f3 +.fl +idlj My.idl +.fl +\fP +.fi + +.LP +.LP +To generate all of the types in \f2My.idl\fP and all of the types in the files that \f2My.idl\fP includes (in this example, \f2MyOther.idl\fP), use the following command: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-emitAll\fP My.idl +.fl +.fi + +.LP +.LP +There is a caveat to the default rule. \f2#include\fP statements which appear at global scope are treated as described. These \f2#include\fP statements can be thought of as import statements. \f2#include\fP statements which appear within some enclosing scope are treated as true \f2#include\fP statements, meaning that the code within the included file is treated as if it appeared in the original file and, therefore, Java bindings are emitted for it. Here is an example: +.LP + +.LP +.LP +\f4My.idl\fP +.LP +.nf +\f3 +.fl +#include <MyOther.idl> +.fl +interface My +.fl +{ +.fl + #include <Embedded.idl> +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +\f4MyOther.idl\fP +.LP +.nf +\f3 +.fl +interface MyOther +.fl +{ +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +\f4Embedded.idl\fP +.LP +.nf +\f3 +.fl +enum E {one, two, three}; +.fl +\fP +.fi + +.LP + +.LP +.LP +Running the following command: +.LP +.nf +\f3 +.fl +idlj My.idl +.fl +\fP +.fi + +.LP +.LP +will generate the following list of Java files: +.LP +.nf +\f3 +.fl +./MyHolder.java +.fl +./MyHelper.java +.fl +./_MyStub.java +.fl +./MyPackage +.fl +./MyPackage/EHolder.java +.fl +./MyPackage/EHelper.java +.fl +./MyPackage/E.java +.fl +./My.java +.fl +\fP +.fi + +.LP +.LP +Notice that \f2MyOther.java\fP was not generated because it is defined in an import\-like \f2#include\fP. But \f2E.java\fP \f2was\fP generated because it was defined in a true \f2#include\fP. Also notice that since \f2Embedded.idl\fP was included within the scope of the interface \f2My\fP, it appears within the scope of \f2My\fP (that is,in \f2MyPackage\fP). +.LP +.LP +If the \f2\-emitAll\fP flag had been used in the previous example, then all types in all included files would be emitted. +.LP +.SS +Inserting Package Prefixes +.LP +.LP +Suppose that you work for a company named ABC that has constructed the following IDL file: +.LP + +.LP +.LP +\f4Widgets.idl\fP +.LP +.nf +\f3 +.fl +module Widgets +.fl +{ +.fl + interface W1 {...}; +.fl + interface W2 {...}; +.fl +}; +.fl +\fP +.fi + +.LP + +.LP +.LP +Running this file through the IDL\-to\-Java compiler will place the Java bindings for \f2W1\fP and \f2W2\fP within the package \f2Widgets\fP. But there is an industry convention that states that a company's packages should reside within a package named \f2com.<company name>\fP. The \f2Widgets\fP package is not good enough. To follow convention, it should be \f2com.abc.Widgets\fP. To place this package prefix onto the \f2Widgets\fP module, execute the following: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-pkgPrefix Widgets com.abc\fP Widgets.idl +.fl +.fi + +.LP +.LP +If you have an IDL file which includes \f2Widgets.idl\fP, the \f2\-pkgPrefix\fP flag must appear in that command also. If it does not, then your IDL file will be looking for a \f2Widgets\fP package rather than a \f2com.abc.Widgets\fP package. +.LP +.LP +If you have a number of these packages that require prefixes, it might be easier to place them into the \f2idl.config\fP file described above. Each package prefix line should be of the form: +.LP +.nf +\f3 +.fl +PkgPrefix.<type>=<prefix> +.fl +\fP +.fi + +.LP +So the line for the above example would be: +.nf +\f3 +.fl +PkgPrefix.Widgets=com.abc +.fl +\fP +.fi + +.LP +.LP +The use of this option does not affect the Repository ID. +.LP +.SS +Defining Symbols Before Compilation +.LP +.LP +You may need to define a symbol for compilation that is not defined within the IDL file, perhaps to include debugging code in the bindings. The command +.LP +.nf +\f3 +.fl +idlj \fP\f3\-d\fP MYDEF My.idl +.fl +.fi + +.LP +.LP +is the equivalent of putting the line \f2#define MYDEF\fP inside \f2My.idl\fP. +.LP +.SS +Preserving Pre\-Existing Bindings +.LP +.LP +If the Java binding files already exist, the \f2\-keep\fP flag will keep the compiler from overwriting them. The default is to generate all files without considering if they already exist. If you've customized those files (which you should not do unless you are very comfortable with their contents), then the \f2\-keep\fP option is very useful. The command +.LP +.nf +\f3 +.fl +idlj \fP\f3\-keep\fP My.idl +.fl +.fi + +.LP +.LP +emits all client\-side bindings that do not already exist. +.LP +.SS +Viewing Progress of Compilation +.LP +.LP +The IDL\-to\-Java compiler will generate status messages as it progresses through its phases of execution. Use the \f2\-v\fP option to activate this "verbose" mode: +.LP +.nf +\f3 +.fl +idlj \fP\f3\-v\fP My.idl +.fl +.fi + +.LP +.LP +By default the compiler does not operate in verbose mode. +.LP +.SS +Displaying Version Information +.LP +.LP +To display the build version of the IDL\-to\-Java compiler, specify the \f2\-version\fP option on the command\-line: +.LP +.nf +\f3 +.fl +idlj \-version +.fl +\fP +.fi + +.LP +.LP +Version information also appears within the bindings generated by the compiler. Any additional options appearing on the command\-line are ignored. +.LP +.SH "Options" +.LP +.RS 3 +.TP 3 +\-d symbol +This is equivalent to the following line in an IDL file: +.nf +\f3 +.fl +#define \fP\f4symbol\fP\f3 +.fl +\fP +.fi +.TP 3 +\-emitAll +Emit all types, including those found in \f2#include\fP files. +.TP 3 +\-fside +Defines what bindings to emit. \f2side\fP is one of \f2client\fP, \f2server\fP, \f2serverTIE\fP, \f2all\fP, or \f2allTIE\fP. The \f2\-fserverTIE\fP and \f2\-fallTIE\fP options cause delegate model skeletons to be emitted. Assumes \f2\-fclient\fP if the flag is not specified. +.TP 3 +\-i include\-path +By default, the current directory is scanned for included files. This option adds another directory. +.TP 3 +\-keep +If a file to be generated already exists, do not overwrite it. By default it is overwritten. +.TP 3 +\-noWarn +Suppresses warning messages. +.TP 3 +\-oldImplBase +Generates skeletons compatible with pre\-1.4 JDK ORBs. By default, the POA Inheritance Model server\-side bindings are generated. This option provides backward\-compatibility with older versions of the Java programming language by generating server\-side bindings that are \f2ImplBase\fP Inheritance Model classes. +.TP 3 +\-pkgPrefix type prefix +Wherever \f2type\fP is encountered at file scope, prefix the generated Java package name with \f2prefix\fP for all files generated for that type. The \f2type\fP is the simple name of either a top\-level module, or an IDL type defined outside of any module. +.TP 3 +\-pkgTranslate type package +Whenever the module name \f2type\fP is encountered in an identifier, replace it in the identifier with \f2package\fP for all files in the generated Java package. Note that \f2pkgPrefix\fP changes are made first. \f2type\fP is the simple name of either a top\-level module, or an IDL type defined outside of any module, and must match the full package name exactly. +.br +.br +If more than one translation matches an identifier, the longest match is chosen. For example, if the arguments include: +.nf +\f3 +.fl + \-pkgTranslate foo bar \-pkgTranslate foo.baz buzz.fizz +.fl +\fP +.fi +The following translations would occur: +.nf +\f3 +.fl +foo => bar +.fl +foo.boo => bar.boo +.fl +foo.baz => buzz.fizz +.fl +foo.baz.bar => buzz.fizz.bar +.fl +\fP +.fi +The following package names cannot be translated: +.RS 3 +.TP 2 +o +\f2org\fP +.TP 2 +o +\f2org.omg\fP or any subpackages of \f2org.omg\fP +.RE +Any attempt to translate these packages will result in uncompilable code, and the use of these packages as the first argument after \f2\-pkgTranslate\fP will be treated as an error. +.TP 3 +\-skeletonName xxx%yyy +Use \f2xxx%yyy\fP as the pattern for naming the skeleton. The defaults are: +.RS 3 +.TP 2 +o +%POA for the \f2POA\fP base class (\f2\-fserver\fP or \f2\-fall\fP) +.TP 2 +o +_%ImplBase for the \f2oldImplBase\fP class (\f2\-oldImplBase\fP and (\f2\-fserver\fP or \f2\-fall\fP)) +.RE +.TP 3 +\-td dir +Use \f2dir\fP for the output directory instead of the current directory. +.TP 3 +\-tieName xxx%yyy +Name the tie according to the pattern. The defaults are: +.RS 3 +.TP 2 +o +%POATie for the \f2POA\fP tie base class (\f2\-fserverTie\fP or \f2\-fallTie\fP) +.TP 2 +o +%_Tie for the \f2oldImplBase\fP tie class (\f2\-oldImplBase\fP and (\f2\-fserverTie\fP or \f2\-fallTie\fP)) +.RE +.TP 3 +\-nowarn, \-verbose +Verbose mode. +.TP 3 +\-version +Display version information and terminate. +.RE + +.LP +.LP +See the Description section for more option information. +.LP +.SH "Restrictions:" +.LP +.RS 3 +.TP 2 +o +Escaped identifiers in the global scope may not have the same spelling as IDL primitive types, \f2Object\fP, or \f2ValueBase\fP. This is because the symbol table is pre\-loaded with these identifiers; allowing them to be redefined would overwrite their original definitions. (Possible permanent restriction). +.TP 2 +o +The \f2fixed\fP IDL type is not supported. +.RE + +.LP +.SH "Known Problems:" +.LP +.RS 3 +.TP 2 +o +No import generated for global identifiers. If you invoke on an unexported local impl, you do get an exception, but it seems to be due to a \f2NullPointerException\fP in the \f2ServerDelegate\fP DSI code. +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jar.1 b/Java-Visualizer/java/man/man1/jar.1 new file mode 100644 index 00000000..2b7efb2b --- /dev/null +++ b/Java-Visualizer/java/man/man1/jar.1 @@ -0,0 +1,560 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jar 1 "18 Jul 2013" + +.LP +.SH "Name" +jar\-The Java Archive Tool +.LP +\f3jar\fP combines multiple files into a single JAR archive file. +.SH "SYNOPSIS" +.LP +.RS 3 +.TP 3 +Create jar file +\f4jar c\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP +.TP 3 +Update jar file +\f4jar u\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP +.TP 3 +Extract jar file +\f4jar x\fP\f2[vf] [\fP\f2jarfile\fP\f2] [\fP\f2inputfiles\fP\f2] [\-J\fP\f2option\fP\f2]\fP +.TP 3 +List table of contents of jar file +\f4jar t\fP\f2[vf] [\fP\f2jarfile\fP\f2] [\fP\f2inputfiles\fP\f2] [\-J\fP\f2option\fP\f2]\fP +.TP 3 +Add index to jar file +\f4jar i\fP \f2jarfile\fP \f2[\-J\fP\f2option\fP\f2]\fP +.RE + +.LP +.LP +where: +.LP +.RS 3 +.TP 3 +cuxtiv0Mmfe +Options that control the \f2jar\fP command. +.TP 3 +jarfile +Jar file to be created (\f2c\fP), updated (\f2u\fP), extracted (\f2x\fP), or have its table of contents viewed (\f2t\fP). The \f2\-f\fP option and filename \f2jarfile\fP are a pair \-\- if either is present, they must both appear. Note that omitting \f2f\fP and \f2jarfile\fP accepts a "jar file" from standard input (for x and t) or sends the "jar file" to standard output (for c and u). +.TP 3 +inputfiles +Files or directories, separated by spaces, to be combined into \f2jarfile\fP (for c and u), or to be extracted (for x) or listed (for t) from \f2jarfile\fP. All directories are processed recursively. The files are compressed unless option \f20\fP (zero) is used. +.TP 3 +manifest +Pre\-existing manifest file whose \f2name\fP\f2:\fP \f2value\fP pairs are to be included in MANIFEST.MF in the jar file. The \f2\-m\fP option and filename \f2manifest\fP are a pair \-\- if either is present, they must both appear. The letters \f3m\fP, \f3f\fP and \f3e\fP must appear in the same order that \f2manifest\fP, \f2jarfile\fP, \f2entrypoint\fP appear. +.TP 3 +entrypoint +The name of the class that set as the application entry point for stand\-alone applications bundled into executable jar file. The \f2\-e\fP option and entrypoint are a pair \-\- if either is present, they must both appear. The letters \f3m\fP, \f3f\fP and \f3e\fP must appear in the same order that \f2manifest\fP, \f2jarfile\fP, \f2entrypoint\fP appear. +.TP 3 +\-C\ dir +Temporarily changes directories to \f2dir\fP while processing the following \f2inputfiles\fP argument. Multiple \f2\-C\ \fP\f2dir\fP \f2inputfiles\fP sets are allowed. +.TP 3 +\-Joption +Option to be passed into the Java runtime environment. (There must be no space between \f2\-J\fP and \f2option\fP). +.RE + +.LP +.SH "DESCRIPTION" +.LP +The \f3jar\fP tool combines multiple files into a single JAR archive file. \f3jar\fP is a general\-purpose archiving and compression tool, based on ZIP and the +.na +\f2ZLIB\fP @ +.fi +http://www.gzip.org/zlib/ compression format. However, \f3jar\fP was designed mainly package java applets or applications into a single archive. When the components of an applet or application (files, images and sounds) are combined into a single archive, they can be downloaded by a java agent (like a browser) in a single HTTP transaction, rather than requiring a new connection for each piece. This dramatically improves download times. \f3jar\fP also compresses files and so further improves download time. In addition, it allows individual entries in a file to be signed by the applet author so that their origin can be authenticated. The syntax for the jar tool is almost identical to the syntax for the \f2tar\fP command. A \f3jar\fP archive can be used as a class path entry, whether or not it is compressed. +.LP +Typical usage to combine files into a jar file is: +.LP +.nf +\f3 +.fl +% jar cf myFile.jar *.class +.fl +\fP +.fi + +.LP +In this example, all the class files in the current directory are placed into the file named \f2myFile.jar\fP. The jar tool automatically generates a manifest file entry named \f2META\-INF/MANIFEST.MF\fP. It is always the first entry in the jar file. The manifest file declares meta\-information about the archive, and stores that data as \f2name\ :\ value\fP pairs. Refer to the +.na +\f2JAR file specification\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR%20Manifest for details explaining how the jar tool stores meta\-information in the manifest file. +.LP +If a jar file should include \f2name\ :\ value\fP pairs contained in an existing manifest file, specify that file using the \f2\-m\fP option: +.LP +.nf +\f3 +.fl +% jar cmf myManifestFile myFile.jar *.class +.fl +\fP +.fi + +.LP +An existing manifest file must end with a new line character.\ \f3jar\fP does not parse the last line of a manifest file if it does not end with a new line character. +.br + +.LP +.br + +.LP +\f3Note:\ \fP A jar command that specifies \f2cfm\fP on the command line instead of \f2cmf\fP (the order of the m and \-f options are reversed), the \f3jar\fP command line must specify the name of the jar archive first, followed by the name of the manifest file: +.nf +\f3 +.fl +% jar cfm myFile.jar myManifestFile *.class +.fl +\fP +.fi + +.LP +The manifest is in a text format inspired by RFC822 ASCII format, so it is easy to view and process manifest\-file contents. +.LP +To extract the files from a jar file, use \f2x\fP: +.LP +.nf +\f3 +.fl +% jar xf myFile.jar +.fl +\fP +.fi + +.LP +.LP +To extract individual files from a jar file, supply their filenames: +.LP +.nf +\f3 +.fl +% jar xf myFile.jar foo bar +.fl +\fP +.fi + +.LP +.LP +Beginning with version 1.3 of the JDK, the \f2jar\fP utility supports +.na +\f2JarIndex\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_Index, which allows application class loaders to load classes more efficiently from jar files. If an application or applet is bundled into multiple jar files,\ only the necessary jar files will be downloaded and opened to load classes. This performance optimization is enabled by running \f2jar\fP with the \f2\-i\fPoption. It will generate package location information for the specified main jar file and all the jar files it depends on, which need to be specified in the \f2Class\-Path\fP attribute of the main jar file's manifest. +.LP +.nf +\f3 +.fl +% jar i main.jar +.fl +\fP +.fi + +.LP +.LP +In this example, an \f2INDEX.LIST\fP file is inserted into the \f2META\-INF\fP directory of \f2main.jar\fP. +.br +.br +The application class loader uses the information stored in this file for efficient class loading.\ For details about how location information is stored in the index file, refer to the \f2JarIndex\fP specification. +.br +.br +To copy directories, first compress files in \f2dir1\fP to \f2stdout\fP, then extract from \f2stdin\fP to \f2dir2\fP (omitting the \f2\-f\fP option from both \f2jar\fP commands): +.LP +.nf +\f3 +.fl +% (cd dir1; jar c .) | (cd dir2; jar x) +.fl +\fP +.fi + +.LP +.LP +To review command samples which use \f2jar\fP to opeate on jar files and jar file manifests, see Examples, below. Also refer to the jar trail of the +.na +\f2Java Tutorial\fP @ +.fi +http://docs.oracle.com/javase/tutorial/deployment/jar/. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +c +Creates a new archive file named \f2jarfile\fP (if \f2f\fP is specified) or to standard output (if \f2f\fP and \f2jarfile\fP are omitted). Add to it the files and directories specified by \f2inputfiles\fP. +.TP 3 +u +Updates an existing file \f2jarfile\fP (when \f2f\fP is specified) by adding to it files and directories specified by \f2inputfiles\fP. For example: +.nf +\f3 +.fl +jar uf foo.jar foo.class +.fl +\fP +.fi +would add the file \f2foo.class\fP to the existing jar file \f2foo.jar\fP. The \f2\-u\fP option can also update the manifest entry, as given by this example: +.nf +\f3 +.fl +jar umf manifest foo.jar +.fl +\fP +.fi +updates the \f2foo.jar\fP manifest with the \f2name : value\fP pairs in \f2manifest\fP. +.TP 3 +x +Extracts files and directories from \f2jarfile\fP (if \f2f\fP is specified) or standard input (if \f2f\fP and \f2jarfile\fP are omitted). If \f2inputfiles\fP is specified, only those specified files and directories are extracted. Otherwise, all files and directories are extracted. The time and date of the extracted files are those given in the archive. +.TP 3 +t +Lists the table of contents from \f2jarfile\fP (if \f2f\fP is specified) or standard input (if \f2f\fP and \f2jarfile\fP are omitted). If \f2inputfiles\fP is specified, only those specified files and directories are listed. Otherwise, all files and directories are listed. +.TP 3 +i +Generate index information for the specified \f2jarfile\fP and its dependent jar files. For example: +.nf +\f3 +.fl +jar i foo.jar +.fl +\fP +.fi +.LP +would generate an \f2INDEX.LIST\fP file in \f2foo.jar\fP which contains location information for each package in \f2foo.jar\fP and all the jar files specified in the \f2Class\-Path\fP attribute of \f2foo.jar\fP. See the index example. +.TP 3 +f +Specifies the file \f2jarfile\fP to be created (\f2c\fP), updated (\f2u\fP), extracted (\f2x\fP), indexed (\f2i\fP), or viewed (\f2t\fP). The \f2\-f\fP option and filename \f2jarfile\fP are a pair \-\- if present, they must both appear. Omitting \f2f\fP and \f2jarfile\fP accepts a jar file name from \f2stdin\fP(for x and t) or sends jar file to \f2stdout\fP (for c and u). +.TP 3 +v +Generates verbose output to standard output. Examples shown below. +.TP 3 +0 +(zero) Store without using ZIP compression. +.TP 3 +M +Do not create a manifest file entry (for c and u), or delete a manifest file entry if one exists (for u). +.TP 3 +m +Includes \f2name : value\fP attribute pairs from the specified manifest file \f2manifest\fP in the file at \f2META\-INF/MANIFEST.MF\fP. \f2jar\fP adds a \f2name\ :\ value\fP pair unless an entry already exists with the same name, in which case \f2jar\fP updates its value. +.br +.br +On the command line, the letters \f3m\fP and \f3f\fP must appear in the same order that \f2manifest\fP and \f2jarfile\fP appear. Example use: +.nf +\f3 +.fl +jar cmf myManifestFile myFile.jar *.class +.fl +\fP +.fi +You can add special\-purpose \f2name\ :\ value\fP attribute pairs to the manifest that aren't contained in the default manifest. For example, you can add attributes specifying vendor information, version information, package sealing, or to make JAR\-bundled applications executable. See the +.na +\f2Packaging Programs in JAR Files\fP @ +.fi +http://docs.oracle.com/javase/tutorial/deployment/jar/ lesson in the Java Tutorial for examples of using the \f4\-m\fP option. +.TP 3 +e +Sets \f2entrypoint\fP as the application entry point for stand\-alone applications bundled into executable jar file. The use of this option creates or overrides the \f2Main\-Class\fP attribute value in the manifest file. This option can be used during creation of jar file or while updating the jar file. This option specifies the application entry point without editing or creating the manifest file. +.br +.br +.br +For example, this command creates \f2Main.jar\fP where the \f2Main\-Class\fP attribute value in the manifest is set to \f2Main\fP: +.nf +\f3 +.fl +jar cfe Main.jar Main Main.class +.fl +\fP +.fi +The java runtime can directly invoke this application by running the following command: +.nf +\f3 +.fl +java \-jar Main.jar +.fl +\fP +.fi +If the entrypoint class name is in a package it may use either a dot (".") or slash ("/") character as the delimiter. For example, if \f2Main.class\fP is in a package called \f2foo\fP the entry point can be specified in the following ways: +.nf +\f3 +.fl +jar \-cfe Main.jar foo/Main foo/Main.class +.fl +\fP +.fi +or +.nf +\f3 +.fl +jar \-cfe Main.jar foo.Main foo/Main.class +.fl +\fP +.fi +\f3Note:\ \fP specifying both \f2\-m\fP and \f2\-e\fP options together when the given manifest also contains the \f2Main\-Class\fP attribute results in an ambigous \f2Main.class\fP specification, leading to an error and the jar creation or update operation is aborted. +.TP 3 +\-C\ dir +Temporarily changes directories (\f2cd\fP\ \f2dir\fP) during execution of the \f2jar\fP command while processing the following \f2inputfiles\fP argument. Its operation is intended to be similar to the \f2\-C\fP option of the UNIX \f2tar\fP utility. +.br +.br +For example, this command changes to the \f2classes\fP directory and adds the \f2bar.class\fP from that directory to \f2foo.jar\fP: +.nf +\f3 +.fl +jar uf foo.jar \-C classes bar.class +.fl +\fP +.fi +This command changes to the \f2classes\fP directory and adds to \f2foo.jar\fP all files within the \f2classes\fP directory (without creating a classes directory in the jar file), then changes back to the original directory before changing to the \f2bin\fP directory to add \f2xyz.class\fP to \f2foo.jar\fP. +.nf +\f3 +.fl +jar uf foo.jar \-C classes . \-C bin xyz.class +.fl +\fP +.fi +If \f2classes\fP holds files \f2bar1\fP and \f2bar2\fP, then here's what the jar file will contain using \f2jar tf foo.jar\fP: +.nf +\f3 +.fl +META\-INF/ +.fl +META\-INF/MANIFEST.MF +.fl +bar1 +.fl +bar2 +.fl +xyz.class +.fl +\fP +.fi +.LP +.TP 3 +\-Joption +Pass \f2option\fP to the Java runtime environment, where \f2option\fP is one of the options described on the reference page for the java application launcher. For example, \f4\-J\-Xmx48M\fP sets the maximum memory to 48 megabytes. It is a common convention for \f2\-J\fP to pass options to the underlying runtime environment. +.RE + +.LP +.SH "COMMAND LINE ARGUMENT FILES" +.LP +To shorten or simplify the jar command line, you can specify one or more files that themselves contain arguments to the \f2jar\fP command (except \f2\-J\fP options). This enables you to create jar commands of any length, overcoming command line limits imposed by the operating system. +.LP +An argument file can include options and filenames. The arguments within a file can be space\-separated or newline\-separated. Filenames within an argument file are relative to the current directory, not relative to the location of the argument file. Wildcards (*) that might otherwise be expanded by the operating system shell are not expanded. Use of the \f2@\fP character to recursively interpret files is not supported. The \f2\-J\fP options are not supported because they are passed to the launcher, which does not support argument files. +.LP +.LP +When executing \f2jar\fP, pass in the path and name of each argument file with the \f2@\fP leading character. When \f2jar\fP encounters an argument beginning with the character \f2@\fP, it expands the contents of that file into the argument list. +.br +.br +The example below, \f2classes.list\fP holds the names of files output by a \f2find\fP command: +.LP +.nf +\f3 +.fl +% find \fP\f3.\fP \-name '*.class' \-print > classes.list +.fl +.fi + +.LP +.LP +You can then execute the \f2jar\fP command on \f2Classes.list\fP by passing it to \f2jar\fP using argfile syntax: +.LP +.nf +\f3 +.fl +% jar cf my.jar @classes.list +.fl +\fP +.fi + +.LP +An argument file can specify a path, but any filenames inside the argument file that have relative paths are relative to the current working directory, not to the path passed in. Here is an example: +.nf +\f3 +.fl +% jar @path1/classes.list +.fl +\fP +.fi + +.LP +.LP + +.LP +.SH "EXAMPLES" +.LP +To add all the files in a particular directory to an archive (overwriting contents if the archive already exists). Enumerating verbosely (with the \f2\-v\fP option) will tell you more information about the files in the archive, such as their size and last modified date. +.nf +\f3 +.fl +% ls +.fl +1.au Animator.class monkey.jpg +.fl +2.au Wave.class spacemusic.au +.fl +3.au at_work.gif +.fl + +.fl +% jar cvf bundle.jar * +.fl +added manifest +.fl +adding: 1.au(in = 2324) (out= 67)(deflated 97%) +.fl +adding: 2.au(in = 6970) (out= 90)(deflated 98%) +.fl +adding: 3.au(in = 11616) (out= 108)(deflated 99%) +.fl +adding: Animator.class(in = 2266) (out= 66)(deflated 97%) +.fl +adding: Wave.class(in = 3778) (out= 81)(deflated 97%) +.fl +adding: at_work.gif(in = 6621) (out= 89)(deflated 98%) +.fl +adding: monkey.jpg(in = 7667) (out= 91)(deflated 98%) +.fl +adding: spacemusic.au(in = 3079) (out= 73)(deflated 97%) +.fl +\fP +.fi + +.LP +If you already have separate subdirectories for images, audio files and classes, you can combine them into a single jar file: +.nf +\f3 +.fl +% ls \-F +.fl +audio/ classes/ images/ +.fl + +.fl +% jar cvf bundle.jar audio classes images +.fl +added manifest +.fl +adding: audio/(in = 0) (out= 0)(stored 0%) +.fl +adding: audio/1.au(in = 2324) (out= 67)(deflated 97%) +.fl +adding: audio/2.au(in = 6970) (out= 90)(deflated 98%) +.fl +adding: audio/3.au(in = 11616) (out= 108)(deflated 99%) +.fl +adding: audio/spacemusic.au(in = 3079) (out= 73)(deflated 97%) +.fl +adding: classes/(in = 0) (out= 0)(stored 0%) +.fl +adding: classes/Animator.class(in = 2266) (out= 66)(deflated 97%) +.fl +adding: classes/Wave.class(in = 3778) (out= 81)(deflated 97%) +.fl +adding: images/(in = 0) (out= 0)(stored 0%) +.fl +adding: images/monkey.jpg(in = 7667) (out= 91)(deflated 98%) +.fl +adding: images/at_work.gif(in = 6621) (out= 89)(deflated 98%) +.fl + +.fl +% ls \-F +.fl +audio/ bundle.jar classes/ images/ +.fl +\fP +.fi + +.LP +To see the entry names in the jarfile, use the \f2t\fP option: +.nf +\f3 +.fl +% jar tf bundle.jar +.fl +META\-INF/ +.fl +META\-INF/MANIFEST.MF +.fl +audio/1.au +.fl +audio/2.au +.fl +audio/3.au +.fl +audio/spacemusic.au +.fl +classes/Animator.class +.fl +classes/Wave.class +.fl +images/monkey.jpg +.fl +images/at_work.gif +.fl +\fP +.fi + +.LP +.LP +To add an index file to the jar file for speeding up class loading, use the \f2i\fP option. +.br +.br +Example: +.br + +.LP +If you split the inter\-dependent classes for a stock trade application into three jar files: \f2main.jar\fP, \f2buy.jar\fP, and \f2sell.jar\fP. +.br + +.LP +.br + +.LP +If you specify the \f2Class\-path\fP attribute in the \f2main.jar\fP manifest as: +.nf +\f3 +.fl +Class\-Path: buy.jar sell.jar +.fl +\fP +.fi + +.LP +then you can use the \f2\-i\fP option to speed up the class loading time for your application: +.nf +\f3 +.fl +% jar i main.jar +.fl +\fP +.fi + +.LP +An \f2INDEX.LIST\fP file is inserted to the \f2META\-INF\fP directory. This enables the application class loader to download the specified jar files when it is searching for classes or resources. +.SH "SEE ALSO" +.LP +.LP +.na +\f2The Jar Overview\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jarGuide.html +.LP +.LP +.na +\f2The Jar File Specification\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html +.LP +.LP +.na +\f2The JarIndex Spec\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_Index +.LP +.LP +.na +\f2Jar Tutorial\fP @ +.fi +http://docs.oracle.com/javase/tutorial/deployment/jar/index.html +.LP +.LP +pack200(1) +.LP + diff --git a/Java-Visualizer/java/man/man1/jarsigner.1 b/Java-Visualizer/java/man/man1/jarsigner.1 new file mode 100644 index 00000000..ff4b08fb --- /dev/null +++ b/Java-Visualizer/java/man/man1/jarsigner.1 @@ -0,0 +1,964 @@ +'\" t +.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. +.\" Arch: generic +.\" Software: JDK 7 +.\" Date: 6 August 2013 +.\" SectDesc: Security Tools +.\" Title: jarsigner.1 +.\" +.if n .pl 99999 +.TH jarsigner 1 "6 August 2013" "JDK 7" "Security Tools" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- + +.SH NAME +jarsigner \- Signs and verifies Java Archive (JAR) files\&. +.SH SYNOPSIS +.sp +.nf + +\fBjarsigner\fR [ \fIoptions\fR ] \fIjar\-file\fR \fIalias\fR +.fi +.nf + +\fBjarsigner\fR \fB\-verify\fR [ \fIoptions\fR ] \fIjar\-file\fR [\fIalias \&.\&.\&.\fR] +.fi +.sp +.TP +\fIoptions\fR +The command-line options\&. See Options\&. +.TP +-verify +.br +The \f3-verify\fR option can take zero or more keystore alias names after the JAR file name\&. When the \f3-verify\fR option is specified, the \f3jarsigner\fR command checks that the certificate used to verify each signed entry in the JAR file matches one of the keystore aliases\&. The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&. + +If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar verified, with signer errors" is displayed\&. +.TP +\fIjar-file\fR +The JAR file to be signed\&. + +If you also specified the \f3-strict\fR option, and the \f3jarsigner\fR command detected severe warnings, the message, "jar signed, with signer errors" is displayed\&. +.TP +\fIalias\fR +The aliases are defined in the keystore specified by \f3-keystore\fR or the default keystore\&. +.SH DESCRIPTION +The \f3jarsigner\fR tool has two purposes: +.TP 0.2i +\(bu +To sign Java Archive (JAR) files\&. +.TP 0.2i +\(bu +To verify the signatures and integrity of signed JAR files\&. +.PP +The JAR feature enables the packaging of class files, images, sounds, and other digital data in a single file for faster and easier distribution\&. A tool named \f3jar\fR enables developers to produce JAR files\&. (Technically, any zip file can also be considered a JAR file, although when created by the \f3jar\fR command or processed by the \f3jarsigner\fR command, JAR files also contain a \f3META-INF/MANIFEST\&.MF\fR file\&.) +.PP +A digital signature is a string of bits that is computed from some data (the data being signed) and the private key of an entity (a person, company, and so on)\&. Similar to a handwritten signature, a digital signature has many useful characteristics: +.TP 0.2i +\(bu +Its authenticity can be verified by a computation that uses the public key corresponding to the private key used to generate the signature\&. +.TP 0.2i +\(bu +It cannot be forged, assuming the private key is kept secret\&. +.TP 0.2i +\(bu +It is a function of the data signed and thus cannot be claimed to be the signature for other data as well\&. +.TP 0.2i +\(bu +The signed data cannot be changed\&. If the data is changed, then the signature cannot be verified as authentic\&. +.PP +To generate an entity\&'s signature for a file, the entity must first have a public/private key pair associated with it and one or more certificates that authenticate its public key\&. A certificate is a digitally signed statement from one entity that says that the public key of another entity has a particular value\&. +.PP +The \f3jarsigner\fR command uses key and certificate information from a keystore to generate digital signatures for JAR files\&. A keystore is a database of private keys and their associated X\&.509 certificate chains that authenticate the corresponding public keys\&. The \f3keytool\fR command is used to create and administer keystores\&. +.PP +The \f3jarsigner\fR command uses an entity\&'s private key to generate a signature\&. The signed JAR file contains, among other things, a copy of the certificate from the keystore for the public key corresponding to the private key used to sign the file\&. The \f3jarsigner\fR command can verify the digital signature of the signed JAR file using the certificate inside it (in its signature block file)\&. +.PP +The \f3jarsigner\fR command can generate signatures that include a time stamp that lets a systems or deployer (including Java Plug-in) to check whether the JAR file was signed while the signing certificate was still valid\&. In addition, APIs allow applications to obtain the timestamp information\&. +.PP +At this time, the \f3jarsigner\fR command can only sign JAR files created by the \f3jar\fR command or zip files\&. JAR files are the same as zip files, except they also have a \f3META-INF/MANIFEST\&.MF\fR file\&. A \f3META-INF/MANIFEST\&.MF\fR file is created when the \f3jarsigner\fR command signs a zip file\&. +.PP +The default \f3jarsigner\fR command behavior is to sign a JAR or zip file\&. Use the \f3-verify\fR option to verify a signed JAR file\&. +.PP +The \f3jarsigner\fR command also attempts to validate the signer\&'s certificate after signing or verifying\&. If there is a validation error or any other problem, the command generates warning messages\&. If you specify the \f3-strict\fR option, then the command treats severe warnings as errors\&. See Errors and Warnings\&. +.SS KEYSTORE\ ALIASES +All keystore entities are accessed with unique aliases\&. +.PP +When you use the \f3jarsigner\fR command to sign a JAR file, you must specify the alias for the keystore entry that contains the private key needed to generate the signature\&. For example, the following command signs the JAR file named \f3MyJARFile\&.jar\fR with the private key associated with the alias \f3duke\fR in the keystore named \f3mystore\fR in the \f3working\fR directory\&. Because no output file is specified, it overwrites \f3MyJARFile\&.jar\fR with the signed JAR file\&. +.sp +.nf +\f3jarsigner \-keystore /working/mystore \-storepass <keystore password>\fP +.fi +.nf +\f3 \-keypass <private key password> MyJARFile\&.jar duke\fP +.fi +.nf +\f3\fR +.fi +.sp +Keystores are protected with a password, so the store password must be specified\&. You are prompted for it when you do not specify it on the command line\&. Similarly, private keys are protected in a keystore with a password, so the private key\&'s password must be specified, and you are prompted for the password when you do not specify it on the command line and it is not the same as the store password\&. +.SS KEYSTORE\ LOCATION +The \f3jarsigner\fR command has a \f3-keystore\fR option for specifying the URL of the keystore to be used\&. The keystore is by default stored in a file named \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&. +.PP +On Oracle Solaris systems, \f3user\&.home\fR defaults to the user\&'s home directory\&. +.PP +The input stream from the \f3-keystore\fR option is passed to the \f3KeyStore\&.load\fR method\&. If \f3NONE\fR is specified as the URL, then a null stream is passed to the \f3KeyStore\&.load\fR method\&. \f3NONE\fR should be specified when the \f3KeyStore\fR class is not file based, for example, when it resides on a hardware token device\&. +.SS KEYSTORE\ IMPLEMENTATION +The \f3KeyStore\fR class provided in the \f3java\&.security\fR package supplies a number of well-defined interfaces to access and modify the information in a keystore\&. You can have multiple different concrete implementations, where each implementation is for a particular type of keystore\&. +.PP +Currently, there are two command-line tools that use keystore implementations (\f3keytool\fR and \f3jarsigner\fR), and a GUI-based tool named Policy Tool\&. Because the \f3KeyStore\fR class is publicly available, JDK users can write additional security applications that use it\&. +.PP +There is a built-in default implementation provided by Oracle that implements the keystore as a file, that uses a proprietary keystore type (format) named JKS\&. The built-in implementation protects each private key with its individual password and protects the integrity of the entire keystore with a (possibly different) password\&. +.PP +Keystore implementations are provider-based, which means the application interfaces supplied by the \f3KeyStore\fR class are implemented in terms of a Service Provider Interface (SPI)\&. There is a corresponding abstract \f3KeystoreSpi\fR class, also in the \f3java\&.security package\fR, that defines the Service Provider Interface methods that providers must implement\&. The term provider refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API\&. To provide a keystore implementation, clients must implement a provider and supply a \f3KeystoreSpi\fR subclass implementation, as described in How to Implement a Provider in the Java Cryptography Architecture at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider\&.html +.PP +Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&. +.PP +The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&. +.PP +For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&. +.PP +If you do not explicitly specify a keystore type, then the tools choose a keystore implementation based on the value of the \f3keystore\&.type\fR property specified in the security properties file\&. The security properties file is called \f3java\&.security\fR, and it resides in the JDK security properties directory, \f3java\&.home/lib/security\fR, where \f3java\&.home\fR is the runtime environment\&'s directory\&. The \f3jre\fR directory in the JDK or the top-level directory of the Java Runtime Environment (JRE)\&. +.PP +Each tool gets the \f3keystore\&.type\fR value and then examines all the installed providers until it finds one that implements keystores of that type\&. It then uses the keystore implementation from that provider\&. +.PP +The \f3KeyStore\fR class defines a static method named \f3getDefaultType\fR that lets applications and applets retrieve the value of the \f3keystore\&.type\fR property\&. The following line of code creates an instance of the default keystore type as specified in the \f3keystore\&.type property\fR: +.sp +.nf +\f3KeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());\fP +.fi +.nf +\f3\fR +.fi +.sp +The default keystore type is \f3jks\fR (the proprietary type of the keystore implementation provided by Oracle)\&. This is specified by the following line in the security properties file: +.sp +.nf +\f3keystore\&.type=jks\fP +.fi +.nf +\f3\fR +.fi +.sp +Case does not matter in keystore type designations\&. For example, \f3JKS\fR is the same as \f3jks\fR\&. +.PP +To have the tools use a keystore implementation other than the default, change that line to specify a different keystore type\&. For example, if you have a provider package that supplies a keystore implementation for a keystore type called \f3pkcs12\fR, then change the line to the following: +.sp +.nf +\f3keystore\&.type=pkcs12\fP +.fi +.nf +\f3\fR +.fi +.sp +\fINote:\fR If you use the PKCS 11 provider package, then see "KeyTool" and "JarSigner" in Java PKCS #11 Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/p11guide\&.html +.SS SUPPORTED\ ALGORITHMS +By default, the \f3jarsigner\fR command signs a JAR file using one of the following algorithms: +.TP 0.2i +\(bu +Digital Signature Algorithm (DSA) with the SHA1 digest algorithm +.TP 0.2i +\(bu +RSA algorithm with the SHA256 digest algorithm +.TP 0.2i +\(bu +Elliptic Curve (EC) cryptography algorithm with the SHA256 with Elliptic Curve Digital Signature Algorithm (ECDSA)\&. +.PP +If the signer\&'s public and private keys are DSA keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA1withDSA\fR algorithm\&. If the signer\&'s keys are RSA keys, then \f3jarsigner\fR attempts to sign the JAR file with the \f3SHA256withRSA\fR algorithm\&. If the signer\&'s keys are EC keys, then \f3jarsigner\fR signs the JAR file with the \f3SHA256withECDSA\fR algorithm\&. +.PP +These default signature algorithms can be overridden using the \f3-sigalg\fR option\&. +.SS THE\ SIGNED\ JAR\ FILE +When the \f3jarsigner\fR command is used to sign a JAR file, the output signed JAR file is exactly the same as the input JAR file, except that it has two additional files placed in the META-INF directory: +.TP 0.2i +\(bu +A signature file with an \f3\&.SF\fR extension +.TP 0.2i +\(bu +A signature block file with a \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR extension +.PP +The base file names for these two files come from the value of the \f3-sigFile\fR option\&. For example, when the option is \f3-sigFile MKSIGN\fR, the files are named \f3MKSIGN\&.SF\fR and \f3MKSIGN\&.DSA\fR +.PP +If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to uppercase\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not allowed in a signature file name, then each such character is converted to an underscore (_) character in forming the file name\&. Valid characters include letters, digits, underscores, and hyphens\&. +.PP +Signature File + +A signature file (\f3\&.SF\fR file) looks similar to the manifest file that is always included in a JAR file when the \f3jarsigner\fR command is used to sign the file\&. For each source file included in the JAR file, the \f3\&.SF\fR file has three lines, such as in the manifest file, that list the following: +.TP 0.2i +\(bu +File name +.TP 0.2i +\(bu +Name of the digest algorithm (SHA) +.TP 0.2i +\(bu +SHA digest value +.PP +In the manifest file, the SHA digest value for each source file is the digest (hash) of the binary data in the source file\&. In the \f3\&.SF\fR file, the digest value for a specified source file is the hash of the three lines in the manifest file for the source file\&. +.PP +The signature file, by default, includes a header with a hash of the whole manifest file\&. The header also contains a hash of the manifest header\&. The presence of the header enables verification optimization\&. See JAR File Verification\&. +.PP +Signature Block File + +The \f3\&.SF\fR file is signed and the signature is placed in the signature block file\&. This file also contains, encoded inside it, the certificate or certificate chain from the keystore that authenticates the public key corresponding to the private key used for signing\&. The file has the extension \f3\&.DSA\fR, \f3\&.RSA\fR, or \f3\&.EC\fR, depending on the digest algorithm used\&. +.SS SIGNATURE\ TIME\ STAMP +The \f3jarsigner\fR command can generate and store a signature time stamp when signing a JAR file\&. In addition, \f3jarsigner\fR supports alternative signing mechanisms\&. This behavior is optional and is controlled by the user at the time of signing through these options\&. See Options\&. +.sp +.nf +\f3\-tsa \fIurl\fR\fP +.fi +.nf +\f3\-tsacert \fIalias\fR\fP +.fi +.nf +\f3\-altsigner \fIclass\fR\fP +.fi +.nf +\f3\-altsignerpath \fIclasspathlist\fR\fP +.fi +.nf +\f3\-tsapolicyid \fIpolicyid\fR\fP +.fi +.nf +\f3\fR +.fi +.sp +.SS JAR\ FILE\ VERIFICATION +A successful JAR file verification occurs when the signatures are valid, and none of the files that were in the JAR file when the signatures were generated have changed since then\&. JAR file verification involves the following steps: +.TP 0.4i +1\&. +Verify the signature of the \f3\&.SF\fR file\&. + +The verification ensures that the signature stored in each signature block (\f3\&.DSA\fR) file was generated using the private key corresponding to the public key whose certificate (or certificate chain) also appears in the \f3\&.DSA\fR file\&. It also ensures that the signature is a valid signature of the corresponding signature (\f3\&.SF\fR) file, and thus the \f3\&.SF\fR file was not tampered with\&. +.TP 0.4i +2\&. +Verify the digest listed in each entry in the \f3\&.SF\fR file with each corresponding section in the manifest\&. + +The \f3\&.SF\fR file by default includes a header that contains a hash of the entire manifest file\&. When the header is present, the verification can check to see whether or not the hash in the header matches the hash of the manifest file\&. If there is a match, then verification proceeds to the next step\&. + +If there is no match, then a less optimized verification is required to ensure that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See Signature File\&. + +One reason the hash of the manifest file that is stored in the \f3\&.SF\fR file header might not equal the hash of the current manifest file is that one or more files were added to the JAR file (with the \f3jar\fR tool) after the signature and \f3\&.SF\fR file were generated\&. When the \f3jar\fR tool is used to add files, the manifest file is changed by adding sections to it for the new files, but the \f3\&.SF\fR file is not changed\&. A verification is still considered successful when none of the files that were in the JAR file when the signature was generated have been changed since then\&. This happens when the hashes in the non-header sections of the \f3\&.SF\fR file equal the hashes of the corresponding sections in the manifest file\&. +.TP 0.4i +3\&. +Read each file in the JAR file that has an entry in the \f3\&.SF\fR file\&. While reading, compute the file\&'s digest and compare the result with the digest for this file in the manifest section\&. The digests should be the same or verification fails\&. + +If any serious verification failures occur during the verification process, then the process is stopped and a security exception is thrown\&. The \f3jarsigner\fR command catches and displays the exception\&. +.PP +\fINote:\fR You should read any addition warnings (or errors if you specified the \f3-strict\fR option), as well as the content of the certificate (by specifying the \f3-verbose\fR and \f3-certs\fR options) to determine if the signature can be trusted\&. +.SS MULTIPLE\ SIGNATURES\ FOR\ A\ JAR\ FILE +A JAR file can be signed by multiple people by running the \f3jarsigner\fR command on the file multiple times and specifying the alias for a different person each time, as follows: +.sp +.nf +\f3jarsigner myBundle\&.jar susan\fP +.fi +.nf +\f3jarsigner myBundle\&.jar kevin\fP +.fi +.nf +\f3\fR +.fi +.sp +When a JAR file is signed multiple times, there are multiple \f3\&.SF\fR and \f3\&.DSA\fR files in the resulting JAR file, one pair for each signature\&. In the previous example, the output JAR file includes files with the following names: +.sp +.nf +\f3SUSAN\&.SF\fP +.fi +.nf +\f3SUSAN\&.DSA\fP +.fi +.nf +\f3KEVIN\&.SF\fP +.fi +.nf +\f3KEVIN\&.DSA\fP +.fi +.nf +\f3\fR +.fi +.sp +\fINote:\fR It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1\&.1 by the \f3javakey\fR command and others by \f3jarsigner\fR\&. The \f3jarsigner\fR command can be used to sign JAR files that are already signed with the \f3javakey\fR command\&. +.SH OPTIONS +The following sections describe the various \f3jarsigner\fR options\&. Be aware of the following standards: +.TP 0.2i +\(bu +All option names are preceded by a minus sign (-)\&. +.TP 0.2i +\(bu +The options can be provided in any order\&. +.TP 0.2i +\(bu +Items that are in italics or underlined (option values) represent the actual values that must be supplied\&. +.TP 0.2i +\(bu +The \f3-storepass\fR, \f3-keypass\fR, \f3-sigfile\fR, \f3-sigalg\fR, \f3-digestalg\fR, \f3-signedjar\fR, and TSA-related options are only relevant when signing a JAR file; they are not relevant when verifying a signed JAR file\&. The \f3-keystore\fR option is relevant for signing and verifying a JAR file\&. In addition, aliases are specified when signing and verifying a JAR file\&. +.TP +-keystore \fIurl\fR +.br +Specifies the URL that tells the keystore location\&. This defaults to the file \f3\&.keystore\fR in the user\&'s home directory, as determined by the \f3user\&.home\fR system property\&. + +A keystore is required when signing\&. You must explicitly specify a keystore when the default keystore does not exist or if you want to use one other than the default\&. + +A keystore is not required when verifying, but if one is specified or the default exists and the \f3-verbose\fR option was also specified, then additional information is output regarding whether or not any of the certificates used to verify the JAR file are contained in that keystore\&. + +The \f3-keystore\fR argument can be a file name and path specification rather than a URL, in which case it is treated the same as a file: URL, for example, the following are equivalent: +.sp +.nf +\f3\-keystore \fIfilePathAndName\fR\fP +.fi +.nf +\f3\-keystore file:\fIfilePathAndName\fR\fP +.fi +.nf +\f3\fR +.fi +.sp + + +If the Sun PKCS #11 provider was configured in the \f3java\&.security\fR security properties file (located in the JRE\&'s \f3$JAVA_HOME/lib/security directory\fR), then the \f3keytool\fR and \f3jarsigner\fR tools can operate on the PKCS #11 token by specifying these options: +.sp +.nf +\f3\-keystore NONE\fP +.fi +.nf +\f3\-storetype PKCS11\fP +.fi +.nf +\f3\fR +.fi +.sp + + +For example, the following command lists the contents of the configured PKCS#11 token: +.sp +.nf +\f3keytool \-keystore NONE \-storetype PKCS11 \-list\fP +.fi +.nf +\f3\fR +.fi +.sp + +.TP +-storetype \fIstoretype\fR +.br +Specifies the type of keystore to be instantiated\&. The default keystore type is the one that is specified as the value of the \f3keystore\&.type\fR property in the security properties file, which is returned by the static \f3getDefaultType\fR method in \f3java\&.security\&.KeyStore\fR\&. + +The PIN for a PCKS #11 token can also be specified with the \f3-storepass\fR option\&. If none is specified, then the \f3keytool\fR and \f3jarsigner\fR commands prompt for the token PIN\&. If the token has a protected authentication path (such as a dedicated PIN-pad or a biometric reader), then the \f3-protected\fR option must be specified and no password options can be specified\&. +.TP +-storepass[:env | :file] \fIargument\fR +.br +Specifies the password that is required to access the keystore\&. This is only needed when signing (not verifying) a JAR file\&. In that case, if a \f3-storepass\fR option is not provided at the command line, then the user is prompted for the password\&. + +If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \fIargument\fR\&. Otherwise, the password is retrieved as follows: +.RS +.TP 0.2i +\(bu +\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&. +.TP 0.2i +\(bu +\f3file\fR: Retrieve the password from the file named \f3argument\fR\&. +.RE + + +\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&. +.TP +-keypass [:env | :file] \fIargument\fR +.br +Specifies the password used to protect the private key of the keystore entry addressed by the alias specified on the command line\&. The password is required when using \f3jarsigner\fR to sign a JAR file\&. If no password is provided on the command line, and the required password is different from the store password, then the user is prompted for it\&. + +If the modifier \f3env\fR or \f3file\fR is not specified, then the password has the value \f3argument\fR\&. Otherwise, the password is retrieved as follows: +.RS +.TP 0.2i +\(bu +\f3env\fR: Retrieve the password from the environment variable named \f3argument\fR\&. +.TP 0.2i +\(bu +\f3file\fR: Retrieve the password from the file named \f3argument\fR\&. +.RE + + +\fINote:\fR The password should not be specified on the command line or in a script unless it is for testing purposes, or you are on a secure system\&. +.TP +-sigfile \fIfile\fR +.br +Specifies the base file name to be used for the generated \f3\&.SF\fR and \f3\&.DSA\fR files\&. For example, if file is \f3DUKESIGN\fR, then the generated \f3\&.SF\fR and \f3\&.DSA\fR files are named \f3DUKESIGN\&.SF\fR and \f3DUKESIGN\&.DSA\fR, and placed in the \f3META-INF\fR directory of the signed JAR file\&. + +The characters in the file must come from the set \f3a-zA-Z0-9_-\fR\&. Only letters, numbers, underscore, and hyphen characters are allowed\&. All lowercase characters are converted to uppercase for the \f3\&.SF\fR and \f3\&.DSA\fR file names\&. + +If no \f3-sigfile\fR option appears on the command line, then the base file name for the \f3\&.SF\fR and \f3\&.DSA\fR files is the first 8 characters of the alias name specified on the command line, all converted to upper case\&. If the alias name has fewer than 8 characters, then the full alias name is used\&. If the alias name contains any characters that are not valid in a signature file name, then each such character is converted to an underscore (_) character to form the file name\&. +.TP +-sigalg \fIalgorithm\fR +.br +Specifies the name of the signature algorithm to use to sign the JAR file\&. + +For a list of standard signature algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA + +This algorithm must be compatible with the private key used to sign the JAR file\&. If this option is not specified, then \f3SHA1withDSA\fR, \f3SHA256withRSA\fR, or \f3SHA256withECDSA\fR are used depending on the type of private key\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&. +.TP +-digestalg \fIalgorithm\fR +.br +Specifies the name of the message digest algorithm to use when digesting the entries of a JAR file\&. + +For a list of standard message digest algorithm names, see "Appendix A: Standard Names" in the Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppA + +If this option is not specified, then \f3SHA256\fR is used\&. There must either be a statically installed provider supplying an implementation of the specified algorithm or the user must specify one with the \f3-providerClass\fR option; otherwise, the command will not succeed\&. +.TP +-certs +.br +If the \f3-certs\fR option appears on the command line with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. This information includes the name of the type of certificate (stored in the \f3\&.DSA\fR file) that certifies the signer\&'s public key, and if the certificate is an X\&.509 certificate (an instance of the \f3java\&.security\&.cert\&.X509Certificate\fR), then the distinguished name of the signer\&. + +The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&. If the signer comes from a JDK 1\&.1 identity database instead of from a keystore, then the alias name displays in brackets instead of parentheses\&. +.TP +-certchain \fIfile\fR +.br +Specifies the certificate chain to be used when the certificate chain associated with the private key of the keystore entry that is addressed by the alias specified on the command line is not complete\&. This can happen when the keystore is located on a hardware token where there is not enough capacity to hold a complete certificate chain\&. The file can be a sequence of concatenated X\&.509 certificates, or a single PKCS#7 formatted data block, either in binary encoding format or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard\&. See the section Internet RFC 1421 Certificate Encoding Standard in \f3keytool\fR and http://tools\&.ietf\&.org/html/rfc1421\&. +.TP +-verbose +.br +When the \f3-verbose\fR option appears on the command line, it indicates verbose mode, which causes \f3jarsigner\fR to output extra information about the progress of the JAR signing or verification\&. +.TP +-internalsf +.br +In the past, the \f3\&.DSA\fR (signature block) file generated when a JAR file was signed included a complete encoded copy of the \f3\&.SF\fR file (signature file) also generated\&. This behavior has been changed\&. To reduce the overall size of the output JAR file, the \f3\&.DSA\fR file by default does not contain a copy of the \f3\&.SF\fR file anymore\&. If \f3-internalsf\fR appears on the command line, then the old behavior is utilized\&. This option is useful for testing\&. In practice, do not use the \f3-internalsf\fR option because it incurs higher overhead\&. +.TP +-sectionsonly +.br +If the \f3-sectionsonly\fR option appears on the command line, then the \f3\&.SF\fR file (signature file) generated when a JAR file is signed does not include a header that contains a hash of the whole manifest file\&. It contains only the information and hashes related to each individual source file included in the JAR file\&. See Signature File\&. + +By default, this header is added, as an optimization\&. When the header is present, whenever the JAR file is verified, the verification can first check to see whether the hash in the header matches the hash of the whole manifest file\&. When there is a match, verification proceeds to the next step\&. When there is no match, it is necessary to do a less optimized verification that the hash in each source file information section in the \f3\&.SF\fR file equals the hash of its corresponding section in the manifest file\&. See JAR File Verification\&. + +The \f3-sectionsonly\fR option is primarily used for testing\&. It should not be used other than for testing because using it incurs higher overhead\&. +.TP +-protected +.br +Values can be either \f3true\fR or \f3false\fR\&. Specify \f3true\fR when a password must be specified through a protected authentication path such as a dedicated PIN reader\&. +.TP +-providerClass \fIprovider-class-name\fR +.br +Used to specify the name of cryptographic service provider\&'s master class file when the service provider is not listed in the \f3java\&.security\fR security properties file\&. + +Used with the \f3-providerArg ConfigFilePath\fR option, the \f3keytool\fR and \f3jarsigner\fR tools install the provider dynamically and use \fIConfigFilePath\fR for the path to the token configuration file\&. The following example shows a command to list a \f3PKCS #11\fR keystore when the Oracle PKCS #11 provider was not configured in the security properties file\&. +.sp +.nf +\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP +.fi +.nf +\f3 \-providerClass sun\&.security\&.pkcs11\&.SunPKCS11 \e\fP +.fi +.nf +\f3 \-providerArg /mydir1/mydir2/token\&.config \e\fP +.fi +.nf +\f3 \-list\fP +.fi +.nf +\f3\fR +.fi +.sp + +.TP +-providerName \fIproviderName\fR +.br +If more than one provider was configured in the \f3java\&.security\fR security properties file, then you can use the \f3-providerName\fR option to target a specific provider instance\&. The argument to this option is the name of the provider\&. + +For the Oracle PKCS #11 provider, \fIproviderName\fR is of the form \f3SunPKCS11-\fR\fITokenName\fR, where \fITokenName\fR is the name suffix that the provider instance has been configured with, as detailed in the configuration attributes table\&. For example, the following command lists the contents of the \f3PKCS #11\fR keystore provider instance with name suffix \f3SmartCard\fR: +.sp +.nf +\f3jarsigner \-keystore NONE \-storetype PKCS11 \e\fP +.fi +.nf +\f3 \-providerName SunPKCS11\-SmartCard \e\fP +.fi +.nf +\f3 \-list\fP +.fi +.nf +\f3\fR +.fi +.sp + +.TP +-J\fIjavaoption\fR +.br +Passes through the specified \fIjavaoption\fR string directly to the Java interpreter\&. The \f3jarsigner\fR command is a wrapper around the interpreter\&. This option should not contain any spaces\&. It is useful for adjusting the execution environment or memory usage\&. For a list of possible interpreter options, type \f3java -h\fR or \f3java -X\fR at the command line\&. +.TP +-tsa \fIurl\fR +.br +If \f3-tsa http://example\&.tsa\&.url\fR appears on the command line when signing a JAR file then a time stamp is generated for the signature\&. The URL, \f3http://example\&.tsa\&.url\fR, identifies the location of the Time Stamping Authority (TSA) and overrides any URL found with the \f3-tsacert\fR option\&. The \f3-tsa\fR option does not require the TSA public key certificate to be present in the keystore\&. + +To generate the time stamp, \f3jarsigner\fR communicates with the TSA with the Time-Stamp Protocol (TSP) defined in RFC 3161\&. When successful, the time stamp token returned by the TSA is stored with the signature in the signature block file\&. +.TP +-tsacert \fIalias\fR +.br +When \f3-tsacert alias\fR appears on the command line when signing a JAR file, a time stamp is generated for the signature\&. The alias identifies the TSA public key certificate in the keystore that is in effect\&. The entry\&'s certificate is examined for a Subject Information Access extension that contains a URL identifying the location of the TSA\&. + +The TSA public key certificate must be present in the keystore when using the \f3-tsacert\fR option\&. +.TP +-tsapolicyid \fIpolicyid\fR +.br +Specifies the object identifier (OID) that identifies the policy ID to be sent to the TSA server\&. If this option is not specified, no policy ID is sent and the TSA server will choose a default policy ID\&. + +Object identifiers are defined by X\&.696, which is an ITU Telecommunication Standardization Sector (ITU-T) standard\&. These identifiers are typically period-separated sets of non-negative digits like \f31\&.2\&.3\&.4\fR, for example\&. +.TP +-altsigner \fIclass\fR +.br +This option specifies an alternative signing mechanism\&. The fully qualified class name identifies a class file that extends the \f3com\&.sun\&.jarsigner\&.ContentSigner\fR abstract class\&. The path to this class file is defined by the \f3-altsignerpath\fR option\&. If the \f3-altsigner\fR option is used, then the \f3jarsigner\fR command uses the signing mechanism provided by the specified class\&. Otherwise, the \f3jarsigner\fR command uses its default signing mechanism\&. + +For example, to use the signing mechanism provided by a class named \f3com\&.sun\&.sun\&.jarsigner\&.AuthSigner\fR, use the jarsigner option \f3-altsigner com\&.sun\&.jarsigner\&.AuthSigner\fR\&. +.TP +-altsignerpath \fIclasspathlist\fR +.br +Specifies the path to the class file and any JAR file it depends on\&. The class file name is specified with the \f3-altsigner\fR option\&. If the class file is in a JAR file, then this option specifies the path to that JAR file\&. + +An absolute path or a path relative to the current directory can be specified\&. If \fIclasspathlist\fR contains multiple paths or JAR files, then they should be separated with a colon (:) on Oracle Solaris and a semicolon (;) on Windows\&. This option is not necessary when the class is already in the search path\&. + +The following example shows how to specify the path to a JAR file that contains the class file\&. The JAR file name is included\&. +.sp +.nf +\f3\-altsignerpath /home/user/lib/authsigner\&.jar\fP +.fi +.nf +\f3\fR +.fi +.sp + + +The following example shows how to specify the path to the JAR file that contains the class file\&. The JAR file name is omitted\&. +.sp +.nf +\f3\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/\fP +.fi +.nf +\f3\fR +.fi +.sp + +.TP +-strict +.br +During the signing or verifying process, the command may issue warning messages\&. If you specify this option, the exit code of the tool reflects the severe warning messages that this command found\&. See Errors and Warnings\&. +.TP +-verbose \fIsuboptions\fR +.br +For the verifying process, the \f3-verbose\fR option takes suboptions to determine how much information is shown\&. If the \f3-certs\fR option is also specified, then the default mode (or suboption \f3all\fR) displays each entry as it is being processed, and after that, the certificate information for each signer of the JAR file\&. If the \f3-certs\fR and the \f3-verbose:grouped\fR suboptions are specified, then entries with the same signer info are grouped and displayed together with their certificate information\&. If \f3-certs\fR and the \f3-verbose:summary\fR suboptions are specified, then entries with the same signer information are grouped and displayed together with their certificate information\&. Details about each entry are summarized and displayed as \fIone entry (and more)\fR\&. See Examples\&. +.SH ERRORS\ AND\ WARNINGS +During the signing or verifying process, the \f3jarsigner\fR command may issue various errors or warnings\&. +.PP +If there is a failure, the \f3jarsigner\fR command exits with code 1\&. If there is no failure, but there are one or more severe warnings, the \f3jarsigner\fR command exits with code 0 when the \f3-strict\fR option is \fInot\fR specified, or exits with the OR-value of the warning codes when the \f3-strict\fR is specified\&. If there is only informational warnings or no warning at all, the command always exits with code 0\&. +.PP +For example, if a certificate used to sign an entry is expired and has a KeyUsage extension that does not allow it to sign a file, the \f3jarsigner\fR command exits with code 12 (=4+8) when the \f3-strict\fR option is specified\&. +.PP +\fINote:\fR Exit codes are reused because only the values from 0 to 255 are legal on Unix-based operating systems\&. +.PP +The following sections describes the names, codes, and descriptions of the errors and warnings that the \f3jarsigner\fR command can issue\&. +.SS FAILURE +Reasons why the \f3jarsigner\fR command fails include (but are not limited to) a command line parsing error, the inability to find a keypair to sign the JAR file, or the verification of a signed JAR fails\&. +.TP +failure +Code 1\&. The signing or verifying fails\&. +.SS SEVERE\ WARNINGS +\fINote:\fR Severe warnings are reported as errors if you specify the \f3-strict\fR option\&. +.PP +Reasons why the \f3jarsigner\fR command issues a severe warning include the certificate used to sign the JAR file has an error or the signed JAR file has other problems\&. +.TP +hasExpiredCert +Code 4\&. This jar contains entries whose signer certificate has expired\&. +.TP +notYetValidCert +Code 4\&. This jar contains entries whose signer certificate is not yet valid\&. +.TP +chainNotValidated +Code 4\&. This jar contains entries whose certificate chain cannot be correctly validated\&. +.TP +badKeyUsage +Code 8\&. This jar contains entries whose signer certificate\&'s KeyUsage extension doesn\&'t allow code signing\&. +.TP +badExtendedKeyUsage +Code 8\&. This jar contains entries whose signer certificate\&'s ExtendedKeyUsage extension doesn\&'t allow code signing\&. +.TP +badNetscapeCertType +Code 8\&. This jar contains entries whose signer certificate\&'s NetscapeCertType extension doesn\&'t allow code signing\&. +.TP +hasUnsignedEntry +Code 16\&. This jar contains unsigned entries which have not been integrity-checked\&. +.TP +notSignedByAlias +Code 32\&. This jar contains signed entries which are not signed by the specified alias(es)\&. +.TP +aliasNotInStore +Code 32\&. This jar contains signed entries that are not signed by alias in this keystore\&. +.SS INFORMATIONAL\ WARNINGS +Informational warnings include those that are not errors but regarded as bad practice\&. They do not have a code\&. +.TP +hasExpiringCert +This jar contains entries whose signer certificate will expire within six months\&. +.TP +noTimestamp +This jar contains signatures that does not include a timestamp\&. Without a timestamp, users may not be able to validate this JAR file after the signer certificate\&'s expiration date (\f3YYYY-MM-DD\fR) or after any future revocation date\&. +.SH EXAMPLES +.SS SIGN\ A\ JAR\ FILE +Use the following command to sign bundle\&.jar with the private key of a user whose keystore alias is \f3jane\fR in a keystore named \f3mystore\fR in the \f3working\fR directory and name the signed JAR file \f3sbundle\&.jar\fR: +.sp +.nf +\f3jarsigner \-keystore /working/mystore\fP +.fi +.nf +\f3 \-storepass <keystore password>\fP +.fi +.nf +\f3 \-keypass <private key password>\fP +.fi +.nf +\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP +.fi +.nf +\f3\fR +.fi +.sp +There is no \f3-sigfile\fR specified in the previous command so the generated \f3\&.SF\fR and \f3\&.DSA\fR files to be placed in the signed JAR file have default names based on the alias name\&. They are named \f3JANE\&.SF\fR and \f3JANE\&.DSA\fR\&. +.PP +If you want to be prompted for the store password and the private key password, then you could shorten the previous command to the following: +.sp +.nf +\f3jarsigner \-keystore /working/mystore\fP +.fi +.nf +\f3 \-signedjar sbundle\&.jar bundle\&.jar jane\fP +.fi +.nf +\f3\fR +.fi +.sp +If the keystore is the default keystore (\&.keystore in your home directory), then you do not need to specify a keystore, as follows: +.sp +.nf +\f3jarsigner \-signedjar sbundle\&.jar bundle\&.jar jane\fP +.fi +.nf +\f3\fR +.fi +.sp +If you want the signed JAR file to overwrite the input JAR file (bundle\&.jar), then you do not need to specify a \f3-signedjar\fR option, as follows: +.sp +.nf +\f3jarsigner bundle\&.jar jane\fP +.fi +.nf +\f3\fR +.fi +.sp +.SS VERIFY\ A\ SIGNED\ JAR\ FILE +To verify a signed JAR file to ensure that the signature is valid and the JAR file was not been tampered with, use a command such as the following: +.sp +.nf +\f3jarsigner \-verify sbundle\&.jar\fP +.fi +.nf +\f3\fR +.fi +.sp +When the verification is successful, \f3jar verified\fR is displayed\&. Otherwise, an error message is displayed\&. You can get more information when you use the \f3-verbose\fR option\&. A sample use of \f3jarsigner\fR with the\f3-verbose\fR option follows: +.sp +.nf +\f3jarsigner \-verify \-verbose sbundle\&.jar\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP +.fi +.nf +\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP +.fi +.nf +\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP +.fi +.nf +\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 AclEx\&.class\fP +.fi +.nf +\f3 smk 849 Fri Sep 26 16:12:46 PDT 1997 test\&.class\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 s = signature was verified\fP +.fi +.nf +\f3 m = entry is listed in manifest\fP +.fi +.nf +\f3 k = at least one certificate was found in keystore\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 jar verified\&.\fP +.fi +.nf +\f3\fR +.fi +.sp +.SS VERIFICATION\ WITH\ CERTIFICATE\ INFORMATION +If you specify the \f3-certs\fR option with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. The information includes the certificate type, the signer distinguished name information (when it is an X\&.509 certificate), and in parentheses, the keystore alias for the signer when the public key certificate in the JAR file matches the one in a keystore entry, for example: +.sp +.nf +\f3jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest\&.jar\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP +.fi +.nf +\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP +.fi +.nf +\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP +.fi +.nf +\f3 208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.SF\fP +.fi +.nf +\f3 1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST\&.DSA\fP +.fi +.nf +\f3 smk 2752 Fri Sep 26 16:12:30 PDT 1997 Tst\&.class\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 X\&.509, CN=Test Group, OU=Java Software, O=Oracle, L=CUP, S=CA, C=US (javatest)\fP +.fi +.nf +\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 s = signature was verified\fP +.fi +.nf +\f3 m = entry is listed in manifest\fP +.fi +.nf +\f3 k = at least one certificate was found in keystore\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 jar verified\&.\fP +.fi +.nf +\f3\fR +.fi +.sp +If the certificate for a signer is not an X\&.509 certificate, then there is no distinguished name information\&. In that case, just the certificate type and the alias are shown\&. For example, if the certificate is a PGP certificate, and the alias is \f3bob\fR, then you would get: \f3PGP, (bob)\fR\&. +.SS VERIFICATION\ THAT\ INCLUDES\ IDENTITY\ DATABASE\ SIGNERS +If a JAR file was signed with the JDK 1\&.1 \f3javakey\fR tool, and the signer is an alias in an identity database, then the verification output includes an \f3i\fR\&. If the JAR file was signed by both an alias in an identity database and an alias in a keystore, then both \f3k\fR and \f3i\fR appear\&. +.PP +When the \f3-certs\fR option is used, any identity database aliases are shown in brackets rather than the parentheses used for keystore aliases, for example: +.sp +.nf +\f3 jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP +.fi +.nf +\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP +.fi +.nf +\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP +.fi +.nf +\f3 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF\fP +.fi +.nf +\f3 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA\fP +.fi +.nf +\f3 smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP +.fi +.nf +\f3 X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 s = signature was verified\fP +.fi +.nf +\f3 m = entry is listed in manifest\fP +.fi +.nf +\f3 k = at least one certificate was found in keystore\fP +.fi +.nf +\f3 i = at least one certificate was found in identity scope\fP +.fi +.nf +\f3\fR +.fi +.nf +\f3 jar verified\&.\fP +.fi +.nf +\f3\fR +.fi +.sp +\fINote:\fR The alias \f3duke\fR is in brackets to denote that it is an identity database alias, and not a keystore alias\&. +.SH JDK\ 1\&.1\ COMPATIBILITY +The \f3keytool\fR and \f3jarsigner\fR tools replace the \f3javakey\fR tool in JDK 1\&.1\&. These new tools provide more features than \f3javakey\fR, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them\&. +.PP +The new keystore architecture replaces the identity database that \f3javakey\fR created and managed\&. There is no backward compatibility between the keystore format and the database format used by \f3javakey\fR in JDK 1\&.1\&. However, be aware of the following: +.TP 0.2i +\(bu +It is possible to import the information from an identity database into a keystore through the \f3keytool -identitydb\fR command\&. +.TP 0.2i +\(bu +The \f3jarsigner\fR command can sign JAR files that were signed with the \f3javakey\fR command\&. +.TP 0.2i +\(bu +The \f3jarsigner\fR command can verify JAR files signed with \f3javakey\fR\&. The \f3jarsigner\fR command recognizes and can work with signer aliases that are from a JDK 1\&.1 identity database rather than a JDK keystore\&. +.SS UNSIGNED\ JARS +Unsigned JARs have the default privileges that are granted to all code\&. +.SS SIGNED\ JARS +Signed JARs have the privilege configurations based on their JDK 1\&.1\&.\fIn\fR identity and policy file status as described\&. Only trusted identities can be imported into the JDK keystore\&. +.PP +Default Privileges Granted to All Code + +Identity in 1\&.1 database: \fINo\fR +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR +.br +Policy file grants privileges to identity/alias: \fINo\fR +.PP + +.PP +Identity in 1\&.1 database: \fINo\fR +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR +.br +Policy file grants privileges to identity/alias: \fINo\fR +.PP + +.PP +Identity in 1\&.1 database: Yes/Untrusted +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR +.br +Policy file grants privileges to identity/alias: \fINo\fR +.br +See 3 in Notes Regarding Privileges of Signed JARs\&. +.PP + +.PP +Identity in 1\&.1 database: Yes/Untrusted +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR +.br +Policy file grants privileges to identity/alias: \fIYes\fR +.br +See 1 and 3 in Notes Regarding Privileges of Signed JARs\&. +.PP +Default Privileges and Policy File Privileges Granted + +Identity in 1\&.1 database: \fINo\fR +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR +.br +Policy file grants privileges to identity/alias: \fIYes\fR +.PP + +.PP +Identity in 1\&.1 database: \fIYes/Trusted\fR +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR +.br +Policy file grants privileges to identity/alias: \fIYes\fR +.br +See 2 in Notes Regarding Privileges of Signed JARs\&. +.PP +All Privileges Granted + +Identity in 1\&.1 database: \fIYes/Trusted\fR +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR +.br +Policy file grants privileges to identity/alias: \fINo\fR +.PP + +.PP +Identity in 1\&.1 database: \fIYes/Trusted\fR +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR +.br +Policy file grants privileges to identity/alias: \fINo\fR +.br +See 1 in Notes Regarding Privileges of Signed JARs\&. +.PP +Identity in 1\&.1 database: \fIYes/Trusted\fR +.br +Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR +.br +Policy file grants privileges to identity/alias: \fIYes\fR +.br +See 1 in Notes Regarding Privileges of Signed JARs\&. +.PP +Notes Regarding Privileges of Signed JARs +.TP 0.4i +1\&. +If an identity or alias is mentioned in the policy file, then it must be imported into the keystore for the policy file to have any effect on privileges granted\&. +.TP 0.4i +2\&. +The policy file/keystore combination has precedence over a trusted identity in the identity database\&. +.TP 0.4i +3\&. +Untrusted identities are ignored in the Java platform\&. +.SH SEE\ ALSO +.TP 0.2i +\(bu +\f3jar\fR +.TP 0.2i +\(bu +\f3keytool\fR +.TP 0.2i +\(bu +Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html +.RE +.br +'pl 8.5i +'bp diff --git a/Java-Visualizer/java/man/man1/java.1 b/Java-Visualizer/java/man/man1/java.1 new file mode 100644 index 00000000..47cde1f2 --- /dev/null +++ b/Java-Visualizer/java/man/man1/java.1 @@ -0,0 +1,662 @@ +." Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved. +." +.TH java 1 "18 Jul 2013" + +.LP +.SH "Name" +java \- the Java application launcher +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3java\fP [ \f2options\fP ] \f2class\fP [ \f2argument ...\fP ] +.fl +\f3java\fP [ \f2options\fP ] \f3\-jar\fP \f2file.jar\fP [ \f2argument ...\fP ] +.fl +.fi + +.LP +.RS 3 +.TP 3 +options +Command\-line options. See \f2Options\fP. +.TP 3 +class +The name of the class to be called. +.TP 3 +file.jar +The name of the JAR file to be called. Used only with the \f3\-jar\fP command. +.TP 3 +argument +The arguments passed to the \f3main\fP function. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3java\fP command starts a Java application. It does this by starting a Java runtime environment, loading a specified class, and calling that class's \f3main\fP method. +.LP +.LP +The method must be declared public and static, it must not return any value, and it must accept a String array as a parameter. The method declaration has the following form: +.LP +.nf +\f3 +.fl +public static void main(String args[]) +.fl +\fP +.fi + +.LP +.LP +By default, the first argument without an option is the name of the class to be called. A fully qualified class name should be used. If the \f3\-jar\fP option is specified, then the first non\-option argument is the name of a JAR file containing class and resource files for the application, with the startup class indicated by the Main\-Class manifest header. +.LP +.LP +The Java runtime searches for the startup class, and other classes used, in three sets of locations: the bootstrap class path, the installed extensions, and the user class path. +.LP +.LP +Non\-option arguments after the class name or JAR file name are passed to the \f3main\fP function. +.LP +.SH "OPTIONS" +.LP +.LP +The launcher has a set of standard options that are supported in the current runtime environment. +.LP +.LP +In addition, the current implementations of the virtual machines support a set of nonstandard options that are subject to change in future releases. See \f2Nonstandard Options\fP. +.LP +.SS +Standard Options +.LP +.RS 3 +.TP 3 +\-client +Selects the Java HotSpot Client VM. A 64\-bit capable JDK currently ignores this option and instead uses the Java Hotspot Server VM. +.br +.br +For default Java VM selection, see \f2Server\-Class Machine Detection\fP at http://docs.oracle.com/javase/7/docs/technotes/guides/vm/server\-class.html +.TP 3 +\-server +Selects the Java HotSpot Server VM. On a 64\-bit capable JDK, only the Java Hotspot Server VM is supported so the \f3\-\fP\f3server\fP option is implicit. +.br +.br +For default a Java VM selection, see \f2Server\-Class Machine Detection\fP at http://docs.oracle.com/javase/7/docs/technotes/guides/vm/server\-class.html +.TP 3 +\-agentlib:libname[=options] +Loads native agent library \f2libname\fP, for example: +.nf +\f3 +.fl +\-agentlib:hprof +.fl + +.fl +\-agentlib:jdwp=help +.fl + +.fl +\-agentlib:hprof=help +.fl +\fP +.fi +See \f2JVMTI Agent Command\-Line Options\fP at http://docs.oracle.com/javase/7/docs/platform/jvmti/jvmti.html#starting/dd> +.TP 3 +\-agentpath:pathname[=options] +Loads a native agent library by full \f2pathname\fP. See \f2JVMTI Command\-Line Options\fP at http://docs.oracle.com/javase/7/docs/platform/jvmti/jvmti.html#starting +.TP 3 +\-classpath classpath, \-cp classpath +Specifies a list of directories, JAR files, and ZIP archives to search for class files. Separate class path entries with colons (:). Specifying \f3\-classpath\fP or \f3\-cp\fP overrides any setting of the \f2CLASSPATH\fP environment variable. +.br +.br +If \f3\-classpath\fP and \f3\-cp\fP are not used and \f2CLASSPATH\fP is not set, then the user class path consists of the current directory (.). +.br +.br +As a special convenience, a class path element that contains a base name of \f3*\fP is considered equivalent to specifying a list of all the files in the directory with the extension .jar or .JAR. A Java program cannot tell the difference between the two invocations. +.br +.br +For example, if directory mydir contains a.jar and b.JAR, then the class path element \f3mydir/*\fP is expanded to a A.jar:b.JAR, except that the order of jar files is unspecified. All jar files in the specified directory, even hidden ones, are included in the list. A class path entry consisting simply of \f3*\fP expands to a list of all the jar files in the current directory. The \f2CLASSPATH\fP environment variable, where defined, will be similarly expanded. Any class path wildcard expansion occurs before the Java VM is started. No Java program will ever see wild cards that are not expanded except by querying the environment. For example, by calling \f3System.getenv("CLASSPATH")\fP. +.TP 3 +\-Dproperty=value +Sets a system property value. +.TP 3 +\-d32 +Run the application in a 32\-bit environment. If a 32\-bit environment is not installed or is not supported, an error will be reported. By default, the application is run in a 32\-bit environment unless a 64\-bit only system is used. +.TP 3 +\-d64 +Run the application in a 64\-bit environment. If a 64\-bit environment is not installed or is not supported, an error will be reported. By default, the application is run in a 32\-bit environment unless a 64\-bit only system is used. +.br +.br +Currently only the Java HotSpot Server VM supports 64\-bit operation, and the \f3\-server\fP option is implicit with the use of \f3\-d64\fP. The \f3\-client\fP option is ignored with the use of \f3\-d64\fP. This is subject to change in a future release. +.TP 3 +\-disableassertions[:package name"..." | :class name ], \-da[:package name"..." | :class name ] +Disable assertions. This is the default. +.br +.br +With no arguments, \f3\-disableassertions\fP or \f3\-da\fP disables assertions. With one argument ending in \f3"..."\fP, the switch disables assertions in the specified package and any subpackages. If the argument is \f3"..."\fP, then the switch disables assertions in the unnamed package in the current working directory. With one argument not ending in \f3"..."\fP, the switch disables assertions in the specified class. +.br +.br +To run a program with assertions enabled in \f3package com.wombat.fruitbat\fP but disabled in class \f3com.wombat.fruitbat.Brickbat\fP, the following command could be used: +.nf +\f3 +.fl +java \-ea:com.wombat.fruitbat... \-da:com.wombat.fruitbat.Brickbat <Main Class> +.fl +\fP +.fi +The \f3\-disableassertions\fP and \f3\-da\fP switches apply to all class loaders and to system classes (which do not have a class loader). There is one exception to this rule: in their no\-argument form, the switches do not apply to system. This makes it easy to turn on asserts in all classes except for system classes. The \f3\-disablesystemassertions\fP option provides a separate swith to enable assertions in all system classes. +.TP 3 +\-enableassertions[:package name"..." | :class name ], \-ea[:package name"..." | :class name ] +Enable assertions. Assertions are disabled by default. +.br +.br +With no arguments, \f3\-enableassertions\fP or \f3\-ea\fP enables assertions. With one argument ending in \f3"..."\fP, the switch enables assertions in the specified package and any subpackages. If the argument is \f3"..."\fP, then the switch enables assertions in the unnamed package in the current working directory. With one argument not ending in \f3"..."\fP, the switch enables assertions in the specified class. +.br +.br +If a single command contains multiple instances of these switches, then they are processed in order before loading any classes. So, for example, to run a program with assertions enabled only in package com.wombat.fruitbat (and any subpackages), the following command could be used: +.nf +\f3 +.fl +java \-ea:com.wombat.fruitbat... <Main Class> +.fl +\fP +.fi +The \f3\-enableassertions\fP and \f3\-ea\fP switches apply to all class loaders and to system classes (which do not have a class loader). There is one exception to this rule: in their no\-argument form, the switches do not apply to system. This makes it easy to turn on asserts in all classes except for system classes. The \f3\-enablesystemassertions\fP option provides a separate switch to enable assertions in all system classes. +.TP 3 +\-enablesystemassertions, \-esa +Enable assertions in all system classes (sets the default assertion status for system classes to true). +.TP 3 +\-disablesystemassertions, \-dsa +Disables assertions in all system classes. +.TP 3 +\-help or \-? +Displays usage information and exit. +.TP 3 +\-jar +Executes a program encapsulated in a JAR file. The first argument is the name of a JAR file instead of a startup class name. For this option to work, the manifest of the JAR file must contain a line in the form \f3Main\-Class\fP: \f2classname\fP. Here, \f2classname\fP identifies the class with the \f3public static void main(String[] args)\fP method that serves as your application's starting point. +.br +.br +When you use this option, the JAR file is the source of all user classes, and other user class path settings are ignored. +.br +.br +JAR files that can be run with the \f3java \-jar\fP option can have their execute permissions set so they can be run without using \f3java \-jar\fP. See \f2JAR File Overview\fP at http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jarGuide.html +.TP 3 +\-javaagent:jarpath[=options] +Loads a Java programming language agent. For more information about instrumenting Java applications, see the java.lang.instrument package description in the Java API documentation at +.br +.na +\f2http://docs.oracle.com/javase/7/docs/api/java/lang/instrument/package\-summary.html\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/lang/instrument/package\-summary.html +.TP 3 +\-jre\-restrict\-search +Includes user\-private JREs in the version search. +.TP 3 +\-no\-jre\-restrict\-search +Excludes user\-private JREs in the version search. +.TP 3 +\-showversion +Displays version information and continues. +.TP 3 +\-splash:imagepath +Shows splash screen with image specified by \f2imagepath\fP. +.TP 3 +\-verbose, \-verbose:class +Displays information about each class loaded. +.TP 3 +\-verbose:gc +Reports on each garbage collection event. +.TP 3 +\-verbose:jni +Reports information about use of native methods and other Java Native Interface activity. +.TP 3 +\-version +Displays version information and exits. See also the \f3\-showversion\fP option. +.TP 3 +\-version:release +Specifies that the version specified by the release is required by the class or JAR file specified on the command line. If the version of the \f3java\fP command called does not meet this specification and an appropriate implementation is found on the system, then the appropriate implementation will be used. +.br +.br +The \f3release\fP option specifies an exact version and a list of versions called a version string. A version string is an ordered list of version ranges separated by spaces. A version range is either a \f2version\-id\fP, a \f2version\-id\fP followed by an asterisk (\f3*\fP), a \f2version\-id\fP followed by a plus sign (\f3+\fP), or a version range that consists of two \f2version\-ids\fP combined using an ampersand (\f3&\fP). The asterisk means prefix match, the plus sign means this version or greater, and the ampersand means the logical \f3and\fP of the two version\-ranges, for example: +.nf +\f3 +.fl +\-version:"1.6.0_13 1.6*&1.6.0_10+" +.fl +\fP +.fi +The meaning of the previous example is that the class or JAR file requires either version 1.6.0_13, or a version with 1.6 as a \f2version\-id\fP prefix and that is not less than 1.6.0_10. The exact syntax and definition of version strings can be found in Appendix A of the \f2Java Network Launching Protocol & API Specification (JSR\-56)\fP. +.br +.br +For JAR files, the preference is to specify version requirements in the JAR file manifest rather than on the command line. +.br +.br +See \f2Notes\fP for important policy information on the use of this option. +.RE + +.LP +.SS +Non\-Standard Options +.LP +.RS 3 +.TP 3 +\-X +Displays information about nonstandard options and exits. +.TP 3 +\-Xint +Operates in interpreted\-only mode. Compilation to native code is disabled, and all bytecode is executed by the interpreter. The performance benefits offered by the Java HotSpot Client VM adaptive compiler is not present in this mode. +.TP 3 +\-Xbatch +Disables background compilation. Typically, the Java VM compiles the method as a background task, running the method in interpreter mode until the background compilation is finished. The \-Xbatch flag disables background compilation so that compilation of all methods proceeds as a foreground task until completed. +.TP 3 +\-Xbootclasspath:bootclasspath +Specifies a colon\-separated list of directories, JAR files, and ZIP archives to search for boot class files. These are used in place of the boot class files included in the Java platform JDK. +.br +.br +Applications that use this option for the purpose of overriding a class in rt.jar should not be deployed because doing so would contravene the Java Runtime Environment binary code license. +.TP 3 +\-Xbootclasspath/a:path +Specifies a colon\-separated path of directories, JAR files, and ZIP archives to append to the default bootstrap class path. +.TP 3 +\-Xbootclasspath/p:path +Specifies a colon\-separated path of directories, JAR files, and ZIP archives to add in front of the default bootstrap class path. +.br +.br +Do not deploy applications that use this option to override a class in rt.jar because this violates the Java Runtime Environment binary code license. +.TP 3 +\-Xcheck:jni +Performs additional checks for Java Native Interface (JNI) functions. Specifically, the Java Virtual Machine validates the parameters passed to the JNI function and the runtime environment data before processing the JNI request. Any invalid data encountered indicates a problem in the native code, and the Java Virtual Machine will terminate with a fatal error in such cases. Expect a performance degradation when this option is used. +.TP 3 +\-Xfuture +Performs strict class\-file format checks. For backward compatibility, the default format checks performed by the Java virtual machine are no stricter than the checks performed by 1.1.x versions of the JDK software. The \f3\-Xfuture\fP option turns on stricter class\-file format checks that enforce closer conformance to the class\-file format specification. Developers are encouraged to use this flag when developing new code because the stricter checks will become the default in future releases of the Java application launcher. +.TP 3 +\-Xnoclassgc +Disables class garbage collection. Use of this option preven memory recovery from loaded classes thus increasing overall memory usage. This could cause \f3OutOfMemoryError\fP to be thrown in some applications. +.TP 3 +\-Xincgc +Enables the incremental garbage collector. The incremental garbage collector, which is turned off by default, will reduce the occasional long garbage\-collection pauses during program execution. The incremental garbage collector will at times execute concurrently with the program and during such times will reduce the processor capacity available to the program. +.TP 3 +\-Xloggc:file +Reports on each garbage collection event, as with \f3\-verbose:gc\fP, but logs this data to a file. In addition to the information \f3\-verbose:gc\fP gives, each reported event will be preceded by the time (in seconds) since the first garbage\-collection event. +.br +.br +Always use a local file system for storage of this file to avoid stalling the Java VM due to network latency. The file may be truncated in the case of a full file system and logging will continue on the truncated file. This option overrides \f3\-verbose:gc\fP when both are specified on the command line. +.TP 3 +\-Xmnsize or \-XX:NewSize +Sets the size of the young generation (nursery). +.TP 3 +\-Xmsn +Specifies the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 1 MB. Append the letter \f3k\fP or \f3K\fP to indicate kilobytes, or \f3m\fP or \f3M\fP to indicate megabytes. The default value is chosen at runtime based on system configuration. See \f2Garbage Collector Ergonomics\fP at http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc\-ergonomics.html +.br +.br +Examples: +.nf +\f3 +.fl +\-Xms6291456 +.fl +\-Xms6144k +.fl +\-Xms6m +.fl +\fP +.fi +.TP 3 +\-Xmxn +Specifies the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2 MB. Append the letter \f3k\fP or \f3K\fP to indicate kilobytes, or \f3m\fP or \f3M\fP to indicate megabytes. The default value is chosen at runtime based on system configuration. +.br +.br +For server deployments, \f3\-Xms\fP and \f3\-Xmx\fP are often set to the same value. See \f2Garbage Collector Ergonomics\fP at http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc\-ergonomics.html +.br +.br +Examples: +.nf +\f3 +.fl +\-Xmx83886080 +.fl +\-Xmx81920k +.fl +\-Xmx80m +.fl +\fP +.fi +On Solaris 7 and Solaris 8 SPARC platforms, the upper limit for this value is approximately 4000 m minus overhead amounts. On Solaris 2.6 and x86 platforms, the upper limit is approximately 2000 m minus overhead amounts. On Linux platforms, the upper limit is approximately 2000 m minus overhead amounts. +.TP 3 +\-Xprof +Profiles the running program, and sends profiling data to standard output. This option is provided as a utility that is useful in program development and is not intended to be used in production systems. +.TP 3 +\-Xrs +Reduces use of operating\-system signals by the Java VM. +.br +.br +In an earlier release, the Shutdown Hooks facility was added to enable orderly shutdown of a Java application. The intent was to enable user cleanup code (such as closing database connections) to run at shutdown, even if the Java VM terminates abruptly. +.br +.br +The Java VM catches signals to implement shutdown hooks for unexpected Java VM termination. The Java VM uses \f3SIGHUP\fP, \f3SIGINT\fP, and \f3SIGTERM\fP to initiate the running of shutdown hooks. +.br +.br +The JVM uses a similar mechanism to implement the feature of dumping thread stacks for debugging purposes. The JVM uses \f3SIGQUIT\fP to perform thread dumps. +.br +.br +Applications embedding the Java VM frequently need to trap signals such as \f3SIGINT\fP or \f3SIGTERM\fP, which can lead to interference with the Java VM signal handlers. The \f3\-Xrs\fP command\-line option is available to address this issue. When \f3\-Xrs\fP is used on the Java VM, the signal masks for \f3SIGINT\fP, \f3SIGTERM\fP, \f3SIGHUP\fP, and \f3SIGQUIT\fP are not changed by the Java VM, and signal handlers for these signals are not installed. +.br +.br +There are two consequences of specifying \f3\-Xrs\fP: +.RS 3 +.TP 2 +o +\f3SIGQUIT\fP thread dumps are not available. +.TP 2 +o +User code is responsible for causing shutdown hooks to run, for example by calling \f3System.exit()\fP when the Java VM is to be terminated. +.RE +.TP 3 +\-Xssn +Sets the thread stack size. +.TP 3 +\-XX:AllocationPrefetchStyle=n +Sets the style of prefetch used during allocation. default=2. +.TP 3 +\-XX:+AggressiveOpts +Enables aggressive optimization. +.TP 3 +\-XX:+|\-DisableAttachMechanism +Specifies whether commands (such as \f3jmap\fP and \f3jconsole\fP) can attach to the Java VM. By default, this feature is disabled. That is, attaching is enabled, for example: +.nf +\f3 +.fl +java \-XX:+DisableAttachMechanism +.fl +\fP +.fi +.TP 3 +\-XX:+|\-FlightRecorder +Toggles the use of the Java Flight Recorder (JFR) during the runtime of the application. This is a commercial feature that requires you to also specify the \f3\-XX:+UnlockCommercialFeatures\fP option as follows: +.nf +\f3 +.fl +java \-XX:+UnlockCommercialFeatures \-XX:+FlightRecorder +.fl +\fP +.fi +.TP 3 +\-XX:FlightRecorderOptions=parameter=value +Sets the parameters that control the behavior of JFR. This option can be used only when JFR is enabled (that is, the \f3\-XX:+FlightRecorder\fP option is specified). +.br +.br +The following list contains all available JFR parameters: +.RS 3 +.TP 3 +defaultrecording=true|false +Specifies whether background recording is enabled. By default, this parameter is set to \f3false\fP (background recording is disabled). To enable it, set the parameter to \f3true\fP. +.TP 3 +disk=true|false +Specifies whether JFR should write a continuous recording to disk. By default, this parameter is set to \f3false\fP (continuous recording to disk is disabled). To enable it, set the parameter to \f3true\fP. +.TP 3 +dumponexit=true|false +Specifies whether a dump file of JFR data should be generated when the JVM terminates in a controlled manner. By default, this parameter is set to \f3false\fP (dump file on exit is not generated). To enable it, set the parameter to \f3true\fP. +.br +.br +The dump file is written to the location defined by the \f3dumponexitpath\fP parameter. +.TP 3 +dumponexitpath=path +Specifies the path and name of the dump file with JFR data that is created when the JVM exits in a controlled manner if you set the \f3dumponexit=true\fP parameter.If the specified path is a directory, the JVM assigns a file name that shows the creation date and time. If the specified path includes a file name and if that file already exists, the JVM creates a new file by appending the date and time stamp to the specified file name. +.TP 3 +globalbuffersize=size +Specifies the total amount of primary memory (in MB) used for data retention. By default, the size is set to 10 MB. +.TP 3 +maxage=time +Specifies the maximum age (in minutes) of disk data for default recording. By default, the maximum age is set to 15 minutes.This parameter is valid only if you set the \f3disk=true\fP parameter. +.TP 3 +maxchunksize=size +Specifies the maximum size (in MB) of the data chunks in a recording. By default, the maximum size of data chunks is set to 12 MB. +.TP 3 +maxsize=size +Specifies the maximum size (in MB) of disk data for default recording. By default, the maximum size of disk data is not limited. +.br +.br +This parameter is valid only if you set the \f3disk=true\fP parameter. +.TP 3 +repository=path +Specifies the repository (a directory) for temporary disk storage. By default, the system’s temporary directory is used. +.TP 3 +settings=path +Specifies the path and name of the event settings file (of type JFS). By default, the \f3default.jfs\fP file is used, which is located in \f3JAVA_HOME/jre/lib/jfr\fP. +.TP 3 +threadbuffersize=size +Specifies the per\-thread local buffer size (in KB). Higher values for this parameter allow more data gathering without contention to flush it to the global storage. It can increase application footprint in a thread\-rich environment. By default, the local buffer size is set to 5 KB. +.br +.br +You can specify values for multiple parameters by separating them with a comma. For example, to instruct JFR to write a continuous recording to disk, and set the maximum size of data chunks to 10 MB, specify the following: +.nf +\f3 +.fl +\-XX:FlightRecorderOptions=disk=true,maxchunksize=10M +.fl +\fP +.fi +.RE +.TP 3 +\-XXLargePageSizeInBytes=n +Specifies the maximum size for large pages. +.TP 3 +\-XX:MaxGCPauseMillis=n +Sets a target for the maximum GC pause time. This is a soft goal, and the Java VM will make its best effort to achieve it. There is no maximum value set by default. +.TP 3 +\-XX:NewSize +Sets the size of the young generation (nursery). Sames as \f3\-Xmnsize\fP. +.TP 3 +\-XX:ParallelGCThreads=n +Sets the number of GC threads in the parallel collectors. +.TP 3 +\-XX:PredictedClassLoadCount=n +This option requires that the \f3UnlockExperimentalVMOptions\fP flag be set first. Use the \f3PredictedClassLoadCount\fP flag if your application loads a lot of classes and especially if \f3class.forName()\fP is used heavily. The recommended value is the number of classes loaded as shown in the output from \f3\-verbose:class\fP. +.br +.br +Example: +.nf +\f3 +.fl +java \-XX:+UnlockExperimentalVMOptions \-XX:PredictedClassLoadCount=60013 +.fl +\fP +.fi +.TP 3 +\-XX:+PrintCompilation +Prints verbose output from the Java HotSpot VM dynamic runtime compiler. +.TP 3 +\-XX:+PrintGCDetails \-XX:+PrintGCTimeStamps +Prints garbage collection output along with time stamps. +.TP 3 +\-XX:SoftRefLRUPolicyMSPerMB=0 +This flag enables aggressive processing of software references. Use this flag if the software reference count has an impact on the Java HotSpot VM garbage collector. +.TP 3 +\-XX:StartFlightRecording=parameter=value +Starts a JFR recording for the Java application. This option is equivalent to the \f3start_flightrecording\fP diagnostic command that starts JFR at runtime. You can set the following parameters when starting a JFR recording: +.RS 3 +.TP 3 +compress=true|false +Specifies whether to compress the JFR recording log file (of type JFR) on the disk using the \f3gzip\fP file compression utility. This parameter is valid only if the \f3filename\fP parameter is specified. By defaut it is set to \f3false\fP (recoding is not compressed). To enable compression, set the parameter to \f3true\fP. +.TP 3 +defaultrecording=true|false +Specifies whether the recording is continuous or it runs for a limited time. By default, this parameter is set to \f3false\fP (recording runs for a limited time). To make the recording run continuously, set the parameter to \f3true\fP. +.TP 3 +delay=time +Specifies the delay (in milliseconds) between the Java application launch time and the start of the recording. By default, there is no delay and this parameter is set to 0. +.TP 3 +duration=time +Specifies the duration (in milliseconds) of the recording. By default, the duration is not limited. +.TP 3 +filename=path +Specifies the path and name of the JFR recording log file. +.TP 3 +name=identifier +Specifies the identifier for the JFR recording. By default, it is set to Recording x +.TP 3 +maxage=time +Specifies the maximum age (in minutes) of disk data for default recording. By default, the maximum age is set to 15 minutes. +.TP 3 +maxsize=size +Specifies the maximum size (in MB) of the recording before it is flushed from the thread buffer to the global buffer. By default, the maximum size is not limited. +.br +.br +This parameter is valid only for size\-bound recordings. +.TP 3 +settings=path +Specifies the path and name of the event settings file (of type JFS). By default, the \f3default.jfs\fP file is used, which is located in \f3JAVA_HOME/jre/lib/jfr\fP. +.RE +You can specify values for multiple parameters by separating them with a comma. For example, to save the recording to test.jfr in the current working directory, and instruct JFR to compress the log file, specify the following: +.nf +\f3 +.fl +\-XX:StartFlightRecording=filename=test.jfr,compress=true +.fl +\fP +.fi +.RE + +.LP +.RS 3 +.TP 3 +\-XX:TLABSize=n +Thread local allocation buffers (TLAB) are enabled by default in the Java HotSpot VM. The Java HotSpot VM sizes TLABs based on allocation patterns. The \f3\-XX:TLABSize\fP option enables fine\-tuning the size of TLABs. +.TP 3 +\-XX:+UnlockCommercialFeatures +Use this flag to actively unlock the use of commercial features. Commercial features are the products Oracle Java SE Advanced or Oracle Java SE Suite, as defined at the Java SE Products web page. +.br +.br +If this flag is not specified, then the default is to run the Java Virtual Machine without the commercial features being available. After they are enabled, it is not possible to disable their use at runtime. +.TP 3 +\-XX:+UseAltSigs +The Java VM uses \f3SIGUSR1\fP and \f3SIGUSR2\fP by default, which can sometimes conflict with applications that signal\-chain \f3SIGUSR1\fP and \f3SIGUSR2\fP. The \f3\-XX:+UseAltSigs\fP option causes the Java VM to use signals other than \f3SIGUSR1\fP and \f3SIGUSR2\fP as the default. +.TP 3 +\-XX:+|\-UseCompressedOops +Enables compressed references in 64\-bit Java VMs. +.br +.br +This option is true by default. +.TP 3 +\-XX:+UseConcMarkSweepGC or \-XX:+UseG1GC +Enables either the Concurrent Mark Sweep (CMS) or the G1 garbage collectors. +.TP 3 +\-XX:+|\-UseLargePages +Enables large page support. +.br +.br +Large pages are enabled by default on Solaris. +.TP 3 +\-XX:+UseParallelOldGC +Enables the parallel garbage collectors, which are optimized for throughput and average response time. +.RE + +.LP +.SH "NOTES" +.LP +.LP +The \f2\-version:release\fP option places no restrictions on the complexity of the release specification. However, only a restricted subset of the possible release specifications represent sound policy and only these are fully supported. These policies are: +.LP +.RS 3 +.TP 3 +1. +Any version, represented by not using this option. +.TP 3 +2. +Any version greater than an arbitrarily precise \f2version\-i\fPd value, for example: +.nf +\f3 +.fl +"1.6.0_10+" +.fl +\fP +.fi +This would utilize any version greater than 1.6.0_10. This is useful for a case where an interface was introduced (or a bug fixed) in the release specified. +.TP 3 +3. +A version greater than an arbitrarily precise version\-id, bounded by the upper bound of that release family, for example: +.nf +\f3 +.fl +"1.6.0_10+&1.6*" +.fl +\fP +.fi +.TP 3 +4. +An \f3or\fP expressions of items 2 or 3, for example: +.nf +\f3 +.fl +"1.6.0_10+&1.6* 1.7+" +.fl +\fP +.fi +Similar to item 2. This is useful when a change was introduced in a release (1.7) but also made available in updates to earlier releases. +.RE + +.LP +.SH "Performance Tuning Examples" +.LP +.LP +The following examples show how to use experimental tuning flags to optimize either throughput or faster response time. +.LP +.SS +Example 1, Tuning for Higher Throughput +.LP +.nf +\f3 +.fl + java \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g +.fl +\fP +.fi + +.LP +.SS +Example 2, Tuning for Lower Response Time +.LP +.nf +\f3 +.fl + java \-d64 \-XX:+UseG1GC \-Xms26g Xmx26g \-XX:MaxGCPauseMillis=500 \-XX:+PrintGCTimeStamps +.fl +\fP +.fi + +.LP +.SH "EXIT STATUS" +.LP +.LP +The following exit values are typically returned by the launcher, typically when the launcher is called with the wrong arguments, serious errors, or exceptions thrown from the Java Virtual Machine. However, a Java application may choose to return any value using the API call \f3System.exit(exitValue)\fP. +.LP +.RS 3 +.TP 2 +o +\f30\fP: Successful completion +.TP 2 +o +\f3>0\fP: An error occurred +.RE + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +javac(1) +.TP 2 +o +jdb(1) +.TP 2 +o +javah(1) +.TP 2 +o +jar(1) +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/javac.1 b/Java-Visualizer/java/man/man1/javac.1 new file mode 100644 index 00000000..0ee6c6be --- /dev/null +++ b/Java-Visualizer/java/man/man1/javac.1 @@ -0,0 +1,1190 @@ +." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javac 1 "18 Jul 2013" + +.LP +.SH "Name" +javac \- Java programming language compiler +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl + \fP\f3javac\fP [ options ] [ sourcefiles ] [ classes ] [ @argfiles ] +.fl + +.fl +.fi + +.LP +.LP +Arguments may be in any order. +.LP +.RS 3 +.TP 3 +options +Command\-line options. +.TP 3 +sourcefiles +One or more source files to be compiled (such as MyClass.java). +.TP 3 +classes +One or more classes to be processed for annotations (such as MyPackage.MyClass). +.TP 3 +@argfiles +One or more files that lists options and source files. The \f2\-J\fP options are not allowed in these files. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3javac\fP tool reads class and interface definitions, written in the Java programming language, and compiles them into bytecode class files. It can also process annotations in Java source files and classes. +.LP +.LP +There are two ways to pass source code file names to \f3javac\fP: +.LP +.RS 3 +.TP 2 +o +For a small number of source files, simply list the file names on the command line. +.TP 2 +o +For a large number of source files, list the file names in a file, separated by blanks or line breaks. Then use the list file name on the \f3javac\fP command line, preceded by an \f3@\fP character. +.RE + +.LP +.LP +Source code file names must have \f2.java\fP suffixes, class file names must have \f2.class\fP suffixes, and both source and class files must have root names that identify the class. For example, a class called \f2MyClass\fP would be written in a source file called \f2MyClass.java\fP and compiled into a bytecode class file called \f2MyClass.class\fP. +.LP +.LP +Inner class definitions produce additional class files. These class files have names combining the inner and outer class names, such as \f2MyClass$MyInnerClass.class\fP. +.LP +.LP +You should arrange source files in a directory tree that reflects their package tree. For example, if you keep all your source files in \f3/workspace\fP, the source code for \f2com.mysoft.mypack.MyClass\fP should be in \f3/workspace/com/mysoft/mypack/MyClass.java\fP. +.LP +.LP +By default, the compiler puts each class file in the same directory as its source file. You can specify a separate destination directory with \f3\-d\fP (see Options, below). +.LP +.SH "OPTIONS" +.LP +.LP +The compiler has a set of standard options that are supported on the current development environment and will be supported in future releases. An additional set of non\-standard options are specific to the current virtual machine and compiler implementations and are subject to change in the future. Non\-standard options begin with \f3\-X\fP. +.LP +.SS +Standard Options +.LP +.RS 3 +.TP 3 +\-Akey[=value] +Options to pass to annotation processors. These are not interpreted by javac directly, but are made available for use by individual processors. \f2key\fP should be one or more identifiers separated by ".". +.TP 3 +\-cp path or \-classpath path +Specify where to find user class files, and (optionally) annotation processors and source files. This class path overrides the user class path in the \f3CLASSPATH\fP environment variable. If neither \f3CLASSPATH\fP, \f3\-cp\fP nor \f3\-classpath\fP is specified, the user class path consists of the current directory. See Setting the Class Path for more details. +.br +.br +>If the \f3\-sourcepath\fP option is not specified, the user class path is also searched for source files. +.br +.br +If the \f3\-processorpath\fP option is not specified, the class path is also searched for annotation processors. +.TP 3 +\-Djava.ext.dirs=directories +Override the location of installed extensions. +.TP 3 +\-Djava.endorsed.dirs=directories +Override the location of endorsed standards path. +.TP 3 +\-d directory +Set the destination directory for class files. The directory must already exist; \f3javac\fP will not create it. If a class is part of a package, \f3javac\fP puts the class file in a subdirectory reflecting the package name, creating directories as needed. For example, if you specify \f3\-d /home/myclasses\fP and the class is called \f2com.mypackage.MyClass\fP, then the class file is called \f2/home/myclasses/com/mypackage/MyClass.class\fP. +.br +.br +If \f3\-d\fP is not specified, \f3javac\fP puts each class files in the same directory as the source file from which it was generated. +.br +.br +\f3Note:\fP The directory specified by \f3\-d\fP is not automatically added to your user class path. +.TP 3 +\-deprecation +Show a description of each use or override of a deprecated member or class. Without \f3\-deprecation\fP, \f3javac\fP shows a summary of the source files that use or override deprecated members or classes. \f3\-deprecation\fP is shorthand for \f3\-Xlint:deprecation\fP. +.TP 3 +\-encoding encoding +Set the source file encoding name, such as \f2EUC\-JP and UTF\-8\fP. If \f3\-encoding\fP is not specified, the platform default converter is used. +.TP 3 +\-endorseddirs directories +Override the location of endorsed standards path. +.TP 3 +\-extdirs directories +Overrides the location of the \f2ext\fP directory. The \f2directories\fP variable is a colon\-separated list of directories. Each JAR archive in the specified directories is searched for class files. All JAR archives found are automatically part of the class path. +.br +.br +If you are cross\-compiling (compiling classes against bootstrap and extension classes of a different Java platform implementation), this option specifies the directories that contain the extension classes. See Cross\-Compilation Options for more information. +.TP 3 +\-g +Generate all debugging information, including local variables. By default, only line number and source file information is generated. +.TP 3 +\-g:none +Do not generate any debugging information. +.TP 3 +\-g:{keyword list} +Generate only some kinds of debugging information, specified by a comma separated list of keywords. Valid keywords are: +.RS 3 +.TP 3 +source +Source file debugging information +.TP 3 +lines +Line number debugging information +.TP 3 +vars +Local variable debugging information +.RE +.TP 3 +\-help +Print a synopsis of standard options. +.TP 3 +\-implicit:{class,none} +Controls the generation of class files for implicitly loaded source files. To automatically generate class files, use \f3\-implicit:class\fP. To suppress class file generation, use \f3\-implicit:none\fP. If this option is not specified, the default is to automatically generate class files. In this case, the compiler will issue a warning if any such class files are generated when also doing annotation processing. The warning will not be issued if this option is set explicitly. See Searching For Types. +.TP 3 +\-Joption +Pass \f2option\fP to the \f3java\fP launcher called by \f3javac\fP. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying VM executing applications written in Java. +.br +.br +\f3Note:\fP \f3CLASSPATH\fP, \f3\-classpath\fP, \f3\-bootclasspath\fP, and \f3\-extdirs\fP do \f2not\fP specify the classes used to run \f3javac\fP. Fiddling with the implementation of the compiler in this way is usually pointless and always risky. If you do need to do this, use the \f3\-J\fP option to pass through options to the underlying \f3java\fP launcher. +.TP 3 +\-nowarn +Disable warning messages. This has the same meaning as \f3\-Xlint:none\fP. +.TP 3 +\-proc: {none,only} +Controls whether annotation processing and/or compilation is done. \f3\-proc:none\fP means that compilation takes place without annotation processing. \f3\-proc:only\fP means that only annotation processing is done, without any subsequent compilation. +.TP 3 +\-processor class1[,class2,class3...] +Names of the annotation processors to run. This bypasses the default discovery process. +.TP 3 +\-processorpath path +Specify where to find annotation processors; if this option is not used, the class path will be searched for processors. +.TP 3 +\-s dir +Specify the directory where to place generated source files. The directory must already exist; \f3javac\fP will not create it. If a class is part of a package, the compiler puts the source file in a subdirectory reflecting the package name, creating directories as needed. For example, if you specify \f3\-s /home/mysrc\fP and the class is called \f2com.mypackage.MyClass\fP, then the source file will be placed in \f2/home/mysrc/com/mypackage/MyClass.java\fP. +.TP 3 +\-source release +Specifies the version of source code accepted. The following values for \f2release\fP are allowed: +.RS 3 +.TP 3 +1.3 +The compiler does \f2not\fP support assertions, generics, or other language features introduced after Java SE 1.3. +.TP 3 +1.4 +The compiler accepts code containing assertions, which were introduced in Java SE 1.4. +.TP 3 +1.5 +The compiler accepts code containing generics and other language features introduced in Java SE 5. +.TP 3 +5 +Synonym for 1.5. +.TP 3 +1.6 +No language changes were introduced in Java SE 6. However, encoding errors in source files are now reported as errors instead of warnings as in previous releases of Java SE. +.TP 3 +6 +Synonym for 1.6. +.TP 3 +1.7 +This is the default value. The compiler accepts code with features introduced in Java SE 7. +.TP 3 +7 +Synonym for 1.7. +.RE +.TP 3 +\-sourcepath sourcepath +Specify the source code path to search for class or interface definitions. As with the user class path, source path entries are separated by colons (\f3:\fP) and can be directories, JAR archives, or ZIP archives. If packages are used, the local path name within the directory or archive must reflect the package name. +.br +.br +\f3Note:\fP Classes found through the class path may be subject to automatic recompilation if their sources are also found. See Searching For Types. +.TP 3 +\-verbose +Verbose output. This includes information about each class loaded and each source file compiled. +.TP 3 +\-version +Print version information. +.TP 3 +\-Werror +Terminate compilation if warnings occur. +.TP 3 +\-X +Display information about non\-standard options and exit. +.RE + +.LP +.SS +Cross\-Compilation Options +.LP +.LP +By default, classes are compiled against the bootstrap and extension classes of the platform that \f3javac\fP shipped with. But \f3javac\fP also supports \f2cross\-compiling\fP, where classes are compiled against a bootstrap and extension classes of a different Java platform implementation. It is important to use \f3\-bootclasspath\fP and \f3\-extdirs\fP when cross\-compiling; see Cross\-Compilation Example below. +.LP +.RS 3 +.TP 3 +\-target version +Generate class files that target a specified version of the VM. Class files will run on the specified target and on later versions, but not on earlier versions of the VM. Valid targets are \f31.1\fP, \f31.2\fP, \f31.3\fP, \f31.4\fP, \f31.5\fP (also \f35\fP), \f31.6\fP (also \f36\fP), and \f31.7\fP (also \f37\fP). +.LP +The default for \f3\-target\fP depends on the value of \f3\-source\fP: +.RS 3 +.TP 2 +o +If \-source is \f3not specified\fP, the value of \-target is \f31.7\fP +.TP 2 +o +If \-source is \f31.2\fP, the value of \-target is \f31.4\fP +.TP 2 +o +If \-source is \f31.3\fP, the value of \-target is \f31.4\fP +.TP 2 +o +If \-source is \f31.5\fP, the value of \-target is \f31.7\fP +.TP 2 +o +If \-source is \f31.6\fP, the value of \-target is \f31.7\fP +.TP 2 +o +For \f3all other values\fP of \-source, the value of \f3\-target\fP is the value of \f3\-source\fP. +.RE +.TP 3 +\-bootclasspath bootclasspath +Cross\-compile against the specified set of boot classes. As with the user class path, boot class path entries are separated by colons (\f3:\fP) and can be directories, JAR archives, or ZIP archives. +.RE + +.LP +.SS +Non\-Standard Options +.LP +.RS 3 +.TP 3 +\-Xbootclasspath/p:path +Prepend to the bootstrap class path. +.TP 3 +\-Xbootclasspath/a:path +Append to the bootstrap class path. +.TP 3 +\-Xbootclasspath/:path +Override location of bootstrap class files. +.TP 3 +\-Xlint +Enable all recommended warnings. In this release, enabling all available warnings is recommended. +.TP 3 +\-Xlint:all +Enable all recommended warnings. In this release, enabling all available warnings is recommended. +.TP 3 +\-Xlint:none +Disable all warnings. +.TP 3 +\-Xlint:name +Enable warning \f2name\fP. See the section Warnings That Can Be Enabled or Disabled with \-Xlint Option for a list of warnings you can enable with this option. +.TP 3 +\-Xlint:\-name +Disable warning \f2name\fP. See the section Warnings That Can Be Enabled or Disabled with \-Xlint Option for a list of warnings you can disable with this option. +.TP 3 +\-Xmaxerrs number +Set the maximum number of errors to print. +.TP 3 +\-Xmaxwarns number +Set the maximum number of warnings to print. +.TP 3 +\-Xstdout filename +Send compiler messages to the named file. By default, compiler messages go to \f2System.err\fP. +.TP 3 +\-Xprefer:{newer,source} +Specify which file to read when both a source file and class file are found for a type. (See Searching For Types). If \f2\-Xprefer:newer\fP is used, it reads the newer of the source or class file for a type (default). If the \f2\-Xprefer:source\fP option is used, it reads source file. Use \f2\-Xprefer:source\fP when you want to be sure that any annotation processors can access annotations declared with a retention policy of \f2SOURCE\fP. +.TP 3 +\-Xpkginfo:{always,legacy,nonempty} +Specify handling of package\-info files +.TP 3 +\-Xprint +Print out textual representation of specified types for debugging purposes; perform neither annotation processing nor compilation. The format of the output may change. +.TP 3 +\-XprintProcessorInfo +Print information about which annotations a processor is asked to process. +.TP 3 +\-XprintRounds +Print information about initial and subsequent annotation processing rounds. +.RE + +.LP +.SS +Warnings That Can Be Enabled or Disabled with \-Xlint Option +.LP +.LP +Enable warning \f2name\fP with the option \f3\-Xlint:\fP\f2name\fP, where \f2name\fP is one of the following warning names. Similarly, you can disable warning \f2name\fP with the option \f3\-Xlint:\-\fP\f2name\fP: +.LP +.RS 3 +.TP 3 +cast +Warn about unnecessary and redundant casts. For example: +.nf +\f3 +.fl +String s = (String)"Hello!" +.fl +\fP +.fi +.TP 3 +classfile +Warn about issues related to classfile contents. +.TP 3 +deprecation +Warn about use of deprecated items. For example: +.nf +\f3 +.fl + java.util.Date myDate = new java.util.Date(); +.fl + int currentDay = myDate.getDay(); +.fl +\fP +.fi +The method \f2java.util.Date.getDay\fP has been deprecated since JDK 1.1. +.TP 3 +dep\-ann +Warn about items that are documented with an \f2@deprecated\fP Javadoc comment, but do not have a \f2@Deprecated\fP annotation. For example: +.nf +\f3 +.fl + /** +.fl + * @deprecated As of Java SE 7, replaced by {@link #newMethod()} +.fl + */ +.fl + +.fl + public static void deprecatedMethood() { } +.fl + +.fl + public static void newMethod() { } +.fl +\fP +.fi +.TP 3 +divzero +Warn about division by constant integer 0. For example: +.nf +\f3 +.fl + int divideByZero = 42 / 0; +.fl +\fP +.fi +.TP 3 +empty +Warn about empty statements after \f2if\fP statements. For example: +.nf +\f3 +.fl +class E { +.fl + void m() { +.fl + if (true) ; +.fl + } +.fl +} +.fl +\fP +.fi +.TP 3 +fallthrough +Check \f2switch\fP blocks for fall\-through cases and provide a warning message for any that are found. Fall\-through cases are cases in a \f2switch\fP block, other than the last case in the block, whose code does not include a \f2break\fP statement, allowing code execution to "fall through" from that case to the next case. For example, the code following the \f2case 1\fP label in this \f2switch\fP block does not end with a \f2break\fP statement: +.nf +\f3 +.fl +switch (x) { +.fl +case 1: +.fl + System.out.println("1"); +.fl + // No break statement here. +.fl +case 2: +.fl + System.out.println("2"); +.fl +} +.fl +\fP +.fi +If the \f2\-Xlint:fallthrough\fP flag were used when compiling this code, the compiler would emit a warning about "possible fall\-through into case," along with the line number of the case in question. +.TP 3 +finally +Warn about \f2finally\fP clauses that cannot complete normally. For example: +.nf +\f3 +.fl + public static int m() { +.fl + try { +.fl + throw new NullPointerException(); +.fl + } catch (NullPointerException e) { +.fl + System.err.println("Caught NullPointerException."); +.fl + return 1; +.fl + } finally { +.fl + return 0; +.fl + } +.fl + } +.fl +\fP +.fi +The compiler generates a warning for \f2finally\fP block in this example. When this method is called, it returns a value of \f20\fP, not \f21\fP. A \f2finally\fP block always executes when the \f2try\fP block exits. In this example, if control is transferred to the \f2catch\fP, then the method exits. However, the \f2finally\fP block must be executed, so it is executed, even though control has already been transferred outside the method. +.TP 3 +options +Warn about issues relating to the use of command line options. See Cross\-Compilation Example for an example of this kind of warning. +.TP 3 +overrides +Warn about issues regarding method overrides. For example, consider the following two classes: +.nf +\f3 +.fl +public class ClassWithVarargsMethod { +.fl + void varargsMethod(String... s) { } +.fl +} +.fl +\fP +.fi +.nf +\f3 +.fl +public class ClassWithOverridingMethod extends ClassWithVarargsMethod { +.fl + @Override +.fl + void varargsMethod(String[] s) { } +.fl +} +.fl +\fP +.fi +The compiler generates a warning similar to the following: +.br +.br +\f2warning: [override] varargsMethod(String[]) in ClassWithOverridingMethod overrides varargsMethod(String...) in ClassWithVarargsMethod; overriding method is missing '...'\fP +.br +.br +When the compiler encounters a varargs method, it translates the varargs formal parameter into an array. In the method \f2ClassWithVarargsMethod.varargsMethod\fP, the compiler translates the varargs formal parameter \f2String... s\fP to the formal parameter \f2String[] s\fP, an array, which matches the formal parameter of the method \f2ClassWithOverridingMethod.varargsMethod\fP. Consequently, this example compiles. +.TP 3 +path +Warn about invalid path elements and nonexistent path directories on the command line (with regards to the class path, the source path, and other paths). Such warnings cannot be suppressed with the \f2@SuppressWarnings\fP annotation. For example: +.nf +\f3 +.fl +javac \-Xlint:path \-classpath /nonexistentpath Example.java +.fl +\fP +.fi +.TP 3 +processing +Warn about issues regarding annotation processing. The compiler generates this warning if you have a class that has an annotation, and you use an annotation processor that cannot handle that type of exception. For example, the following is a simple annotation processor: +.br +.br +\f3Source file \fP\f4AnnoProc.java\fP: +.nf +\f3 +.fl +import java.util.*; +.fl +import javax.annotation.processing.*; +.fl +import javax.lang.model.*; +.fl +import javax.lang.model.element.*; +.fl + +.fl +@SupportedAnnotationTypes("NotAnno") +.fl +public class AnnoProc extends AbstractProcessor { +.fl + public boolean process(Set<? extends TypeElement> elems, RoundEnvironment renv) { +.fl + return true; +.fl + } +.fl + +.fl + public SourceVersion getSupportedSourceVersion() { +.fl + return SourceVersion.latest(); +.fl + } +.fl +} +.fl +\fP +.fi +\f3Source file \fP\f4AnnosWithoutProcessors.java\fP\f3:\fP +.nf +\f3 +.fl +@interface Anno { } +.fl + +.fl +@Anno +.fl +class AnnosWithoutProcessors { } +.fl +\fP +.fi +The following commands compile the annotation processor \f2AnnoProc\fP, then run this annotation processor against the source file \f2AnnosWithoutProcessors.java\fP: +.nf +\f3 +.fl +% \fP\f3javac AnnoProc.java\fP +.fl +% \f3javac \-cp . \-Xlint:processing \-processor AnnoProc \-proc:only AnnosWithoutProcessors.java\fP +.fl +.fi +When the compiler runs the annotation processor against the source file \f2AnnosWithoutProcessors.java\fP, it generates the following warning: +.br +.br +\f2warning: [processing] No processor claimed any of these annotations: Anno\fP +.br +.br +To resolve this issue, you can rename the annotation defined and used in the class \f2AnnosWithoutProcessors\fP from \f2Anno\fP to \f2NotAnno\fP. +.TP 3 +rawtypes +Warn about unchecked operations on raw types. The following statement generates a \f2rawtypes\fP warning: +.nf +\f3 +.fl +void countElements(List l) { ... } +.fl +\fP +.fi +The following does not generate a \f2rawtypes\fP warning: +.nf +\f3 +.fl +void countElements(List<?> l) { ... } +.fl +\fP +.fi +\f2List\fP is a raw type. However, \f2List<?>\fP is a unbounded wildcard parameterized type. Because \f2List\fP is a parameterized interface, you should always specify its type argument. In this example, the \f2List\fP formal argument is specified with a unbounded wildcard (\f2?\fP) as its formal type parameter, which means that the \f2countElements\fP method can accept any instantiation of the \f2List\fP interface. +.TP 3 +serial +Warn about missing \f2serialVersionUID\fP definitions on serializable classes. For example: +.nf +\f3 +.fl +public class PersistentTime implements Serializable +.fl +{ +.fl + private Date time; +.fl + +.fl + public PersistentTime() { +.fl + time = Calendar.getInstance().getTime(); +.fl + } +.fl + +.fl + public Date getTime() { +.fl + return time; +.fl + } +.fl +} +.fl +\fP +.fi +The compiler generates the following warning: +.br +.br +\f2warning: [serial] serializable class PersistentTime has no definition of serialVersionUID\fP +.br +.br +If a serializable class does not explicitly declare a field named \f2serialVersionUID\fP, then the serialization runtime will calculate a default \f2serialVersionUID\fP value for that class based on various aspects of the class, as described in the Java Object Serialization Specification. However, it is strongly recommended that all serializable classes explicitly declare \f2serialVersionUID\fP values because the default process of computing \f2serialVersionUID\fP vales is highly sensitive to class details that may vary depending on compiler implementations, and can thus result in unexpected \f2InvalidClassExceptions\fP during deserialization. Therefore, to guarantee a consistent \f2serialVersionUID\fP value across different Java compiler implementations, a serializable class must declare an explicit \f2serialVersionUID\fP value. +.TP 3 +static +Warn about issues relating to use of statics. For example: +.nf +\f3 +.fl +class XLintStatic { +.fl + static void m1() { } +.fl + void m2() { this.m1(); } +.fl +} +.fl +\fP +.fi +The compiler generates the following warning: +.nf +\f3 +.fl +warning: [static] static method should be qualified by type name, XLintStatic, instead of by an expression +.fl +\fP +.fi +To resolve this issue, you can call the static method \f2m1\fP as follows: +.nf +\f3 +.fl +XLintStatic.m1(); +.fl +\fP +.fi +Alternatively, you can remove the \f2static\fP keyword from the declaration of the method \f2m1\fP. +.TP 3 +try +Warn about issues relating to use of \f2try\fP blocks, including try\-with\-resources statements. For example, a warning is generated for the following statement because the resource \f2ac\fP declared in the \f2try\fP statement is not used: +.nf +\f3 +.fl +try ( AutoCloseable ac = getResource() ) { +.fl + // do nothing +.fl +} +.fl +\fP +.fi +.TP 3 +unchecked +Give more detail for unchecked conversion warnings that are mandated by the Java Language Specification. For example: +.nf +\f3 +.fl + List l = new ArrayList<Number>(); +.fl + List<String> ls = l; // unchecked warning +.fl +\fP +.fi +During type erasure, the types \f2ArrayList<Number>\fP and \f2List<String>\fP become \f2ArrayList\fP and \f2List\fP, respectively. +.br +.br +The variable \f2ls\fP has the parameterized type \f2List<String>\fP. When the \f2List\fP referenced by \f2l\fP is assigned to \f2ls\fP, the compiler generates an unchecked warning; the compiler is unable to determine at compile time, and moreover knows that the JVM will not be able to determine at runtime, if \f2l\fP refers to a \f2List<String>\fP type; it does not. Consequently, heap pollution occurs. +.br +.br +In detail, a heap pollution situation occurs when the \f2List\fP object \f2l\fP, whose static type is \f2List<Number>\fP, is assigned to another \f2List\fP object, \f2ls\fP, that has a different static type, \f2List<String>\fP. However, the compiler still allows this assignment. It must allow this assignment to preserve backwards compatibility with versions of Java SE that do not support generics. Because of type erasure, \f2List<Number>\fP and \f2List<String>\fP both become \f2List\fP. Consequently, the compiler allows the assignment of the object \f2l\fP, which has a raw type of \f2List\fP, to the object \f2ls\fP. +.TP 3 +varargs +Warn about unsafe usages of variable arguments (varargs) methods, in particular, those that contain non\-reifiable arguments. For example: +.nf +\f3 +.fl +public class ArrayBuilder { +.fl + public static <T> void addToList (List<T> listArg, T... elements) { +.fl + for (T x : elements) { +.fl + listArg.add(x); +.fl + } +.fl + } +.fl +} +.fl +\fP +.fi +The compiler generates the following warning for the definition of the method \f2ArrayBuilder.addToList\fP: +.nf +\f3 +.fl +warning: [varargs] Possible heap pollution from parameterized vararg type T +.fl +\fP +.fi +When the compiler encounters a varargs method, it translates the varargs formal parameter into an array. However, the Java programming language does not permit the creation of arrays of parameterized types. In the method \f2ArrayBuilder.addToList\fP, the compiler translates the varargs formal parameter \f2T... elements\fP to the formal parameter \f2T[] elements\fP, an array. However, because of type erasure, the compiler converts the varargs formal parameter to \f2Object[] elements\fP. Consequently, there is a possibility of heap pollution. +.RE + +.LP +.SH "COMMAND LINE ARGUMENT FILES" +.LP +.LP +To shorten or simplify the javac command line, you can specify one or more files that themselves contain arguments to the \f2javac\fP command (except \f2\-J\fP options). This enables you to create javac commands of any length on any operating system. +.LP +.LP +An argument file can include javac options and source filenames in any combination. The arguments within a file can be space\-separated or newline\-separated. If a filename contains embedded spaces, put the whole filename in double quotes. +.LP +.LP +Filenames within an argument file are relative to the current directory, not the location of the argument file. Wildcards (*) are not allowed in these lists (such as for specifying \f2*.java\fP). Use of the '\f2@\fP' character to recursively interpret files is not supported. The \f2\-J\fP options are not supported because they are passed to the launcher, which does not support argument files. +.LP +.LP +When executing javac, pass in the path and name of each argument file with the '\f2@\fP' leading character. When javac encounters an argument beginning with the character `\f2@\fP', it expands the contents of that file into the argument list. +.LP +.SS +Example \- Single Arg File +.LP +.LP +You could use a single argument file named "\f2argfile\fP" to hold all javac arguments: +.LP +.nf +\f3 +.fl +% \fP\f3javac @argfile\fP +.fl +.fi + +.LP +.LP +This argument file could contain the contents of both files shown in the next example. +.LP +.SS +Example \- Two Arg Files +.LP +.LP +You can create two argument files \-\- one for the javac options and the other for the source filenames: (Notice the following lists have no line\-continuation characters.) +.LP +.LP +Create a file named "\f2options\fP" containing: +.LP +.nf +\f3 +.fl + \-d classes +.fl + \-g +.fl + \-sourcepath /java/pubs/ws/1.3/src/share/classes +.fl + +.fl +\fP +.fi + +.LP +.LP +Create a file named "\f2classes\fP" containing: +.LP +.nf +\f3 +.fl + MyClass1.java +.fl + MyClass2.java +.fl + MyClass3.java +.fl + +.fl +\fP +.fi + +.LP +.LP +You would then run \f3javac\fP with: +.LP +.nf +\f3 +.fl + % \fP\f3javac @options @classes\fP +.fl + +.fl +.fi + +.LP +.SS +Example \- Arg Files with Paths +.LP +.LP +The argument files can have paths, but any filenames inside the files are relative to the current working directory (not \f2path1\fP or \f2path2\fP): +.LP +.nf +\f3 +.fl +% \fP\f3javac @path1/options @path2/classes\fP +.fl +.fi + +.LP +.SH "ANNOTATION PROCESSING" +.LP +.LP +\f3javac\fP provides direct support for annotation processing, superseding the need for the separate annotation processing tool, \f3apt\fP. +.LP +.LP +The API for annotation processors is defined in the \f2javax.annotation.processing\fP and \f2javax.lang.model\fP packages and subpackages. +.LP +.SS +Overview of annotation processing +.LP +.LP +Unless annotation processing is disabled with the \f3\-proc:none\fP option, the compiler searches for any annotation processors that are available. The search path can be specified with the \f3\-processorpath\fP option; if it is not given, the user class path is used. Processors are located by means of service provider\-configuration files named \f2META\-INF/services/javax.annotation.processing.Processor\fP on the search path. Such files should contain the names of any annotation processors to be used, listed one per line. Alternatively, processors can be specified explicitly, using the \f3\-processor\fP option. +.LP +.LP +After scanning the source files and classes on the command line to determine what annotations are present, the compiler queries the processors to determine what annotations they process. When a match is found, the processor will be invoked. A processor may "claim" the annotations it processes, in which case no further attempt is made to find any processors for those annotations. Once all annotations have been claimed, the compiler does not look for additional processors. +.LP +.LP +If any processors generate any new source files, another round of annotation processing will occur: any newly generated source files will be scanned, and the annotations processed as before. Any processors invoked on previous rounds will also be invoked on all subsequent rounds. This continues until no new source files are generated. +.LP +.LP +After a round occurs where no new source files are generated, the annotation processors will be invoked one last time, to give them a chance to complete any work they may need to do. Finally, unless the \f3\-proc:only\fP option is used, the compiler will compile the original and all the generated source files. +.LP +.SS +Implicitly loaded source files +.LP +.LP +To compile a set of source files, the compiler may need to implicitly load additional source files. (See Searching For Types). Such files are currently not subject to annotation processing. By default, the compiler will give a warning if annotation processing has occurred and any implicitly loaded source files are compiled. See the \-implicit option for ways to suppress the warning. +.LP +.SH "SEARCHING FOR TYPES" +.LP +.LP +When compiling a source file, the compiler often needs information about a type whose definition did not appear in the source files given on the command line. The compiler needs type information for every class or interface used, extended, or implemented in the source file. This includes classes and interfaces not explicitly mentioned in the source file but which provide information through inheritance. +.LP +.LP +For example, when you subclass \f3java.applet.Applet\fP, you are also using \f3Applet's\fP ancestor classes: \f3java.awt.Panel\fP, \f3java.awt.Container\fP, \f3java.awt.Component\fP, and \f3java.lang.Object\fP. +.LP +.LP +When the compiler needs type information, it looks for a source file or class file which defines the type. The compiler searches for class files first in the bootstrap and extension classes, then in the user class path (which by default is the current directory). The user class path is defined by setting the \f3CLASSPATH\fP environment variable or by using the \f3\-classpath\fP command line option. (For details, see Setting the Class Path). +.LP +.LP +If you set the \-sourcepath option, the compiler searches the indicated path for source files; otherwise the compiler searches the user class path for both class files and source files. +.LP +.LP +You can specify different bootstrap or extension classes with the \f3\-bootclasspath\fP and \f3\-extdirs\fP options; see Cross\-Compilation Options below. +.LP +.LP +A successful type search may produce a class file, a source file, or both. If both are found, you can use the \-Xprefer option to instruct the compiler which to use. If \f3newer\fP is given, the compiler will use the newer of the two files. If \f3source\fP is given, it will use the source file. The default is \f3newer\fP. +.LP +.LP +If a type search finds a source file for a required type, either by itself, or as a result of the setting for \f3\-Xprefer\fP, the compiler will read the source file to get the information it needs. In addition, it will by default compile the source file as well. You can use the \-implicit option to specify the behavior. If \f3none\fP is given, no class files will be generated for the source file. If \f3class\fP is given, class files will be generated for the source file. +.LP +.LP +The compiler may not discover the need for some type information until after annotation processing is complete. If the type information is found in a source file and no \f3\-implicit\fP option is given, the compiler will give a warning that the file is being compiled without being subject to annotation processing. To disable the warning, either specify the file on the command line (so that it will be subject to annotation processing) or use the \f3\-implicit\fP option to specify whether or not class files should be generated for such source files. +.LP +.SH "PROGRAMMATIC INTERFACE" +.LP +.LP +\f3javac\fP supports the new Java Compiler API defined by the classes and interfaces in the \f2javax.tools\fP package. +.LP +.SS +Example +.LP +.LP +To perform a compilation using arguments as you would give on the command line, you can use the following: +.LP +.nf +\f3 +.fl +JavaCompiler javac = ToolProvider.getSystemJavaCompiler(); +.fl +int rc = javac.run(null, null, null, args); +.fl +\fP +.fi + +.LP +.LP +This will write any diagnostics to the standard output stream, and return the exit code that \f3javac\fP would give when invoked from the command line. +.LP +.LP +You can use other methods on the \f2javax.tools.JavaCompiler\fP interface to handle diagnostics, control where files are read from and written to, and so on. +.LP +.SS +Old Interface +.LP +.LP +\f3Note:\fP This API is retained for backwards compatibility only; all new code should use the Java Compiler API, described above. +.LP +.LP +The \f2com.sun.tools.javac.Main\fP class provides two static methods to invoke the compiler from a program: +.LP +.nf +\f3 +.fl +public static int compile(String[] args); +.fl +public static int compile(String[] args, PrintWriter out); +.fl +\fP +.fi + +.LP +.LP +The \f2args\fP parameter represents any of the command line arguments that would normally be passed to the javac program and are outlined in the above Synopsis section. +.LP +.LP +The \f2out\fP parameter indicates where the compiler's diagnostic output is directed. +.LP +.LP +The return value is equivalent to the exit value from \f3javac\fP. +.LP +.LP +Note that all \f3other\fP classes and methods found in a package whose name starts with \f2com.sun.tools.javac\fP (informally known as sub\-packages of \f2com.sun.tools.javac\fP) are strictly internal and subject to change at any time. +.LP +.SH "EXAMPLES" +.LP +.SS +Compiling a Simple Program +.LP +.LP +One source file, \f2Hello.java\fP, defines a class called \f3greetings.Hello\fP. The \f2greetings\fP directory is the package directory both for the source file and the class file and is off the current directory. This allows us to use the default user class path. It also makes it unnecessary to specify a separate destination directory with \f3\-d\fP. +.LP +.nf +\f3 +.fl +% \fP\f3ls\fP +.fl +greetings/ +.fl +% \f3ls greetings\fP +.fl +Hello.java +.fl +% \f3cat greetings/Hello.java\fP +.fl +package greetings; +.fl + +.fl +public class Hello { +.fl + public static void main(String[] args) { +.fl + for (int i=0; i < args.length; i++) { +.fl + System.out.println("Hello " + args[i]); +.fl + } +.fl + } +.fl +} +.fl +% \f3javac greetings/Hello.java\fP +.fl +% \f3ls greetings\fP +.fl +Hello.class Hello.java +.fl +% \f3java greetings.Hello World Universe Everyone\fP +.fl +Hello World +.fl +Hello Universe +.fl +Hello Everyone +.fl +.fi + +.LP +.SS +Compiling Multiple Source Files +.LP +.LP +This example compiles all the source files in the package \f2greetings\fP. +.LP +.nf +\f3 +.fl +% \fP\f3ls\fP +.fl +greetings/ +.fl +% \f3ls greetings\fP +.fl +Aloha.java GutenTag.java Hello.java Hi.java +.fl +% \f3javac greetings/*.java\fP +.fl +% \f3ls greetings\fP +.fl +Aloha.class GutenTag.class Hello.class Hi.class +.fl +Aloha.java GutenTag.java Hello.java Hi.java +.fl +.fi + +.LP +.SS +Specifying a User Class Path +.LP +.LP +Having changed one of the source files in the previous example, we recompile it: +.LP +.nf +\f3 +.fl +% \fP\f3pwd\fP +.fl +/examples +.fl +% \f3javac greetings/Hi.java\fP +.fl +.fi + +.LP +.LP +Since \f2greetings.Hi\fP refers to other classes in the \f2greetings\fP package, the compiler needs to find these other classes. The example above works, because our default user class path happens to be the directory containing the package directory. But suppose we want to recompile this file and not worry about which directory we're in? Then we need to add \f2/examples\fP to the user class path. We can do this by setting \f3CLASSPATH\fP, but here we'll use the \f3\-classpath\fP option. +.LP +.nf +\f3 +.fl +% \fP\f3javac \-classpath /examples /examples/greetings/Hi.java\fP +.fl +.fi + +.LP +.LP +If we change \f2greetings.Hi\fP again, to use a banner utility, that utility also needs to be accessible through the user class path. +.LP +.nf +\f3 +.fl +% \fP\f3javac \-classpath /examples:/lib/Banners.jar \\ +.fl + /examples/greetings/Hi.java\fP +.fl +.fi + +.LP +.LP +To execute a class in \f2greetings\fP, we need access both to \f2greetings\fP and to the classes it uses. +.LP +.nf +\f3 +.fl +% \fP\f3java \-classpath /examples:/lib/Banners.jar greetings.Hi\fP +.fl +.fi + +.LP +.SS +Separating Source Files and Class Files +.LP +.LP +It often makes sense to keep source files and class files in separate directories, especially on large projects. We use \f3\-d\fP to indicate the separate class file destination. Since the source files are not in the user class path, we use \f3\-sourcepath\fP to help the compiler find them. +.LP +.nf +\f3 +.fl +% \fP\f3ls\fP +.fl +classes/ lib/ src/ +.fl +% \f3ls src\fP +.fl +farewells/ +.fl +% \f3ls src/farewells\fP +.fl +Base.java GoodBye.java +.fl +% \f3ls lib\fP +.fl +Banners.jar +.fl +% \f3ls classes\fP +.fl +% \f3javac \-sourcepath src \-classpath classes:lib/Banners.jar \\ +.fl + src/farewells/GoodBye.java \-d classes\fP +.fl +% \f3ls classes\fP +.fl +farewells/ +.fl +% \f3ls classes/farewells\fP +.fl +Base.class GoodBye.class +.fl +.fi + +.LP +.LP +\f3Note:\fP The compiler compiled \f2src/farewells/Base.java\fP, even though we didn't specify it on the command line. To trace automatic compiles, use the \f3\-verbose\fP option. +.LP +.SS +Cross\-Compilation Example +.LP +.LP +The following example uses \f3javac\fP to compile code that will run on a 1.6 VM. +.LP +.nf +\f3 +.fl +% \fP\f3javac \-source 1.6 \-target 1.6 \-bootclasspath jdk1.6.0/lib/rt.jar \\ +.fl + \-extdirs "" OldCode.java\fP +.fl +.fi + +.LP +.LP +The \f2\-source 1.6\fP option specifies that version 1.6 (or 6) of the Java programming language be used to compile \f2OldCode.java\fP. The option \f3\-target 1.6\fP option ensures that the generated class files will be compatible with 1.6 VMs. Note that in most cases, the value of the \f3\-target\fP option is the value of the \f3\-source\fP option; in this example, you can omit the \f3\-target\fP option. +.LP +.LP +You must specify the \f3\-bootclasspath\fP option to specify the correct version of the bootstrap classes (the \f2rt.jar\fP library). If not, the compiler generates a warning: +.LP +.nf +\f3 +.fl +% \fP\f3javac \-source 1.6 OldCode.java\fP +.fl +warning: [options] bootstrap class path not set in conjunction with \-source 1.6 +.fl +.fi + +.LP +.LP +If you do not specify the correct version of bootstrap classes, the compiler will use the old language rules (in this example, it will use version 1.6 of the Java programming language) combined with the new bootstrap classes, which can result in class files that do not work on the older platform (in this case, Java SE 6) because reference to non\-existent methods can get included. +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +.na +\f2The javac Guide\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javac/index.html +.TP 2 +o +java(1) \- the Java Application Launcher +.TP 2 +o +jdb(1) \- Java Application Debugger +.TP 2 +o +javah(1) \- C Header and Stub File Generator +.TP 2 +o +javap(1) \- Class File Disassembler +.TP 2 +o +javadoc(1) \- API Documentation Generator +.TP 2 +o +jar(1) \- JAR Archive Tool +.TP 2 +o +.na +\f2The Java Extensions Framework\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/extensions/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/javadoc.1 b/Java-Visualizer/java/man/man1/javadoc.1 new file mode 100644 index 00000000..c1cbaf24 --- /dev/null +++ b/Java-Visualizer/java/man/man1/javadoc.1 @@ -0,0 +1,4173 @@ +." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javadoc 1 "18 Jul 2013" +.SH "Name" +javadoc \- The Java API Documentation Generator +.LP +Generates HTML pages of API documentation from Java source files. This document contains Javadoc examples for Solaris. +.SH "SYNOPSIS" +.LP +\f4javadoc\fP\f2\ [\ \fP\f2options\fP\f2\ ]\ [\ packagenames\ ]\ [\ sourcefilenames\ ]\ [\ \-subpackages\fP\ \f2pkg1:pkg2:...\fP\f2\ ]\ [\ \fP\f2@argfiles\fP\f2\ ]\fP +.LP +Arguments can be in any order. See processing of Source Files for details on how the Javadoc tool determines which "\f2.java\fP" files to process. +.RS 3 +.TP 3 +options +Command\-line options, as specified in this document. To see a typical use of javadoc options, see Real\-World Example. +.TP 3 +packagenames +A series of names of packages, separated by spaces, such as \f2java.lang\ java.lang.reflect\ java.awt\fP. You must separately specify each package you want to document. Wildcards are not allowed; use \-subpackages for recursion. The Javadoc tool uses \f2\-sourcepath\fP to look for these package names. See Example \- Documenting One or More Packages +.TP 3 +sourcefilenames +A series of source file names, separated by spaces, each of which can begin with a path and contain a wildcard such as asterisk (*). The Javadoc tool will process every file whose name ends with ".java", and whose name, when stripped of that suffix, is actually a legal class name (see the Java Language Specification). Therefore, you can name files with dashes (such as \f2X\-Buffer\fP), or other illegal characters, to prevent them from being documented. This is useful for test files and template files The path that precedes the source file name determines where javadoc will look for the file. (The Javadoc tool does \f2not\fP use \f2\-sourcepath\fP to look for these source file names.) Relative paths are relative to the current directory, so passing in \f2Button.java\fP is identical to \f2./Button.java\fP. A source file name with an absolute path and a wildcard, for example, is \f2/home/src/java/awt/Graphics*.java\fP. See Example\ \-\ Documenting One or More Classes. You can also mix packagenames and sourcefilenames, as in Example\ \-\ Documenting Both Packages and Classes +.TP 3 +\-subpackages pkg1:pkg2:... +Generates documentation from source files in the specified packages and recursively in their subpackages. An alternative to supplying packagenames or sourcefilenames. +.TP 3 +@argfiles +One or more files that contain a list of Javadoc options, packagenames and sourcefilenames in any order. Wildcards (*) and \f2\-J\fP options are not allowed in these files. +.RE +.SH "DESCRIPTION" +.LP +The \f3Javadoc\fP tool parses the declarations and documentation comments in a set of Java source files and produces a corresponding set of HTML pages describing (by default) the public and protected classes, nested classes (but not anonymous inner classes), interfaces, constructors, methods, and fields. You can use it to generate the API (Application Programming Interface) documentation or the implementation documentation for a set of source files. +.LP +You can run the Javadoc tool on entire packages, individual source files, or both. When documenting entire packages, you can either use \f2\-subpackages\fP for traversing recursively down from a top\-level directory, or pass in an explicit list of package names. When documenting individual source files, you pass in a list of source (\f2.java\fP) filenames. Examples are given at the end of this document. How Javadoc processes source files is covered next. +.SS +Processing of source files +.LP +The Javadoc tool processes files that end in "\f2.java\fP" plus other files described under Source Files. If you run the Javadoc tool by explicitly passing in individual source filenames, you can determine exactly which "\f2.java\fP" files are processed. However, that is not how most developers want to work, as it is simpler to pass in package names. The Javadoc tool can be run three ways without explicitly specifying the source filenames. You can (1) pass in package names, (2) use \f2\-subpackages\fP, and (3) use wildcards with source filenames (\f2*.java\fP). In these cases, the Javadoc tool processes a "\f2.java\fP" file only if it fulfills all of the following requirements: +.RS 3 +.TP 2 +o +Its name, after stripping off the "\f2.java\fP" suffix, is actually a legal class name (see the Java Language Specification for legal characters) +.TP 2 +o +Its directory path relative to the root of the source tree is actually a legal package name (after converting its separators to dots) +.TP 2 +o +Its package statement contains the legal package name (specified in the previous bullet) +.RE +.LP +\f3Processing of links\fP \- During a run, the Javadoc tool automatically adds cross\-reference links to package, class and member names that are being documented as part of that run. Links appear in several places: +.RS 3 +.TP 2 +o +Declarations (return types, argument types, field types) +.TP 2 +o +"See Also" sections generated from \f2@see\fP tags +.TP 2 +o +In\-line text generated from \f2{@link}\fP tags +.TP 2 +o +Exception names generated from \f2@throws\fP tags +.TP 2 +o +"Specified by" links to members in interfaces and "Overrides" links to members in classes +.TP 2 +o +Summary tables listing packages, classes and members +.TP 2 +o +Package and class inheritance trees +.TP 2 +o +The index +.RE +.LP +You can add hyperlinks to existing text for classes not included on the command line (but generated separately) by way of the \f2\-link\fP and \f2\-linkoffline\fP options. +.LP +\f3Other processing details\fP \- The Javadoc tool produces one complete document each time it is run; it cannot do incremental builds \-\- that is, it cannot modify or \f2directly\fP incorporate results from previous runs of the Javadoc tool. However, it can link to results from other runs, as just mentioned. +.LP +As implemented, the Javadoc tool requires and relies on the java compiler to do its job. The Javadoc tool calls part of \f2javac\fP to compile the declarations, ignoring the member implementation. It builds a rich internal representation of the classes, including the class hierarchy, and "use" relationships, then generates the HTML from that. The Javadoc tool also picks up user\-supplied documentation from documentation comments in the source code. +.LP +In fact, the Javadoc tool will run on \f2.java\fP source files that are pure stub files with no method bodies. This means you can write documentation comments and run the Javadoc tool in the earliest stages of design while creating the API, before writing the implementation. +.LP +Relying on the compiler ensures that the HTML output corresponds exactly with the actual implementation, which may rely on implicit, rather than explicit, source code. For example, the Javadoc tool documents default constructors (see Java Language Specification) that are present in the \f2.class\fP files but not in the source code. +.LP +In many cases, the Javadoc tool allows you to generate documentation for source files whose code is incomplete or erroneous. This is a benefit that enables you to generate documentation before all debugging and troubleshooting is done. For example, according to the \f2Java Language Specification\fP, a class that contains an abstract method should itself be declared abstract. The Javadoc tool does not check for this, and would proceed without a warning, whereas the javac compiler stops on this error. The Javadoc tool does do some primitive checking of doc comments. Use the DocCheck doclet to check the doc comments more thoroughly. +.LP +When the Javadoc tool builds its internal structure for the documentation, it loads all referenced classes. Because of this, the Javadoc tool must be able to find all referenced classes, whether bootstrap classes, extensions, or user classes. For more about this, see +.na +\f2How Classes Are Found\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html. Generally speaking, classes you create must either be loaded as an extension or in the Javadoc tool's class path. +.SS +Javadoc Doclets +.LP +You can customize the content and format of the Javadoc tool's output by using doclets. The Javadoc tool has a default "built\-in" doclet, called the standard doclet, that generates HTML\-formatted API documentation. You can modify or subclass the standard doclet, or write your own doclet to generate HTML, XML, MIF, RTF or whatever output format you'd like. Information about doclets and their use is at the following locations: +.RS 3 +.TP 2 +o +.na +\f2Javadoc Doclets\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html +.TP 2 +o +The \f2\-doclet\fP command\-line option +.RE +.LP +When a custom doclet is not specified with the \f2\-doclet\fP command line option, the Javadoc tool will use the default standard doclet. The javadoc tool has several command line options that are available regardless of which doclet is being used. The standard doclet adds a supplementary set of command line options. Both sets of options are described below in the options section. +.SS +Related Documentation and Doclets +.RS 3 +.TP 2 +o +.na +\f2Javadoc Enhancements\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/index.html for details about improvements added in Javadoc. +.TP 2 +o +.na +\f2Javadoc FAQ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137483.html for answers to common questions, information about Javadoc\-related tools, and workarounds for bugs. +.TP 2 +o +.na +\f2How to Write Doc Comments for Javadoc\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html for more information about Sun conventions for writing documentation comments. +.TP 2 +o +.na +\f2Requirements for Writing API Specifications\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-142372.html \- Standard requirements used when writing the Java SE Platform Specification. It can be useful whether you are writing API specifications in source file documentation comments or in other formats. It covers requirements for packages, classes, interfaces, fields and methods to satisfy testable assertions. +.TP 2 +o +.na +\f2Documentation Comment Specification\fP @ +.fi +http://docs.oracle.com/javase/specs/ \- The original specification on documentation comments, Chapter 18, Documentation Comments, in the \f2Java Language Specification\fP, First Edition, by James Gosling, Bill Joy, and Guy Steele. (This chapter was removed from the second edition.) +.RE +.SS +Terminology +.LP +The terms \f2documentation comment\fP, \f2doc comment\fP, \f2main description\fP, \f2tag\fP, \f2block tag\fP, and \f2in\-line tag\fP are described at Documentation Comments. These other terms have specific meanings within the context of the Javadoc tool: +.RS 3 +.TP 3 +generated document +The document generated by the javadoc tool from the doc comments in Java source code. The default generated document is in HTML and is created by the standard doclet. +.LP +.TP 3 +name +A name of a program element written in the Java Language \-\- that is, the name of a package, class, interface, field, constructor or method. A name can be fully\-qualified, such as \f2java.lang.String.equals(java.lang.Object)\fP, or partially\-qualified, such as \f2equals(Object)\fP. +.LP +.TP 3 +documented classes +The classes and interfaces for which detailed documentation is generated during a javadoc run. To be documented, the source files must be available, their source filenames or package names must be passed into the javadoc command, and they must not be filtered out by their access modifier (public, protected, package\-private or private). We also refer to these as the classes included in the javadoc output, or the \f2included classes\fP. +.LP +.TP 3 +included classes +Classes and interfaces whose details are documented during a run of the Javadoc tool. Same as \f2documented classes\fP. +.LP +.TP 3 +excluded classes +Classes and interfaces whose details are \f2not\fP documented during a run of the Javadoc tool. +.LP +.TP 3 +referenced classes +The classes and interfaces that are explicitly referred to in the definition (implementation) or doc comments of the documented classes and interfaces. Examples of references include return type, parameter type, cast type, extended class, implemented interface, imported classes, classes used in method bodies, @see, {@link}, {@linkplain}, and {@inheritDoc} tags. (Notice this definition has changed since +.na +\f21.3\fP @ +.fi +http://docs.oracle.com/javase/1.3/docs/tooldocs/solaris/javadoc.html#referencedclasses.) When the Javadoc tool is run, it should load into memory all of the referenced classes in javadoc's bootclasspath and classpath. (The Javadoc tool prints a "Class not found" warning for referenced classes not found.) The Javadoc tool can derive enough information from the .class files to determine their existence and the fully\-qualified names of their members. +.LP +.TP 3 +external referenced classes +The referenced classes whose documentation is not being generated during a javadoc run. In other words, these classes are not passed into the Javadoc tool on the command line. Links in the generated documentation to those classes are said to be \f2external references\fP or \f2external links\fP. For example, if you run the Javadoc tool on only the \f2java.awt\fP package, then any class in \f2java.lang\fP, such as \f2Object\fP, is an external referenced class. External referenced classes can be linked to using the \f2\-link\fP and \f2\-linkoffline\fP options. An important property of an external referenced class is that its source comments are normally not available to the Javadoc run. In this case, these comments cannot be inherited. +.RE +.SH "SOURCE FILES" +.LP +The Javadoc tool will generate output originating from four different types of "source" files: Java language source files for classes (\f2.java\fP), package comment files, overview comment files, and miscellaneous unprocessed files. This section also covers test files and template files that can also be in the source tree, but which you want to be sure not to document. +.SS +Class Source Code Files +.LP +Each class or interface and its members can have their own documentation comments, contained in a \f2.java\fP file. For more details about these doc comments, see Documentation Comments. +.SS +Package Comment Files +.LP +Each package can have its own documentation comment, contained in its own "source" file, that the Javadoc tool will merge into the package summary page that it generates. You typically include in this comment any documentation that applies to the entire package. +.LP +To create a package comment file, you have a choice of two files to place your comments: +.RS 3 +.TP 2 +o +\f2package\-info.java\fP \- Can contain a package declaration, package annotations, package comments and Javadoc tags. This file is generally preferred over package.html. +.TP 2 +o +\f2package.html\fP \- Can contain only package comments and Javadoc tags, no package annotations. +.RE +.LP +A package may have a single \f2package.html\fP file or a single \f2package\-info.java\fP file but not both. Place either file in the package directory in the source tree along with your \f2.java\fP files. +.LP +\f4package\-info.java\fP \- This file can contain a package comment of the following structure \-\- the comment is placed before the package declaration: +.LP +File: \f2java/applet/package\-info.java\fP +.nf +\f3 +.fl +/** +.fl + * Provides the classes necessary to create an +.fl + * applet and the classes an applet uses +.fl + * to communicate with its applet context. +.fl + * <p> +.fl + * The applet framework involves two entities: +.fl + * the applet and the applet context. +.fl + * An applet is an embeddable window (see the +.fl + * {@link java.awt.Panel} class) with a few extra +.fl + * methods that the applet context can use to +.fl + * initialize, start, and stop the applet. +.fl + * +.fl + * @since 1.0 +.fl + * @see java.awt +.fl + */ +.fl +package java.lang.applet; +.fl +\fP +.fi +.LP +Note that while the comment separators \f2/**\fP and \f2/*\fP must be present, the leading asterisks on the intermediate lines can be omitted. +.LP +\f4package.html\fP \- This file can contain a package comment of the following structure \-\- the comment is placed in the \f2<body>\fP element: +.LP +File: \f2java/applet/package.html\fP +.nf +\f3 +.fl +<HTML> +.fl +<BODY> +.fl +Provides the classes necessary to create an applet and the +.fl +classes an applet uses to communicate with its applet context. +.fl +<p> +.fl +The applet framework involves two entities: the applet +.fl +and the applet context. An applet is an embeddable +.fl +window (see the {@link java.awt.Panel} class) with a +.fl +few extra methods that the applet context can use to +.fl +initialize, start, and stop the applet. +.fl + +.fl +@since 1.0 +.fl +@see java.awt +.fl +</BODY> +.fl +</HTML> +.fl +\fP +.fi +.LP +Notice this is just a normal HTML file and does not include a package declaration. The content of the package comment file is written in HTML, like all other comments, with one exception: The documentation comment should not include the comment separators \f2/**\fP and \f2*/\fP or leading asterisks. When writing the comment, you should make the first sentence a summary about the package, and not put a title or any other text between \f2<body>\fP and the first sentence. You can include package tags; as with any documentation comment, all block tags must appear after the main description. If you add a \f2@see\fP tag in a package comment file, it must have a fully\-qualified name. For more details, see the +.na +\f2example of \fP\f2package.html\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#packagecomments. +.LP +\f3Processing of package comment file\fP \- When the Javadoc tool runs, it will automatically look for the package comment file; if found, the Javadoc tool does the following: +.RS 3 +.TP 2 +o +Copies the comment for processing. (For \f2package.html\fP, copies all content between \f2<body>\fP and \f2</body>\fP HTML tags. You can include a \f2<head>\fP section to put a \f2<title>\fP, source file copyright statement, or other information, but none of these will appear in the generated documentation.) +.TP 2 +o +Processes any package tags that are present. +.TP 2 +o +Inserts the processed text at the bottom of the package summary page it generates, as shown in +.na +\f2Package Summary\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/applet/package\-summary.html. +.TP 2 +o +Copies the first sentence of the package comment to the top of the package summary page. It also adds the package name and this first sentence to the list of packages on the overview page, as shown in +.na +\f2Overview Summary\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/overview\-summary.html. The end\-of\-sentence is determined by the same rules used for the end of the first sentence of class and member main descriptions. +.RE +.SS +Overview Comment File +.LP +Each application or set of packages that you are documenting can have its own overview documentation comment, kept in its own "source" file, that the Javadoc tool will merge into the overview page that it generates. You typically include in this comment any documentation that applies to the entire application or set of packages. +.LP +To create an overview comment file, you can name the file anything you want, typically \f4overview.html\fP and place it anywhere, typically at the top level of the source tree. For example, if the source files for the \f2java.applet\fP package are contained in \f2/home/user/src/java/applet\fP directory, you could create an overview comment file at \f2/home/user/src/overview.html\fP. +.LP +Notice you can have multiple overview comment files for the same set of source files, in case you want to run javadoc multiple times on different sets of packages. For example, you could run javadoc once with \-private for internal documentation and again without that option for public documentation. In this case, you could describe the documentation as public or internal in the first sentence of each overview comment file. +.LP +The content of the overview comment file is one big documentation comment, written in HTML, like the package comment file described previously. See that description for details. To re\-iterate, when writing the comment, you should make the first sentence a summary about the application or set of packages, and not put a title or any other text between \f2<body>\fP and the first sentence. You can include overview tags; as with any documentation comment, all tags except in\-line tags, such as \f2{@link}\fP, must appear after the main description. If you add a \f2@see\fP tag, it must have a fully\-qualified name. +.LP +When you run the Javadoc tool, you specify the overview comment file name with the \-overview option. The file is then processed similar to that of a package comment file. +.RS 3 +.TP 2 +o +Copies all content between \f2<body>\fP and \f2</body>\fP tags for processing. +.TP 2 +o +Processes any overview tags that are present. +.TP 2 +o +Inserts the processed text at the bottom of the overview page it generates, as shown in +.na +\f2Overview Summary\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/overview\-summary.html. +.TP 2 +o +Copies the first sentence of the overview comment to the top of the overview summary page. +.RE +.SS +Miscellaneous Unprocessed Files +.LP +You can also include in your source any miscellaneous files that you want the Javadoc tool to copy to the destination directory. These typically includes graphic files, example Java source (.java) and class (.class) files, and self\-standing HTML files whose content would overwhelm the documentation comment of a normal Java source file. +.LP +To include unprocessed files, put them in a directory called \f4doc\-files\fP which can be a subdirectory of any package directory that contains source files. You can have one such subdirectory for each package. You might include images, example code, source files, .class files, applets and HTML files. For example, if you want to include the image of a button \f2button.gif\fP in the \f2java.awt.Button\fP class documentation, you place that file in the \f2/home/user/src/java/awt/doc\-files/\fP directory. Notice the \f2doc\-files\fP directory should not be located at \f2/home/user/src/java/doc\-files\fP because \f2java\fP is not a package \-\- that is, it does not directly contain any source files. +.LP +All links to these unprocessed files must be hard\-coded, because the Javadoc tool does not look at the files \-\- it simply copies the directory and all its contents to the destination. For example, the link in the \f2Button.java\fP doc comment might look like: +.nf +\f3 +.fl + /** +.fl + * This button looks like this: +.fl + * <img src="doc\-files/Button.gif"> +.fl + */ +.fl +\fP +.fi +.SS +Test Files and Template Files +.LP +Some developers have indicated they want to store test files and templates files in the source tree near their corresponding source files. That is, they would like to put them in the same directory, or a subdirectory, of those source files. +.LP +If you run the Javadoc tool by explicitly passing in individual source filenames, you can deliberately omit test and templates files and prevent them from being processed. However, if you are passing in package names or wildcards, you need to follow certain rules to ensure these test files and templates files are not processed. +.LP +Test files differ from template files in that the former are legal, compilable source files, while the latter are not, but may end with ".java". +.LP +\f3Test files\fP \- Often developers want to put compilable, runnable test files for a given package in the \f2same\fP directory as the source files for that package. But they want the test files to belong to a package other than the source file package, such as the unnamed package (so the test files have no package statement or a different package statement from the source). In this scenario, when the source is being documented by specifying its package name specified on the command line, the test files will cause warnings or errors. You need to put such test files in a subdirectory. For example, if you want to add test files for source files in \f2com.package1\fP, put them in a subdirectory that would be an invalid package name (because it contains a hyphen): +.nf +\f3 +.fl + com/package1/test\-files/ +.fl +\fP +.fi +.LP +The test directory will be skipped by the Javadoc tool with no warnings. +.LP +If your test files contain doc comments, you can set up a separate run of the Javadoc tool to produce documentation of the test files by passing in their test source filenames with wildcards, such as \f2com/package1/test\-files/*.java\fP. +.LP +\f3Templates for source files\fP \- Template files have names that often end in ".java" and are not compilable. If you have a template for a source file that you want to keep in the source directory, you can name it with a dash (such as \f2Buffer\-Template.java\fP), or any other illegal Java character, to prevent it from being processed. This relies on the fact that the Javadoc tool will only process source files whose name, when stripped of the ".java" suffix, is actually a legal class name (see information about Identifiers in the Java Language Specification). +.SH "GENERATED FILES" +.LP +By default, javadoc uses a standard doclet that generates HTML\-formatted documentation. This doclet generates the following kinds of files (where each HTML "page" corresponds to a separate file). Note that javadoc generates files with two types of names: those named after classes/interfaces, and those that are not (such as \f2package\-summary.html\fP). Files in the latter group contain hyphens to prevent filename conflicts with those in the former group. +.LP +\f3Basic Content Pages\fP +.RS 3 +.TP 2 +o +One \f3class or interface page\fP (\f2classname\fP\f2.html\fP) for each class or interface it is documenting. +.TP 2 +o +One \f3package page\fP (\f2package\-summary.html\fP) for each package it is documenting. The Javadoc tool will include any HTML text provided in a file named \f2package.html\fP or \f2package\-info.java\fP in the package directory of the source tree. +.TP 2 +o +One \f3overview page\fP (\f2overview\-summary.html\fP) for the entire set of packages. This is the front page of the generated document. The Javadoc tool will include any HTML text provided in a file specified with the \f2\-overview\fP option. Note that this file is created only if you pass into javadoc two or more package names. For further explanation, see HTML Frames.) +.RE +.LP +\f3Cross\-Reference Pages\fP +.RS 3 +.TP 2 +o +One \f3class hierarchy page for the entire set of packages\fP (\f2overview\-tree.html\fP). To view this, click on "Overview" in the navigation bar, then click on "Tree". +.TP 2 +o +One \f3class hierarchy page for each package\fP (\f2package\-tree.html\fP) To view this, go to a particular package, class or interface page; click "Tree" to display the hierarchy for that package. +.TP 2 +o +One \f3"use" page\fP for each package (\f2package\-use.html\fP) and a separate one for each class and interface (\f2class\-use/\fP\f2classname\fP\f2.html\fP). This page describes what packages, classes, methods, constructors and fields use any part of the given class, interface or package. Given a class or interface A, its "use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar. +.TP 2 +o +A \f3deprecated API page\fP (\f2deprecated\-list.html\fP) listing all deprecated names. (A deprecated name is not recommended for use, generally due to improvements, and a replacement name is usually given. Deprecated APIs may be removed in future implementations.) +.TP 2 +o +A \f3constant field values page\fP (\f2constant\-values.html\fP) for the values of static fields. +.TP 2 +o +A \f3serialized form page\fP (\f2serialized\-form.html\fP) for information about serializable and externalizable classes. Each such class has a description of its serialization fields and methods. This information is of interest to re\-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class comment. The standard doclet automatically generates a serialized form page: any class (public or non\-public) that implements Serializable is included, along with \f2readObject\fP and \f2writeObject\fP methods, the fields that are serialized, and the doc comments from the \f2@serial\fP, \f2@serialField\fP, and \f2@serialData\fP tags. Public serializable classes can be excluded by marking them (or their package) with \f2@serial exclude\fP, and package\-private serializable classes can be included by marking them (or their package) with \f2@serial include\fP. As of 1.4, you can generate the complete serialized form for public and private classes by running javadoc \f2without\fP specifying the \f2\-private\fP option. +.TP 2 +o +An \f3index\fP (\f2index\-*.html\fP) of all class, interface, constructor, field and method names, alphabetically arranged. This is internationalized for Unicode and can be generated as a single file or as a separate file for each starting character (such as A\-Z for English). +.RE +.LP +\f3Support Files\fP +.RS 3 +.TP 2 +o +A \f3help page\fP (\f2help\-doc.html\fP) that describes the navigation bar and the above pages. You can provide your own custom help file to override the default using \f2\-helpfile\fP. +.TP 2 +o +One \f3index.html file\fP which creates the HTML frames for display. This is the file you load to display the front page with frames. This file itself contains no text content. +.TP 2 +o +Several \f3frame files\fP (\f2*\-frame.html\fP) containing lists of packages, classes and interfaces, used when HTML frames are being displayed. +.TP 2 +o +A \f3package list\fP file (\f2package\-list\fP), used by the \f2\-link\fP and \f2\-linkoffline\fP options. This is a text file, not HTML, and is not reachable through any links. +.TP 2 +o +A \f3style sheet\fP file (\f2stylesheet.css\fP) that controls a limited amount of color, font family, font size, font style and positioning on the generated pages. +.TP 2 +o +A \f3doc\-files\fP directory that holds any image, example, source code or other files that you want copied to the destination directory. These files are not processed by the Javadoc tool in any manner \-\- that is, any javadoc tags in them will be ignored. This directory is not generated unless it exists in the source tree. +.RE +.LP +\f3HTML Frames\fP +.LP +The Javadoc tool will generate either two or three HTML frames, as shown in the figure below. It creates the minimum necessary number of frames by omitting the list of packages if there is only one package (or no packages). That is, when you pass a single package name or source files (*.java) belonging to a single package as arguments into the javadoc command, it will create only one frame (C) in the left\-hand column \-\- the list of classes. When you pass into javadoc two or more package names, it creates a third frame (P) listing all packages, as well as an overview page (Detail). This overview page has the filename \f2overview\-summary.html\fP. Thus, this file is created only if you pass in two or more package names. You can bypass frames by clicking on the "No Frames" link or entering at overview\-summary.html. +.LP +If you are unfamiliar with HTML frames, you should be aware that frames can have \f2focus\fP for printing and scrolling. To give a frame focus, click on it. Then on many browsers the arrow keys and page keys will scroll that frame, and the print menu command will print it. +.LP +Load one of the following two files as the starting page depending on whether you want HTML frames or not: +.RS 3 +.TP 2 +o +\f2index.html\fP (for frames) +.TP 2 +o +\f2overview\-summary.html\fP (for no frames) +.RE +.LP +\f3Generated File Structure\fP +.LP +The generated class and interface files are organized in the same directory hierarchy that Java source files and class files are organized. This structure is one directory per subpackage. +.LP +For example, the document generated for the class \f2java.applet.Applet\fP class would be located at \f2java/applet/Applet.html\fP. The file structure for the java.applet package follows, given that the destination directory is named \f2apidocs\fP. All files that contain the word "frame" appear in the upper\-left or lower\-left frames, as noted. All other HTML files appear in the right\-hand frame. +.LP +NOTE \- Directories are shown in \f3bold\fP. The asterisks (\f2*\fP) indicate the files and directories that are \f2omitted\fP when the arguments to javadoc are source filenames (*.java) rather than package names. Also when arguments are source filenames, \f2package\-list\fP is created but is empty. The doc\-files directory will not be created in the destination unless it exists in the source tree. +.nf +\f3 +.fl + +.fl +\fP\f3apidocs\fP Top directory +.fl + index.html Initial page that sets up HTML frames +.fl + * overview\-summary.html Lists all packages with first sentence summaries +.fl + overview\-tree.html Lists class hierarchy for all packages +.fl + deprecated\-list.html Lists deprecated API for all packages +.fl + constant\-values.html Lists values of static fields for all packages +.fl + serialized\-form.html Lists serialized form for all packages +.fl + * overview\-frame.html Lists all packages, used in upper\-left frame +.fl + allclasses\-frame.html Lists all classes for all packages, used in lower\-left frame +.fl + help\-doc.html Lists user help for how these pages are organized +.fl + index\-all.html Default index created without \-splitindex option +.fl + \f3index\-files\fP Directory created with \-splitindex option +.fl + index\-<number>.html Index files created with \-splitindex option +.fl + package\-list Lists package names, used only for resolving external refs +.fl + stylesheet.css HTML style sheet for defining fonts, colors and positions +.fl + \f3java\fP Package directory +.fl + \f3applet\fP Subpackage directory +.fl + Applet.html Page for Applet class +.fl + AppletContext.html Page for AppletContext interface +.fl + AppletStub.html Page for AppletStub interface +.fl + AudioClip.html Page for AudioClip interface +.fl + * package\-summary.html Lists classes with first sentence summaries for this package +.fl + * package\-frame.html Lists classes in this package, used in lower left\-hand frame +.fl + * package\-tree.html Lists class hierarchy for this package +.fl + package\-use Lists where this package is used +.fl + \f3doc\-files\fP Directory holding image and example files +.fl + \f3class\-use\fP Directory holding pages API is used +.fl + Applet.html Page for uses of Applet class +.fl + AppletContext.html Page for uses of AppletContext interface +.fl + AppletStub.html Page for uses of AppletStub interface +.fl + AudioClip.html Page for uses of AudioClip interface +.fl + \f3src\-html\fP Source code directory +.fl + \f3java\fP Package directory +.fl + \f3applet\fP Subpackage directory +.fl + Applet.html Page for Applet source code +.fl + AppletContext.html Page for AppletContext source code +.fl + AppletStub.html Page for AppletStub source code +.fl + AudioClip.html Page for AudioClip source code +.fl +.fi +.SS +Generated API Declarations +.LP +The Javadoc tool generates a declaration at the start of each class, interface, field, constructor, and method description for that API item. For example, the declaration for the \f2Boolean\fP class is: +.LP +\f2public final class Boolean\fP +.br +\f2extends Object\fP +.br +\f2implements Serializable\fP +.LP +and the declaration for the \f2Boolean.valueOf\fPmethod is: +.LP +\f2public static Boolean valueOf(String s)\fP +.LP +The Javadoc tool can include the modifiers \f2public\fP, \f2protected\fP, \f2private\fP, \f2abstract\fP, \f2final\fP, \f2static\fP, \f2transient\fP, and \f2volatile\fP, but not \f2synchronized\fP or \f2native\fP. These last two modifiers are considered implementation detail and not part of the API specification. +.LP +Rather than relying on the keyword \f2synchronized\fP, APIs should document their concurrency semantics in the comment's main description, as in "a single \f2Enumeration\fP cannot be used by multiple threads concurrently". The document should not describe how to achieve these semantics. As another example, while \f2Hashtable\fP should be thread\-safe, there's no reason to specify that we achieve this by synchronizing all of its exported methods. We should reserve the right to synchronize internally at the bucket level, thus offering higher concurrency. +.SH "DOCUMENTATION COMMENTS" +.LP +The original "Documentation Comment Specification" can be found under related documentation. +.SS +Commenting the Source Code +.LP +You can include \f2documentation comments\fP ("doc comments") in the source code, ahead of declarations for any class, interface, method, constructor, or field. You can also create doc comments for each package and another one for the overview, though their syntax is slightly different. Doc comments are also known informally as "Javadoc comments" (but this term violates its trademark usage). A doc comment consists of the characters between the characters \f2/**\fP that begin the comment and the characters \f2*/\fP that end it. Leading asterisks are allowed on each line and are described further below. The text in a comment can continue onto multiple lines. +.nf +\f3 +.fl +/** +.fl + * This is the typical format of a simple documentation comment +.fl + * that spans two lines. +.fl + */ +.fl +\fP +.fi +.LP +To save space you can put a comment on one line: +.nf +\f3 +.fl +/** This comment takes up only one line. */ +.fl +\fP +.fi +.LP +\f3Placement of comments\fP \- Documentation comments are recognized only when placed immediately before class, interface, constructor, method, or field declarations \-\- see the class example, method example, and field example. Documentation comments placed in the body of a method are ignored. Only one documentation comment per declaration statement is recognized by the Javadoc tool. +.LP +A common mistake is to put an \f2import\fP statement between the class comment and the class declaration. Avoid this, as the Javadoc tool will ignore the class comment. +.nf +\f3 +.fl + /** +.fl + * This is the class comment for the class Whatever. +.fl + */ +.fl + +.fl + import com.sun; // MISTAKE \- Important not to put import statement here +.fl + +.fl + public class Whatever { +.fl + } +.fl +\fP +.fi +.LP +\f3A doc comment is composed of a \fP\f4main description\fP\f3 followed by a \fP\f4tag section\fP \- The \f2main description\fP begins after the starting delimiter \f2/**\fP and continues until the tag section. The \f2tag section\fP starts with the first block tag, which is defined by the first \f2@\fP character that begins a line (ignoring leading asterisks, white space, and leading separator \f2/**\fP). It is possible to have a comment with only a tag section and no main description. The main description cannot continue after the tag section begins. The argument to a tag can span multiple lines. There can be any number of tags \-\- some types of tags can be repeated while others cannot. For example, this \f2@see\fP starts the tag section: +.nf +\f3 +.fl +/** +.fl + * This sentence would hold the main description for this doc comment. +.fl + * @see java.lang.Object +.fl + */ +.fl +\fP +.fi +.LP +\f3Block tags and in\-line tags\fP \- A \f2tag\fP is a special keyword within a doc comment that the Javadoc tool can process. There are two kinds of tags: block tags, which appear as \f2@tag\fP (also known as "standalone tags"), and in\-line tags, which appear within curly braces, as \f2{@tag}\fP. To be interpreted, a block tag must appear at the beginning of a line, ignoring leading asterisks, white space, and separator (\f2/**\fP). This means you can use the \f2@\fP character elsewhere in the text and it will not be interpreted as the start of a tag. If you want to start a line with the \f2@\fP character and not have it be interpreted, use the HTML entity \f2@\fP. Each block tag has associated text, which includes any text following the tag up to, but not including, either the next tag, or the end of the doc comment. This associated text can span multiple lines. An in\-line tag is allowed and interpreted anywhere that text is allowed. The following example contains the block tag \f2@deprecated\fP and in\-line tag \f2{@link}\fP. +.nf +\f3 +.fl +/** +.fl + * @deprecated As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)} +.fl + */ +.fl +\fP +.fi +.LP +\f3Comments are written in HTML\fP \- The text must be written in HTML, in that they should use HTML entities and can use HTML tags. You can use whichever version of HTML your browser supports; we have written the standard doclet to generate HTML 3.2\-compliant code elsewhere (outside of the documentation comments) with the inclusion of cascading style sheets and frames. (We preface each generated file with "HTML 4.0" because of the frame sets.) +.LP +For example, entities for the less\-than (\f2<\fP) and greater\-than (\f2>\fP) symbols should be written \f2<\fP and \f2>\fP. Likewise, the ampersand (\f2&\fP) should be written \f2&\fP. The bold HTML tag \f2<b>\fP is shown in the following example. +.LP +Here is a doc comment: +.nf +\f3 +.fl +/** +.fl + * This is a <b>doc</b> comment. +.fl + * @see java.lang.Object +.fl + */ +.fl +\fP +.fi +.LP +\f3Leading asterisks\fP \- When javadoc parses a doc comment, leading asterisk (\f2*\fP) characters on each line are discarded; blanks and tabs preceding the initial asterisk (\f2*\fP) characters are also discarded. Starting with 1.4, if you omit the leading asterisk on a line, the leading white space is no longer removed. This enables you to paste code examples directly into a doc comment inside a \f2<PRE>\fP tag, and its indentation will be honored. Spaces are generally interpreted by browsers more uniformly than tabs. Indentation is relative to the left margin (rather than the separator \f2/**\fP or \f2<PRE>\fP tag). +.LP +\f3First sentence\fP \- The first sentence of each doc comment should be a summary sentence, containing a concise but complete description of the declared entity. This sentence ends at the first period that is followed by a blank, tab, or line terminator, or at the first block tag. The Javadoc tool copies this first sentence to the member summary at the top of the HTML page. +.LP +\f3Declaration with multiple fields\fP \- Java allows declaring multiple fields in a single statement, but this statement can have only one documentation comment, which is copied for all fields. Therefore if you want individual documentation comments for each field, you must declare each field in a separate statement. For example, the following documentation comment doesn't make sense written as a single declaration and would be better handled as two declarations: +.nf +\f3 +.fl +/** +.fl + * The horizontal and vertical distances of point (x,y) +.fl + */ +.fl +public int x, y; // Avoid this +.fl +\fP +.fi +.LP +The Javadoc tool generates the following documentation from the above code: +.nf +\f3 +.fl +public int \fP\f3x\fP +.fl +.fi +.RS 3 +The horizontal and vertical distances of point (x,y) +.RE +.nf +\f3 +.fl +public int \fP\f3y\fP +.fl +.fi +.RS 3 +The horizontal and vertical distances of point (x,y) +.RE +.LP +\f3Use header tags carefully\fP \- When writing documentation comments for members, it's best not to use HTML heading tags such as <H1> and <H2>, because the Javadoc tool creates an entire structured document and these structural tags might interfere with the formatting of the generated document. However, it is fine to use these headings in class and package comments to provide your own structure. +.SS +Automatic Copying of Method Comments +.LP +The Javadoc tool has the ability to copy or "inherit" method comments in classes and interfaces under the following two circumstances. Constructors, fields and nested classes do not inherit doc comments. +.RS 3 +.TP 2 +o +\f3Automatically inherit comment to fill in missing text\fP \- When a main description, or \f2@return\fP, \f2@param\fP or \f2@throws\fP tag is missing from a method comment, the Javadoc tool copies the corresponding main description or tag comment from the method it overrides or implements (if any), according to the algorithm below. +.LP +More specifically, when a \f2@param\fP tag for a particular parameter is missing, then the comment for that parameter is copied from the method further up the inheritance hierarchy. When a \f2@throws\fP tag for a particular exception is missing, the \f2@throws\fP tag is copied \f2only if that exception is declared\fP. +.LP +This behavior contrasts with version 1.3 and earlier, where the presence of any main description or tag would prevent all comments from being inherited. +.TP 2 +o +\f3Explicitly inherit comment with {@inheritDoc} tag\fP \- Insert the inline tag \f2{@inheritDoc}\fP in a method main description or \f2@return\fP, \f2@param\fP or \f2@throws\fP tag comment \-\- the corresponding inherited main description or tag comment is copied into that spot. +.RE +.LP +The source file for the inherited method need only be on the path specified by \-sourcepath for the doc comment to actually be available to copy. Neither the class nor its package needs to be passed in on the command line. This contrasts with 1.3.x and earlier releases, where the class had to be a documented class +.LP +\f3Inherit from classes and interfaces\fP \- Inheriting of comments occurs in all three possible cases of inheritance from classes and interfaces: +.RS 3 +.TP 2 +o +When a method in a class overrides a method in a superclass +.TP 2 +o +When a method in an interface overrides a method in a superinterface +.TP 2 +o +When a method in a class implements a method in an interface +.RE +.LP +In the first two cases, for method overrides, the Javadoc tool generates a subheading "Overrides" in the documentation for the overriding method, with a link to the method it is overriding, whether or not the comment is inherited. +.LP +In the third case, when a method in a given class implements a method in an interface, the Javadoc tool generates a subheading "Specified by" in the documentation for the overriding method, with a link to the method it is implementing. This happens whether or not the comment is inherited. +.LP +\f3Algorithm for Inheriting Method Comments\fP \- If a method does not have a doc comment, or has an {@inheritDoc} tag, the Javadoc tool searches for an applicable comment using the following algorithm, which is designed to find the most specific applicable doc comment, giving preference to interfaces over superclasses: +.RS 3 +.TP 3 +1. +Look in each directly implemented (or extended) interface in the order they appear following the word implements (or extends) in the method declaration. Use the first doc comment found for this method. +.TP 3 +2. +If step 1 failed to find a doc comment, recursively apply this entire algorithm to each directly implemented (or extended) interface, in the same order they were examined in step 1. +.TP 3 +3. +If step 2 failed to find a doc comment and this is a class other than Object (not an interface): +.RS 3 +.TP 3 +a. +If the superclass has a doc comment for this method, use it. +.TP 3 +b. +If step 3a failed to find a doc comment, recursively apply this entire algorithm to the superclass. +.RE +.RE +.SH "JAVADOC TAGS" +.LP +The Javadoc tool parses special tags when they are embedded within a Java doc comment. These doc tags enable you to autogenerate a complete, well\-formatted API from your source code. The tags start with an "at" sign (\f2@\fP) and are case\-sensitive \-\- they must be typed with the uppercase and lowercase letters as shown. A tag must start at the beginning of a line (after any leading spaces and an optional asterisk) or it is treated as normal text. By convention, tags with the same name are grouped together. For example, put all \f2@see\fP tags together. +.LP +Tags come in two types: +.RS 3 +.TP 2 +o +\f3Block tags\fP \- Can be placed only in the tag section that follows the main description. Block tags are of the form: \f2@tag\fP. +.TP 2 +o +\f3Inline tags\fP \- Can be placed anywhere in the main description or in the comments for block tags. Inline tags are denoted by curly braces: \f2{@tag}\fP. +.RE +.LP +The current tags are: +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 80 0 +.nr 38 \w\f3Tag\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@author\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@code}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@docRoot}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@deprecated\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@exception\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@inheritDoc}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@link}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@linkplain}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@literal}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@param\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@return\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@see\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@serial\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@serialData\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@serialField\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@since\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@throws\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2{@value}\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f2@version\fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Introduced in JDK/SDK\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.5 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.3 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.4 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.4 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.5 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.1 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.2 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.4 +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \w1.0 +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 836 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Tag\fP\h'|\n(41u'\f3Introduced in JDK/SDK\fP +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@author\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@code}\fP\h'|\n(41u'1.5 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@docRoot}\fP\h'|\n(41u'1.3 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@deprecated\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@exception\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@inheritDoc}\fP\h'|\n(41u'1.4 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@link}\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@linkplain}\fP\h'|\n(41u'1.4 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@literal}\fP\h'|\n(41u'1.5 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@param\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@return\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@see\fP\h'|\n(41u'1.0 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@serial\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@serialData\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@serialField\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@since\fP\h'|\n(41u'1.1 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@throws\fP\h'|\n(41u'1.2 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2{@value}\fP\h'|\n(41u'1.4 +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f2@version\fP\h'|\n(41u'1.0 +.fc +.nr T. 1 +.T# 1 +.35 +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-42 +.LP +For custom tags, see the \-tag option. +.RS 3 +.TP 3 +@author\ name\-text +Adds an "Author" entry with the specified \f2name\-text\fP to the generated docs when the \-author option is used. A doc comment may contain multiple \f2@author\fP tags. You can specify one name per \f2@author\fP tag or multiple names per tag. In the former case, the Javadoc tool inserts a comma (\f2,\fP) and space between names. In the latter case, the entire text is simply copied to the generated document without being parsed. Therefore, you can use multiple names per line if you want a localized name separator other than comma. +.RE +.LP +For more details, see Where Tags Can Be Used and +.na +\f2writing @author tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@author. +.LP +.RS 3 +.TP 3 +@deprecated\ deprecated\-text Note: You can deprecate a program element using the @Deprecated annotation. +.RE +.LP +Adds a comment indicating that this API should no longer be used (even though it may continue to work). The Javadoc tool moves the \f2deprecated\-text\fP ahead of the main description, placing it in italics and preceding it with a bold warning: "Deprecated". This tag is valid in all doc comments: overview, package, class, interface, constructor, method and field. +.LP +The first sentence of \f2deprecated\-text\fP should at least tell the user when the API was deprecated and what to use as a replacement. The Javadoc tool copies just the first sentence to the summary section and index. Subsequent sentences can also explain why it has been deprecated. You should include a \f2{@link}\fP tag (for Javadoc 1.2 or later) that points to the replacement API: +.LP +For more details, see +.na +\f2writing @deprecated tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@deprecated. +.RS 3 +.TP 2 +o +For Javadoc 1.2 and later, use a \f2{@link}\fP tag. This creates the link in\-line, where you want it. For example: +.nf +\f3 +.fl +/** +.fl + * @deprecated As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)} +.fl + */ +.fl + +.fl +\fP +.fi +.TP 2 +o +For Javadoc 1.1, the standard format is to create a \f2@see\fP tag (which cannot be in\-line) for each \f2@deprecated\fP tag. +.RE +.LP +For more about deprecation, see +.na +\f2The @deprecated tag\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/deprecation/index.html. +.LP +.RS 3 +.TP 3 +{@code\ text} +Equivalent to \f2<code>{@literal}</code>\fP. +.LP +Displays \f2text\fP in \f2code\fP font without interpreting the text as HTML markup or nested javadoc tags. This enables you to use regular angle brackets (\f2<\fP and \f2>\fP) instead of the HTML entities (\f2<\fP and \f2>\fP) in doc comments, such as in parameter types (\f2<Object>\fP), inequalities (\f23 < 4\fP), or arrows (\f2<\-\fP). For example, the doc comment text: +.nf +\f3 +.fl + \fP\f4{@code A<B>C}\fP\f3 +.fl + +.fl +\fP +.fi +.LP +displays in the generated HTML page unchanged, as: +.nf +\f3 +.fl + \fP\f4A<B>C\fP\f3 +.fl + +.fl +\fP +.fi +.LP +The noteworthy point is that the \f2<B>\fP is not interpreted as bold and is in code font. +.LP +If you want the same functionality without the code font, use \f2{@literal}\fP. +.LP +.TP 3 +{@docRoot} +Represents the relative path to the generated document's (destination) root directory from any generated page. It is useful when you want to include a file, such as a copyright page or company logo, that you want to reference from all generated pages. Linking to the copyright page from the bottom of each page is common. +.LP +This \f2{@docRoot}\fP tag can be used both on the command line and in a doc comment: This tag is valid in all doc comments: overview, package, class, interface, constructor, method and field, including the text portion of any tag (such as @return, @param and @deprecated). +.RS 3 +.TP 3 +1. +On the command line, where the header/footer/bottom are defined: +.nf +\f3 +.fl + javadoc \-bottom '<a href="{@docRoot}/copyright.html">Copyright</a>' +.fl + +.fl +\fP +.fi +.LP +NOTE \- When using \f2{@docRoot}\fP this way in a make file, some makefile programs require special escaping for the brace {} characters. For example, the Inprise MAKE version 5.2 running on Windows requires double braces: \f2{{@docRoot}}\fP. It also requires double (rather than single) quotes to enclose arguments to options such as \f2\-bottom\fP (with the quotes around the \f2href\fP argument omitted). +.TP 3 +2. +In a doc comment: +.nf +\f3 +.fl + /** +.fl + * See the <a href="{@docRoot}/copyright.html">Copyright</a>. +.fl + */ +.fl + +.fl +\fP +.fi +.RE +.LP +The reason this tag is needed is because the generated docs are in hierarchical directories, as deep as the number of subpackages. This expression: +.nf +\f3 +.fl + <a href="{@docRoot}/copyright.html"> +.fl + +.fl +\fP +.fi +.LP +would resolve to: +.nf +\f3 +.fl + <a href="../../copyright.html"> for java/lang/Object.java +.fl + +.fl +\fP +.fi +.LP +and +.nf +\f3 +.fl + <a href="../../../copyright.html"> for java/lang/ref/Reference.java +.fl + +.fl +\fP +.fi +.LP +.TP 3 +@exception\ class\-name\ description +The \f2@exception\fP tag is a synonym for \f2@throws\fP. +.LP +.TP 3 +{@inheritDoc}\ +Inherits (copies) documentation from the "nearest" inheritable class or implementable interface into the current doc comment at this tag's location. This allows you to write more general comments higher up the inheritance tree, and to write around the copied text. +.LP +This tag is valid only in these places in a doc comment: +.RS 3 +.TP 2 +o +In the main description block of a method. In this case, the main description is copied from a class or interface up the hierarchy. +.TP 2 +o +In the text arguments of the @return, @param and @throws tags of a method. In this case, the tag text is copied from the corresponding tag up the hierarchy. +.RE +.LP +See Automatic Copying of Method Comments for a more precise description of how comments are found in the inheritance hierarchy. Note that if this tag is missing, the comment is or is not automatically inherited according to rules described in that section. +.LP +.TP 3 +{@link\ package.class#member\ label} +Inserts an in\-line link with visible text \f2label\fP that points to the documentation for the specified package, class or member name of a referenced class. This tag is valid in all doc comments: overview, package, class, interface, constructor, method and field, including the text portion of any tag (such as @return, @param and @deprecated). +.LP +This tag is very simliar to \f2@see\fP \-\- both require the same references and accept exactly the same syntax for \f2package.class\fP\f2#\fP\f2member\fP and \f2label\fP. The main difference is that \f2{@link}\fP generates an in\-line link rather than placing the link in the "See Also" section. Also, the \f2{@link}\fP tag begins and ends with curly braces to separate it from the rest of the in\-line text. If you need to use "}" inside the label, use the HTML entity notation } +.LP +There is no limit to the number of \f2{@link}\fP tags allowed in a sentence. You can use this tag in the main description part of any documentation comment or in the text portion of any tag (such as @deprecated, @return or @param). +.LP +For example, here is a comment that refers to the \f2getComponentAt(int, int)\fP method: +.nf +\f3 +.fl +Use the {@link #getComponentAt(int, int) getComponentAt} method. +.fl + +.fl +\fP +.fi +.LP +From this, the standard doclet would generate the following HTML (assuming it refers to another class in the same package): +.nf +\f3 +.fl +Use the <a href="Component.html#getComponentAt(int, int)">getComponentAt</a> method. +.fl + +.fl +\fP +.fi +.LP +Which appears on the web page as: +.nf +\f3 +.fl +Use the getComponentAt method. +.fl + +.fl +\fP +.fi +.LP +You can extend \f2{@link}\fP to link to classes not being documented by using the \f2\-link\fP option. +.LP +For more details, see +.na +\f2writing {@link} tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#{@link}. +.LP +.TP 3 +{@linkplain\ package.class#member\ label} +Identical to \f2{@link}\fP, except the link's label is displayed in plain text than code font. Useful when the label is plain text. Example: +.nf +\f3 +.fl + Refer to {@linkplain add() the overridden method}. +.fl + +.fl +\fP +.fi +.LP +This would display as: +.LP +Refer to the overridden method. +.LP +.TP 3 +{@literal\ text} +Displays \f2text\fP without interpreting the text as HTML markup or nested javadoc tags. This enables you to use regular angle brackets (\f2<\fP and \f2>\fP) instead of the HTML entities (\f2<\fP and \f2>\fP) in doc comments, such as in parameter types (\f2<Object>\fP), inequalities (\f23 < 4\fP), or arrows (\f2<\-\fP). For example, the doc comment text: +.nf +\f3 +.fl + \fP\f4{@literal A<B>C}\fP\f3 +.fl + +.fl +\fP +.fi +.LP +displays unchanged in the generated HTML page in your browser, as: +.LP +\f2\ \ \ \ \ \fPA<B>C +.LP +The noteworthy point is that the \f2<B>\fP is not interpreted as bold (and it is not in code font). +.LP +If you want the same functionality but with the text in code font, use \f2{@code}\fP. +.LP +.TP 3 +@param\ parameter\-name description +Adds a parameter with the specified \f2parameter\-name\fP followed by the specified \f2description\fP to the "Parameters" section. When writing the doc comment, you may continue the \f2description\fP onto multiple lines. This tag is valid only in a doc comment for a method, constructor or class. +.LP +The \f2parameter\-name\fP can be the name of a parameter in a method or constructor, or the name of a type parameter of a class, method or constructor. Use angle brackets around this parameter name to specify the use of a type parameter. +.LP +Example of a type parameter of a class: +.nf +\f3 +.fl + /** +.fl + * @param <E> Type of element stored in a list +.fl + */ +.fl + public interface List<E> extends Collection<E> { +.fl + } +.fl + +.fl +\fP +.fi +.LP +Example of a type parameter of a method: +.nf +\f3 +.fl + /** +.fl + * @param string the string to be converted +.fl + * @param type the type to convert the string to +.fl + * @param <T> the type of the element +.fl + * @param <V> the value of the element +.fl + */ +.fl + <T, V extends T> V convert(String string, Class<T> type) { +.fl + } +.fl + +.fl +\fP +.fi +.LP +For more details, see +.na +\f2writing @param tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@param. +.LP +.TP 3 +@return\ description +Adds a "Returns" section with the \f2description\fP text. This text should describe the return type and permissible range of values. This tag is valid only in a doc comment for a method. +.LP +For more details, see +.na +\f2writing @return tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@return. +.LP +.TP 3 +@see\ reference +Adds a "See Also" heading with a link or text entry that points to \f2reference\fP. A doc comment may contain any number of \f2@see\fP tags, which are all grouped under the same heading. The \f2@see\fP tag has three variations; the third form below is the most common. This tag is valid in any doc comment: overview, package, class, interface, constructor, method or field. For inserting an in\-line link within a sentence to a package, class or member, see \f2{@link}\fP. +.RS 3 +.TP 3 +@see "string" +Adds a text entry for \f2string\fP. No link is generated. The \f2string\fP is a book or other reference to information not available by URL. The Javadoc tool distinguishes this from the previous cases by looking for a double\-quote (\f2"\fP) as the first character. For example: +.nf +\f3 +.fl + @see "The Java Programming Language" +.fl + +.fl +\fP +.fi +.LP +This generates text such as: +.RE +.RE +.RS 3 +.RS 3 +.RS 3 +.RS 3 +.TP 3 +See Also: +"The Java Programming Language" +.RE +.RE +.TP 3 +@see <a href="URL#value">label</a> +Adds a link as defined by \f2URL\fP#\f2value\fP. The \f2URL\fP#\f2value\fP is a relative or absolute URL. The Javadoc tool distinguishes this from other cases by looking for a less\-than symbol (\f2<\fP) as the first character. For example: +.nf +\f3 +.fl + @see <a href="spec.html#section">Java Spec</a> +.fl +\fP +.fi +This generates a link such as: +.RS 3 +.TP 3 +See Also: +Java Spec +.RE +.TP 3 +@see\ package.class#member\ label +Adds a link, with visible text \f2label\fP, that points to the documentation for the specified name in the Java Language that is referenced. The \f2label\fP is optional; if omitted, the name appears instead as the visible text, suitably shortened \-\- see How a name is displayed. Use \-noqualifier to globally remove the package name from this visible text. Use the label when you want the visible text to be different from the auto\-generated visible text. +.LP +Only in version 1.2, just the name but not the label would automatically appear in <code> HTML tags, Starting with 1.2.2, the <code> is always included around the visible text, whether or not a label is used. +.LP +.RS 3 +.TP 2 +o +\f4package.class\fP\f4#\fP\f4member\fP is any valid program element name that is referenced \-\- a package, class, interface, constructor, method or field name \-\- except that the character ahead of the member name should be a hash character (\f2#\fP). The \f2class\fP represents any top\-level or nested class or interface. The \f2member\fP represents any constructor, method or field (not a nested class or interface). If this name is in the documented classes, the Javadoc tool will automatically create a link to it. To create links to external referenced classes, use the \f2\-link\fP option. Use either of the other two \f2@see\fP forms for referring to documentation of a name that does not belong to a referenced class. This argument is described at greater length below under Specifying a Name. +.TP 2 +o +\f4label\fP is optional text that is visible as the link's label. The \f2label\fP can contain whitespace. If \f2label\fP is omitted, then \f2package.class.member\fP will appear, suitably shortened relative to the current class and package \-\- see How a name is displayed. +.TP 2 +o +A space is the delimiter between \f2package.class\fP\f2#\fP\f2member\fP and \f2label\fP. A space inside parentheses does not indicate the start of a label, so spaces may be used between parameters in a method. +.RE +.LP +\f3Example\fP \- In this example, an \f2@see\fP tag (in the \f2Character\fP class) refers to the \f2equals\fP method in the \f2String\fP class. The tag includes both arguments: the name "\f2String#equals(Object)\fP" and the label "\f2equals\fP". +.nf +\f3 +.fl + /** +.fl + * @see String#equals(Object) equals +.fl + */ +.fl +\fP +.fi +The standard doclet produces HTML something like this: +.nf +\f3 +.fl +<dl> +.fl +<dt><b>See Also:</b> +.fl +<dd><a href="../../java/lang/String#equals(java.lang.Object)"><code>equals<code></a> +.fl +</dl> +.fl +\fP +.fi +Which looks something like this in a browser, where the label is the visible link text: +.RS 3 +.TP 3 +See Also: +equals +.RE +.LP +\f3Specifying a name\fP \- This \f2package.class\fP\f2#\fP\f2member\fP name can be either fully\-qualified, such as \f2java.lang.String#toUpperCase()\fP or not, such as \f2String#toUpperCase()\fP or \f2#toUpperCase()\fP. If less than fully\-qualified, the Javadoc tool uses the normal Java compiler search order to find it, further described below in Search order for @see. The name can contain whitespace within parentheses, such as between method arguments. +.LP +Of course the advantage of providing shorter, "partially\-qualified" names is that they are shorter to type and there is less clutter in the source code. The following table shows the different forms of the name, where \f2Class\fP can be a class or interface, \f2Type\fP can be a class, interface, array, or primitive, and \f2method\fP can be a method or constructor. +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 +.nr 34 \n(.lu +.eo +.am 80 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/2u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3Typical\ forms\ for\ \fP\f4@see\fP\f3\ \fP\f4package.class#member\fP +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/2u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3Referencing\ a\ member\ of\ the\ current\ class\fP +.br +\f2@see\fP\ \f2#\fP\f2field\fP +.br +\f2@see\fP\ \f2#\fP\f2method(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2#\fP\f2constructor(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/2u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3Referencing\ another\ class\ in\ the\ current\ or\ imported\ packages\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2field\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2method(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2constructor(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2Class\fP\f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2Class.NestedClass\fP +.br +\f2@see\fP\ \f2Class\fP +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/2u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3Referencing\ an\ element\ in\ another\ package\fP\ (fully qualified) +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2field\fP +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2method(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2constructor(Type,\ Type,...)\fP +.br +\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP +.br +\f2@see\fP\ \f2package.Class.NestedClass\fP +.br +\f2@see\fP\ \f2package.Class\fP +.br +\f2@see\fP\ \f2package\fP +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.80 +.rm 80 +.nr 38 \n(a- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(b- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(c- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(d- +.if \n(80<\n(38 .nr 80 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr TW \n(80 +.if t .if \n(TW>\n(.li .tm Table at line 1327 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-58 +.LP +The following notes apply to the above table: +.RS 3 +.TP 2 +o +The first set of forms (with no class or package) will cause the Javadoc tool to search only through the current class's hierarchy. It will find a member of the current class or interface, one of its superclasses or superinterfaces, or one of its enclosing classes or interfaces (search steps 1\-3). It will not search the rest of the current package or other packages (search steps 4\-5). +.TP 2 +o +If any method or constructor is entered as a name with no parentheses, such as \f2getValue\fP, and if there is no field with the same name, the Javadoc tool will correctly create a link to it, but will print a warning message reminding you to add the parentheses and arguments. If this method is overloaded, the Javadoc tool will link to the first method its search encounters, which is unspecified. +.TP 2 +o +Nested classes must be specified as \f2outer\fP\f2.\fP\f2inner\fP, not simply \f2inner\fP, for all forms. +.TP 2 +o +As stated, the hash character (\f2#\fP), rather than a dot (\f2.\fP) separates a member from its class. This enables the Javadoc tool to resolve ambiguities, since the dot also separates classes, nested classes, packages, and subpackages. However, the Javadoc tool is generally lenient and will properly parse a dot if you know there is no ambiguity, though it will print a warning. +.RE +.LP +\f3Search order for @see\fP \- the Javadoc tool will process a \f2@see\fP tag that appears in a source file (.java), package file (package.html or package\-info.java) or overview file (overview.html). In the latter two files, you must fully\-qualify the name you supply with \f2@see\fP. In a source file, you can specify a name that is fully\-qualified or partially\-qualified. +.LP +When the Javadoc tool encounters a \f2@see\fP tag in a \f2.java\fP file that is \f2not\fP fully qualified, it searches for the specified name in the same order as the Java compiler would (except the Javadoc tool will not detect certain namespace ambiguities, since it assumes the source code is free of these errors). This search order is formally defined in the \f2Java Language Specification\fP. The Javadoc tool searches for that name through all related and imported classes and packages. In particular, it searches in this order: +.RS 3 +.TP 3 +1. +the current class or interface +.TP 3 +2. +any enclosing classes and interfaces, searching closest first +.TP 3 +3. +any superclasses and superinterfaces, searching closest first +.TP 3 +4. +the current package +.TP 3 +5. +any imported packages, classes and interfaces, searching in the order of the import statement +.RE +.LP +The Javadoc tool continues to search recursively through steps 1\-3 for each class it encounters until it finds a match. That is, after it searches through the current class and its enclosing class E, it will search through E's superclasses before E's enclosing classes. In steps 4 and 5, the Javadoc tool does not search classes or interfaces within a package in any specified order (that order depends on the particular compiler). In step 5, the Javadoc tool looks in java.lang, since that is automatically imported by all programs. +.LP +The Javadoc tool does not necessarily look in subclasses, nor will it look in other packages even if their documentation is being generated in the same run. For example, if the \f2@see\fP tag is in the \f2java.awt.event.KeyEvent\fP class and refers to a name in the \f2java.awt\fP package, javadoc does not look in that package unless that class imports it. +.LP +\f3How a name is displayed\fP \- If \f2label\fP is omitted, then \f2package.class.member\fP appears. In general, it is suitably shortened relative to the current class and package. By "shortened", we mean the Javadoc tool displays only the minimum name necessary. For example, if the \f2String.toUpperCase()\fP method contains references to a member of the same class and to a member of a different class, the class name is displayed only in the latter case, as shown in the following table. +.LP +Use \-noqualifier to globally remove the package names. +.br +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 82 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f3Example in \fP\f4String.toUpperCase()\fP +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f2@see\fP tag refers to member of the same class, same package +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 82 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(82 .ll \n(82u +.in 0 +\f2toLowerCase()\fP (omits the package and class names) +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f2@see\fP tag refers to member of a different class, same package +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f2@see Character#toLowerCase(char)\fP +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 82 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(82 .ll \n(82u +.in 0 +\f2Character.toLowerCase(char)\fP (omits the package name, includes the class name) +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f2@see\fP tag refers to member of a different class, different package +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f2@see java.io.File#exists()\fP +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 82 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(82 .ll \n(82u +.in 0 +\f2java.io.File.exists()\fP (includes the package and class names) +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3Type of Reference\fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 38 \n(b- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(d- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(g- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.nr 38 \w\f2@see String#toLowerCase()\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 82 0 +.nr 38 \w\f3Displays As\fP +.if \n(82<\n(38 .nr 82 \n(38 +.82 +.rm 82 +.nr 38 \n(c- +.if \n(82<\n(38 .nr 82 \n(38 +.nr 38 \n(f- +.if \n(82<\n(38 .nr 82 \n(38 +.nr 38 \n(i- +.if \n(82<\n(38 .nr 82 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr 42 \n(81+(3*\n(38) +.nr 82 +\n(42 +.nr TW \n(82 +.if t .if \n(TW>\n(.li .tm Table at line 1403 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Type of Reference\fP\h'|\n(41u'\h'|\n(42u'\f3Displays As\fP +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.ne \n(c|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u'\f2@see String#toLowerCase()\fP\h'|\n(42u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(42u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.ne \n(e|u+\n(.Vu +.ne \n(f|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(42u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.ne \n(h|u+\n(.Vu +.ne \n(i|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(42u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-28 +.LP +\f3Examples of @see\fP +.br +The comment to the right shows how the name would be displayed if the \f2@see\fP tag is in a class in another package, such as \f2java.applet.Applet\fP. +.nf +\f3 +.fl + See also: +.fl +@see java.lang.String // String \fP\f3 +.fl +@see java.lang.String The String class // The String class \fP\f3 +.fl +@see String // String \fP\f3 +.fl +@see String#equals(Object) // String.equals(Object) \fP\f3 +.fl +@see String#equals // String.equals(java.lang.Object) \fP\f3 +.fl +@see java.lang.Object#wait(long) // java.lang.Object.wait(long) \fP\f3 +.fl +@see Character#MAX_RADIX // Character.MAX_RADIX \fP\f3 +.fl +@see <a href="spec.html">Java Spec</a> // Java Spec \fP\f3 +.fl +@see "The Java Programming Language" // "The Java Programming Language" \fP\f3 +.fl +\fP +.fi +You can extend \f2@see\fP to link to classes not being documented by using the \f2\-link\fP option. +.LP +For more details, see +.na +\f2writing @see tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@see. +.RE +.RE +.LP +.RS 3 +.TP 3 +@serial\ field\-description | include | exclude +Used in the doc comment for a default serializable field. +.LP +An optional \f2field\-description\fP should explain the meaning of the field and list the acceptable values. If needed, the description can span multiple lines. The standard doclet adds this information to the serialized form page. +.LP +If a serializable field was added to a class some time after the class was made serializable, a statement should be added to its main description to identify at which version it was added. +.LP +The \f2include\fP and \f2exclude\fP arguments identify whether a class or package should be included or excluded from the serialized form page. They work as follows: +.RS 3 +.TP 2 +o +A public or protected class that implements \f2Serializable\fP is \f2included\fP unless that class (or its package) is marked \f2@serial exclude\fP. +.TP 2 +o +A private or package\-private class that implements \f2Serializable\fP is \f2excluded\fP unless that class (or its package) is marked \f2@serial include\fP. +.RE +.LP +Examples: The \f2javax.swing\fP package is marked \f2@serial exclude\fP (in \f2package.html\fP or \f2package\-info.java\fP). The public class \f2java.security.BasicPermission\fP is marked \f2@serial exclude\fP. The package\-private class \f2java.util.PropertyPermissionCollection\fP is marked \f2@serial include\fP. +.LP +The tag @serial at a class level overrides @serial at a package level. +.LP +For more information about how to use these tags, along with an example, see " +.na +\f2Documenting Serializable Fields and Data for a Class\fP @ +.fi +http://docs.oracle.com/javase/7/docs/platform/serialization/spec/serial\-arch.html," Section 1.6 of the \f2Java Object Serialization Specification\fP. Also see the +.na +\f2Serialization FAQ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/tech/serializationfaq\-jsp\-136699.html#javadoc_warn_missing, which covers common questions, such as "Why do I see javadoc warnings stating that I am missing @serial tags for private fields if I am not running javadoc with the \-private switch?". Also see +.na +\f2Oracle's criteria\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/serialized\-criteria\-137781.html for including classes in the serialized form specification. +.LP +.TP 3 +@serialField\ field\-name\ field\-type\ field\-description +Documents an \f2ObjectStreamField\fP component of a \f2Serializable\fP class's \f2serialPersistentFields\fP member. One \f2@serialField\fP tag should be used for each \f2ObjectStreamField\fP component. +.LP +.TP 3 +@serialData\ data\-description +The \f2data\-description\fP documents the types and order of data in the serialized form. Specifically, this data includes the optional data written by the \f2writeObject\fP method and all data (including base classes) written by the \f2Externalizable.writeExternal\fP method. +.LP +The \f2@serialData\fP tag can be used in the doc comment for the \f2writeObject\fP, \f2readObject\fP, \f2writeExternal\fP, \f2readExternal\fP, \f2writeReplace\fP, and \f2readResolve\fP methods. +.LP +.TP 3 +@since\ since\-text +Adds a "Since" heading with the specified \f2since\-text\fP to the generated documentation. The text has no special internal structure. This tag is valid in any doc comment: overview, package, class, interface, constructor, method or field. This tag means that this change or feature has existed since the software release specified by the \f2since\-text\fP. For example: +.nf +\f3 +.fl + @since 1.5 +.fl + +.fl +\fP +.fi +.LP +For source code in the Java platform, this tag indicates the version of the Java platform API specification (not necessarily when it was added to the reference implementation). Multiple @since tags are allowed and are treated like multiple @author tags. You could use multiple tags if the prgram element is used by more than one API. +.LP +.TP 3 +@throws\ class\-name\ description +The \f2@throws\fP and \f2@exception\fP tags are synonyms. Adds a "Throws" subheading to the generated documentation, with the \f2class\-name\fP and \f2description\fP text. The \f2class\-name\fP is the name of the exception that may be thrown by the method. This tag is valid only in the doc comment for a method or constructor. If this class is not fully\-specified, the Javadoc tool uses the search order to look up this class. Multiple \f2@throws\fP tags can be used in a given doc comment for the same or different exceptions. +.LP +To ensure that all checked exceptions are documented, if a \f2@throws\fP tag does not exist for an exception in the throws clause, the Javadoc tool automatically adds that exception to the HTML output (with no description) as if it were documented with @throws tag. +.LP +The \f2@throws\fP documentation is copied from an overridden method to a subclass only when the exception is explicitly declared in the overridden method. The same is true for copying from an interface method to an implementing method. You can use {@inheritDoc} to force @throws to inherit documentation. +.LP +For more details, see +.na +\f2writing @throws tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@exception. +.LP +.TP 3 +{@value\ package.class#field} +When \f2{@value}\fP is used (without any argument) in the doc comment of a static field, it displays the value of that constant: +.nf +\f3 +.fl + /** +.fl + * The value of this constant is {@value}. +.fl + */ +.fl + public static final String SCRIPT_START = "<script>" +.fl + +.fl +\fP +.fi +.LP +When used with argument \f2package.class#field\fP in any doc comment, it displays the value of the specified constant: +.nf +\f3 +.fl + /** +.fl + * Evaluates the script starting with {@value #SCRIPT_START}. +.fl + */ +.fl + public String evalScript(String script) { +.fl + } +.fl + +.fl +\fP +.fi +.LP +The argument \f2package.class#field\fP takes a form identical to that of the @see argument, except that the member must be a static field. +.LP +These values of these constants are also displayed on the +.na +\f2Constant Field Values\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/constant\-values.html page. +.LP +.TP 3 +@version\ version\-text +Adds a "Version" subheading with the specified \f2version\-text\fP to the generated docs when the \-version option is used. This tag is intended to hold the current version number of the software that this code is part of (as opposed to @since, which holds the version number where this code was introduced). The \f2version\-text\fP has no special internal structure. To see where the version tag can be used, see Where Tags Can Be Used. +.LP +A doc comment may contain multiple \f2@version\fP tags. If it makes sense, you can specify one version number per \f2@version\fP tag or multiple version numbers per tag. In the former case, the Javadoc tool inserts a comma (\f2,\fP) and space between names. In the latter case, the entire text is simply copied to the generated document without being parsed. Therefore, you can use multiple names per line if you want a localized name separator other than comma. +.LP +For more details, see +.na +\f2writing @version tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#@version. +.RE +.SS +Where Tags Can Be Used +.LP +The following sections describe where the tags can be used. Note that these tags can be used in all doc comments: \f2@see\fP, \f2@since\fP, \f2@deprecated\fP, \f2{@link}\fP, \f2{@linkplain}\fP, and \f2{@docroot}\fP. +.SS +Overview Documentation Tags +.LP +Overview tags are tags that can appear in the documentation comment for the overview page (which resides in the source file typically named \f2overview.html\fP). Like in any other documentation comments, these tags must appear after the main description. +.LP +\f3NOTE\fP \- The \f2{@link}\fP tag has a bug in overview documents in version 1.2 \-\- the text appears properly but has no link. The \f2{@docRoot}\fP tag does not currently work in overview documents. +.LP +\f3Overview Tags\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@author\fP +.TP 2 +o +\f2@version\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@docRoot}\fP +.RE +.SS +Package Documentation Tags +.LP +Package tags are tags that can appear in the documentation comment for a package (which resides in the source file named \f2package.html\fP or \f2package\-info.java\fP). The \f2@serial\fP tag can only be used here with the \f2include\fP or \f2exclude\fP argument. +.LP +\f3Package Tags\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@serial\fP +.TP 2 +o +\f2@author\fP +.TP 2 +o +\f2@version\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@docRoot}\fP +.RE +.SS +Class and Interface Documentation Tags +.LP +The following are tags that can appear in the documentation comment for a class or interface. The \f2@serial\fP tag can only be used here with the \f2include\fP or \f2exclude\fP argument. +.LP +\f3Class/Interface Tags\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@deprecated\fP +.TP 2 +o +\f2@serial\fP +.TP 2 +o +\f2@author\fP +.TP 2 +o +\f2@version\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@docRoot}\fP +.RE +\f3An example of a class comment:\fP +.nf +\f3 +.fl +/** +.fl + * A class representing a window on the screen. +.fl + * For example: +.fl + * <pre> +.fl + * Window win = new Window(parent); +.fl + * win.show(); +.fl + * </pre> +.fl + * +.fl + * @author Sami Shaio +.fl + * @version 1.13, 06/08/06 +.fl + * @see java.awt.BaseWindow +.fl + * @see java.awt.Button +.fl + */ +.fl +class Window extends BaseWindow { +.fl + ... +.fl +} +.fl +\fP +.fi +.SS +Field Documentation Tags +.LP +The following are the tags that can appear in +.LP +\f3Field Tags\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@deprecated\fP +.TP 2 +o +\f2@serial\fP +.TP 2 +o +\f2@serialField\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@docRoot}\fP +.TP 2 +o +\f2{@value}\fP +.RE +\f3An example of a field comment:\fP +.nf +\f3 +.fl + /** +.fl + * The X\-coordinate of the component. +.fl + * +.fl + * @see #getLocation() +.fl + */ +.fl + int x = 1263732; +.fl +\fP +.fi +.SS +Constructor and Method Documentation Tags +.LP +The following are the tags that can appear in the documentation comment for a constructor or method, except for \f2@return\fP, which cannot appear in a constructor, and \f2{@inheritDoc}\fP, which has certain restrictions. The \f2@serialData\fP tag can only be used in the doc comment for certain serialization methods. +.LP +\f3Method/Constructor Tags\fP +.RS 3 +.TP 2 +o +\f2@see\fP +.TP 2 +o +\f2@since\fP +.TP 2 +o +\f2@deprecated\fP +.TP 2 +o +\f2@param\fP +.TP 2 +o +\f2@return\fP +.TP 2 +o +\f2@throws\fP and \f2@exception\fP +.TP 2 +o +\f2@serialData\fP +.TP 2 +o +\f2{@link}\fP +.TP 2 +o +\f2{@linkplain}\fP +.TP 2 +o +\f2{@inheritDoc}\fP +.TP 2 +o +\f2{@docRoot}\fP +.RE +\f3An example of a method doc comment:\fP +.nf +\f3 +.fl + /** +.fl + * Returns the character at the specified index. An index +.fl + * ranges from <code>0</code> to <code>length() \- 1</code>. +.fl + * +.fl + * @param index the index of the desired character. +.fl + * @return the desired character. +.fl + * @exception StringIndexOutOfRangeException +.fl + * if the index is not in the range <code>0</code> +.fl + * to <code>length()\-1</code>. +.fl + * @see java.lang.Character#charValue() +.fl + */ +.fl + public char charAt(int index) { +.fl + ... +.fl + } +.fl +\fP +.fi +.SH "OPTIONS" +.LP +The javadoc tool uses doclets to determine its output. The Javadoc tool uses the default standard doclet unless a custom doclet is specified with the \-doclet option. The Javadoc tool provides a set of command\-line options that can be used with any doclet \-\- these options are described below under the sub\-heading Javadoc Options. The standard doclet provides an additional set of command\-line options that are described below under the sub\-heading Options Provided by the Standard Doclet. All option names are case\-insensitive, though their arguments can be case\-sensitive. +.LP +The options are: +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 82 +.nr 34 \n(.lu +.eo +.am 80 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\-\f21.1\fP +.br +\-author +.br +\-\f2bootclasspath\fP +.br +\-bottom +.br +\-\f2breakiterator\fP +.br +\-charset +.br +\-\f2classpath\fP +.br +\-d +.br +\-docencoding +.br +\-docfilessubdirs +.br +\-\f2doclet\fP +.br +\-\f2docletpath\fP +.br +\-doctitle +.br +\-\f2encoding\fP +.br +\-\f2exclude\fP +.br +\-excludedocfilessubdir +.br +\-\f2extdirs\fP +.br +\-footer +.br +\-group +.br +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\-header +.br +\-\f2help\fP +.br +\-helpfile +.br +\-\f2J\fP +.br +\-keywords +.br +\-link +.br +\-linkoffline +.br +\-linksource +.br +\-\f2locale\fP +.br +\-nocomment +.br +\-nodeprecated +.br +\-nodeprecatedlist +.br +\-nohelp +.br +\-noindex +.br +\-nonavbar +.br +\-noqualifier +.br +\-nosince +.br +\-notimestamp +.br +\-notree +.br +\-\f2overview\fP +.br +\-\f2package\fP +.br +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 82 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/4u +.if \n(.l<\n(82 .ll \n(82u +.in 0 +\-\f2private\fP +.br +\-\f2protected\fP +.br +\-\f2public\fP +.br +\-\f2quiet\fP +.br +\-serialwarn +.br +\-\f2source\fP +.br +\-\f2sourcepath\fP +.br +\-sourcetab +.br +\-splitindex +.br +\-stylesheetfile +.br +\-\f2subpackages\fP +.br +\-tag +.br +\-taglet +.br +\-tagletpath +.br +\-top +.br +\-title +.br +\-use +.br +\-\f2verbose\fP +.br +\-version +.br +\-windowtitle +.br +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.80 +.rm 80 +.nr 38 \n(a- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.81 +.rm 81 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 82 0 +.82 +.rm 82 +.nr 38 \n(c- +.if \n(82<\n(38 .nr 82 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr 42 \n(81+(3*\n(38) +.nr 82 +\n(42 +.nr TW \n(82 +.if t .if \n(TW>\n(.li .tm Table at line 1978 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ne \n(a|u+\n(.Vu +.ne \n(b|u+\n(.Vu +.ne \n(c|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u \n(82u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(42u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-127 +.LP +Options shown in \f2italic\fP are the Javadoc core options, which are provided by the front end of the Javadoc tool and are available to all doclets. The standard doclet itself provides the non\-italic options. +.SS +Javadoc Options +.RS 3 +.TP 3 +\-overview \ path/filename +Specifies that javadoc should retrieve the text for the overview documentation from the "source" file specified by \f2path/filename\fP and place it on the Overview page (\f2overview\-summary.html\fP). The \f2path/filename\fP is relative to the current directory. +.br +.br +While you can use any name you want for \f2filename\fP and place it anywhere you want for \f2path\fP, a typical thing to do is to name it \f2overview.html\fP and place it in the source tree at the directory that contains the topmost package directories. In this location, no \f2path\fP is needed when documenting packages, since \f2\-sourcepath\fP will point to this file. For example, if the source tree for the \f2java.lang\fP package is \f2/src/classes/java/lang/\fP, then you could place the overview file at \f2/src/classes/overview.html\fP. See Real World Example. +.br +.br +For information about the file specified by \f2path/filename\fP, see overview comment file. +.br +.br +Note that the overview page is created only if you pass into javadoc two or more package names. For further explanation, see HTML Frames.) +.br +.br +The title on the overview page is set by \f2\-doctitle\fP. +.TP 3 +\-public +Shows only public classes and members. +.TP 3 +\-protected +Shows only protected and public classes and members. This is the default. +.TP 3 +\-package +Shows only package, protected, and public classes and members. +.TP 3 +\-private +Shows all classes and members. +.TP 3 +\-help +Displays the online help, which lists these javadoc and doclet command line options. +.TP 3 +\-doclet\ class +Specifies the class file that starts the doclet used in generating the documentation. Use the fully\-qualified name. This doclet defines the content and formats the output. If the \f4\-doclet\fP option is not used, javadoc uses the standard doclet for generating the default HTML format. This class must contain the \f2start(Root)\fP method. The path to this starting class is defined by the \f2\-docletpath\fP option. +.br +.br +See +.na +\f2Doclet Overview\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/doclet/overview.html for more information.. +.TP 3 +\-docletpath\ classpathlist +Specifies the path to the doclet starting class file (specified with the \f2\-doclet\fP option) and any jar files it depends on. If the starting class file is in a jar file, then this specifies the path to that jar file, as shown in the example below. You can specify an absolute path or a path relative to the current directory. If \f2classpathlist\fP contains multiple paths or jar files, they should be separated with a colon (:) on Solaris and a semi\-colon (;) on Windows. This option is not necessary if the doclet starting class is already in the search path. +.br +.br +See +.na +\f2Doclet Overview\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/doclet/overview.html for more information. +.TP 3 +\-1.1 +\f2This feature has been removed from Javadoc 1.4. There is no replacement for it. This option created documentation with the appearance and functionality of documentation generated by Javadoc 1.1 (it never supported nested classes). If you need this option, use Javadoc 1.2 or 1.3 instead.\fP +.TP 3 +\-source release +Specifies the version of source code accepted. The following values for \f2release\fP are allowed: +.RS 3 +.TP 2 +o +\f31.5\fP \- javadoc accepts code containing generics and other language features introduced in JDK 1.5. The compiler defaults to the 1.5 behavior if the \f3\-source\fP flag is not used. +.TP 2 +o +\f31.4\fP \- javadoc accepts code containing assertions, which were introduced in JDK 1.4. +.TP 2 +o +\f31.3\fP \- javadoc does \f2not\fP support assertions, generics, or other language features introduced after JDK 1.3. +.RE +Use the value of \f2release\fP corresponding to that used when compiling the code with javac. +.TP 3 +\-sourcepath\ sourcepathlist +Specifies the search paths for finding source files (\f2.java\fP) when passing package names or \f2\-subpackages\fP into the \f2javadoc\fP command. The \f2sourcepathlist\fP can contain multiple paths by separating them with a colon (\f2:\fP). The Javadoc tool will search in all subdirectories of the specified paths. Note that this option is not only used to locate the source files being documented, but also to find source files that are not being documented but whose comments are inherited by the source files being documented. +.br +.br +Note that you can use the \f2\-sourcepath\fP option only when passing package names into the javadoc command \-\- it will not locate \f2.java\fP files passed into the \f2javadoc\fP command. (To locate \f2.java\fP files, cd to that directory or include the path ahead of each file, as shown at Documenting One or More Classes.) If \f2\-sourcepath\fP is omitted, javadoc uses the class path to find the source files (see \-classpath). Therefore, the default \-sourcepath is the value of class path. If \-classpath is omitted and you are passing package names into javadoc, it looks in the current directory (and subdirectories) for the source files. +.br +.br +Set \f2sourcepathlist\fP to the root directory of the source tree for the package you are documenting. For example, suppose you want to document a package called \f2com.mypackage\fP whose source files are located at: +.nf +\f3 +.fl + /home/user/src/com/mypackage/*.java +.fl +\fP +.fi +In this case you would specify the \f2sourcepath\fP to \f2/home/user/src\fP, the directory that contains \f2com/mypackage\fP, and then supply the package name \f2com.mypackage\fP: +.nf +\f3 +.fl + % \fP\f3javadoc \-sourcepath /home/user/src/ com.mypackage\fP +.fl +.fi +This is easy to remember by noticing that if you concatenate the value of sourcepath and the package name together and change the dot to a slash "/", you end up with the full path to the package: \f2/home/user/src/com/mypackage\fP. +.br +.br +To point to two source paths: +.nf +\f3 +.fl + % \fP\f3javadoc \-sourcepath /home/user1/src:/home/user2/src com.mypackage\fP +.fl +.fi +.TP 3 +\-classpath\ classpathlist +Specifies the paths where javadoc will look for referenced classes (\f2.class\fP files) \-\- these are the documented classes plus any classes referenced by those classes. The \f2classpathlist\fP can contain multiple paths by separating them with a colon (\f2:\fP). The Javadoc tool will search in all subdirectories of the specified paths. Follow the instructions in +.na +\f2class path\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#general documentation for specifying \f2classpathlist\fP. +.br +.br +If \f2\-sourcepath\fP is omitted, the Javadoc tool uses \f2\-classpath\fP to find the source files as well as class files (for backward compatibility). Therefore, if you want to search for source and class files in separate paths, use both \f2\-sourcepath\fP and \f2\-classpath\fP. +.br +.br +For example, if you want to document \f2com.mypackage\fP, whose source files reside in the directory \f2/home/user/src/com/mypackage\fP, and if this package relies on a library in \f2/home/user/lib\fP, you would specify: +.nf +\f3 +.fl + % \fP\f3javadoc \-classpath /home/user/lib \-sourcepath /home/user/src com.mypackage\fP +.fl +.fi +As with other tools, if you do not specify \f2\-classpath\fP, the Javadoc tool uses the CLASSPATH environment variable, if it is set. If both are not set, the Javadoc tool searches for classes from the current directory. +.br +.br +For an in\-depth description of how the Javadoc tool uses \f2\-classpath\fP to find user classes as it relates to extension classes and bootstrap classes, see +.na +\f2How Classes Are Found\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html. +.br +.br +As a special convenience, a class path element containing a basename of \f2*\fP is considered equivalent to specifying a list of all the files in the directory with the extension \f2.jar\fP or \f2.JAR\fP (a Java program cannot tell the difference between the two invocations). +.br +.br +For example, if directory \f2foo\fP contains \f2a.jar\fP and \f2b.JAR\fP, then the class path element \f2foo/*\fP is expanded to a \f2A.jar:b.JAR\fP, except that the order of jar files is unspecified. All jar files in the specified directory, even hidden ones, are included in the list. A classpath entry consisting simply of \f2*\fP expands to a list of all the jar files in the current directory. The \f2CLASSPATH\fP environment variable, where defined, will be similarly expanded. Any classpath wildcard expansion occurs before the Java virtual machine is started \-\- no Java program will ever see unexpanded wildcards except by querying the environment. For example; by invoking \f2System.getenv("CLASSPATH")\fP. +.TP 3 +\-subpackages\ \ package1:package2:... +Generates documentation from source files in the specified packages and recursively in their subpackages. This option is useful when adding new subpackages to the source code, as they are automatically included. Each \f2package\fP argument is any top\-level subpackage (such as \f2java\fP) or fully qualified package (such as \f2javax.swing\fP) that does not need to contain source files. Arguments are separated by colons (on all operating systmes). Wildcards are not needed or allowed. Use \f2\-sourcepath\fP to specify where to find the packages. This option is smart about not processing source files that are in the source tree but do not belong to the packages, as described at processing of source files. +.br +.br +For example: +.nf +\f3 +.fl + % \fP\f3javadoc \-d docs \-sourcepath /home/user/src \-subpackages java:javax.swing\fP +.fl +.fi +This command generates documentation for packages named "java" and "javax.swing" and all their subpackages. +.br +.br +You can use \f2\-subpackages\fP in conjunction with \f2\-exclude\fP to exclude specific packages. +.TP 3 +\-exclude\ \ packagename1:packagename2:... +Unconditionally excludes the specified packages and their subpackages from the list formed by \f2\-subpackages\fP. It excludes those packages even if they would otherwise be included by some previous or later \f2\-subpackages\fP option. For example: +.nf +\f3 +.fl + % \fP\f3javadoc \-sourcepath /home/user/src \-subpackages java \-exclude java.net:java.lang\fP +.fl +.fi +would include \f2java.io\fP, \f2java.util\fP, and \f2java.math\fP (among others), but would exclude packages rooted at \f2java.net\fP and \f2java.lang\fP. Notice this excludes \f2java.lang.ref\fP, a subpackage of \f2java.lang\fP). +.TP 3 +\-bootclasspath\ classpathlist +Specifies the paths where the boot classes reside. These are nominally the Java platform classes. The bootclasspath is part of the search path the Javadoc tool will use to look up source and class files. See +.na +\f2How Classes Are Found\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html#srcfiles. for more details. Separate directories in \f2classpathlist\fP with colons (:). +.TP 3 +\-extdirs\ dirlist +Specifies the directories where extension classes reside. These are any classes that use the Java Extension mechanism. The extdirs is part of the search path the Javadoc tool will use to look up source and class files. See \f2\-classpath\fP (above) for more details. Separate directories in \f2dirlist\fP with colons (:). +.TP 3 +\-verbose +Provides more detailed messages while javadoc is running. Without the verbose option, messages appear for loading the source files, generating the documentation (one message per source file), and sorting. The verbose option causes the printing of additional messages specifying the number of milliseconds to parse each java source file. +.TP 3 +\-quiet +Shuts off non\-error and non\-warning messages, leaving only the warnings and errors appear, making them easier to view. Also suppresses the version string. +.TP 3 +\-breakiterator\ +Uses the internationalized sentence boundary of +.na +\f2java.text.BreakIterator\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/text/BreakIterator.html to determine the end of the first sentence for English (all other locales already use \f2BreakIterator\fP), rather than an English language, locale\-specific algorithm. By \f2first sentence\fP, we mean the first sentence in the main description of a package, class or member. This sentence is copied to the package, class or member summary, and to the alphabetic index. +.br +.br +From JDK 1.2 forward, the BreakIterator class is already used to determine the end of sentence for all languages but English. Therefore, the \f2\-breakiterator\fP option has no effect except for English from 1.2 forward. English has its own default algorithm: +.RS 3 +.TP 2 +o +English default sentence\-break algorithm \- Stops at a period followed by a space or a HTML block tag, such as \f2<P>\fP. +.TP 2 +o +Breakiterator sentence\-break algorithm \- In general, stops at a period, question mark or exclamation mark followed by a space if the next word starts with a capital letter. This is meant to handle most abbreviations (such as "The serial no. is valid", but won't handle "Mr. Smith"). Doesn't stop at HTML tags or sentences that begin with numbers or symbols. Stops at the last period in "../filename", even if embedded in an HTML tag. +.RE +NOTE: We have removed from 1.5.0 the breakiterator warning messages that were in 1.4.x and have left the default sentence\-break algorithm unchanged. That is, the \-breakiterator option is not the default in 1.5.0, nor do we expect it to become the default. This is a reversal from our former intention that the default would change in the "next major release" (1.5.0). This means if you have not modified your source code to eliminate the breakiterator warnings in 1.4.x, then you don't have to do anything, and the warnings go away starting with 1.5.0. The reason for this reversal is because any benefit to having breakiterator become the default would be outweighed by the incompatible source change it would require. We regret any extra work and confusion this has caused. +.TP 3 +\-locale\ language_country_variant +\f3Important\fP \- The \f2\-locale\fP option must be placed \f2ahead\fP (to the left) of any options provided by the standard doclet or any other doclet. Otherwise, the navigation bars will appear in English. This is the only command\-line option that is order\-dependent. +.br +.br +Specifies the locale that javadoc uses when generating documentation. The argument is the name of the locale, as described in java.util.Locale documentation, such as \f2en_US\fP (English, United States) or \f2en_US_WIN\fP (Windows variant). +.br +.br +Specifying a locale causes javadoc to choose the resource files of that locale for messages (strings in the navigation bar, headings for lists and tables, help file contents, comments in stylesheet.css, and so forth). It also specifies the sorting order for lists sorted alphabetically, and the sentence separator to determine the end of the first sentence. It does not determine the locale of the doc comment text specified in the source files of the documented classes. +.TP 3 +\-encoding\ name +Specifies the encoding name of the source files, such as \f2EUCJIS/SJIS\fP. If this option is not specified, the platform default converter is used. +.br +.br +Also see \-docencoding and \-charset. +.TP 3 +\-Jflag +Passes \f2flag\fP directly to the runtime system java that runs javadoc. Notice there must be no space between the \f2J\fP and the \f2flag\fP. For example, if you need to ensure that the system sets aside 32 megabytes of memory in which to process the generated documentation, then you would call the \f2\-Xmx\fP option of java as follows (\f2\-Xms\fP is optional, as it only sets the size of initial memory, which is useful if you know the minimum amount of memory required): +.nf +\f3 +.fl + % \fP\f3javadoc \-J\-Xmx32m \-J\-Xms32m\fP \f3com.mypackage\fP +.fl +.fi +To tell what version of javadoc you are using, call the "\f2\-version\fP" option of java: +.nf +\f3 +.fl + % \fP\f3javadoc \-J\-version\fP +.fl + java version "1.2" +.fl + Classic VM (build JDK\-1.2\-V, green threads, sunwjit) +.fl +.fi +(The version number of the standard doclet appears in its output stream.) +.RE +.SS +Options Provided by the Standard Doclet +.RS 3 +.TP 3 +\-d\ directory +Specifies the destination directory where javadoc saves the generated HTML files. (The "d" means "destination.") Omitting this option causes the files to be saved to the current directory. The value \f2directory\fP can be absolute, or relative to the current working directory. As of 1.4, the destination directory is automatically created when javadoc is run. +.br +.br +For example, the following generates the documentation for the package \f2com.mypackage\fP and saves the results in the \f2/home/user/doc/\fP directory: +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/user/doc com.mypackage\fP +.fl +.fi +.TP 3 +\-use +Includes one "Use" page for each documented class and package. The page describes what packages, classes, methods, constructors and fields use any API of the given class or package. Given class C, things that use class C would include subclasses of C, fields declared as C, methods that return C, and methods and constructors with parameters of type C. +.br +.br +For example, let us look at what might appear on the "Use" page for String. The \f2getName()\fP method in the \f2java.awt.Font\fP class returns type \f2String\fP. Therefore, \f2getName()\fP uses \f2String\fP, and you will find that method on the "Use" page for \f2String\fP. +.br +.br +Note that this documents only uses of the API, not the implementation. If a method uses \f2String\fP in its implementation but does not take a string as an argument or return a string, that is not considered a "use" of \f2String\fP. +.br +.br +You can access the generated "Use" page by first going to the class or package, then clicking on the "Use" link in the navigation bar. +.TP 3 +\-version +Includes the @version text in the generated docs. This text is omitted by default. To tell what version of the Javadoc tool you are using, use the \f2\-J\-version\fP option. +.TP 3 +\-author +Includes the @author text in the generated docs. +.TP 3 +\-splitindex +Splits the index file into multiple files, alphabetically, one file per letter, plus a file for any index entries that start with non\-alphabetical characters. +.TP 3 +\-windowtitle\ title +Specifies the title to be placed in the HTML <title> tag. This appears in the window title and in any browser bookmarks (favorite places) that someone creates for this page. This title should not contain any HTML tags, as the browser will not properly interpret them. Any internal quotation marks within \f2title\fP may have to be escaped. If \-windowtitle is omitted, the Javadoc tool uses the value of \-doctitle for this option. +.nf +\f3 +.fl + % \fP\f3javadoc \-windowtitle "Java SE Platform" com.mypackage\fP +.fl +.fi +.TP 3 +\-doctitle\ title +Specifies the title to be placed near the top of the overview summary file. The title will be placed as a centered, level\-one heading directly beneath the upper navigation bar. The \f2title\fP may contain html tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2title\fP may have to be escaped. +.nf +\f3 +.fl + % \fP\f3javadoc \-doctitle "Java(TM)" com.mypackage\fP +.fl +.fi +.TP 3 +\-title\ title +\f3This option no longer exists.\fP It existed only in Beta versions of Javadoc 1.2. It has been renamed to \f2\-doctitle\fP. This option is being renamed to make it clear that it defines the document title rather than the window title. +.TP 3 +\-header\ header +Specifies the header text to be placed at the top of each output file. The header will be placed to the right of the upper navigation bar. \f2header\fP may contain HTML tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2header\fP may have to be escaped. +.nf +\f3 +.fl + % \fP\f3javadoc \-header "<b>Java 2 Platform </b><br>v1.4" com.mypackage\fP +.fl +.fi +.TP 3 +\-footer\ footer +Specifies the footer text to be placed at the bottom of each output file. The footer will be placed to the right of the lower navigation bar. \f2footer\fP may contain html tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2footer\fP may have to be escaped. +.TP 3 +\-top +Specifies the text to be placed at the top of each output file. +.TP 3 +\-bottom\ text +Specifies the text to be placed at the bottom of each output file. The text will be placed at the bottom of the page, below the lower navigation bar. The \f2text\fP may contain HTML tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within \f2text\fP may have to be escaped. +.TP 3 +\-link\ extdocURL +Creates links to existing javadoc\-generated documentation of external referenced classes. It takes one argument: +.RS 3 +.TP 2 +o +\f4extdocURL\fP is the absolute or relative URL of the directory containing the external javadoc\-generated documentation you want to link to. Examples are shown below. The package\-list file must be found in this directory (otherwise, use \f2\-linkoffline\fP). The Javadoc tool reads the package names from the \f2package\-list\fP file and then links to those packages at that URL. When the Javadoc tool is run, the \f2extdocURL\fP value is copied literally into the \f2<A HREF>\fP links that are created. Therefore, \f2extdocURL\fP must be the URL to the \f2directory\fP, not to a file. +.br +.br +You can use an absolute link for \f2extdocURL\fP to enable your docs to link to a document on any website, or can use a relative link to link only to a relative location. If relative, the value you pass in should be the relative path from the destination directory (specified with \f2\-d\fP) to the directory containing the packages being linked to. +.br +.br +When specifying an absolute link you normally use an \f2http:\fP link. However, if you want to link to a file system that has no web server, you can use a \f2file:\fP link \-\- however, do this only if everyone wanting to access the generated documentation shares the same file system. +.br +.br +In all cases, and on all operating systems, you should use a forward slash as the separator, whether the URL is absolute or relative, and "http:" or "file:" based (as specified in the +.na +\f2URL Memo\fP @ +.fi +http://www.ietf.org/rfc/rfc1738.txt). +.RS 3 +.TP 3 +Absolute http: based link: +\f2\-link http://<host>/<directory>/<directory>/.../<name>\fP +.TP 3 +Absolute file: based link: +\f2\-link file://<host>/<directory>/<directory>/.../<name>\fP +.TP 3 +Relative link: +\f2\-link <directory>/<directory>/.../<name>\fP +.RE +.RE +You can specify multiple \f2\-link\fP options in a given javadoc run to link to multiple documents. +.br +.br +\f3Choosing between \-linkoffline and \-link\fP: +.br +.br +Use \f2\-link\fP: +.RS 3 +.TP 2 +o +when using a relative path to the external API document, or +.TP 2 +o +when using an absolute URL to the external API document, if your shell allows a program to open a connection to that URL for reading. +.RE +Use \f2\-linkoffline\fP: +.RS 3 +.TP 2 +o +when using an absolute URL to the external API document, if your shell \f2does not allow\fP a program to open a connection to that URL for reading. This can occur if you are behind a firewall and the document you want to link to is on the other side. +.RE +.br +.br +\f3Example using absolute links to the external docs\fP \- Let us say you want to link to the \f2java.lang\fP, \f2java.io\fP and other Java Platform packages at +.na +\f2http://docs.oracle.com/javase/7/docs/api/\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/. The following command generates documentation for the package \f2com.mypackage\fP with links to the Java SE Platform packages. The generated documentation will contain links to the \f2Object\fP class, for example, in the class trees. (Other options, such as \f2\-sourcepath\fP and \f2\-d\fP, are not shown.) +.nf +\f3 +.fl + % \fP\f3javadoc \-link http://docs.oracle.com/javase/7/docs/api/ com.mypackage\fP +.fl +.fi +\f3Example using relative links to the external docs\fP \- Let us say you have two packages whose docs are generated in different runs of the Javadoc tool, and those docs are separated by a relative path. In this example, the packages are \f2com.apipackage\fP, an API, and \f2com.spipackage\fP, an SPI (Service Provide Interface). You want the documentation to reside in \f2docs/api/com/apipackage\fP and \f2docs/spi/com/spipackage\fP. Assuming the API package documentation is already generated, and that \f2docs\fP is the current directory, you would document the SPI package with links to the API documentation by running: +.nf +\f3 +.fl + % \fP\f3javadoc \-d ./spi \-link ../api com.spipackage\fP +.fl +.fi +Notice the \f2\-link\fP argument is relative to the destination directory (\f2docs/spi\fP). +.br +.br +\f3Details\fP \- The \f2\-link\fP option enables you to link to classes referenced to by your code but \f2not\fP documented in the current javadoc run. For these links to go to valid pages, you must know where those HTML pages are located, and specify that location with \f2extdocURL\fP. This allows, for instance, third party documentation to link to \f2java.*\fP documentation on \f2http://docs.oracle.com\fP. +.br +.br +Omit the \f2\-link\fP option for javadoc to create links only to API within the documentation it is generating in the current run. (Without the \f2\-link\fP option, the Javadoc tool does not create links to documentation for external references, because it does not know if or where that documentation exists.) +.br +.br +This option can create links in several places in the generated documentation. +.br +.br +Another use is for cross\-links between sets of packages: Execute javadoc on one set of packages, then run javadoc again on another set of packages, creating links both ways between both sets. +.br +.br +\f3How a Class Must be Referenced\fP \- For a link to an external referenced class to actually appear (and not just its text label), the class must be referenced in the following way. It is not sufficient for it to be referenced in the body of a method. It must be referenced in either an \f2import\fP statement or in a declaration. Here are examples of how the class \f2java.io.File\fP can be referenced: +.RS 3 +.TP 2 +o +In any kind of \f2import\fP statement: by wildcard import, import explicitly by name, or automatically import for \f2java.lang.*\fP. For example, this would suffice: +.br +\f2import java.io.*;\fP +.br +In 1.3.x and 1.2.x, only an explicit import by name works \-\- a wildcard import statement does not work, nor does the automatic import \f2java.lang.*\fP. +.TP 2 +o +In a declaration: +.br +\f2void foo(File f) {}\fP +.br +The reference and be in the return type or parameter type of a method, constructor, field, class or interface, or in an \f2implements\fP, \f2extends\fP or \f2throws\fP statement. +.RE +An important corollary is that when you use the \f2\-link\fP option, there may be many links that unintentionally do not appear due to this constraint. (The text would appear without a hypertext link.) You can detect these by the warnings they emit. The most innocuous way to properly reference a class and thereby add the link would be to import that class, as shown above. +.br +.br +\f3Package List\fP \- The \f2\-link\fP option requires that a file named \f2package\-list\fP, which is generated by the Javadoc tool, exist at the URL you specify with \f2\-link\fP. The \f2package\-list\fP file is a simple text file that lists the names of packages documented at that location. In the earlier example, the Javadoc tool looks for a file named \f2package\-list\fP at the given URL, reads in the package names and then links to those packages at that URL. +.br +.br +For example, the package list for the Java SE 6 API is located at +.na +\f2http://docs.oracle.com/javase/7/docs/api/package\-list\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/package\-list. and starts as follows: +.nf +\f3 +.fl + java.applet +.fl + java.awt +.fl + java.awt.color +.fl + java.awt.datatransfer +.fl + java.awt.dnd +.fl + java.awt.event +.fl + java.awt.font +.fl + etc. +.fl +\fP +.fi +When javadoc is run without the \f2\-link\fP option, when it encounters a name that belongs to an external referenced class, it prints the name with no link. However, when the \f2\-link\fP option is used, the Javadoc tool searches the \f2package\-list\fP file at the specified \f2extdocURL\fP location for that package name. If it finds the package name, it prefixes the name with \f2extdocURL\fP. +.br +.br +In order for there to be no broken links, all of the documentation for the external references must exist at the specified URLs. The Javadoc tool will not check that these pages exist \-\- only that the package\-list exists. +.br +.br +\f3Multiple Links\fP \- You can supply multiple \f2\-link\fP options to link to any number of external generated documents. \ Javadoc 1.2 has a known bug which prevents you from supplying more than one \f2\-link\fP command. This was fixed in 1.2.2. +.br +.br +Specify a different link option for each external document to link to: +.br +.br +\ \ \f2% \fP\f4javadoc \-link\fP \f2extdocURL1\fP \f4\-link\fP \f2extdocURL2\fP \f2... \fP\f4\-link\fP \f2extdocURLn\fP \f4com.mypackage\fP +.br +.br +where \f2extdocURL1\fP,\ \f2extdocURL2\fP,\ ... \f2extdocURLn\fP point respectively to the roots of external documents, each of which contains a file named \f2package\-list\fP. +.br +.br +\f3Cross\-links\fP \- Note that "bootstrapping" may be required when cross\-linking two or more documents that have not previously been generated. In other words, if \f2package\-list\fP does not exist for either document, when you run the Javadoc tool on the first document, the \f2package\-list\fP will not yet exist for the second document. Therefore, to create the external links, you must re\-generate the first document after generating the second document. +.br +.br +In this case, the purpose of first generating a document is to create its \f2package\-list\fP (or you can create it by hand it if you're certain of the package names). Then generate the second document with its external links. The Javadoc tool prints a warning if a needed external \f2package\-list\fP file does not exist. +.TP 3 +\-linkoffline\ extdocURL\ packagelistLoc +This option is a variation of \f2\-link\fP; they both create links to javadoc\-generated documentation for external referenced classes. Use the \f2\-linkoffline\fP option when linking to a document on the web when the Javadoc tool itself is "offline" \-\- that is, it cannot access the document through a web connection. +.br +.br +More specifically, use \f2\-linkoffline\fP if the external document's \f2package\-list\fP file is not accessible or does not exist at the \f2extdocURL\fP location but does exist at a different location, which can be specified by \f2packageListLoc\fP (typically local). Thus, if \f2extdocURL\fP is accessible only on the World Wide Web, \f2\-linkoffline\fP removes the constraint that the Javadoc tool have a web connection when generating the documentation. +.br +.br +Another use is as a "hack" to update docs: After you have run javadoc on a full set of packages, then you can run javadoc again on onlya smaller set of changed packages, so that the updated files can be inserted back into the original set. Examples are given below. +.br +.br +The \f2\-linkoffline\fP option takes two arguments \-\- the first for the string to be embedded in the \f2<a href>\fP links, the second telling it where to find \f2package\-list\fP: +.RS 3 +.TP 2 +o +\f4extdocURL\fP is the absolute or relative URL of the directory containing the external javadoc\-generated documentation you want to link to. If relative, the value should be the relative path from the destination directory (specified with \f2\-d\fP) to the root of the packages being linked to. For more details, see \f2extdocURL\fP in the \f2\-link\fP option. +.TP 2 +o +\f4packagelistLoc\fP is the path or URL to the directory containing the \f2package\-list\fP file for the external documentation. This can be a URL (http: or file:) or file path, and can be absolute or relative. If relative, make it relative to the \f2current\fP directory from where javadoc was run. Do not include the \f2package\-list\fP filename. +.RE +You can specify multiple \f2\-linkoffline\fP options in a given javadoc run. (Prior to 1.2.2, it could be specified only once.) +.br +.br +\f3Example using absolute links to the external docs\fP \- Let us say you want to link to the \f2java.lang\fP, \f2java.io\fP and other Java SE Platform packages at \f2http://docs.oracle.com/javase/7/docs/api/\fP, but your shell does not have web access. You could open the \f2package\-list\fP file in a browser at +.na +\f2http://docs.oracle.com/javase/7/docs/api/package\-list\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/package\-list, save it to a local directory, and point to this local copy with the second argument, \f2packagelistLoc\fP. In this example, the package list file has been saved to the current directory "\f2.\fP" . The following command generates documentation for the package \f2com.mypackage\fP with links to the Java SE Platform packages. The generated documentation will contain links to the \f2Object\fP class, for example, in the class trees. (Other necessary options, such as \f2\-sourcepath\fP, are not shown.) +.nf +\f3 +.fl +% \fP\f3javadoc \-linkoffline http://docs.oracle.com/javase/7/docs/api/ . com.mypackage\fP +.fl +.fi +\f3Example using relative links to the external docs\fP \- It's not very common to use \f2\-linkoffline\fP with relative paths, for the simple reason that \f2\-link\fP usually suffices. When using \f2\-linkoffline\fP, the \f2package\-list\fP file is generally local, and when using relative links, the file you are linking to is also generally local. So it is usually unnecessary to give a different path for the two arguments to \f2\-linkoffline\fP. When the two arguments are identical, you can use \f2\-link\fP. See the \f2\-link\fP relative example. +.br +.br +\f3Manually Creating a \fP\f4package\-list\fP\f3 File\fP \- If a \f2package\-list\fP file does not yet exist, but you know what package names your document will link to, you can create your own copy of this file by hand and specify its path with \f2packagelistLoc\fP. An example would be the previous case where the package list for \f2com.spipackage\fP did not exist when \f2com.apipackage\fP was first generated. This technique is useful when you need to generate documentation that links to new external documentation whose package names you know, but which is not yet published. This is also a way of creating \f2package\-list\fP files for packages generated with Javadoc 1.0 or 1.1, where \f2package\-list\fP files were not generated. Likewise, two companies can share their unpublished \f2package\-list\fP files, enabling them to release their cross\-linked documentation simultaneously. +.br +.br +\f3Linking to Multiple Documents\fP \- You can include \f2\-linkoffline\fP once for each generated document you want to refer to (each option is shown on a separate line for clarity): +.br +.br +\f2% \fP\f4javadoc \-linkoffline\fP \f2extdocURL1\fP \f2packagelistLoc1\fP \f2\\\fP +.br +\f2\ \ \ \ \ \ \ \ \ \ \fP\f4\-linkoffline\fP \f2extdocURL2\fP \f2packagelistLoc2\fP \f2\\\fP +.br +\f2\ \ \ \ \ \ \ \ \ \ ...\fP +.br +.br +\f3Updating docs\fP \- Another use for \f2\-linkoffline\fP option is useful if your project has dozens or hundreds of packages, if you have already run javadoc on the entire tree, and now, in a separate run, you want to quickly make some small changes and re\-run javadoc on just a small portion of the source tree. This is somewhat of a hack in that it works properly only if your changes are only to doc comments and not to declarations. If you were to add, remove or change any declarations from the source code, then broken links could show up in the index, package tree, inherited member lists, use page, and other places. +.br +.br +First, you create a new destination directory (call it \f2update\fP) for this new small run. Let us say the original destination directory was named \f2html\fP. In the simplest example, cd to the parent of \f2html\fP. Set the first argument of \f2\-linkoffline\fP to the current directory "." and set the second argument to the relative path to \f2html\fP, where it can find \f2package\-list\fP, and pass in only the package names of the packages you want to update: +.nf +\f3 +.fl + % \fP\f3javadoc \-d update \-linkoffline . html com.mypackage\fP +.fl +.fi +When the Javadoc tool is done, copy these generated class pages in \f2update/com/package\fP (not the overview or index), over the original files in \f2html/com/package\fP. +.TP 3 +\-linksource\ +Creates an HTML version of each source file (with line numbers) and adds links to them from the standard HTML documentation. Links are created for classes, interfaces, constructors, methods and fields whose declarations are in a source file. Otherwise, links are not created, such as for default constructors and generated classes. +.br +.br +\f3This option exposes \fP\f4all\fP\f3 private implementation details in the included source files, including private classes, private fields, and the bodies of private methods, \fP\f4regardless of the \fP\f4\-public\fP\f3, \fP\f4\-package\fP\f3, \fP\f4\-protected\fP\f3 and \fP\f4\-private\fP\f3 options.\fP Unless you also use the \f2\-private\fP option, not all private classes or interfaces will necessarily be accessible via links. +.br +.br +Each link appears on the name of the identifier in its declaration. For example, the link to the source code of the \f2Button\fP class would be on the word "Button": +.nf +\f3 +.fl + public class Button +.fl + extends Component +.fl + implements Accessible +.fl +\fP +.fi +and the link to the source code of the \f2getLabel()\fP method in the Button class would be on the word "getLabel": +.nf +\f3 +.fl + public String getLabel() +.fl +\fP +.fi +.TP 3 +\-group\ groupheading\ packagepattern:packagepattern:... +Separates packages on the overview page into whatever groups you specify, one group per table. You specify each group with a different \f2\-group\fP option. The groups appear on the page in the order specified on the command line; packages are alphabetized within a group. For a given \f2\-group\fP option, the packages matching the list of \f2packagepattern\fP expressions appear in a table with the heading \f2groupheading\fP. +.RS 3 +.TP 2 +o +\f4groupheading\fP can be any text, and can include white space. This text is placed in the table heading for the group. +.TP 2 +o +\f4packagepattern\fP can be any package name, or can be the start of any package name followed by an asterisk (\f2*\fP). The asterisk is a wildcard meaning "match any characters". This is the only wildcard allowed. Multiple patterns can be included in a group by separating them with colons (\f2:\fP). +.RE +\f3NOTE: If using an asterisk in a pattern or pattern list, the pattern list must be inside quotes, such as \fP\f4"java.lang*:java.util"\fP +.br +.br +If you do not supply any \f2\-group\fP option, all packages are placed in one group with the heading "Packages". If the all groups do not include all documented packages, any leftover packages appear in a separate group with the heading "Other Packages". +.br +.br +For example, the following option separates the four documented packages into core, extension and other packages. Notice the trailing "dot" does not appear in "java.lang*" \-\- including the dot, such as "java.lang.*" would omit the java.lang package. +.nf +\f3 +.fl + % \fP\f3javadoc \-group "Core Packages" "java.lang*:java.util" +.fl + \-group "Extension Packages" "javax.*" +.fl + java.lang java.lang.reflect java.util javax.servlet java.new\fP +.fl +.fi +This results in the groupings: +.RS 3 +.TP 3 +Core Packages +\f2java.lang\fP +\f2java.lang.reflect\fP +\f2java.util\fP +.TP 3 +Extension Packages +\f2javax.servlet\fP +.TP 3 +Other Packages +\f2java.new\fP +.RE +.TP 3 +\-nodeprecated +Prevents the generation of any deprecated API at all in the documentation. This does what \-nodeprecatedlist does, plus it does not generate any deprecated API throughout the rest of the documentation. This is useful when writing code and you don't want to be distracted by the deprecated code. +.TP 3 +\-nodeprecatedlist +Prevents the generation of the file containing the list of deprecated APIs (deprecated\-list.html) and the link in the navigation bar to that page. (However, javadoc continues to generate the deprecated API throughout the rest of the document.) This is useful if your source code contains no deprecated API, and you want to make the navigation bar cleaner. +.TP 3 +\-nosince +Omits from the generated docs the "Since" sections associated with the @since tags. +.TP 3 +\-notree +Omits the class/interface hierarchy pages from the generated docs. These are the pages you reach using the "Tree" button in the navigation bar. The hierarchy is produced by default. +.TP 3 +\-noindex +Omits the index from the generated docs. The index is produced by default. +.TP 3 +\-nohelp +Omits the HELP link in the navigation bars at the top and bottom of each page of output. +.TP 3 +\-nonavbar +Prevents the generation of the navigation bar, header and footer, otherwise found at the top and bottom of the generated pages. Has no affect on the "bottom" option. The \f2\-nonavbar\fP option is useful when you are interested only in the content and have no need for navigation, such as converting the files to PostScript or PDF for print only. +.TP 3 +\-helpfile\ path/filename +Specifies the path of an alternate help file \f2path/filename\fP that the HELP link in the top and bottom navigation bars link to. Without this option, the Javadoc tool automatically creates a help file \f2help\-doc.html\fP that is hard\-coded in the Javadoc tool. This option enables you to override this default. The \f2filename\fP can be any name and is not restricted to \f2help\-doc.html\fP \-\- the Javadoc tool will adjust the links in the navigation bar accordingly. For example: +.nf +\f3 +.fl + % \fP\f3javadoc \-helpfile /home/user/myhelp.html java.awt\fP +.fl +.fi +.TP 3 +\-stylesheetfile\ path/filename +Specifies the path of an alternate HTML stylesheet file. Without this option, the Javadoc tool automatically creates a stylesheet file \f2stylesheet.css\fP that is hard\-coded in the Javadoc tool. This option enables you to override this default. The \f2filename\fP can be any name and is not restricted to \f2stylesheet.css\fP. For example: +.nf +\f3 +.fl + % \fP\f3javadoc \-stylesheetfile /home/user/mystylesheet.css com.mypackage\fP +.fl +.fi +.TP 3 +\-serialwarn +Generates compile\-time warnings for missing @serial tags. By default, Javadoc 1.2.2 (and later versions) generates no serial warnings. (This is a reversal from earlier versions.) Use this option to display the serial warnings, which helps to properly document default serializable fields and \f2writeExternal\fP methods. +.TP 3 +\-charset\ name +Specifies the HTML character set for this document. The name should be a preferred MIME name as given in the +.na +\f2IANA Registry\fP @ +.fi +http://www.iana.org/assignments/character\-sets. For example: +.nf +\f3 +.fl + % \fP\f3javadoc \-charset "iso\-8859\-1" mypackage\fP +.fl +.fi +would insert the following line in the head of every generated page: +.nf +\f3 +.fl + <META http\-equiv="Content\-Type" content="text/html; charset=ISO\-8859\-1"> +.fl +\fP +.fi +This META tag is described in the +.na +\f2HTML standard\fP @ +.fi +http://www.w3.org/TR/REC\-html40/charset.html#h\-5.2.2. (4197265 and 4137321) +.br +.br +Also see \-encoding and \-docencoding. +.TP 3 +\-docencoding\ name +Specifies the encoding of the generated HTML files. The name should be a preferred MIME name as given in the +.na +\f2IANA Registry\fP @ +.fi +http://www.iana.org/assignments/character\-sets. If you omit this option but use \-encoding, then the encoding of the generated HTML files is determined by \-encoding. Example: +.nf +\f3 +.fl + % \fP\f3javadoc \-docencoding "ISO\-8859\-1" mypackage\fP +.fl +.fi +Also see \-encoding and \-charset. +.TP 3 +\-keywords +Adds HTML meta keyword tags to the generated file for each class. These tags can help the page be found by search engines that look for meta tags. (Most search engines that search the entire Internet do not look at meta tags, because pages can misuse them; but search engines offered by companies that confine their search to their own website can benefit by looking at meta tags.) +.br +.br +The meta tags include the fully qualified name of the class and the unqualified names of the fields and methods. Constructors are not included because they are identical to the class name. For example, the class String starts with these keywords: +.nf +\f3 +.fl + <META NAME="keywords" CONTENT="java.lang.String class"> +.fl + <META NAME="keywords" CONTENT="CASE_INSENSITIVE_ORDER"> +.fl + <META NAME="keywords" CONTENT="length()"> +.fl + <META NAME="keywords" CONTENT="charAt()"> +.fl +\fP +.fi +.TP 3 +\-tag\ \ tagname:Xaoptcmf:"taghead" +Enables the Javadoc tool to interpret a simple, one\-argument custom block tag \f2@\fP\f2tagname\fP in doc comments. So the Javadoc tool can "spell\-check" tag names, it is important to include a \f2\-tag\fP option for every custom tag that is present in the source code, disabling (with \f2X\fP) those that are not being output in the current run. +.br +.br +The colon (\f4:\fP) is always the separator. To use a colon in \f2tagname\fP, see Use of Colon in Tag Name. +.br +.br +The \f2\-tag\fP option outputs the tag's heading \f2taghead\fP in bold, followed on the next line by the text from its single argument, as shown in the example below. Like any block tag, this argument's text can contain inline tags, which are also interpreted. The output is similar to standard one\-argument tags, such as \f2@return\fP and \f2@author\fP. Omitting \f2taghead\fP causes \f2tagname\fP to appear as the heading. +.br +.br +\f3Placement of tags\fP \- The \f4Xaoptcmf\fP part of the argument determines where in the source code the tag is allowed to be placed, and whether the tag can be disabled (using \f2X\fP). You can supply either \f4a\fP, to allow the tag in all places, or any combination of the other letters: +.br +.br +\f4X\fP (disable tag) +.br +\f4a\fP (all) +.br +\f4o\fP (overview) +.br +\f4p\fP (packages) +.br +\f4t\fP (types, that is classes and interfaces) +.br +\f4c\fP (constructors) +.br +\f4m\fP (methods) +.br +\f4f\fP (fields) +.br +.br +\f3Examples of single tags\fP \- An example of a tag option for a tag that can be used anywhere in the source code is: +.nf +\f3 +.fl + \-tag todo:a:"To Do:" +.fl +\fP +.fi +If you wanted @todo to be used only with constructors, methods and fields, you would use: +.nf +\f3 +.fl + \-tag todo:cmf:"To Do:" +.fl +\fP +.fi +Notice the last colon (\f2:\fP) above is not a parameter separator, but is part of the heading text (as shown below). You would use either tag option for source code that contains the tag \f2@todo\fP, such as: +.nf +\f3 +.fl + @todo The documentation for this method needs work. +.fl +\fP +.fi +\f3Use of Colon in Tag Name\fP \- A colon can be used in a tag name if it is escaped with a backslash. For this doc comment: +.nf +\f3 +.fl + /** +.fl + * @ejb:bean +.fl + */ +.fl +\fP +.fi +use this tag option: +.nf +\f3 +.fl + \-tag ejb\\\\:bean:a:"EJB Bean:" +.fl +\fP +.fi +\f3Spell\-checking tag names (Disabling tags)\fP \- Some developers put custom tags in the source code that they don't always want to output. In these cases, it is important to list all tags that are present in the source code, enabling the ones you want to output and disabling the ones you don't want to output. The presence of \f2X\fP disables the tag, while its absence enables the tag. This gives the Javadoc tool enough information to know if a tag it encounters is unknown, probably the results of a typo or a misspelling. It prints a warning in these cases. +.br +.br +You can add \f2X\fP to the placement values already present, so that when you want to enable the tag, you can simply delete the \f2X\fP. For example, if @todo is a tag that you want to suppress on output, you would use: +.nf +\f3 +.fl + \-tag todo:Xcmf:"To Do:" +.fl +\fP +.fi +or, if you'd rather keep it simple: +.nf +\f3 +.fl + \-tag todo:X +.fl +\fP +.fi +The syntax \f2\-tag todo:X\fP works even if \f2@todo\fP is defined by a taglet. +.br +.br +\f3Order of tags\fP \- The order of the \f2\-tag\fP (and \f2\-taglet\fP) options determine the order the tags are output. You can mix the custom tags with the standard tags to intersperse them. The tag options for standard tags are placeholders only for determining the order \-\- they take only the standard tag's name. (Subheadings for standard tags cannot be altered.) This is illustrated in the following example. +.br +.br +If \f2\-tag\fP is missing, then the position of \f2\-taglet\fP determines its order. If they are both present, then whichever appears last on the command line determines its order. (This happens because the tags and taglets are processed in the order that they appear on the command line. For example, if \f2\-taglet\fP and \f2\-tag\fP both have the name "todo", the one that appears last on the command line will determine its order. +.br +.br +\f3Example of a complete set of tags\fP \- This example inserts "To Do" after "Parameters" and before "Throws" in the output. By using "X", it also specifies that @example is a tag that might be encountered in the source code that should not be output during this run. Notice that if you use @argfile, you can put the tags on separate lines in an argument file like this (no line continuation characters needed): +.nf +\f3 +.fl + \-tag param +.fl + \-tag return +.fl + \-tag todo:a:"To Do:" +.fl + \-tag throws +.fl + \-tag see +.fl + \-tag example:X +.fl +\fP +.fi +When javadoc parses the doc comments, any tag encountered that is neither a standard tag nor passed in with \f2\-tag\fP or \f2\-taglet\fP is considered unknown, and a warning is thrown. +.br +.br +The standard tags are initially stored internally in a list in their default order. Whenever \f2\-tag\fP options are used, those tags get appended to this list \-\- standard tags are moved from their default position. Therefore, if a \f2\-tag\fP option is omitted for a standard tag, it remains in its default position. +.br +.br +\f3Avoiding Conflicts\fP \- If you want to slice out your own namespace, you can use a dot\-separated naming convention similar to that used for packages: \f2com.mycompany.todo\fP. Oracle will continue to create standard tags whose names do not contain dots. Any tag you create will override the behavior of a tag by the same name defined by Oracle. In other words, if you create a tag or taglet \f2@todo\fP, it will always have the same behavior you define, even if Oracle later creates a standard tag of the same name. +.br +.br +\f3Annotations vs. Javadoc Tags\fP \- In general, if the markup you want to add is intended to affect or produce documentation, it should probably be a javadoc tag; otherwise, it should be an annotation. See +.na +\f2Comparing Annotations and Javadoc Tags\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html#annotations< +.br +.br +You can also create more complex block tags, or custom inline tags with the \-taglet option. +.TP 3 +\-taglet\ \ class +Specifies the class file that starts the taglet used in generating the documentation for that tag. Use the fully\-qualified name for \f2class\fP. This taglet also defines the number of text arguments that the custom tag has. The taglet accepts those arguments, processes them, and generates the output. For extensive documentation with example taglets, see: +.RS 3 +.TP 2 +o +.na +\f2Taglet Overview\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/taglet/overview.html +.RE +Taglets are useful for block or inline tags. They can have any number of arguments and implement custom behavior, such as making text bold, formatting bullets, writing out the text to a file, or starting other processes. +.br +.br +Taglets can only determine where a tag should appear and in what form. All other decisions are made by the doclet. So a taglet cannot do things such as remove a class name from the list of included classes. However, it can execute side effects, such as printing the tag's text to a file or triggering another process. +.br +.br +Use the \f2\-tagletpath\fP option to specify the path to the taglet. Here is an example that inserts the "To Do" taglet after "Parameters" and ahead of "Throws" in the generated pages: +.nf +\f3 +.fl + \-taglet com.sun.tools.doclets.ToDoTaglet +.fl + \-tagletpath /home/taglets +.fl + \-tag return +.fl + \-tag param +.fl + \-tag todo +.fl + \-tag throws +.fl + \-tag see +.fl +\fP +.fi +Alternatively, you can use the \f2\-taglet\fP option in place of its \f2\-tag\fP option, but that may be harder to read. +.TP 3 +\-tagletpath\ \ tagletpathlist +Specifies the search paths for finding taglet class files (.class). The \f2tagletpathlist\fP can contain multiple paths by separating them with a colon (\f2:\fP). The Javadoc tool will search in all subdirectories of the specified paths. +.TP 3 +\-docfilessubdirs\ +Enables deep copying of "\f2doc\-files\fP" directories. In other words, subdirectories and all contents are recursively copied to the destination. For example, the directory \f2doc\-files/example/images\fP and all its contents would now be copied. There is also an option to exclude subdirectories. +.TP 3 +\-excludedocfilessubdir\ \ name1:name2... +Excludes any "\f2doc\-files\fP" subdirectories with the given names. This prevents the copying of SCCS and other source\-code\-control subdirectories. +.TP 3 +\-noqualifier\ \ all\ | \ packagename1:packagename2:... +Omits qualifying package name from ahead of class names in output. The argument to \f2\-noqualifier\fP is either "\f2all\fP" (all package qualifiers are omitted) or a colon\-separate list of packages, with wildcards, to be removed as qualifiers. The package name is removed from places where class or interface names appear. +.br +.br +The following example omits all package qualifiers: +.nf +\f3 +.fl + \-noqualifier all +.fl +\fP +.fi +The following example omits "java.lang" and "java.io" package qualifiers: +.nf +\f3 +.fl + \-noqualifier java.lang:java.io +.fl +\fP +.fi +The following example omits package qualifiers starting with "java", and "com.sun" subpackages (but not "javax"): +.nf +\f3 +.fl + \-noqualifier java.*:com.sun.* +.fl +\fP +.fi +Where a package qualifier would appear due to the above behavior, the name can be suitably shortened \-\- see How a name is displayed. This rule is in effect whether or not \f2\-noqualifier\fP is used. +.TP 3 +\-notimestamp\ +Suppresses the timestamp, which is hidden in an HTML comment in the generated HTML near the top of each page. Useful when you want to run javadoc on two source bases and diff them, as it prevents timestamps from causing a diff (which would otherwise be a diff on every page). The timestamp includes the javadoc version number, and currently looks like this: +.nf +\f3 +.fl + <!\-\- Generated by javadoc (build 1.5.0_01) on Thu Apr 02 14:04:52 IST 2009 \-\-> +.fl +\fP +.fi +.TP 3 +\-nocomment\ +Suppress the entire comment body, including the main description and all tags, generating only declarations. This option enables re\-using source files originally intended for a different purpose, to produce skeleton HTML documentation at the early stages of a new project. +.TP 3 +\-sourcetab tabLength +Specify the number of spaces each tab takes up in the source. +.RE +.SH "COMMAND LINE ARGUMENT FILES" +.LP +To shorten or simplify the javadoc command line, you can specify one or more files that themselves contain arguments to the \f2javadoc\fP command (except \f2\-J\fP options). This enables you to create javadoc commands of any length on any operating system. +.LP +An argument file can include javac options and source filenames in any combination. The arguments within a file can be space\-separated or newline\-separated. If a filename contains embedded spaces, put the whole filename in double quotes. +.LP +Filenames within an argument file are relative to the current directory, not the location of the argument file. Wildcards (*) are not allowed in these lists (such as for specifying \f2*.java\fP). Use of the '\f2@\fP' character to recursively interpret files is not supported. The \f2\-J\fP options are not supported because they are passed to the launcher, which does not support argument files. +.LP +When executing javadoc, pass in the path and name of each argument file with the '\f2@\fP' leading character. When javadoc encounters an argument beginning with the character `\f2@\fP', it expands the contents of that file into the argument list. +.SS +Example \- Single Arg File +.LP +You could use a single argument file named "\f2argfile\fP" to hold all Javadoc arguments: +.nf +\f3 +.fl + % \fP\f3javadoc @argfile\fP +.fl +.fi +.LP +This argument file could contain the contents of both files shown in the next example. +.SS +Example \- Two Arg Files +.LP +You can create two argument files \-\- one for the Javadoc options and the other for the package names or source filenames: (Notice the following lists have no line\-continuation characters.) +.LP +Create a file named "\f2options\fP" containing: +.nf +\f3 +.fl + \-d docs\-filelist +.fl + \-use +.fl + \-splitindex +.fl + \-windowtitle 'Java SE 7 API Specification' +.fl + \-doctitle 'Java SE 7 API Specification' +.fl + \-header '<b>Java(TM) SE 7</b>' +.fl + \-bottom 'Copyright © 1993\-2011 Oracle and/or its affiliates. All rights reserved.' +.fl + \-group "Core Packages" "java.*" +.fl + \-overview /java/pubs/ws/1.7.0/src/share/classes/overview\-core.html +.fl + \-sourcepath /java/pubs/ws/1.7.0/src/share/classes +.fl +\fP +.fi +.LP +Create a file named "\f2packages\fP" containing: +.nf +\f3 +.fl + com.mypackage1 +.fl + com.mypackage2 +.fl + com.mypackage3 +.fl +\fP +.fi +.LP +You would then run javadoc with: +.nf +\f3 +.fl + % \fP\f3javadoc @options @packages\fP +.fl +.fi +.SS +Example \- Arg Files with Paths +.LP +The argument files can have paths, but any filenames inside the files are relative to the current working directory (not \f2path1\fP or \f2path2\fP): +.nf +\f3 +.fl + % \fP\f3javadoc @path1/options @path2/packages\fP +.fl +.fi +.SS +Example \- Option Arguments +.LP +Here's an example of saving just an argument to a javadoc option in an argument file. We'll use the \f2\-bottom\fP option, since it can have a lengthy argument. You could create a file named "\f2bottom\fP" containing its text argument: +.nf +\f3 +.fl +<font size="\-1"> +.fl + <a href="http://bugreport.sun.com/bugreport/">Submit a bug or feature</a><br/> +.fl + Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.<br/> +.fl + Oracle is a registered trademark of Oracle Corporation and/or its affiliates. +.fl + Other names may be trademarks of their respective owners.</font> +.fl +\fP +.fi +.LP +Then run the Javadoc tool with: +.nf +\f3 +.fl + % \fP\f3javadoc \-bottom @bottom @packages\fP +.fl +.fi +.LP +Or you could include the \f2\-bottom\fP option at the start of the argument file, and then just run it as: +.nf +\f3 +.fl + % \fP\f3javadoc @bottom @packages\fP +.fl +.fi +.SH "Name" +Running +.SH "RUNNING JAVADOC" +.LP +\f3Version Numbers\fP \- The version number of javadoc can be determined using \f3javadoc \-J\-version\fP. The version number of the standard doclet appears in its output stream. It can be turned off with \f2\-quiet\fP. +.LP +\f3Public programmatic interface\fP \- To invoke the Javadoc tool from within programs written in the Java language. This interface is in \f2com.sun.tools.javadoc.Main\fP (and javadoc is re\-entrant). For more details, see +.na +\f2Standard Doclet\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/standard\-doclet.html#runningprogrammatically. +.LP +\f3Running Doclets\fP \- The instructions given below are for invoking the standard HTML doclet. To invoke a custom doclet, use the \-doclet and \-docletpath options. See +.na +\f2Doclet Overview\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/doclet/overview.html for more information. +.SH "SIMPLE EXAMPLES" +.LP +You can run javadoc on entire packages or individual source files. Each package name has a corresponding directory name. In the following examples, the source files are located at \f2/home/src/java/awt/*.java\fP. The destination directory is \f2/home/html\fP. +.SS +Documenting One or More Packages +.LP +To document a package, the source files (\f2*.java\fP) for that package must be located in a directory having the same name as the package. If a package name is made up of several identifiers (separated by dots, such as \f2java.awt.color\fP), each subsequent identifier must correspond to a deeper subdirectory (such as \f2java/awt/color\fP). You may split the source files for a single package among two such directory trees located at different places, as long as \f2\-sourcepath\fP points to them both \-\- for example \f2src1/java/awt/color\fP and \f2src2/java/awt/color\fP. +.LP +You can run javadoc either by changing directories (with \f2cd\fP) or by using \f2\-sourcepath\fP option. The examples below illustrate both alternatives. +.RS 3 +.TP 2 +o +\f3Case 1 \- Run recursively starting from one or more packages\fP \- This example uses \-sourcepath so javadoc can be run from any directory and \-subpackages (a new 1.4 option) for recursion. It traverses the subpackages of the \f2java\fP directory excluding packages rooted at \f2java.net\fP and \f2java.lang\fP. Notice this excludes \f2java.lang.ref\fP, a subpackage of \f2java.lang\fP). +.nf +\f3 +.fl + % \fP\f3javadoc \fP\f3\-d\fP\f3 /home/html \fP\f3\-sourcepath\fP\f3 /home/src \fP\f3\-subpackages\fP\f3 java \fP\f3\-exclude\fP\f3 java.net:java.lang\fP +.fl +.fi +.LP +To also traverse down other package trees, append their names to the \f2\-subpackages\fP argument, such as \f2java:javax:org.xml.sax\fP. +.TP 2 +o +\f3Case 2 \- Run on explicit packages after changing to the "root" source directory\fP \- Change to the parent directory of the fully\-qualified package. Then run javadoc, supplying names of one or more packages you want to document: +.nf +\f3 +.fl + % \fP\f3cd /home/src/\fP +.fl + % \f3javadoc \-d /home/html java.awt java.awt.event\fP +.fl +.fi +.TP 2 +o +\f3Case 3 \- Run from any directory on explicit packages in a single directory tree\fP \- In this case, it doesn't matter what the current directory is. Run javadoc supplying \f2\-sourcepath\fP with the parent directory of the top\-level package, and supplying names of one or more packages you want to document: +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/html \-sourcepath /home/src java.awt java.awt.event\fP +.fl +.fi +.TP 2 +o +\f3Case 4 \- Run from any directory on explicit packages in multiple directory trees\fP \- This is the same as case 3, but for packages in separate directory trees. Run javadoc supplying \f2\-sourcepath\fP with the path to each tree's root (colon\-separated) and supply names of one or more packages you want to document. All source files for a given package do not need to be located under a single root directory \-\- they just need to be found somewhere along the sourcepath. +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/html \-sourcepath /home/src1:/home/src2 java.awt java.awt.event\fP +.fl +.fi +.RE +.LP +Result: All cases generate HTML\-formatted documentation for the public and protected classes and interfaces in packages \f2java.awt\fP and \f2java.awt.event\fP and save the HTML files in the specified destination directory (\f2/home/html\fP). Because two or more packages are being generated, the document has three HTML frames \-\- for the list of packages, the list of classes, and the main class pages. +.SS +Documenting One or More Classes +.LP +The second way to run the Javadoc tool is by passing in one or more source files (\f2.java\fP). You can run javadoc either of the following two ways \-\- by changing directories (with \f2cd\fP) or by fully\-specifying the path to the \f2.java\fP files. Relative paths are relative to the current directory. The \f2\-sourcepath\fP option is ignored when passing in source files. You can use command line wildcards, such as asterisk (*), to specify groups of classes. +.RS 3 +.TP 2 +o +\f3Case 1 \- Changing to the source directory\fP \- Change to the directory holding the \f2.java\fP files. Then run javadoc, supplying names of one or more source files you want to document. +.nf +\f3 +.fl + % \fP\f3cd /home/src/java/awt\fP +.fl + % \f3javadoc \-d /home/html Button.java Canvas.java Graphics*.java\fP +.fl +.fi +This example generates HTML\-formatted documentation for the classes \f2Button\fP, \f2Canvas\fP and classes beginning with \f2Graphics\fP. Because source files rather than package names were passed in as arguments to javadoc, the document has two frames \-\- for the list of classes and the main page. +.TP 2 +o +\f3Case 2 \- Changing to the package root directory\fP \- This is useful for documenting individual source files from different subpackages off the same root. Change to the package root directory, and supply the source files with paths from the root. +.nf +\f3 +.fl + % \fP\f3cd /home/src/\fP +.fl + % \f3javadoc \-d /home/html java/awt/Button.java java/applet/Applet.java\fP +.fl +.fi +This example generates HTML\-formatted documentation for the classes \f2Button\fP and \f2Applet\fP. +.TP 2 +o +\f3Case 3 \- From any directory\fP \- In this case, it doesn't matter what the current directory is. Run javadoc supplying the absolute path (or path relative to the current directory) to the \f2.java\fP files you want to document. +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/html /home/src/java/awt/Button.java /home/src/java/awt/Graphics*.java\fP +.fl +.fi +This example generates HTML\-formatted documentation for the class \f2Button\fP and classes beginning with \f2Graphics\fP. +.RE +.SS +Documenting Both Packages and Classes +.LP +You can document entire packages and individual classes at the same time. Here's an example that mixes two of the previous examples. You can use \f2\-sourcepath\fP for the path to the packages but not for the path to the individual classes. +.nf +\f3 +.fl + % \fP\f3javadoc \-d /home/html \-sourcepath /home/src java.awt /home/src/java/applet/Applet.java\fP +.fl +.fi +.LP +This example generates HTML\-formatted documentation for the package \f2java.awt\fP and class \f2Applet\fP. (The Javadoc tool determines the package name for \f2Applet\fP from the package declaration, if any, in the \f2Applet.java\fP source file.) +.SH "REAL WORLD EXAMPLE" +.LP +The Javadoc tool has many useful options, some of which are more commonly used than others. Here is effectively the command we use to run the Javadoc tool on the Java platform API. We use 180MB of memory to generate the documentation for the 1500 (approx.) public and protected classes in the Java SE Platform, Standard Edition, v1.2. +.LP +The same example is shown twice \-\- first as executed on the command line, then as executed from a makefile. It uses absolute paths in the option arguments, which enables the same \f2javadoc\fP command to be run from any directory. +.SS +Command Line Example +.LP +The following example may be too long for some shells such as DOS. You can use a command line argument file (or write a shell script) to workaround this limitation. +.nf +\f3 +.fl +% javadoc \-sourcepath /java/jdk/src/share/classes \\ +.fl + \-overview /java/jdk/src/share/classes/overview.html \\ +.fl + \-d /java/jdk/build/api \\ +.fl + \-use \\ +.fl + \-splitIndex \\ +.fl + \-windowtitle 'Java Platform, Standard Edition 7 API Specification' \\ +.fl + \-doctitle 'Java Platform, Standard Edition 7 API Specification' \\ +.fl + \-header '<b>Java(TM) SE 7</b>' \\ +.fl + \-bottom '<font size="\-1"> +.fl + <a href="http://bugreport.sun.com/bugreport/">Submit a bug or feature</a><br/> +.fl + Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.<br/> +.fl + Oracle is a registered trademark of Oracle Corporation and/or its affiliates. +.fl + Other names may be trademarks of their respective owners.</font>' \\ +.fl + \-group "Core Packages" "java.*:com.sun.java.*:org.omg.*" \\ +.fl + \-group "Extension Packages" "javax.*" \\ +.fl + \-J\-Xmx180m \\ +.fl + @packages +.fl +\fP +.fi +.LP +where \f2packages\fP is the name of a file containing the packages to process, such as \f2java.applet java.lang\fP. None of the options should contain any newline characters between the single quotes. (For example, if you copy and paste this example, delete the newline characters from the \f2\-bottom\fP option.) See the other notes listed below. +.SS +Makefile Example +.LP +This is an example of a GNU makefile. For an example of a Windows makefile, see +.na +\f2creating a makefile for Windows\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137483.html#makefiles. +.nf +\f3 +.fl +javadoc \-\fP\f3sourcepath\fP\f3 $(SRCDIR) \\ /* Sets path for source files */ +.fl + \-\fP\f3overview\fP\f3 $(SRCDIR)/overview.html \\ /* Sets file for overview text */ +.fl + \-\fP\f3d\fP\f3 /java/jdk/build/api \\ /* Sets destination directory */ +.fl + \-\fP\f3use\fP\f3 \\ /* Adds "Use" files */ +.fl + \-\fP\f3splitIndex\fP\f3 \\ /* Splits index A\-Z */ +.fl + \-\fP\f3windowtitle\fP\f3 $(WINDOWTITLE) \\ /* Adds a window title */ +.fl + \-\fP\f3doctitle\fP\f3 $(DOCTITLE) \\ /* Adds a doc title */ +.fl + \-\fP\f3header\fP\f3 $(HEADER) \\ /* Adds running header text */ +.fl + \-\fP\f3bottom\fP\f3 $(BOTTOM) \\ /* Adds text at bottom */ +.fl + \-\fP\f3group\fP\f3 $(GROUPCORE) \\ /* 1st subhead on overview page */ +.fl + \-\fP\f3group\fP\f3 $(GROUPEXT) \\ /* 2nd subhead on overview page */ +.fl + \-\fP\f3J\fP\f3\-Xmx180m \\ /* Sets memory to 180MB */ +.fl + java.lang java.lang.reflect \\ /* Sets packages to document */ +.fl + java.util java.io java.net \\ +.fl + java.applet +.fl + +.fl +WINDOWTITLE = 'Java(TM) SE 7 API Specification' +.fl +DOCTITLE = 'Java(TM) Platform Standard Edition 7 API Specification' +.fl +HEADER = '<b>Java(TM) SE 7</font>' +.fl +BOTTOM = '<font size="\-1"> +.fl + <a href="http://bugreport.sun.com/bugreport/">Submit a bug or feature</a><br/> +.fl + Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.<br/> +.fl + Oracle is a registered trademark of Oracle Corporation and/or its affiliates. +.fl + Other names may be trademarks of their respective owners.</font>' +.fl +GROUPCORE = '"Core Packages" "java.*:com.sun.java.*:org.omg.*"' +.fl +GROUPEXT = '"Extension Packages" "javax.*"' +.fl +SRCDIR = '/java/jdk/1.7.0/src/share/classes' +.fl +\fP +.fi +.LP +Single quotes are used to surround makefile arguments. +.LP +\f3NOTES\fP +.RS 3 +.TP 2 +o +If you omit the \f2\-windowtitle\fP option, the Javadoc tool copies the doc title to the window title. The \f2\-windowtitle\fP text is basically the same as the \f2\-doctitle\fP but without HTML tags, to prevent those tags from appearing as raw text in the window title. +.TP 2 +o +If you omit the \f2\-footer\fP option, as done here, the Javadoc tool copies the header text to the footer. +.TP 2 +o +Other important options you might want to use but not needed in this example are \-\f2classpath\fP and \-\f2link\fP. +.RE +.SH "TROUBLESHOOTING" +.SS +General Troubleshooting +.RS 3 +.TP 2 +o +\f3Javadoc FAQ\fP \- Commonly\-encountered bugs and troubleshooting tips can be found on the +.na +\f2Javadoc FAQ\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137483.html +.TP 2 +o +\f3Bugs and Limitations\fP \- You can also see some bugs listed at Important Bug Fixes and Changes. +.TP 2 +o +\f3Version number\fP \- See version numbers. +.TP 2 +o +\f3Documents only legal classes\fP \- When documenting a package, javadoc only reads files whose names are composed of legal class names. You can prevent javadoc from parsing a file by including, for example, a hyphen "\-" in its filename. +.RE +.SS +Errors and Warnings +.LP +Error and warning messages contain the filename and line number to the declaration line rather than to the particular line in the doc comment. +.RS 3 +.TP 2 +o +\f2"error: cannot read: Class1.java"\fP the Javadoc tool is trying to load the class Class1.java in the current directory. The class name is shown with its path (absolute or relative), which in this case is the same as \f2./Class1.java\fP. +.RE +.SH "ENVIRONMENT" +.RS 3 +.TP 3 +CLASSPATH +Environment variable that provides the path which javadoc uses to find user class files. This environment variable is overridden by the \f2\-classpath\fP option. Separate directories with a colon, for example: +.:/home/classes:/usr/local/java/classes +.RE +.SH "SEE ALSO" +.RS 3 +.TP 2 +o +javac(1) +.TP 2 +o +java(1) +.TP 2 +o +jdb(1) +.TP 2 +o +javah(1) +.TP 2 +o +javap(1) +.TP 2 +o +.na +\f2Javadoc Home Page\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-jsp\-135444.html +.TP 2 +o +.na +\f2How to Write Doc Comments for Javadoc\fP @ +.fi +http://www.oracle.com/technetwork/java/javase/documentation/index\-137868.html +.TP 2 +o +.na +\f2Setting the Class Path\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#general +.TP 2 +o +.na +\f2How Javac and Javadoc Find Classes\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html#srcfiles (tools.jar) +.RE + diff --git a/Java-Visualizer/java/man/man1/javafxpackager.1 b/Java-Visualizer/java/man/man1/javafxpackager.1 new file mode 100644 index 00000000..17f10672 --- /dev/null +++ b/Java-Visualizer/java/man/man1/javafxpackager.1 @@ -0,0 +1,278 @@ +'\" t +.\" Copyright: Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved. +.\" Arch: Generic +.\" Software: Oracle Java +.\" Date: August 2013 +.\" SectDesc: User Commands +.\" Title: javafxpackager.1 +.\" +.pl 99999 +.TH javafxpackager 1 "August 2013" "Oracle Java" "User Commands" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- + +.SH NAME +javafxpackager \- A tool with commands that perform tasks related to packaging and signing JavaFX applications\&. +.SH SYNOPSIS +.nf +javafxpackager \fI\-taskcommand\fR\fI[\-options]\fR +.fi +.nf +.fi +where \fI-taskcommand\fR is one of the following: +.RE +.PP +-createjar +.RS 4 +Produces a JAR archive according to other parameters\&. +.RE +.PP +-deploy +.RS 4 +Assembles the application package for redistribution\&. By default, the deploy task will generate the base application package, but it can also generate a self-contained application package if requested\&. +.RE +.PP +-createbss +.RS 4 +Converts CSS files into binary form\&. +.RE +.PP +-signJar +.RS 4 +Signs JAR file(s) with a provided certificate\&. +.RE +.PP +-makeall +.RS 4 +Performs compilation, \fIcreatejar\fR, and \fIdeploy\fR steps as one call, with most arguments predefined\&. By default, it attempts to generate all applicable self-contained application packages\&. The source files must be located in a folder called src, and the resulting files (JAR, JNLP, HTML, and self-contained application packages) are put in a folder called dist\&. This command can only be configured in a minimal way and is as automated as possible\&. +.PP +Note that all options are case-insensitive\&. +.SH OPTIONS\ FOR\ THE\ CREATEJAR\ COMMAND +.RE +.PP +-appclass \fI<application class>\fR +.RS 4 +Qualified name of the application class to be executed\&. +.RE +.PP +-preloader \fI<preloader class>\fR +.RS 4 +Qualified name of the preloader class to be executed\&. +.RE +.PP +-paramfile <file> +.RS 4 +A properties file with default named application parameters\&. +.RE +.PP +-argument arg +.RS 4 +An unnamed argument to be inserted into the JNLP file as an \fI<fx:argument>\fR element\&. +.RE +.PP +-classpath \fI<files>\fR +.RS 4 +List of dependent JAR file names\&. +.RE +.PP +-manifestAttrs \fI<manifest attributes>\fR +.RS 4 +List of additional manifest attributes\&. Syntax: +.nf +"name1=value1,name2=value2,name3=value3" +.fi + +.RE +.PP +-noembedlauncher +.RS 4 +If present, the packager will not add the JavaFX launcher classes to the JAR file\&. +.RE +.PP +-nocss2bin +.RS 4 +The packager will not convert CSS files to binary form before copying to JAR\&. +.RE +.PP +-runtimeversion \fI<version>\fR +.RS 4 +Version of the required JavaFX Runtime\&. +.RE +.PP +-outdir \fI<dir>\fR +.RS 4 +Name of the directory that will receive generated output files\&. +.RE +.PP +-outfile \fI<filename>\fR +.RS 4 +Name (without the extension) of the file that will be generated\&. +.RE +.PP +-srcdir \fI<dir>\fR +.RS 4 +Base directory of the files to package\&. +.RE +.PP +-srcfiles \fI<files>\fR +.RS 4 +List of files in \fIsrcdir\fR\&. If omitted, all files in \fIsrcdir\fR (which is a mandatory argument in this case) will be used\&. +.SH OPTIONS\ FOR\ THE\ DEPLOY\ COMMAND +.SH OPTIONS\ FOR\ THE\ CREATEBSS\ COMMAND +.RE +.PP +-outdir \fI<dir>\fR +.RS 4 +Name of the directory that will receive generated output files\&. +.RE +.PP +-srcdir \fI<dir>\fR +.RS 4 +Base directory of the files to package\&. +.RE +.PP +-srcfiles \fI<files>\fR +.RS 4 +List of files in \fIsrcdir\fR\&. If omitted, all files in \fIsrcdir\fR (which is a mandatory argument in this case) will be used\&. +.SH OPTIONS\ FOR\ THE\ SIGNJAR\ COMMAND +.RE +.PP +-keyStore \fI<file>\fR +.RS 4 +Keystore file name\&. +.RE +.PP +-alias +.RS 4 +Alias for the key\&. +.RE +.PP +-storePass +.RS 4 +Password to check integrity of the keystore or unlock the keystore +.RE +.PP +-keyPass +.RS 4 +Password for recovering the key\&. +.RE +.PP +-storeType +.RS 4 +Keystore type\&. The default value is "jks"\&. +.RE +.PP +-outdir \fI<dir>\fR +.RS 4 +Name of the directory that will receive generated output files\&. +.RE +.PP +-srcdir \fI<dir>\fR +.RS 4 +Base directory of the files to be signed\&. +.RE +.PP +-srcfiles \fI<files>\fR +.RS 4 +List of files in \fIsrcdir\fR\&. If omitted, all files in \fIsrcdir\fR (which is a mandatory argument in this case) will be used\&. +.SH OPTIONS\ FOR\ THE\ MAKEALL\ COMMAND +.RE +.PP +-appclass \fI<application class>\fR +.RS 4 +Qualified name of the application class to be executed\&. +.RE +.PP +-preloader \fI<preloader class>\fR +.RS 4 +Qualified name of the preloader class to be executed\&. +.RE +.PP +-classpath \fI<files>\fR +.RS 4 +List of dependent JAR file names\&. +.RE +.PP +-name \fI<name>\fR +.RS 4 +Name of the application\&. +.RE +.PP +-width \fI<width>\fR +.RS 4 +Width of the application\&. +.RE +.PP +-height \fI<height>\fR +.RS 4 +Height of the application\&. +.SH NOTES +.TP 0.2i +\(bu +A \fI-v\fRoption can be used with any task command to enable verbose output\&. +.TP 0.2i +\(bu +When the \fI-srcdir\fR option is allowed in a command, it can be used more than once\&. If the \fI-srcfiles\fR option is specified, the files named in the argument will be looked for in the location specified in the preceding \fIsrcdir\fR option\&. In case there is no \fI-srcdir\fR preceding \fI-srcfiles\fR, the directory where the javafxpackager command is executed will be used\&. +.SH EXAMPLES +\fBExample 1 -createjar Command Usage\fR +.nf +javafxpackager \-createjar \-appclass package\&.ClassName +.fi +.nf + \-srcdir classes \-outdir out \-outfile outjar \-v +.fi +.nf +.fi +Packages the contents of the classes directory to outjar\&.jar, sets the application class to package\&.ClassName\&. +.PP +\fBExample 2 -deploy Command Usage\fR +.nf +javafxpackager \-deploy \-outdir outdir \-outfile outfile \-width 34 \-height 43 +.fi +.nf + \-name AppName \-appclass package\&.ClassName \-v \-srcdir compiled +.fi +.nf +.fi +Generates outfile\&.jnlp and the corresponding outfile\&.html files in outdir for application AppName, which is started by package\&.ClassName and has dimensions of 34 x 43\&. +.PP +\fBExample 3 -makeall command Usage\fR +.nf +javafxpackager \-makeall \-appclass brickbreaker\&.Main \-name BrickBreaker +.fi +.nf + \-width 600 \-height 600 +.fi +.nf +.fi +Does all the packaging work including compilation: compile, createjar, deploy\&. +.PP +\fBExample 4 -signJar Command Usage\fR +.nf +javafxpackager \-signJar \-\-outdir dist \-keyStore sampleKeystore\&.jks +.fi +.nf + \-storePass **** \-alias javafx \-keypass **** \-srcdir dist +.fi +Signs all of the JAR files in the dist directory, attaches a certificate with the specified alias, keyStore and storePass, and puts the signed JAR files back into the dist directory\&. +.RE +.br +'pl 8.5i +'bp diff --git a/Java-Visualizer/java/man/man1/javah.1 b/Java-Visualizer/java/man/man1/javah.1 new file mode 100644 index 00000000..f1b9d890 --- /dev/null +++ b/Java-Visualizer/java/man/man1/javah.1 @@ -0,0 +1,119 @@ +." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javah 1 "18 Jul 2013" + +.LP +.SH "Name" +javah \- C Header and Stub File Generator +.LP +.LP +\f3javah\fP produces C header files and C source files from a Java class. These files provide the connective glue that allow your Java and C code to interact. +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +javah [ \fP\f3options\fP\f3 ] fully\-qualified\-classname. . . +.fl +\fP +.fi + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3javah\fP generates C header and source files that are needed to implement native methods. The generated header and source files are used by C programs to reference an object's instance variables from native source code. The .h file contains a struct definition whose layout parallels the layout of the corresponding class. The fields in the struct correspond to instance variables in the class. +.LP +.LP +The name of the header file and the structure declared within it are derived from the name of the class. If the class passed to \f3javah\fP is inside a package, the package name is prepended to both the header file name and the structure name. Underscores (_) are used as name delimiters. +.LP +.LP +By default \f3javah\fP creates a header file for each class listed on the command line and puts the files in the current directory. Use the \f2\-stubs\fP option to create source files. Use the \f2\-o\fP option to concatenate the results for all listed classes into a single file. +.LP +.LP +The new native method interface, Java Native Interface (JNI), does not require header information or stub files. \f3javah\fP can still be used to generate native method function proptotypes needed for JNI\-style native methods. \f3javah\fP produces JNI\-style output by default, and places the result in the .h file. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-o outputfile +Concatenates the resulting header or source files for all the classes listed on the command line into \f2outputfile\fP. Only one of \f3\-o\fP or \f3\-d\fP may be used. +.TP 3 +\-d directory +Sets the directory where \f3javah\fP saves the header files or the stub files. Only one of \f3\-d\fP or \f3\-o\fP may be used. +.TP 3 +\-stubs +Causes \f3javah\fP to generate C declarations from the Java object file. +.TP 3 +\-verbose +Indicates verbose output and causes \f3javah\fP to print a message to stdout concerning the status of the generated files. +.TP 3 +\-help +Print help message for \f3javah\fP usage. +.TP 3 +\-version +Print out \f3javah\fP version information. +.TP 3 +\-jni +Causes \f3javah\fP to create an output file containing JNI\-style native method function prototypes. This is the default output, so use of \f3\-jni\fP is optional. +.TP 3 +\-classpath path +Specifies the path \f3javah\fP uses to look up classes. Overrides the default or the CLASSPATH environment variable if it is set. Directories are separated by colons. Thus the general format for \f2path\fP is: +.nf +\f3 +.fl + .:<your_path> +.fl +\fP +.fi +For example: +.nf +\f3 +.fl + .:/home/avh/classes:/usr/local/java/classes +.fl +\fP +.fi +As a special convenience, a class path element containing a basename of \f2*\fP is considered equivalent to specifying a list of all the files in the directory with the extension \f2.jar\fP or \f2.JAR\fP (a java program cannot tell the difference between the two invocations). +.br +.br +For example, if directory \f2foo\fP contains \f2a.jar\fP and \f2b.JAR\fP, then the class path element \f2foo/*\fP is expanded to a \f2A.jar:b.JAR\fP, except that the order of jar files is unspecified. All jar files in the specified directory, even hidden ones, are included in the list. A classpath entry consisting simply of \f2*\fP expands to a list of all the jar files in the current directory. The \f2CLASSPATH\fP environment variable, where defined, will be similarly expanded. Any classpath wildcard expansion occurs before the Java virtual machine is started \-\- no Java program will ever see unexpanded wildcards except by querying the environment. For example; by invoking \f2System.getenv("CLASSPATH")\fP. +.TP 3 +\-bootclasspath path +Specifies path from which to load bootstrap classes. By default, the bootstrap classes are the classes implementing the core Java 2 platform located in \f2jre/lib/rt.jar\fP and several other jar files. +.TP 3 +\-old +Specifies that old JDK1.0\-style header files should be generated. +.TP 3 +\-force +Specifies that output files should always be written. +.TP 3 +\-Joption +Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. +.RE + +.LP +.SH "ENVIRONMENT VARIABLES" +.LP +.RS 3 +.TP 3 +CLASSPATH +Used to provide the system a path to user\-defined classes. Directories are separated by colons, for example, +.nf +\f3 +.fl +.:/home/avh/classes:/usr/local/java/classes +.fl +\fP +.fi +.RE + +.LP +.SH "SEE ALSO" +.LP +.LP +javac(1), java(1), jdb(1), javap(1), javadoc(1) +.LP + diff --git a/Java-Visualizer/java/man/man1/javap.1 b/Java-Visualizer/java/man/man1/javap.1 new file mode 100644 index 00000000..4ac2792f --- /dev/null +++ b/Java-Visualizer/java/man/man1/javap.1 @@ -0,0 +1,298 @@ +." Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javap 1 "18 Jul 2013" + +.LP +.SH "Name" +javap \- The Java Class File Disassembler +.LP +.LP +Disassembles class files. +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +javap [ \fP\f3options\fP\f3 ] classes +.fl +\fP +.fi + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3javap\fP command disassembles one or more class files. Its output depends on the options used. If no options are used, \f3javap\fP prints out the package, protected, and public fields and methods of the classes passed to it. \f3javap\fP prints its output to stdout. +.LP +.RS 3 +.TP 3 +options +Command\-line options. +.TP 3 +classes +List of one or more classes (separated by spaces) to be processed for annotations (such as \f2DocFooter.class\fP). You may specify a class that can be found in the class path, by its file name (for example, \f2/home/user/myproject/src/DocFooter.class\fP), or with a URL (for example, \f2file:///home/user/myproject/src/DocFooter.class\fP). +.RE + +.LP +.LP +For example, compile the following class declaration: +.LP +.nf +\f3 +.fl +import java.awt.*; +.fl +import java.applet.*; +.fl + +.fl +public class DocFooter extends Applet { +.fl + String date; +.fl + String email; +.fl + +.fl + public void init() { +.fl + resize(500,100); +.fl + date = getParameter("LAST_UPDATED"); +.fl + email = getParameter("EMAIL"); +.fl + } +.fl + +.fl + public void paint(Graphics g) { +.fl + g.drawString(date + " by ",100, 15); +.fl + g.drawString(email,290,15); +.fl + } +.fl +} +.fl +\fP +.fi + +.LP +.LP +The output from \f3javap DocFooter.class\fP yields: +.LP +.nf +\f3 +.fl +Compiled from "DocFooter.java" +.fl +public class DocFooter extends java.applet.Applet { +.fl + java.lang.String date; +.fl + java.lang.String email; +.fl + public DocFooter(); +.fl + public void init(); +.fl + public void paint(java.awt.Graphics); +.fl +} +.fl +\fP +.fi + +.LP +.LP +The output from \f3javap \-c DocFooter.class\fP yields: +.LP +.nf +\f3 +.fl +Compiled from "DocFooter.java" +.fl +public class DocFooter extends java.applet.Applet { +.fl + java.lang.String date; +.fl + +.fl + java.lang.String email; +.fl + +.fl + public DocFooter(); +.fl + Code: +.fl + 0: aload_0 +.fl + 1: invokespecial #1 // Method java/applet/Applet."<init>":()V +.fl + 4: return +.fl + +.fl + public void init(); +.fl + Code: +.fl + 0: aload_0 +.fl + 1: sipush 500 +.fl + 4: bipush 100 +.fl + 6: invokevirtual #2 // Method resize:(II)V +.fl + 9: aload_0 +.fl + 10: aload_0 +.fl + 11: ldc #3 // String LAST_UPDATED +.fl + 13: invokevirtual #4 // Method getParameter:(Ljava/lang/String;)Ljava/lang/String; +.fl + 16: putfield #5 // Field date:Ljava/lang/String; +.fl + 19: aload_0 +.fl + 20: aload_0 +.fl + 21: ldc #6 // String EMAIL +.fl + 23: invokevirtual #4 // Method getParameter:(Ljava/lang/String;)Ljava/lang/String; +.fl + 26: putfield #7 // Field email:Ljava/lang/String; +.fl + 29: return +.fl + +.fl + public void paint(java.awt.Graphics); +.fl + Code: +.fl + 0: aload_1 +.fl + 1: new #8 // class java/lang/StringBuilder +.fl + 4: dup +.fl + 5: invokespecial #9 // Method java/lang/StringBuilder."<init>":()V +.fl + 8: aload_0 +.fl + 9: getfield #5 // Field date:Ljava/lang/String; +.fl + 12: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; +.fl + 15: ldc #11 // String by +.fl + 17: invokevirtual #10 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; +.fl + 20: invokevirtual #12 // Method java/lang/StringBuilder.toString:()Ljava/lang/String; +.fl + 23: bipush 100 +.fl + 25: bipush 15 +.fl + 27: invokevirtual #13 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V +.fl + 30: aload_1 +.fl + 31: aload_0 +.fl + 32: getfield #7 // Field email:Ljava/lang/String; +.fl + 35: sipush 290 +.fl + 38: bipush 15 +.fl + 40: invokevirtual #13 // Method java/awt/Graphics.drawString:(Ljava/lang/String;II)V +.fl + 43: return +.fl +} +.fl +\fP +.fi + +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-help \-\-help \-? +Prints out help message for \f3javap\fP. +.TP 3 +\-version +Prints out version information. +.TP 3 +\-l +Prints out line and local variable tables. +.TP 3 +\-public +Shows only public classes and members. +.TP 3 +\-protected +Shows only protected and public classes and members. +.TP 3 +\-package +Shows only package, protected, and public classes and members. This is the default. +.TP 3 +\-private \-p +Shows all classes and members. +.TP 3 +\-Jflag +Pass \f2flag\fP directly to the runtime system. Some examples: +.nf +\f3 +.fl +javap \-J\-version +.fl +javap \-J\-Djava.security.manager \-J\-Djava.security.policy=MyPolicy MyClassName +.fl +\fP +.fi +.TP 3 +\-s +Prints internal type signatures. +.TP 3 +\-sysinfo +Shows system information (path, size, date, MD5 hash) of the class being processed. +.TP 3 +\-constants +Shows static final constants. +.TP 3 +\-c +Prints out disassembled code, i.e., the instructions that comprise the Java bytecodes, for each of the methods in the class. These are documented in the +.na +\f2Java Virtual Machine Specification\fP @ +.fi +http://docs.oracle.com/javase/specs/. +.TP 3 +\-verbose +Prints stack size, number of \f2locals\fP and \f2args\fP for methods. +.TP 3 +\-classpath path +Specifies the path \f3javap\fP uses to look up classes. Overrides the default or the CLASSPATH environment variable if it is set. +.TP 3 +\-bootclasspath path +Specifies path from which to load bootstrap classes. By default, the bootstrap classes are the classes implementing the core Java platform located in \f2jre/lib/rt.jar\fP and several other jar files. +.TP 3 +\-extdirs dirs +Overrides location at which installed extensions are searched for. The default location for extensions is the value of \f2java.ext.dirs\fP. +.RE + +.LP +.SH "SEE ALSO" +.LP +.LP +javac(1), java(1), jdb(1), javah(1), javadoc(1) +.LP + diff --git a/Java-Visualizer/java/man/man1/javaws.1 b/Java-Visualizer/java/man/man1/javaws.1 new file mode 100644 index 00000000..9551905e --- /dev/null +++ b/Java-Visualizer/java/man/man1/javaws.1 @@ -0,0 +1,203 @@ +." Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH javaws 1 "18 Jul 2013" + +.LP +.SH "Name" +\f2javaws\fP Command Line +.LP +.SH "NAME" +.LP +.LP +\f2javaws\fP \- Java Web Start launcher command +.LP +.SH "SYNOPSIS" +.LP +.LP +\f2javaws [run\-options] <jnlp>\fP +.LP +.LP +\f2javaws [control\-options]\fP +.LP +.SH "PARAMETERS" +.LP +.LP +\f2[run\-options]\fP +.LP +.LP +Command\-line run\-options. run\-options may be in any order. For a discussion of the various run\-options, see RUN\-OPTIONS below. +.LP +.LP +\f2<jnlp>\fP +.LP +.LP +This can be either the path of, or the Uniform Resource Locater (URL) of the JNLP (Java Network Launching Protocol) file. +.LP +.LP +\f2[control\-options]\fP +.LP +.LP +Command\-line control\-options. control\-options may be in any order. For a discussion of the various control\-options, see CONTROL\-OPTIONS below. +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f2javaws\fP command launches Java Web Start, which is the reference implementation of the Java Network Launching Protocol (JNLP). Java Web Start launches Java applications/applets hosted on a network. +.LP +.LP +If a JNLP file is specified, \f2javaws\fP will launch the Java application/applet specified in the JNLP file. +.LP +.LP +The \f2javaws\fP launcher has a set of options that are supported in the current release. However, the options may be removed in a future release. +.LP +.SH "RUN\-OPTIONS" +.LP +.LP +\f2\-offline\fP +.LP +.LP +Run Java Web Start in offline mode. +.LP +.LP +\f2\-Xnosplash\fP +.LP +.LP +Do not display the initial splash screen. +.LP +.LP +\f2\-open <arguments>\fP +.LP +.LP +If specified, replaces the arguments in the jnlp file with \f2\-open <arguments>\fP. +.LP +.LP +\f2\-print <arguments>\fP +.LP +.LP +If specified, replaces the arguments in the jnlp file with \f2\-print <arguments>\fP. +.LP +.LP +\f2\-online\fP +.LP +.LP +Use online mode (default behavior). +.LP +.LP +\f2\-wait\fP +.LP +.LP +If specified, the \f2javaws\fP process will not exit until the application exits. This option does not function as described on Windows platforms. +.LP +.LP +\f2\-verbose\fP +.LP +.LP +Display additional output. +.LP +.LP +\f2\-J<option>\fP +.LP +.LP +Supply options to the VM. +.LP +.LP +\f2\-system\fP +.LP +.LP +Run the application from the system cache only. +.LP +.SH "CONTROL\-OPTIONS" +.LP +.LP +\f2\-viewer\fP +.LP +.LP +Show the Cache Viewer in the Java Control Panel. +.LP +.LP +\f2\-clearcache\fP +.LP +.LP +Remove all non\-installed applications from the cache. +.LP +.LP +\f2\-userConfig <property name>\fP +.LP +.LP +Clear the specified deployment property. +.LP +.LP +\f2\-userConfig <property name> <property value>\fP +.LP +.LP +Set the specified deployment property to the specified value. +.LP +.LP +\f2\-uninstall\fP +.LP +.LP +Remove all applications from the cache. +.LP +.LP +\f2\-uninstall <jnlp>\fP +.LP +.LP +Remove the application from the cache. +.LP +.LP +\f2\-import [import\-options] <jnlp>\fP +.LP +.LP +Import the application to the cache. +.LP +.SH "IMPORT\-OPTIONS" +.LP +.LP +\f2\-silent\fP +.LP +.LP +Import silently (with no user interface). +.LP +.LP +\f2\-system\fP +.LP +.LP +Import application to the system cache. +.LP +.LP +\f2\-codebase <url>\fP +.LP +.LP +Retrieve resources from the given codebase. +.LP +.LP +\f2\-shortcut\fP +.LP +.LP +Install shortcuts as if user allowed prompt. This option has no effect unless \f2\-silent\fP option is also used. +.LP +.LP +\f2\-association\fP +.LP +.LP +Install associations as if user allowed prompt. This option has no effect unless \f2\-silent\fP option is also used. +.LP +.SH "FILES" +.LP +.LP +For information about the user and system cache and deployment.properties files, see +.na +\f2System\- and User\-Level Properties\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/properties.html. +.LP +.SH "MORE INFORMATION" +.LP +.LP +For more information about Java Web Start, see +.na +\f2Java Web Start\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/index.html. +.LP + diff --git a/Java-Visualizer/java/man/man1/jcmd.1 b/Java-Visualizer/java/man/man1/jcmd.1 new file mode 100644 index 00000000..eea95d6f --- /dev/null +++ b/Java-Visualizer/java/man/man1/jcmd.1 @@ -0,0 +1,94 @@ +." Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. +." +.TH jcmd 1 "18 Jul 2013" + +.LP +.SH "Name" +jcmd \- Sends diagnostic command requests to a running Java Virtual Machine +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jcmd\fP [ \f2options\fP ] +.fl +\f3jcmd\fP [ \f2pid\fP | \f2main\-class\fP ] \f3PerfCounter.print\fP +.fl +\f3jcmd\fP [ \f2pid\fP | \f2main\-class\fP ] \f2command [arguments]\fP +.fl +\f3jcmd\fP [ \f2pid\fP | \f2main\-class\fP ] \f3\-f\fP \f2file\fP +.fl +.fi + +.LP +.RS 3 +.TP 3 +options +The command\-line options. See Options. +.TP 3 +pid +Identifies the process that receives the diagnostic command requests. The process must be a Java process. To get a list of Java processes running on a machine, use jps(1) or jcmd(1). +.TP 3 +main\-class +The main class of the process that receives the diagnostic command requests. When matching processes, any process whose main class name contains the specified string as a substring is matched. If several running Java processes share the same main class, then the diagnostic command request is sent to all these processes. To get a list of Java processes running on a machine, use jps(1) or jcmd(1). +.TP 3 +command [arguments] +The main class of the process that receives the diagnostic command requests. When matching processes, any process whose main class name contains the specified string as a substring is matched. If several running Java processes share the same main class, then the diagnostic command request is sent to all these processes. To get a list of Java processes running on a machine, use jps(1) or jcmd(1). +.TP 3 +Perfcounter.print +Print the performance counters available on the targeted Java processes. The list of performance counters might vary with the Java process. +.TP 3 +\-f file +Read commands from \f2file\fP and call them on the targeted Java processes. In \f2file\fP, each command must be written on a single line. Lines starting with # are ignored. Processing of \f2file\fP ends when all lines have been called or when a line containing the \f3stop\fP keyword is read. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3jcmd\fP is a utility to send diagnostic command requests to a Java Virtual Machine supporting this feature. +.LP +.LP +Used without arguments or with the \f3\-l\fP option, \f3jcmd\fP prints the list of running Java processes with their process ID, their main class and their command\-line arguments. +.LP +.LP +When a process ID is specified on the command line, \f3jcmd\fP sends the diagnostic command request to the process with this ID. +.LP +.LP +When a main class is specified on the command line, \f3jcmd\fP sends the diagnostic command request to all Java processes for which the command\-line argument is a substring of the Java process' main class. +.LP +.LP +With the \f3PerfCounter.print\fP argument, \f3jcmd\fP prints the performance counters available on the targeted Java processes. +.LP +.LP +With the \f3\-f\fP option, \f3jcmd\fP sends to the targeted Java processes the diagnostic commands stored in the specified \f3file\fP. +.LP +.SH "OPTIONS" +.LP +.LP +Options are mutually exclusive. Options, when used, must immediately follow the command name. +.LP +.RS 3 +.TP 3 +\-l +Prints the list of running Java processes with their process IDs, their main classes, and their command\-line arguments. +.TP 3 +\-h +Prints a help message. +.TP 3 +\-help +Prints a help message. +.RE + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +jps +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jconsole.1 b/Java-Visualizer/java/man/man1/jconsole.1 new file mode 100644 index 00000000..e0740382 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jconsole.1 @@ -0,0 +1,118 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jconsole 1 "18 Jul 2013" + +.LP +.SH "Name" +jconsole \- Java Monitoring and Management Console +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jconsole\fP [ \f2options\fP ] [ connection ... ] +.fl + +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +options +Options, if used, should follow immediately after the command name. +.TP 3 +connection = pid | host:port | jmxUrl +.RS 3 +.TP 2 +o +\f2pid\fP Process ID of a local Java VM. The Java VM must be running with the same user ID as the user ID running jconsole. See +.na +\f2JMX Monitoring and Management\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.html for details. +.TP 2 +o +\f2host\fP:\f2port\fP Name of the host system on which the Java VM is running and the port number specified by the system property \f2com.sun.management.jmxremote.port\fP when the Java VM was started. See +.na +\f2JMX Monitoring and Management\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.html for details. +.TP 2 +o +\f2jmxUrl\fP Address of the JMX agent to be connected to as described in +.na +\f2JMXServiceURL\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/javax/management/remote/JMXServiceURL.html. +.RE +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3jconsole\fP command launches a graphical console tool that enables you to monitor and manage Java applications and virtual machines on a local or remote machine. +.LP +.LP +On Windows, \f3jconsole\fP does not associate with a console window. It will, however, display a dialog box with error information if the \f3jconsole\fP command fails for some reason. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-interval=n +Set the update interval to \f2n\fP seconds (default is 4 seconds). +.TP 3 +\-notile +Do not tile windows initially (for two or more connections). +.TP 3 +\-pluginpath plugins +Specify a list of directories or JAR files which are searched for JConsole plugins. The \f2plugins\fP path should contain a provider\-configuration file named: +.br +.nf +\f3 +.fl + META\-INF/services/com.sun.tools.jconsole.JConsolePlugin +.fl +\fP +.fi +containing one line for each plugin specifying the fully qualified class name of the class implementing the +.na +\f2com.sun.tools.jconsole.JConsolePlugin\fP @ +.fi +http://docs.oracle.com/javase/7/docs/jdk/api/jconsole/spec/com/sun/tools/jconsole/JConsolePlugin.html class. +.TP 3 +\-version +Output version information and exit. +.TP 3 +\-help +Output help message and exit. +.TP 3 +\-J<flag> +Pass <flag> to the Java virtual machine on which jconsole is run. +.RE + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +.na +\f2Using JConsole\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html +.TP 2 +o +.na +\f2Monitoring and Management for Java Platform\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/management/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jdb.1 b/Java-Visualizer/java/man/man1/jdb.1 new file mode 100644 index 00000000..33d21385 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jdb.1 @@ -0,0 +1,311 @@ +." Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jdb 1 "18 Jul 2013" + +.LP +.SH "Name" +jdb \- The Java Debugger +.LP +.LP +\f3jdb\fP helps you find and fix bugs in Java language programs. +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jdb\fP [ options ] [ class ] [ arguments ] +.fl +.fi + +.LP +.RS 3 +.TP 3 +options +Command\-line options, as specified below. +.TP 3 +class +Name of the class to begin debugging. +.TP 3 +arguments +Arguments passed to the \f2main()\fP method of \f2class\fP. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The Java Debugger, \f3jdb\fP, is a simple command\-line debugger for Java classes. It is a demonstration of the +.na +\f2Java Platform Debugger Architecture\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/index.html that provides inspection and debugging of a local or remote Java Virtual Machine. +.LP +.SS +Starting a jdb Session +.LP +.LP +There are many ways to start a jdb session. The most frequently used way is to have \f3jdb\fP launch a new Java Virtual Machine (VM) with the main class of the application to be debugged. This is done by substituting the command \f3jdb\fP for \f3java\fP in the command line. For example, if your application's main class is MyClass, you use the following command to debug it under JDB: +.LP +.nf +\f3 +.fl + % jdb MyClass +.fl +\fP +.fi + +.LP +.LP +When started this way, \f3jdb\fP invokes a second Java VM with any specified parameters, loads the specified class, and stops the VM before executing that class's first instruction. +.LP +.LP +Another way to use \f3jdb\fP is by attaching it to a Java VM that is already running. Syntax for Starting a VM to which jdb will attach when the VM is running is as follows. This loads in\-process debugging libraries and specifies the kind of connection to be made. +.LP +.nf +\f3 +.fl +\-agentlib:jdwp=transport=dt_socket,server=y,suspend=n +.fl +\fP +.fi + +.LP +.LP +For example, the following command will run the MyClass application, and allow \f3jdb\fP to connect to it at a later time. +.LP +.nf +\f3 +.fl + % java \-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n MyClass +.fl +\fP +.fi + +.LP +.LP +You can then attach \f3jdb\fP to the VM with the following commmand: +.LP +.nf +\f3 +.fl + % jdb \-attach 8000 +.fl +\fP +.fi + +.LP +.LP +Note that "MyClass" is not specified in the \f3jdb\fP command line in this case because \f3jdb\fP is connecting to an existing VM instead of launching a new one. +.LP +.LP +There are many other ways to connect the debugger to a VM, and all of them are supported by \f3jdb\fP. The Java Platform Debugger Architecture has additional +.na +\f2documentation\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.html on these connection options. For information on starting a J2SE 1.4.2 or early VM for use with \f3jdb\fP see the +.na +\f21.4.2 documentation\fP @ +.fi +http://docs.oracle.com/javase/1.4.2/docs/guide/jpda/conninv.html +.LP +.SS +Basic jdb Commands +.LP +.LP +The following is a list of the basic \f3jdb\fP commands. The Java debugger supports other commands which you can list using \f3jdb\fP's \f2help\fP command. +.LP +.RS 3 +.TP 3 +help, or ? +The most important \f3jdb\fP command, \f2help\fP displays the list of recognized commands with a brief description. +.TP 3 +run +After starting \f3jdb\fP, and setting any necessary breakpoints, you can use this command to start the execution the debugged application. This command is available only when \f3jdb\fP launches the debugged application (as opposed to attaching to an existing VM). +.TP 3 +cont +Continues execution of the debugged application after a breakpoint, exception, or step. +.TP 3 +print +Displays Java objects and primitive values. For variables or fields of primitive types, the actual value is printed. For objects, a short description is printed. See the \f2dump\fP command below for getting more information about an object. +.br +.br +\f2NOTE: To display local variables, the containing class must have been compiled with the \fP\f2javac(1)\fP\f2 \fP\f2\-g\fP option. +.br +.br +\f2print\fP supports many simple Java expressions including those with method invocations, for example: +.RS 3 +.TP 2 +o +\f2print MyClass.myStaticField\fP +.TP 2 +o +\f2print myObj.myInstanceField\fP +.TP 2 +o +\f2print i + j + k\fP \f2(i, j, k are primities and either fields or local variables)\fP +.TP 2 +o +\f2print myObj.myMethod()\fP \f2(if myMethod returns a non\-null)\fP +.TP 2 +o +\f2print new java.lang.String("Hello").length()\fP +.RE +.TP 3 +dump +For primitive values, this command is identical to \f2print\fP. For objects, it prints the current value of each field defined in the object. Static and instance fields are included. +.br +.br +The \f2dump\fP command supports the same set of expressions as the \f2print\fP command. +.TP 3 +threads +List the threads that are currently running. For each thread, its name and current status are printed, as well as an index that can be used for other commands, for example: +.nf +\f3 +.fl +4. (java.lang.Thread)0x1 main running +.fl +\fP +.fi +In this example, the thread index is 4, the thread is an instance of java.lang.Thread, the thread name is "main", and it is currently running, +.TP 3 +thread +Select a thread to be the current thread. Many \f3jdb\fP commands are based on the setting of the current thread. The thread is specified with the thread index described in the \f2threads\fP command above. +.TP 3 +where +\f2where\fP with no arguments dumps the stack of the current thread. \f2where all\fP dumps the stack of all threads in the current thread group. \f2where\fP \f2threadindex\fP dumps the stack of the specified thread. +.br +.br +If the current thread is suspended (either through an event such as a breakpoint or through the \f2suspend\fP command), local variables and fields can be displayed with the \f2print\fP and \f2dump\fP commands. The \f2up\fP and \f2down\fP commands select which stack frame is current. +.RE + +.LP +.SS +Breakpoints +.LP +.LP +Breakpoints can be set in \f3jdb\fP at line numbers or at the first instruction of a method, for example: +.LP +.RS 3 +.TP 2 +o +\f2stop at MyClass:22\fP \f2(sets a breakpoint at the first instruction for line 22 of the source file containing MyClass)\fP +.TP 2 +o +\f2stop in java.lang.String.length\fP \f2(sets a breakpoint at the beginnig of the method \fP\f2java.lang.String.length\fP) +.TP 2 +o +\f2stop in MyClass.<init>\fP \f2(<init> identifies the MyClass constructor)\fP +.TP 2 +o +\f2stop in MyClass.<clinit>\fP \f2(<clinit> identifies the static initialization code for MyClass)\fP +.RE + +.LP +.LP +If a method is overloaded, you must also specify its argument types so that the proper method can be selected for a breakpoint. For example, "\f2MyClass.myMethod(int,java.lang.String)\fP", or "\f2MyClass.myMethod()\fP". +.LP +.LP +The \f2clear\fP command removes breakpoints using a syntax as in "\f2clear\ MyClass:45\fP". Using the \f2clear\fP or command with no argument displays a list of all breakpoints currently set. The \f2cont\fP command continues execution. +.LP +.SS +Stepping +.LP +.LP +The \f2step\fP commands advances execution to the next line whether it is in the current stack frame or a called method. The \f2next\fP command advances execution to the next line in the current stack frame. +.LP +.SS +Exceptions +.LP +.LP +When an exception occurs for which there isn't a catch statement anywhere in the throwing thread's call stack, the VM normally prints an exception trace and exits. When running under \f3jdb\fP, however, control returns to \f3jdb\fP at the offending throw. You can then use \f3jdb\fP to diagnose the cause of the exception. +.LP +.LP +Use the \f2catch\fP command to cause the debugged application to stop at other thrown exceptions, for example: "\f2catch java.io.FileNotFoundException\fP" or "\f2catch mypackage.BigTroubleException\fP. Any exception which is an instance of the specifield class (or of a subclass) will stop the application at the point where it is thrown. +.LP +.LP +The \f2ignore\fP command negates the effect of a previous \f2catch\fP command. +.LP +.LP +\f2NOTE: The \fP\f2ignore\fP command does not cause the debugged VM to ignore specific exceptions, only the debugger. +.LP +.SH "Command Line Options" +.LP +.LP +When you use \f3jdb\fP in place of the Java application launcher on the command line, \f3jdb\fP accepts many of the same options as the java command, including \f2\-D\fP, \f2\-classpath\fP, and \f2\-X<option>\fP. +.LP +.LP +The following additional options are accepted by \f3jdb\fP: +.LP +.RS 3 +.TP 3 +\-help +Displays a help message. +.TP 3 +\-sourcepath <dir1:dir2:...> +Uses the given path in searching for source files in the specified path. If this option is not specified, the default path of "." is used. +.TP 3 +\-attach <address> +Attaches the debugger to previously running VM using the default connection mechanism. +.TP 3 +\-listen <address> +Waits for a running VM to connect at the specified address using standard connector. +.TP 3 +\-listenany +Waits for a running VM to connect at any available address using standard connector. +.TP 3 +\-launch +Launches the debugged application immediately upon startup of jdb. This option removes the need for using the \f2run\fP command. The debuged application is launched and then stopped just before the initial application class is loaded. At that point you can set any necessary breakpoints and use the \f2cont\fP to continue execution. +.TP 3 +\-listconnectors +List the connectors available in this VM +.TP 3 +\-connect <connector\-name>:<name1>=<value1>,... +Connects to target VM using named connector with listed argument values. +.TP 3 +\-dbgtrace [flags] +Prints info for debugging jdb. +.TP 3 +\-tclient +Runs the application in the Java HotSpot(tm) VM (Client). +.TP 3 +\-tserver +Runs the application in the Java HotSpot(tm) VM (Server). +.TP 3 +\-Joption +Pass \f2option\fP to the Java virtual machine used to run jdb. (Options for the application Java virtual machine are passed to the \f3run\fP command.) For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. +.RE + +.LP +.LP +Other options are supported for alternate mechanisms for connecting the debugger and the VM it is to debug. The Java Platform Debugger Architecture has additional +.na +\f2documentation\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.html on these connection alternatives. +.LP +.SS +Options Forwarded to Debuggee Process +.LP +.RS 3 +.TP 3 +\-v \-verbose[:class|gc|jni] +Turns on verbose mode. +.TP 3 +\-D<name>=<value> +Sets a system property. +.TP 3 +\-classpath <directories separated by ":"> +Lists directories in which to look for classes. +.TP 3 +\-X<option> +Non\-standard target VM option +.RE + +.LP +.SH "SEE ALSO" +.LP +.LP +javac(1), java(1), javah(1), javap(1), javadoc(1). +.LP + diff --git a/Java-Visualizer/java/man/man1/jhat.1 b/Java-Visualizer/java/man/man1/jhat.1 new file mode 100644 index 00000000..ab1d1bc5 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jhat.1 @@ -0,0 +1,115 @@ +." Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jhat 1 "18 Jul 2013" + +.LP +.SH "Name" +jhat \- Java Heap Analysis Tool +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jhat\fP [ \f2options\fP ] <heap\-dump\-file> +.fl + +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +options +Options, if used, should follow immediately after the command name. +.TP 3 +heap\-dump\-file +Java binary heap dump file to be browsed. For a dump file that contains multiple heap dumps, you may specify which dump in the file by appending "#<number> to the file name, i.e. "foo.hprof#3". +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3jhat\fP command parses a java heap dump file and launches a webserver. jhat enables you to browse heap dumps using your favorite webbrowser. jhat supports pre\-designed queries (such as 'show all instances of a known class "Foo"') as well as \f3OQL\fP (\f3O\fPbject \f3Q\fPuery \f3L\fPanguage) \- a SQL\-like query language to query heap dumps. Help on OQL is available from the OQL help page shown by jhat. With the default port, OQL help is available at http://localhost:7000/oqlhelp/ +.LP +.LP +There are several ways to generate a java heap dump: +.LP +.RS 3 +.TP 2 +o +Use jmap(1) \-dump option to obtain a heap dump at runtime; +.TP 2 +o +Use jconsole(1) option to obtain a heap dump via +.na +\f2HotSpotDiagnosticMXBean\fP @ +.fi +http://docs.oracle.com/javase/7/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean.html at runtime; +.TP 2 +o +Heap dump will be generated when OutOfMemoryError is thrown by specifying \-XX:+HeapDumpOnOutOfMemoryError VM option; +.TP 2 +o +Use hprof. +.RE + +.LP +.LP +\f3NOTE:\fP This tool is \f3experimental\fP and may \f3not\fP be available in future versions of the JDK. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-stack false/true +Turn off tracking object allocation call stack. Note that if allocation site information is not available in the heap dump, you have to set this flag to false. Default is true. +.TP 3 +\-refs false/true +Turn off tracking of references to objects. Default is true. By default, back pointers (objects pointing to a given object a.k.a referrers or in\-coming references) are calculated for all objects in the heap. +.TP 3 +\-port port\-number +Set the port for the jhat's HTTP server. Default is 7000. +.TP 3 +\-exclude exclude\-file +Specify a file that lists data members that should be excluded from the "reachable objects" query. For example, if the file lists \f2java.lang.String.value\fP, then, whenever list of objects reachable from a specific object "o" are calculated, reference paths involving \f2java.lang.String.value\fP field will not considered. +.TP 3 +\-baseline baseline\-dump\-file +Specify a baseline heap dump. Objects in both heap dumps with the same object ID will be marked as not being "new". Other objects will be marked as "new". This is useful while comparing two different heap dumps. +.TP 3 +\-debug int +Set debug level for this tool. 0 means no debug output. Set higher values for more verbose modes. +.TP 3 +\-version +Report version number and exit. +.TP 3 +\-h +Output help message and exit. +.TP 3 +\-help +Output help message and exit. +.TP 3 +\-J<flag> +Pass <flag> to the Java virtual machine on which jhat is run. For example, \-J\-Xmx512m to use a maximum heap size of 512MB. +.RE + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +jmap(1) +.TP 2 +o +jconsole(1) +.TP 2 +o +hprof \- Heap and CPU profiling tool +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jinfo.1 b/Java-Visualizer/java/man/man1/jinfo.1 new file mode 100644 index 00000000..e64e3e6f --- /dev/null +++ b/Java-Visualizer/java/man/man1/jinfo.1 @@ -0,0 +1,128 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jinfo 1 "18 Jul 2013" + +.LP +.SH "Name" +jinfo \- Configuration Info +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jinfo\fP [ option ] pid +.fl +\f3jinfo\fP [ option ] executable core +.fl +\f3jinfo\fP [ option ] [server\-id@]remote\-hostname\-or\-IP +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +option +Options are mutually exclusive. Option, if used, should follow immediately after the command name. +.RE + +.LP +.RS 3 +.TP 3 +pid +process id for which the configuration info is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. +.RE + +.LP +.RS 3 +.TP 3 +executable +Java executable from which the core dump was produced. +.RE + +.LP +.RS 3 +.TP 3 +core +core file for which the configuration info is to be printed. +.RE + +.LP +.RS 3 +.TP 3 +remote\-hostname\-or\-IP +remote debug server's (see jsadebugd(1)) hostname or IP address. +.RE + +.LP +.RS 3 +.TP 3 +server\-id +optional unique id, if multiple debug servers are running on the same remote host. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3jinfo\fP prints Java configuration information for a given Java process or core file or a remote debug server. Configuration information includes Java System properties and Java virtual machine command line flags. If the given process is running on a 64\-bit VM, you may need to specify the \f2\-J\-d64\fP option, e.g.: +.br +jinfo \-J\-d64 \-sysprops pid +.LP +.LP +\f3NOTE \- This utility is unsupported and may or may not be available in future versions of the JDK. In Windows Systems where dbgeng.dll is not present, 'Debugging Tools For Windows' need to be installed to have these tools working. Also, \fP\f4PATH\fP\f3 environment variable should contain the location of \fP\f4jvm.dll\fP\f3 used by the target process or the location from which the Crash Dump file was produced.\fP +.LP +.LP +\f3For example, \fP\f4set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +<no option> +prints both command line flags as well as System properties name, value pairs. +.br +.TP 3 +\-flag name +prints the name and value of the given command line flag. +.br +.TP 3 +\-flag [+|\-]name +enables or disables the given boolean command line flag. +.br +.TP 3 +\-flag name=value +sets the given command line flag to the specified value. +.br +.TP 3 +\-flags +prints command line flags passed to the JVM. pairs. +.br +.TP 3 +\-sysprops +prints Java System properties as name, value pairs. +.br +.TP 3 +\-h +prints a help message +.TP 3 +\-help +prints a help message +.RE + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +jps(1) +.TP 2 +o +jsadebugd(1) +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jmap.1 b/Java-Visualizer/java/man/man1/jmap.1 new file mode 100644 index 00000000..e1207cc7 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jmap.1 @@ -0,0 +1,141 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jmap 1 "18 Jul 2013" + +.LP +.SH "Name" +jmap \- Memory Map +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jmap\fP [ option ] pid +.fl +\f3jmap\fP [ option ] executable core +.fl +\f3jmap\fP [ option ] [server\-id@]remote\-hostname\-or\-IP +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +option +Options are mutually exclusive. Option, if used, should follow immediately after the command name. +.TP 3 +pid +process id for which the memory map is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. +.br +.TP 3 +executable +Java executable from which the core dump was produced. +.br +.TP 3 +core +core file for which the memory map is to be printed. +.br +.TP 3 +remote\-hostname\-or\-IP +remote debug server's (see jsadebugd(1)) hostname or IP address. +.br +.TP 3 +server\-id +optional unique id, if multiple debug servers are running on the same remote host. +.br +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3jmap\fP prints shared object memory maps or heap memory details of a given process or core file or a remote debug server. If the given process is running on a 64\-bit VM, you may need to specify the \f2\-J\-d64\fP option, e.g.: +.LP +.nf +\f3 +.fl +jmap \-J\-d64 \-heap pid +.fl +\fP +.fi + +.LP +.LP +\f3NOTE: This utility is unsupported and may or may not be available in future versions of the JDK. In Windows Systems where dbgeng.dll is not present, 'Debugging Tools For Windows' needs to be installed to have these tools working. Also, \fP\f4PATH\fP\f3 environment variable should contain the location of \fP\f4jvm.dll\fP\f3 used by the target process or the location from which the Crash Dump file was produced.\fP +.LP +.LP +\f3For example, \fP\f4set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP +.LP +.br + +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +<no option> +When no option is used jmap prints shared object mappings. For each shared object loaded in the target VM, start address, the size of the mapping, and the full path of the shared object file are printed. This is similar to the Solaris \f3pmap\fP utility. +.br +.TP 3 +\-dump:[live,]format=b,file=<filename> +Dumps the Java heap in hprof binary format to filename. The \f2live\fP suboption is optional. If specified, only the live objects in the heap are dumped. To browse the heap dump, you can use jhat(1) (Java Heap Analysis Tool) to read the generated file. +.br +.TP 3 +\-finalizerinfo +Prints information on objects awaiting finalization. +.br +.TP 3 +\-heap +Prints a heap summary. GC algorithm used, heap configuration and generation wise heap usage are printed. +.br +.TP 3 +\-histo[:live] +Prints a histogram of the heap. For each Java class, number of objects, memory size in bytes, and fully qualified class names are printed. VM internal class names are printed with '*' prefix. If the \f2live\fP suboption is specified, only live objects are counted. +.br +.TP 3 +\-permstat +Prints class loader wise statistics of permanent generation of Java heap. For each class loader, its name, liveness, address, parent class loader, and the number and size of classes it has loaded are printed. In addition, the number and size of interned Strings are printed. +.br +.TP 3 +\-F +Force. Use with jmap \-dump or jmap \-histo option if the pid does not respond. The \f2live\fP suboption is not supported in this mode. +.br +.TP 3 +\-h +Prints a help message. +.br +.br +.TP 3 +\-help +Prints a help message. +.br +.br +.TP 3 +\-J<flag> +Passes <flag> to the Java virtual machine on which jmap is run. +.br +.RE + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +pmap(1) +.TP 2 +o +jhat(1) +.TP 2 +o +jps(1) +.TP 2 +o +jsadebugd(1) +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jmc.1 b/Java-Visualizer/java/man/man1/jmc.1 new file mode 100644 index 00000000..caf6e192 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jmc.1 @@ -0,0 +1,75 @@ +." Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. +." +.TH jmc 1 "18 Jul 2013" + +.LP +.SH "Name" +jmc \- Java Mission Control, a profiling, monitoring, and diagnostics tools suite +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jmc\fP [ \f2options\fP ] +.fl +.fi + +.LP +.LP +Options, if used, should follow immediately after the command name. Options may be in any order. For more information about the options used with the \f3jmc\fP command, see Options. +.LP +.SH "DESCRIPTION" +.LP +.LP +Java Mission Control is a tool for production time profiling and diagnostics for the HotSpot JVM. The two main features of Java Mission Control are the Management Console and Java Flight Recorder, but several more features are offered as plug\-ins, which can be downloaded from the tool. Java Mission Control is also available as a set of plug\-ins for the Eclipse IDE. +.LP +.SH "OPTIONS" +.LP +.LP +The following options are available when you launch Java Mission Control. +.LP +.RS 3 +.TP 3 +\-help +Prints \f3jmc\fP command help. +.TP 3 +\-version +Prints the version of Java Mission Control and exit. +.TP 3 +\-showversion +Prints the version of Java Mission Control and continue. +.TP 3 +\-debug +Enables debug output. +.TP 3 +\-consoleLog +Prints the Eclipse log on the console. (Flag from Eclipse). +.TP 3 +\-data workspace +Sets the \f2workspace\fP used while running Java Mission Control. The default workspace is \f3$HOME/.jmc\fP. (Flag from Eclipse). +.TP 3 +\-open file +Opens the \f2file\fP in Java Mission Control. For example, to open a Flight Recording file (\f3.jfr\fP file). +.TP 3 +eclipse\-option +Passes this \f2eclipse\-option\fP to the underlying Eclipse platform. +.TP 3 +\-Jjvm\-option +Passes this \f2jvm\-option\fP to the running Java Virtual Machine. +.RE + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +\f2Oracle Java SE Advanced and Oracle Java SE Suite\fP at http://www.oracle.com/us/technologies/java/standard\-edition/advanced\-suite/overview/index.html +.TP 2 +o +\f2JMC Developer Guid\fPe at http://docs.oracle.com/javase/7/docs/technotes/guides/jmc/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jps.1 b/Java-Visualizer/java/man/man1/jps.1 new file mode 100644 index 00000000..5f7fcce9 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jps.1 @@ -0,0 +1,231 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jps 1 "18 Jul 2013" + +.LP +.SH "Name" +jps \- Java Virtual Machine Process Status Tool +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jps\fP [ \f2options\fP ] [ \f2hostid\fP ] +.br + +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +options +Command\-line options. +.TP 3 +hostid +The host identifier of the host for which the process report should be generated. The \f2hostid\fP may include optional components that indicate the communications protocol, port number, and other implementation specific data. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3jps\fP tool lists the instrumented HotSpot Java Virtual Machines (JVMs) on the target system. The tool is limited to reporting information on JVMs for which it has the access permissions. +.LP +.LP +If \f3jps\fP is run without specifying a \f2hostid\fP, it will look for instrumented JVMs on the local host. If started with a \f2hostid\fP, it will look for JVMs on the indicated host, using the specified protocol and port. A \f3jstatd\fP process is assumed to be running on the target host. +.LP +.LP +The \f3jps\fP command will report the local VM identifier, or \f2lvmid\fP, for each instrumented JVM found on the target system. The \f3lvmid\fP is typically, but not necessarily, the operating system's process identifier for the JVM process. With no options, \f3jps\fP will list each Java application's \f2lvmid\fP followed by the short form of the application's class name or jar file name. The short form of the class name or JAR file name omits the class's package information or the JAR files path information. +.LP +.LP +The \f3jps\fP command uses the \f3java\fP launcher to find the class name and arguments passed to the \f2main\fP method. If the target JVM is started with a custom launcher, the class name (or JAR file name) and the arguments to the \f2main\fP method will not be available. In this case, the \f3jps\fP command will output the string \f2Unknown\fP for the class name or JAR file name and for the arguments to the main method. +.LP +.LP +The list of JVMs produced by the \f3jps\fP command may be limited by the permissions granted to the principal running the command. The command will only list the JVMs for which the principle has access rights as determined by operating system specific access control mechanisms. +.LP +.LP +\f3NOTE:\fP This utility is unsupported and may not be available in future versions of the JDK. It is not currently available on Windows 98 and Windows ME platforms. +.LP +.SH "OPTIONS" +.LP +.LP +The \f3jps\fP command supports a number of options that modify the output of the command. These options are subject to change or removal in the future. +.LP +.RS 3 +.TP 3 +\-q +Suppress the output of the class name, JAR file name, and arguments passed to the \f2main\fP method, producing only a list of local VM identifiers. +.TP 3 +\-m +Output the arguments passed to the main method. The output may be null for embedded JVMs. +.TP 3 +\-l +Output the full package name for the application's main class or the full path name to the application's JAR file. +.TP 3 +\-v +Output the arguments passed to the JVM. +.TP 3 +\-V +Output the arguments passed to the JVM through the flags file (the .hotspotrc file or the file specified by the \-XX:Flags=<\f2filename\fP> argument). +.TP 3 +\-Joption +Pass \f2option\fP to the \f3java\fP launcher called by \f3jps\fP. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying VM executing applications written in Java. +.RE + +.LP +.SS +HOST IDENTIFIER +.LP +.LP +The host identifier, or \f2hostid\fP is a string that indicates the target system. The syntax of the \f2hostid\fP string largely corresponds to the syntax of a URI: +.LP +.nf +\f3 +.fl +[\fP\f4protocol\fP\f3:][[//]\fP\f4hostname\fP\f3][:\fP\f4port\fP\f3][/\fP\f4servername\fP\f3]\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.RS 3 +.TP 3 +protocol +The communications protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is not specified, the default protocol is a platform specific, optimized, local protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is specified, then the default protocol is \f3rmi\fP. +.TP 3 +hostname +A hostname or IP address indicating the target host. If \f2hostname\fP is omitted, then the target host is the local host. +.TP 3 +port +The default port for communicating with the remote server. If the \f2hostname\fP is omitted or the \f2protocol\fP specifies an optimized, local protocol, then \f2port\fP is ignored. Otherwise, treatment of the \f2port\fP parameter is implementation specific. For the default \f3rmi\fP protocol the \f2port\fP indicates the port number for the rmiregistry on the remote host. If \f2port\fP is omitted, and \f2protocol\fP indicates \f3rmi\fP, then the default rmiregistry port (1099) is used. +.TP 3 +servername +The treatment of this parameter depends on the implementation. For the optimized, local protocol, this field is ignored. For the \f3rmi\fP protocol, this parameter is a string representing the name of the RMI remote object on the remote host. See the \f3\-n\fP option for the jstatd(1) command. +.RE + +.LP +.SH "OUTPUT FORMAT" +.LP +.LP +The output of the \f3jps\fP command follows the following pattern: +.LP +.nf +\f3 +.fl +\fP\f4lvmid\fP\f3 [ [ \fP\f4classname\fP\f3 | \fP\f4JARfilename\fP\f3 | "Unknown"] [ \fP\f4arg\fP\f3* ] [ \fP\f4jvmarg\fP\f3* ] ]\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.LP +Where all output tokens are separated by white space. An \f2arg\fP that includes embedded white space will introduce ambiguity when attempting to map arguments to their actual positional parameters. +.br +.br +\f3NOTE\fP: You are advised not to write scripts to parse \f3jps\fP output since the format may change in future releases. If you choose to write scripts that parse \f3jps\fP output, expect to modify them for future releases of this tool. +.br + +.LP +.SH "EXAMPLES" +.LP +.LP +This section provides examples of the \f3jps\fP command. +.LP +.LP +Listing the instrumented JVMs on the local host: +.LP +.nf +\f3 +.fl +\fP\f3jps\fP +.br + +.fl +18027 Java2Demo.JAR +.br + +.fl +18032 jps +.br + +.fl +18005 jstat +.br + +.fl +.fi + +.LP +.LP +Listing the instrumented JVMs on a remote host: +.LP +.LP +This example assumes that the \f3jstat\fP server and either the its internal RMI registry or a separate external \f3rmiregistry\fP process are running on the remote host on the default port (port 1099). It also assumes that the local host has appropriate permissions to access the remote host. This example also includes the \f2\-l\fP option to output the long form of the class names or JAR file names. +.LP +.nf +\f3 +.fl +\fP\f3jps \-l remote.domain\fP +.br + +.fl +3002 /opt/jdk1.7.0/demo/jfc/Java2D/Java2Demo.JAR +.br + +.fl +2857 sun.tools.jstatd.jstatd +.br + +.fl +.fi + +.LP +.LP +Listing the instrumented JVMs on a remote host with a non\-default port for the RMI registry +.LP +.LP +This example assumes that the \f3jstatd\fP server, with an internal RMI registry bound to port 2002, is running on the remote host. This example also uses the \f2\-m\fP option to include the arguments passed to the \f2main\fP method of each of the listed Java applications. +.LP +.nf +\f3 +.fl +\fP\f3jps \-m remote.domain:2002\fP +.br + +.fl +3002 /opt/jdk1.7.0/demo/jfc/Java2D/Java2Demo.JAR +.br + +.fl +3102 sun.tools.jstatd.jstatd \-p 2002 +.fl +.fi + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +java(1) \- the Java Application Launcher +.TP 2 +o +jstat(1) \- the Java virtual machine Statistics Monitoring Tool +.TP 2 +o +jstatd(1) \- the jstat daemon +.TP 2 +o +rmiregistry(1) \- the Java Remote Object Registry +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jrunscript.1 b/Java-Visualizer/java/man/man1/jrunscript.1 new file mode 100644 index 00000000..82a8b7bf --- /dev/null +++ b/Java-Visualizer/java/man/man1/jrunscript.1 @@ -0,0 +1,168 @@ +." Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jrunscript 1 "18 Jul 2013" + +.LP +.SH "Name" +jrunscript \- command line script shell +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jrunscript\fP [ \f2options\fP ] [ arguments... ] +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +options +Options, if used, should follow immediately after the command name. +.TP 3 +arguments +Arguments, if used, should follow immediately after options or command name. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3jrunscript\fP is a command line script shell. jrunscript supports both an interactive (read\-eval\-print) mode and a batch (\-f option) mode of script execution. This is a scripting language independent shell. By default, JavaScript is the language used, but the \-l option can be used to specify a different language. Through Java to scripting language communication, jrunscript supports "exploratory programming" style. +.LP +.LP +\f3NOTE:\fP This tool is \f3experimental\fP and may \f3not\fP be available in future versions of the JDK. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-classpath path +Specify where to find the user's .class files that are accessed by the script. +.TP 3 +\-cp path +This is a synonym for \-classpath \f2path\fP +.TP 3 +\-Dname=value +Set a Java system property. +.TP 3 +\-J<flag> +Pass <flag> directly to the Java virtual machine on which jrunscript is run. +.TP 3 +\-l language +Use the specified scripting language. By default, JavaScript is used. Note that to use other scripting languages, you also need to specify the corresponding script engine's jar file using \-cp or \-classpath option. +.TP 3 +\-e script +Evaluate the given script. This option can be used to run "one liner" scripts specified completely on the command line. +.TP 3 +\-encoding encoding +Specify the character encoding used while reading script files. +.TP 3 +\-f script\-file +Evaluate the given script file (batch mode). +.TP 3 +\-f \- +Read and evaluate a script from standard input (interactive mode). +.TP 3 +\-help\ +Output help message and exit. +.TP 3 +\-?\ +Output help message and exit. +.TP 3 +\-q\ +List all script engines available and exit. +.RE + +.LP +.SH "ARGUMENTS" +.LP +.LP +If [arguments...] are present and if no \f3\-e\fP or \f3\-f\fP option is used, then the first argument is the script file and the rest of the arguments, if any, are passed as script arguments. If [arguments..] and \f3\-e\fP or \f3\-f\fP option are used, then all [arguments..] are passed as script arguments. If [arguments..], \f3\-e\fP and \f3\-f\fP are missing, interactive mode is used. Script arguments are available to a script in an engine variable named "arguments" of type String array. +.LP +.SH "EXAMPLES" +.LP +.SS +Executing inline scripts +.LP +.nf +\f3 +.fl +jrunscript \-e "print('hello world')" +.fl +jrunscript \-e "cat('http://www.example.com')" +.fl +\fP +.fi + +.LP +.SS +Use specified language and evaluate given script file +.LP +.nf +\f3 +.fl +jrunscript \-l js \-f test.js +.fl +\fP +.fi + +.LP +.SS +Interactive mode +.LP +.nf +\f3 +.fl +jrunscript +.fl +js> print('Hello World\\n'); +.fl +Hello World +.fl +js> 34 + 55 +.fl +89.0 +.fl +js> t = new java.lang.Thread(function() { print('Hello World\\n'); }) +.fl +Thread[Thread\-0,5,main] +.fl +js> t.start() +.fl +js> Hello World +.fl + +.fl +js> +.fl +\fP +.fi + +.LP +.SS +Run script file with script arguments +.LP +.nf +\f3 +.fl +jrunscript test.js arg1 arg2 arg3 +.fl +\fP +.fi + +.LP +test.js is script file to execute and arg1, arg2 and arg3 are passed to script as script arguments. Script can access these using "arguments" array. +.SH "SEE ALSO" +.LP +.LP +If JavaScript is used, then before evaluating any user defined script, jrunscript initializes certain built\-in functions and objects. These JavaScript built\-ins are documented in +.na +\f2jsdocs\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/share/jsdocs/allclasses\-noframe.html. +.LP + diff --git a/Java-Visualizer/java/man/man1/jsadebugd.1 b/Java-Visualizer/java/man/man1/jsadebugd.1 new file mode 100644 index 00000000..522660f1 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jsadebugd.1 @@ -0,0 +1,90 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jsadebugd 1 "18 Jul 2013" + +.LP +.SH "Name" +jsadebugd \- Serviceability Agent Debug Daemon +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jsadebugd\fP pid [ server\-id ] +.fl +\f3jsadebugd\fP executable core [ server\-id ] +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +pid +process id of the process to which the debug server should attach. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. At most one instance of the debug server may be attached to a single process. +.TP 3 +executable +Java executable from which the core dump was produced +.TP 3 +core +Core file to which the debug server should attach. +.TP 3 +server\-id +Optional unique id, needed if multiple debug servers are started on the same machine. This ID must be used by remote clients to identify the particular debug server to attach. Within a single machine, this ID must be unique. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3jsadebugd\fP attaches to a Java process or core file and acts as a debug server. Remote clients such as jstack(1), jmap(1), and jinfo(1) can attach to the server using Java Remote Method Invocation (RMI). Before starting \f2jsadebugd\fP, +.na +\f2rmiregistry\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmi must be started with: +.LP +.nf +\f3 +.fl +\fP\f4rmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar\fP\f3 +.fl +\fP +.fi + +.LP +.LP +where \f2$JAVA_HOME\fP is the JDK installation directory. If rmiregistry was not started, jsadebugd will start an rmiregistry in a standard (1099) port internally. Debug server may be stopped by sending SIGINT (pressing Ctrl\-C) to it. +.LP +.LP +\f3NOTE\fP \- This utility is unsupported and may or may not be available in future versions of the JDK. In Windows Systems where dbgeng.dll is not present, 'Debugging Tools For Windows' needs to be installed to have these tools working. Also, \f2PATH\fP environment variable should contain the location of \f2jvm.dll\fP used by the target process or the location from which the Crash Dump file was produced. +.LP +.LP +For example, \f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +jinfo(1) +.TP 2 +o +jmap(1) +.TP 2 +o +jps(1) +.TP 2 +o +jstack(1) +.TP 2 +o +.na +\f2rmiregistry\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmi +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jstack.1 b/Java-Visualizer/java/man/man1/jstack.1 new file mode 100644 index 00000000..8acaf4c1 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jstack.1 @@ -0,0 +1,129 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jstack 1 "18 Jul 2013" + +.LP +.SH "Name" +jstack \- Stack Trace +.br + +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jstack\fP [ option ] pid +.fl +\f3jstack\fP [ option ] executable core +.fl +\f3jstack\fP [ option ] [server\-id@]remote\-hostname\-or\-IP +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.LP +Options are mutually exclusive. Option, if used, should follow immediately after the command name. See OPTIONS. +.LP +.RS 3 +.TP 3 +pid +process id for which the stack trace is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. +.RE + +.LP +.RS 3 +.TP 3 +executable +Java executable from which the core dump was produced. +.br +.TP 3 +core +core file for which the stack trace is to be printed. +.br +.TP 3 +remote\-hostname\-or\-IP +remote debug server's (see jsadebugd(1)) hostname or IP address. +.br +.TP 3 +server\-id +optional unique id, if multiple debug servers are running on the same remote host. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3jstack\fP prints Java stack traces of Java threads for a given Java process or core file or a remote debug server. For each Java frame, the full class name, method name, 'bci' (byte code index) and line number, if available, are printed. With the \-m option, jstack prints both Java and native frames of all threads along with the 'pc' (program counter). For each native frame, the closest native symbol to 'pc', if available, is printed. C++ mangled names are not demangled. To demangle C++ names, the output of this command may be piped to \f3c++filt\fP. If the given process is running on a 64\-bit VM, you may need to specify the \f2\-J\-d64\fP option, e.g.: +.br + +.LP +.nf +\f3 +.fl +jstack \-J\-d64 \-m pid +.fl +\fP +.fi + +.LP +.LP +\f3NOTE\fP \- This utility is unsupported and may or may not be available in future versions of the JDK. In Windows Systems where dbgeng.dll is not present, 'Debugging Tools For Windows' needs to be installed to have these tools working. Also, \f2PATH\fP environment variable should contain the location of \f2jvm.dll\fP used by the target process or the location from which the Crash Dump file was produced. +.LP +.LP +For example, \f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-F +Force a stack dump when 'jstack [\-l] pid' does not respond. +.TP 3 +\-l +Long listing. Prints additional information about locks such as list of owned java.util.concurrent +.na +\f2ownable synchronizers\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/AbstractOwnableSynchronizer.html. +.TP 3 +\-m +prints mixed mode (both Java and native C/C++ frames) stack trace. +.TP 3 +\-h +prints a help message. +.br +.br +.TP 3 +\-help +prints a help message +.br +.RE + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +pstack(1) +.TP 2 +o +c++filt(1) +.TP 2 +o +jps(1) +.TP 2 +o +jsadebugd(1) +.RE + +.LP +.SH "KNOWN BUGS" +.LP +.LP +Mixed mode stack trace, the \-m option, does not work with the remote debug server. +.LP + diff --git a/Java-Visualizer/java/man/man1/jstat.1 b/Java-Visualizer/java/man/man1/jstat.1 new file mode 100644 index 00000000..01e7e1ed --- /dev/null +++ b/Java-Visualizer/java/man/man1/jstat.1 @@ -0,0 +1,5362 @@ +." Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. +." +.TH jstat 1 "18 Jul 2013" + +.LP +.SH "Name" +jstat \- Java Virtual Machine Statistics Monitoring Tool +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3jstat\fP [ \f2generalOption\fP | \f2outputOptions\fP \f2vmid\fP [\f2interval\fP[s|ms] [\f2count\fP]] ] +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +generalOption +A single general command\-line option (\-help or \-options) +.TP 3 +outputOptions +One or more output options, consisting of a single \f2statOption\fP, plus any of the \-t, \-h, and \-J options. +.TP 3 +vmid +Virtual machine identifier, a string indicating the target Java virtual machine (JVM). The general syntax is +.nf +\f3 +.fl +[\fP\f4protocol\fP\f3:][//]\fP\f4lvmid\fP[@\f2hostname\fP[:\f2port\fP]/\f2servername\fP] +.fl +.fi +The syntax of the vmid string largely corresponds to the syntax of a URI. The \f2vmid\fP can vary from a simple integer representing a local JVM to a more complex construction specifying a communications protocol, port number, and other implementation\-specific values. See Virtual Machine Identifier for details. +.TP 3 +interval[s|ms] +Sampling interval in the specified units, seconds (s) or milliseconds (ms). Default units are milliseconds. Must be a positive integer. If specified, \f3jstat\fP will produce its output at each interval. +.TP 3 +count +Number of samples to display. Default value is infinity; that is, \f3jstat\fP displays statistics until the target JVM terminates or the \f3jstat\fP command is terminated. Must be a positive integer. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3jstat\fP tool displays performance statistics for an instrumented HotSpot Java virtual machine (JVM). The target JVM is identified by its virtual machine identifier, or \f2vmid\fP option described below. +.LP +.LP +\f3NOTE\fP: This utility is unsupported and may not be available in future versions of the JDK. It is not currently available on Windows 98 and Windows ME. platforms. +.br + +.LP +.SS +VIRTUAL MACHINE IDENTIFIER +.LP +.LP +The syntax of the \f2vmid\fP string largely corresponds to the syntax of a URI: +.LP +.nf +\f3 +.fl +[\fP\f4protocol\fP\f3:][//]\fP\f4lvmid\fP[@\f2hostname\fP][:\f2port\fP][/\f2servername\fP] +.fl +.fi + +.LP +.RS 3 +.TP 3 +protocol +The communications protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is not specified, the default protocol is a platform specific optimized local protocol. If the \f2protocol\fP is omitted and a \f2hostname\fP is specified, then the default protocol is \f3rmi\fP. +.TP 3 +lvmid +The local virtual machine identifier for the target JVM. The \f2lvmid\fP is a platform\-specific value that uniquely identifies a JVM on a system. The \f2lvmid\fP is the only required component of a virtual machine identifier. The \f2lvmid\fP is typically, but not necessarily, the operating system's process identifier for the target JVM process. You can use the jps(1) command to determine the \f2lvmid\fP. Also, you can determine \f2lvmid\fP on Unix platforms with the \f3ps\fP command, and on Windows with the Windows Task Manager. +.TP 3 +hostname +A hostname or IP address indicating the target host. If \f2hostname\fP is omitted, then the target host is the local host. +.TP 3 +port +The default port for communicating with the remote server. If the \f2hostname\fP is omitted or the \f2protocol\fP specifies an optimized, local protocol, then \f2port\fP is ignored. Otherwise, treatment of the \f2port\fP parameter is implementation specific. For the default \f3rmi\fP protocol, the \f2port\fP indicates the port number for the rmiregistry on the remote host. If \f2port\fP is omitted, and \f2protocol\fP indicates \f3rmi\fP, then the default rmiregistry port (1099) is used. +.TP 3 +servername +The treatment of this parameter depends on implementation. For the optimized local protocol, this field is ignored. For the \f3rmi\fP protocol, it represents the name of the RMI remote object on the remote host. +.RE + +.LP +.SH "OPTIONS" +.LP +.LP +The \f3jstat\fP command supports two types of options, general options and output options. General options cause \f3jstat\fP to display simple usage and version information. Output options determine the content and format of the statistical output. +.br + +.LP +.LP +\f3NOTE\fP: All options, and their functionality are subject to change or removal in future releases. +.LP +.SS +GENERAL OPTIONS +.LP +.LP +If you specify one of the general options, you cannot specify any other option or parameter. +.LP +.RS 3 +.TP 3 +\-help +Display help message. +.TP 3 +\-options +Display list of statistics options. See the Output Options section below. +.RE + +.LP +.SS +OUTPUT OPTIONS +.LP +.LP +If you do not specify a general option, then you can specify output options. Output options determine the content and format of \f3jstat\fP's output, and consist of a single \f2statOption\fP, plus any of the other output options (\-h, \-t, and \-J). The \f2statOption\fP must come first. +.LP +.LP +Output is formatted as a table, with columns are separated by spaces. A header row with titles describes the columns. Use the \f3\-h\fP option to set the frequency at which the header is displayed. Column header names are generally consistent between the different options. In general, if two options provide a column with the same name, then the data source for the two columns are the same. +.LP +.LP +Use the \f3\-t\fP option to display a time stamp column, labeled \f2Timestamp\fP as the first column of output. The \f2Timestamp\fP column contains the elapsed time, in seconds, since startup of the target JVM. The resolution of the time stamp is dependent on various factors and is subject to variation due to delayed thread scheduling on heavily loaded systems. +.LP +.LP +Use the \f2interval\fP and \f2count\fP parameters to determine how frequently and how many times, respectively, \f3jstat\fP displays its output. +.LP +.LP +\f3NOTE\fP: You are advised not to write scripts to parse \f3jstat's\fP output since the format may change in future releases. If you choose to write scripts that parse \f3jstat\fP output, expect to modify them for future releases of this tool. +.LP +.RS 3 +.TP 3 +\-statOption +Determines the statistics information that \f3jstat\fP displays. The following table lists the available options. Use the \f3\-options\fP general option to display the list of options for a particular platform installation. +.br +.br +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics on the behavior of the class loader. +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics of the behavior of the HotSpot Just\-in\-Time compiler. +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics of the behavior of the garbage collected heap. +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics of the capacities of the generations and their corresponding spaces. +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Summary of garbage collection statistics (same as \f3\-gcutil\fP), with the cause of the last and current (if applicable) garbage collection events. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics of the behavior of the new generation. +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics of the sizes of the new generations and its corresponding spaces. +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics of the behavior of the old and permanent generations. +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics of the sizes of the old generation. +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Statistics of the sizes of the permanent generation. +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Summary of garbage collection statistics. +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +HotSpot compilation method statistics. +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3Option\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wclass +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wcompiler +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgc +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgccapacity +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgccause +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcnew +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcnewcapacity +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcold +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcoldcapacity +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcpermcapacity +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wgcutil +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wprintcompilation +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Displays...\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(l- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 193 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Displays...\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'class\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'compiler\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gc\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gccapacity\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gccause\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcnew\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcnewcapacity\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcold\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcoldcapacity\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcpermcapacity\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'gcutil\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'printcompilation\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-52 +.TP 3 +\-h n +Display a column header every \f2n\fP samples (output rows), where \f2n\fP is a positive integer. Default value is 0, which displays the column header above the first row of data. +.TP 3 +\-t +Display a timestamp column as the first column of output. The timestamp is the time since the start time of the target JVM. +.TP 3 +\-JjavaOption +Pass \f2javaOption\fP to the \f3java\fP application launcher. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. For a complete list of options, see java(1) +.RE + +.LP +.SS +STATOPTIONS AND OUTPUT +.LP +.LP +The following tables summarize the columns that \f3jstat\fP outputs for each \f2statOption\fP. +.br + +.LP +.SS +\-class Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of classes unloaded. +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of Kbytes unloaded. +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Time spent performing class load and unload operations. +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wClass Loader Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wLoaded +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wBytes +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wUnloaded +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wBytes +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wTime +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of classes loaded. +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of Kbytes loaded. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 239 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Class Loader Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Loaded\h'|\n(41u'Number of classes loaded. +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Bytes\h'|\n(41u'Number of Kbytes loaded. +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Unloaded\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Bytes\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Time\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-21 + +.LP +.SS +\-compiler Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of compilation tasks performed. +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of compilation tasks that failed. +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of compilation tasks that were invalidated. +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Time spent performing compilation tasks. +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Compile type of the last failed compilation. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Class name and method for the last failed compilation. +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wHotSpot Just\-In\-Time Compiler Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wCompiled +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFailed +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wInvalid +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wTime +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFailedType +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFailedMethod +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 275 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'HotSpot Just\-In\-Time Compiler Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Compiled\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Failed\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Invalid\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Time\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FailedType\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FailedMethod\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-29 + +.LP +.SS +\-gc Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current survivor space 0 capacity (KB). +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current survivor space 1 capacity (KB). +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor space 0 utilization (KB). +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor space 1 utilization (KB). +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current eden space capacity (KB). +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden space utilization (KB). +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current old space capacity (KB). +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old space utilization (KB). +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current permanent space capacity (KB). +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent space utilization (KB). +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of young generation GC Events. +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Young generation garbage collection time. +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di m+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Full garbage collection time. +.br +.di +.nr m| \n(dn +.nr m- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di n+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Total garbage collection time. +.br +.di +.nr n| \n(dn +.nr n- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wGarbage\-collected heap statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0U +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1U +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of full GC events. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(l- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(m- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(n- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 345 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Garbage\-collected heap statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0U\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1U\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. +.ne \n(m|u+\n(.Vu +.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.m+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(n|u+\n(.Vu +.if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.n+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.rm m+ +.rm n+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-63 + +.LP +.SS +\-gccapacity Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Minimum new generation capacity (KB). +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum new generation capacity (KB). +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current new generation capacity (KB). +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current survivor space 0 capacity (KB). +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current survivor space 1 capacity (KB). +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current eden space capacity (KB). +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Minimum old generation capacity (KB). +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum old generation capacity (KB). +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current old generation capacity (KB). +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current old space capacity (KB). +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Minimum permanent generation capacity (KB). +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum Permanent generation capacity (KB). +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di m+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current Permanent generation capacity (KB). +.br +.di +.nr m| \n(dn +.nr m- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di n+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current Permanent space capacity (KB). +.br +.di +.nr n| \n(dn +.nr n- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di o+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of Young generation GC Events. +.br +.di +.nr o| \n(dn +.nr o- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wMemory Pool Generation and Space Capacities +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of Full GC Events. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(l- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(m- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(n- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(o- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 419 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Memory Pool Generation and Space Capacities\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(m|u+\n(.Vu +.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.m+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(n|u+\n(.Vu +.if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.n+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(o|u+\n(.Vu +.if (\n(o|+\n(#^-1v)>\n(#- .nr #- +(\n(o|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.o+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'Number of Full GC Events. +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.rm m+ +.rm n+ +.rm o+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-67 + +.LP +.SS +\-gccause Option +.LP +.LP +This option displays the same summary of garbage collection statistics as the \f3\-gcutil\fP option, but includes the causes of the last garbage collection event and (if applicable) the current garbage collection event. In addition to the columns listed for \f3\-gcutil\fP, this option adds the following columns: +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Cause of last Garbage Collection. +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Cause of current Garbage Collection. +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wGarbage Collection Statistics, Including GC Events +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wLGCC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCC +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 442 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Garbage Collection Statistics, Including GC Events\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'LGCC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-13 + +.LP +.SS +\-gcnew Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current survivor space 0 capacity (KB). +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current survivor space 1 capacity (KB). +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor space 0 utilization (KB). +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor space 1 utilization (KB). +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum tenuring threshold. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Desired survivor size (KB). +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current eden space capacity (KB). +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden space utilization (KB). +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of young generation GC events. +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Young generation garbage collection time. +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wNew Generation Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0U +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1U +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wTT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wMTT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wDSS +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wTenuring threshold. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 496 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'New Generation Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0U\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1U\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'TT\h'|\n(41u'Tenuring threshold. +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'MTT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'DSS\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-47 + +.LP +.SS +\-gcnewcapacity Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Minimum new generation capacity (KB). +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum new generation capacity (KB). +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current new generation capacity (KB). +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum survivor space 0 capacity (KB). +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current survivor space 0 capacity (KB). +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum survivor space 1 capacity (KB). +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current survivor space 1 capacity (KB). +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum eden space capacity (KB). +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current eden space capacity (KB). +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of young generation GC events. +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wNew Generation Space Size Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wNGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0CMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1CMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1C +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wECMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of Full GC Events. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 550 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'New Generation Space Size Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'NGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0CMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1CMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1C\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'ECMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'Number of Full GC Events. +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-47 + +.LP +.SS +\-gcold Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current permanent space capacity (KB). +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent space utilization (KB). +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current old space capacity (KB). +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +old space utilization (KB). +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of young generation GC events. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Full garbage collection time. +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Total garbage collection time. +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wOld and Permanent Generation Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOU +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of full GC events. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 592 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Old and Permanent Generation Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OU\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-35 + +.LP +.SS +\-gcoldcapacity Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Minimum old generation capacity (KB). +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum old generation capacity (KB). +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current old generation capacity (KB). +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current old space capacity (KB). +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of young generation GC events. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Full garbage collection time. +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Total garbage collection time. +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wOld Generation Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wOC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of full GC events. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 634 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Old Generation Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'OC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-35 + +.LP +.SS +\-gcpermcapacity Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Minimum permanent generation capacity (KB). +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Maximum permanent generation capacity (KB). +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current permanent generation capacity (KB). +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Current permanent space capacity (KB). +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of young generation GC events. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Full garbage collection time. +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Total garbage collection time. +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wPermanent Generation Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGCMN +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGCMX +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wPC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of full GC events. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 676 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Permanent Generation Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGCMN\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGCMX\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'PC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-35 + +.LP +.SS +\-gcutil Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor space 0 utilization as a percentage of the space's current capacity. +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Survivor space 1 utilization as a percentage of the space's current capacity. +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Eden space utilization as a percentage of the space's current capacity. +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Old space utilization as a percentage of the space's current capacity. +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Permanent space utilization as a percentage of the space's current capacity. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of young generation GC events. +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Young generation garbage collection time. +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Full garbage collection time. +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Total garbage collection time. +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wSummary of Garbage Collection Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS0 +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wS1 +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wE +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wO +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wYGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGC +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wFGCT +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wGCT +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wNumber of full GC events. +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 726 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Summary of Garbage Collection Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S0\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'S1\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'E\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'O\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'P\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGC\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'YGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGC\h'|\n(41u'Number of full GC events. +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'FGCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'GCT\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-43 + +.LP +.SS +\-printcompilation Option +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of compilation tasks performed by the most recently compiled method. +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Number of bytes of bytecode of the most recently compiled method. +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Compilation type of the most recently compiled method. +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Class name and method name identifying the most recently compiled method. Class name uses "/" instead of "." as namespace separator. Method name is the method within the given class. The format for these two fields is consistent with the HotSpot \- \f3XX:+PrintComplation\fP option. +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \wHotSpot Compiler Method Statistics +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3Column\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wCompiled +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wSize +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wType +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wMethod +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 754 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'HotSpot Compiler Method Statistics\h'|\n(41u' +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Column\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Compiled\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Size\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Type\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'Method\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-21 + +.LP +.SH "EXAMPLES" +.LP +.LP +This section presents some examples of monitoring a local JVM with a \f2lvmid\fP of 21891. +.LP +.SS +Using the gcutil option +.LP +.LP +This example attaches to \f2lvmid\fP 21891 and takes 7 samples at 250 millisecond intervals and displays the output as specified by the \f3\-gcutil\fP option. +.LP +.nf +\f3 +.fl +\fP\f3jstat \-gcutil 21891 250 7\fP +.br + +.fl + S0 S1 E O P YGC YGCT FGC FGCT GCT +.br + +.fl + 12.44 0.00 27.20 9.49 96.70 78 0.176 5 0.495 0.672 +.br + +.fl + 12.44 0.00 62.16 9.49 96.70 78 0.176 5 0.495 0.672 +.br + +.fl + 12.44 0.00 83.97 9.49 96.70 78 0.176 5 0.495 0.672 +.br + +.fl + 0.00 7.74 0.00 9.51 96.70 79 0.177 5 0.495 0.673 +.br + +.fl + 0.00 7.74 23.37 9.51 96.70 79 0.177 5 0.495 0.673 +.br + +.fl + 0.00 7.74 43.82 9.51 96.70 79 0.177 5 0.495 0.673 +.br + +.fl + 0.00 7.74 58.11 9.51 96.71 79 0.177 5 0.495 0.673 +.br + +.fl +.fi + +.LP +.LP +The output of this example shows that a young generation collection occurred between the 3rd and 4th sample. The collection took 0.001 seconds and promoted objects from the eden space (E) to the old space (O), resulting in an increase of old space utilization from 9.49% to 9.51%. Before the collection, the survivor space was 12.44% utilized, but after this collection it is only 7.74% utilized. +.LP +.SS +Repeating the column header string +.LP +.LP +This example attaches to \f2lvmid\fP 21891 and takes samples at 250 millisecond intervals and displays the output as specified by \f3\-gcutil\fP option. In addition, it uses the \f3\-h3\fP option to output the column header after every 3 lines of data. +.LP +.nf +\f3 +.fl +\fP\f3jstat \-gcnew \-h3 21891 250\fP +.br + +.fl + S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT +.br + +.fl + 64.0 64.0 0.0 31.7 31 31 32.0 512.0 178.6 249 0.203 +.br + +.fl + 64.0 64.0 0.0 31.7 31 31 32.0 512.0 355.5 249 0.203 +.br + +.fl + 64.0 64.0 35.4 0.0 2 31 32.0 512.0 21.9 250 0.204 +.br + +.fl + S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT +.br + +.fl + 64.0 64.0 35.4 0.0 2 31 32.0 512.0 245.9 250 0.204 +.br + +.fl + 64.0 64.0 35.4 0.0 2 31 32.0 512.0 421.1 250 0.204 +.br + +.fl + 64.0 64.0 0.0 19.0 31 31 32.0 512.0 84.4 251 0.204 +.br + +.fl + S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT +.br + +.fl + 64.0 64.0 0.0 19.0 31 31 32.0 512.0 306.7 251 0.204 +.br + +.fl +.fi + +.LP +.LP +In addition to showing the repeating header string, this example shows that between the 2nd and 3rd samples, a young GC occurred. Its duration was 0.001 seconds. The collection found enough live data that the survivor space 0 utilization (S0U) would would have exceeded the desired survivor Size (DSS). As a result, objects were promoted to the old generation (not visible in this output), and the tenuring threshold (TT) was lowered from 31 to 2. +.LP +.LP +Another collection occurs between the 5th and 6th samples. This collection found very few survivors and returned the tenuring threshold to 31. +.LP +.SS +Including a time stamp for each sample +.LP +.LP +This example attaches to \f2lvmid\fP 21891 and takes 3 samples at 250 millisecond intervals. The \f3\-t\fP option is used to generate a time stamp for each sample in the first column. +.LP +.nf +\f3 +.fl +\fP\f3jstat \-gcoldcapacity \-t 21891 250 3\fP +.br + +.fl +Timestamp OGCMN OGCMX OGC OC YGC FGC FGCT GCT +.br + +.fl + 150.1 1408.0 60544.0 11696.0 11696.0 194 80 2.874 3.799 +.br + +.fl + 150.4 1408.0 60544.0 13820.0 13820.0 194 81 2.938 3.863 +.br + +.fl + 150.7 1408.0 60544.0 13820.0 13820.0 194 81 2.938 3.863 +.br + +.fl +.fi + +.LP +.LP +The \f2Timestamp\fP column reports the elapsed time in seconds since the start of the target JVM. In addition, the \f3\-gcoldcapacity\fP output shows the old generation capacity (OGC) and the old space capacity (OC) increasing as the heap expands to meet allocation and/or promotion demands. The old generation capacity (OGC) has grown to from 11696 KB to 13820 KB after the 81st Full GC (FGC). The maximum capacity of the generation (and space) is 60544 KB (OGCMX), so it still has room to expand. +.LP +.SS +Monitor instrumentation for a remote JVM +.LP +.LP +This example attaches to \f2lvmid\fP 40496 on the system named \f2remote.domain\fP using the \f3\-gcutil\fP option, with samples taken every second indefinitely. +.LP +.nf +\f3 +.fl +\fP\f3jstat \-gcutil 40496@remote.domain 1000\fP +.br + +.fl +... \f2output omitted\fP +.br + +.fl +.fi + +.LP +.LP +The \f2lvmid\fP is combined with the name of the remote host to construct a \f2vmid\fP of \f240496@remote.domain\fP. This \f2vmid\fP results in the use of the \f3rmi\fP protocol to communicate to the default \f3jstatd\fP server on the remote host. The \f3jstatd\fP server is located using the \f3rmiregistry\fP on \f2remote.domain\fP that is bound to the default \f3rmiregistry\fP port (port 1099). +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +java(1) \- the Java Application Launcher +.TP 2 +o +jps(1) \- the Java Process Status Application +.TP 2 +o +jstatd(1) \- the jvmstat daemon +.TP 2 +o +rmiregistry(1) \- the Java Remote Object Registry +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jstatd.1 b/Java-Visualizer/java/man/man1/jstatd.1 new file mode 100644 index 00000000..3add4f8f --- /dev/null +++ b/Java-Visualizer/java/man/man1/jstatd.1 @@ -0,0 +1,238 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jstatd 1 "18 Jul 2013" + +.LP +.SH "Name" +jstatd \- Virtual Machine jstat Daemon +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +jstatd [ \fP\f4options\fP\f3 ]\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.SH "PARAMETERS" +.LP +.RS 3 +.TP 3 +options +Command\-line options. The options may be in any order. If there are redundant or contradictory options, the last option specified will take precedence. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3jstatd\fP tool is an RMI server application that monitors for the creation and termination of instrumented HotSpot Java virtual machines (JVMs) and provides a interface to allow remote monitoring tools to attach to JVMs running on the local host. +.LP +.LP +The \f3jstatd\fP server requires the presence of an RMI registry on the local host. The \f3jstatd\fP server will attempt to attach to the RMI registry on the default port, or on the port indicated by the \f2\-p port\fP option. If an RMI registry is not found, one will be created within the \f3jstatd\fP application bound to the port indicated by the \f2\-p port\fP option or to the default RMI registry port if \f2\-p port\fP is omitted. Creation of an internal RMI registry can be inhibited by specifying the \f2\-nr\fP option. +.LP +.LP +\f3NOTE:\fP This utility is unsupported and may or may not be available in future versions of the JDK. It is not currently available on the Windows 98 and Windows ME platforms. +.LP +.SH "OPTIONS" +.LP +.LP +The \f3jstatd\fP command supports the following options: +.LP +.RS 3 +.TP 3 +\-nr +Do not attempt to create an internal RMI registry within the \f2jstatd\fP process when an existing RMI registry is not found. +.TP 3 +\-p\ port +Port number where the RMI registry is expected to be found, or, if not found, created if \f2\-nr\fP is not specified. +.TP 3 +\-n\ rminame +Name to which the remote RMI object is bound in the RMI registry. The default name is \f2JStatRemoteHost\fP. If multiple \f3jstatd\fP servers are started on the same host, the name of the exported RMI object for each server can be made unique by specifying this option. However, doing so will require that the unique server name be included in the monitoring client's \f2hostid\fP and \f2vmid\fP strings. +.TP 3 +\-Joption +Pass \f2option\fP to the \f3java\fP launcher called by \f3javac\fP. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying VM executing applications written in Java. +.RE + +.LP +.SH "SECURITY" +.LP +.LP +The \f3jstatd\fP server can only monitor JVMs for which it has the appropriate native access permissions. Therefor the \f3jstatd\fP process must be running with the same user credentials as the target JVMs. Some user credentials, such as the \f2root\fP user in UNIX(TM) based systems, have permission to access the instrumentation exported by any JVM on the system. A \f3jstatd\fP process running with such credentials can monitor any JVM on the system, but introduces additional security concerns. +.LP +.LP +The \f3jstatd\fP server does not provide any authentication of remote clients. Therefore, running a \f3jstatd\fP server process exposes the instrumentation export by all JVMs for which the \f3jstatd\fP process has access permissions to any user on the network. This exposure may be undesireable in your environment and local security policies should be considered before starting the \f3jstatd\fP process, particularly in production environments or on unsecure networks. +.LP +.LP +The \f3jstatd\fP server installs an instance of RMISecurityPolicy if no other security manager has been installed and therefore requires a security policy file to be specified. The policy file must conform to the default policy implementation's +.na +\f2Policy File Syntax\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html. +.LP +.LP +The following policy file will allow the \f3jstatd\fP server to run without any security exceptions. This policy is less liberal then granting all permissions to all codebases, but is more liberal than a policy that grants the minimal permissions to run the \f3jstatd\fP server. +.LP +.nf +\f3 +.fl +grant codebase "file:${java.home}/../lib/tools.jar" {\fP +.br +\f3 +.fl + permission java.security.AllPermission;\fP +.br +\f3 +.fl +};\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.LP +To use this policy, copy the text into a file called \f2jstatd.all.policy\fP and run the \f3jstatd\fP server as follows: +.LP +.nf +\f3 +.fl +jstatd \-J\-Djava.security.policy=jstatd.all.policy\fP +.br +\f3 +.fl +\fP +.fi + +.LP +.LP +For sites with more restrictive security practices, it is possible to use a custom policy file to limit access to specific trusted hosts or networks, though such techniques are subject to IP addreess spoofing attacks. If your security concerns cannot be addressed with a customized policy file, then the safest action is to not run the \f3jstatd\fP server and use the \f3jstat\fP and \f3jps\fP tools locally. +.LP +.SH "REMOTE INTERFACE" +.LP +.LP +The interface exported by the \f3jstatd\fP process is proprietary and is guaranteed to change. Users and developers are discouraged from writing to this interface. +.LP +.SH "EXAMPLES" +.LP +.LP +Here are some examples of starting \f3jstatd\fP. Note that the \f3jstatd\fP scripts automatically start the server in the background. +.LP +.SS +Using Internal RMI Registry +.LP +.LP +This example demonstrates starting \f3jstatd\fP with an internal RMI registry. This example assumes that no other server is bound to the default RMI Registry port (port 1099). +.LP +.nf +\f3 +.fl +jstatd \-J\-Djava.security.policy=all.policy +.fl +\fP +.fi + +.LP +.SS +Using External RMI Registry +.LP +.LP +This example demonstrates starting \f3jstatd\fP with a external RMI registry. +.LP +.nf +\f3 +.fl +rmiregistry& +.fl +jstatd \-J\-Djava.security.policy=all.policy +.fl +\fP +.fi + +.LP +.LP +This example demonstrates starting \f3jstatd\fP with an external RMI registry server on port 2020. +.LP +.nf +\f3 +.fl +rmiregistry 2020& +.fl +jstatd \-J\-Djava.security.policy=all.policy \-p 2020 +.fl +\fP +.fi + +.LP +.LP +This example demonstrates starting \f3jstatd\fP with an external RMI registry on port 2020, bound to name AlternateJstatdServerName. +.LP +.nf +\f3 +.fl +rmiregistry 2020& +.fl +jstatd \-J\-Djava.security.policy=all.policy \-p 2020 \-n AlternateJstatdServerName +.fl +\fP +.fi + +.LP +.SS +Inhibiting creation of an in\-process RMI registry +.LP +.LP +This example demonstrates starting \f3jstatd\fP such that it will not create a RMI registry if one is not found. This example assumes an RMI registry is already running. If it is not, an appropriate error message is emitted. +.LP +.nf +\f3 +.fl +jstatd \-J\-Djava.security.policy=all.policy \-nr +.fl +\fP +.fi + +.LP +.SS +Enabling RMI logging capabilities. +.LP +.LP +This example demonstrates starting \f3jstatd\fP with RMI logging capabilities enabled. This technique is useful as a troubleshooting aid or for monitoring server activities. +.LP +.nf +\f3 +.fl +jstatd \-J\-Djava.security.policy=all.policy \-J\-Djava.rmi.server.logCalls=true +.fl +\fP +.fi + +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +java(1) \- the Java Application Launcher +.TP 2 +o +jps(1) \- the Java Process Status Application +.TP 2 +o +jstat(1) \- the Java Virtual Machine Statistics Monitoring Tool +.TP 2 +o +.na +\f2rmiregistry\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#rmi \- the Java Remote Object Registry +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/jvisualvm.1 b/Java-Visualizer/java/man/man1/jvisualvm.1 new file mode 100644 index 00000000..48fd62f9 --- /dev/null +++ b/Java-Visualizer/java/man/man1/jvisualvm.1 @@ -0,0 +1,85 @@ +." Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH jvisualvm 1 "18 Jul 2013" + +.LP +.SH "Name" +\f2jvisualvm\fP \- Java Virtual Machine Monitoring, Troubleshooting, and Profiling Tool +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl + \fP\f3jvisualvm\fP [ \f2options\fP ] +.fl +.fi + +.LP +.SH "PARAMETERS" +.LP +.LP +Options, if used, should follow immediately after the command name. Options may be in any order. For a discussion of parameters that apply to a specific option, see OPTIONS below. +.LP +.SH "DESCRIPTION" +.LP +.LP +Java VisualVM is an intuitive graphical user interface that provides detailed information about Java technology\-based applications (Java applications) while they are running on a given Java Virtual Machine (JVM(*)). The name Java VisualVM comes from the fact that Java VisualVM provides information about the JVM software \f2visually\fP. +.LP +.LP +Java VisualVM combines several monitoring, troubleshooting, and profiling utilities into a single tool. For example, most of the functionality offered by the standalone tools \f2jmap\fP, \f2jinfo\fP, \f2jstat\fP and \f2jstack\fP have been integrated into Java VisualVM. Other functionalities, such as some of those offered by the JConsole tool, can be added as optional plug\-ins. +.LP +.SH "OPTIONS" +.LP +.LP +The following option is possible when you launch Java VisualVM. +.LP +.RS 3 +.TP 3 +\-J<jvm_option>\ +Pass this \f2<jvm_option>\fP to the JVM software. +.RE + +.LP +.SH "USAGE" +.LP +.LP +Java VisualVM is useful to Java application developers to troubleshoot applications and to monitor and improve the applications' performance. Java VisualVM can allow developers to generate and analyse heap dumps, track down memory leaks, perform and monitor garbage collection, and perform lightweight memory and CPU profiling. Plug\-ins also exist that expand the functionality of Java VisualVM. For example, most of the functionality of the JConsole tool is available via the MBeans Tab and JConsole Plug\-in Wrapper plug\-ins. You can choose from a catalog of standard Java VisualVM plug\-ins by selecting 'Tools' | 'Plugins' in the Java VisualVM menus. +.LP +.LP +Start Java VisualVM with the following command: +.LP +.nf +\f3 +.fl +% jvisualvm \fP\f4<options>\fP\f3 +.fl +\fP +.fi + +.LP +.SH "SEE ALSO" +.LP +.LP +For more details about Java VisualVM see the following pages. +.LP +.RS 3 +.TP 2 +o +.na +\f2Java VisualVM developers' site\fP @ +.fi +http://visualvm.java.net +.TP 2 +o +.na +\f2Java VisualVM in Java SE platform documentation\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/visualvm/index.html +.RE + +.LP +.LP +\f2(* The terms "Java Virtual Machine" and "JVM" mean a Virtual Machine for the Java platform.)\fP +.LP + diff --git a/Java-Visualizer/java/man/man1/keytool.1 b/Java-Visualizer/java/man/man1/keytool.1 new file mode 100644 index 00000000..365878e8 --- /dev/null +++ b/Java-Visualizer/java/man/man1/keytool.1 @@ -0,0 +1,1748 @@ +." Copyright (c) 1998-2011 keytool tool, Oracle and/or its affiliates. All rights reserved. +." +.TH keytool 1 "18 Jul 2013" + +.LP +.SH "Name" +keytool \- Key and Certificate Management Tool +.LP +.LP +Manages a keystore (database) of cryptographic keys, X.509 certificate chains, and trusted certificates. +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3keytool\fP [ commands ] +.fl +.fi + +.LP +.LP +The keytool command interface has changed in Java SE 6. See the Changes Section for a detailed description. Note that previously defined commands are still supported. +.LP +.SH "DESCRIPTION" +.LP +\f3keytool\fP is a key and certificate management utility. It allows users to administer their own public/private key pairs and associated certificates for use in self\-authentication (where the user authenticates himself/herself to other users/services) or data integrity and authentication services, using digital signatures. It also allows users to cache the public keys (in the form of certificates) of their communicating peers. +.LP +A \f2certificate\fP is a digitally signed statement from one entity (person, company, etc.), saying that the public key (and some other information) of some other entity has a particular value. (See Certificates.) When data is digitally signed, the signature can be verified to check the data integrity and authenticity. \f2Integrity\fP means that the data has not been modified or tampered with, and \f2authenticity\fP means the data indeed comes from whoever claims to have created and signed it. +.LP +.LP +\f3keytool\fP also enables users to administer secret keys used in symmetric encryption/decryption (e.g. DES). +.LP +.LP +\f3keytool\fP stores the keys and certificates in a \f2keystore\fP. +.LP +.SH "COMMAND AND OPTION NOTES" +.LP +.LP +The various commands and their options are listed and described below. Note: +.LP +.RS 3 +.TP 2 +o +All command and option names are preceded by a minus sign (\-). +.TP 2 +o +The options for each command may be provided in any order. +.TP 2 +o +All items not italicized or in braces or square brackets are required to appear as is. +.TP 2 +o +Braces surrounding an option generally signify that a default value will be used if the option is not specified on the command line. Braces are also used around the \f2\-v\fP, \f2\-rfc\fP, and \f2\-J\fP options, which only have meaning if they appear on the command line (that is, they don't have any "default" values other than not existing). +.TP 2 +o +Brackets surrounding an option signify that the user is prompted for the value(s) if the option is not specified on the command line. (For a \f2\-keypass\fP option, if you do not specify the option on the command line, \f3keytool\fP will first attempt to use the keystore password to recover the private/secret key, and if this fails, will then prompt you for the private/secret key password.) +.TP 2 +o +Items in italics (option values) represent the actual values that must be supplied. For example, here is the format of the \f2\-printcert\fP command: +.nf +\f3 +.fl + keytool \-printcert {\-file \fP\f4cert_file\fP\f3} {\-v} +.fl +\fP +.fi +.LP +When specifying a \f2\-printcert\fP command, replace \f2cert_file\fP with the actual file name, as in: +.nf +\f3 +.fl + keytool \-printcert \-file VScert.cer +.fl +\fP +.fi +.TP 2 +o +Option values must be quoted if they contain a blank (space). +.TP 2 +o +The \f2\-help\fP command is the default. Thus, the command line +.nf +\f3 +.fl + keytool +.fl +\fP +.fi +.LP +is equivalent to +.nf +\f3 +.fl + keytool \-help +.fl +\fP +.fi +.RE + +.LP +.SS +Option Defaults +.LP +.LP +Below are the defaults for various option values. +.LP +.nf +\f3 +.fl +\-alias "mykey" +.fl + +.fl +\-keyalg +.fl + "DSA" (when using \fP\f3\-genkeypair\fP\f3) +.fl + "DES" (when using \fP\f3\-genseckey\fP\f3) +.fl + +.fl +\-keysize +.fl + 2048 (when using \fP\f3\-genkeypair\fP\f3 and \-keyalg is "RSA") +.fl + 1024 (when using \fP\f3\-genkeypair\fP\f3 and \-keyalg is "DSA") +.fl + 256 (when using \fP\f3\-genkeypair\fP\f3 and \-keyalg is "EC") +.fl + 56 (when using \fP\f3\-genseckey\fP\f3 and \-keyalg is "DES") +.fl + 168 (when using \fP\f3\-genseckey\fP\f3 and \-keyalg is "DESede") +.fl + +.fl + +.fl +\-validity 90 +.fl + +.fl +\-keystore the file named \fP\f4.keystore\fP\f3 in the user's home directory +.fl + +.fl +\-storetype the value of the "keystore.type" property in the security properties file, +.fl + which is returned by the static \fP\f4getDefaultType\fP\f3 method in +.fl + \fP\f4java.security.KeyStore\fP\f3 +.fl + +.fl +\-file stdin if reading, stdout if writing +.fl + +.fl +\-protected false +.fl +\fP +.fi + +.LP +.LP +In generating a public/private key pair, the signature algorithm (\f2\-sigalg\fP option) is derived from the algorithm of the underlying private key: +.LP +.RS 3 +.TP 2 +o +If the underlying private key is of type "DSA", the \f2\-sigalg\fP option defaults to "SHA1withDSA" +.TP 2 +o +If the underlying private key is of type "RSA", the \f2\-sigalg\fP option defaults to "SHA256withRSA". +.TP 2 +o +If the underlying private key is of type "EC", the \f2\-sigalg\fP option defaults to "SHA256withECDSA". +.RE + +.LP +.LP +Please consult the +.na +\f2Java Cryptography Architecture API Specification & Reference\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA for a full list of \f2\-keyalg\fP and \f2\-sigalg\fP you can choose from. +.LP +.SS +Common Options +.LP +.LP +The \f2\-v\fP option can appear for all commands except \f2\-help\fP. If it appears, it signifies "verbose" mode; more information will be provided in the output. +.LP +.LP +There is also a \f2\-J\fP\f2javaoption\fP option that may appear for any command. If it appears, the specified \f2javaoption\fP string is passed through directly to the Java interpreter. This option should not contain any spaces. It is useful for adjusting the execution environment or memory usage. For a list of possible interpreter options, type \f2java \-h\fP or \f2java \-X\fP at the command line. +.LP +.LP +These options may appear for all commands operating on a keystore: +.LP +.RS 3 +.TP 3 +\-storetype storetype +.LP +This qualifier specifies the type of keystore to be instantiated. +.TP 3 +\-keystore keystore +.LP +The keystore location. +.LP +If the JKS storetype is used and a keystore file does not yet exist, then certain \f3keytool\fP commands may result in a new keystore file being created. For example, if \f2keytool \-genkeypair\fP is invoked and the \f2\-keystore\fP option is not specified, the default keystore file named \f2.keystore\fP in the user's home directory will be created if it does not already exist. Similarly, if the \f2\-keystore \fP\f2ks_file\fP option is specified but \f2ks_file\fP does not exist, then it will be created +.LP +Note that the input stream from the \f2\-keystore\fP option is passed to the \f2KeyStore.load\fP method. If \f2NONE\fP is specified as the URL, then a null stream is passed to the \f2KeyStore.load\fP method. \f2NONE\fP should be specified if the \f2KeyStore\fP is not file\-based (for example, if it resides on a hardware token device). +.TP 3 +\-storepass[:env|:file] argument +.LP +The password which is used to protect the integrity of the keystore. +.LP +If the modifier \f2env\fP or \f2file\fP is not specified, then the password has the value \f2argument\fP, which must be at least 6 characters long. Otherwise, the password is retrieved as follows: +.RS 3 +.TP 2 +o +\f2env\fP: Retrieve the password from the environment variable named \f2argument\fP +.TP 2 +o +\f2file\fP: Retrieve the password from the file named \f2argument\fP +.RE +.LP +\f3Note\fP: All other options that require passwords, such as \f2\-keypass\fP, \f2\-srckeypass\fP, \f2\-destkeypass\fP \f2\-srcstorepass\fP, and \f2\-deststorepass\fP, accept the \f2env\fP and \f2file\fP modifiers. (Remember to separate the password option and the modifier with a colon, (\f2:\fP).) +.LP +The password must be provided to all commands that access the keystore contents. For such commands, if a \f2\-storepass\fP option is not provided at the command line, the user is prompted for it. +.LP +When retrieving information from the keystore, the password is optional; if no password is given, the integrity of the retrieved information cannot be checked and a warning is displayed. +.TP 3 +\-providerName provider_name +.LP +Used to identify a cryptographic service provider's name when listed in the security properties file. +.TP 3 +\-providerClass provider_class_name +.LP +Used to specify the name of cryptographic service provider's master class file when the service provider is not listed in the security properties file. +.TP 3 +\-providerArg provider_arg +.LP +Used in conjunction with \f2\-providerClass\fP. Represents an optional string input argument for the constructor of \f2provider_class_name\fP. +.TP 3 +\-protected +.LP +Either \f2true\fP or \f2false\fP. This value should be specified as \f2true\fP if a password must be given via a protected authentication path such as a dedicated PIN reader. +.LP +Note: Since there are two keystores involved in \f2\-importkeystore\fP command, two options, namely, \f2\-srcprotected\fP and \f2\-destprotected\fP are provided for the source keystore and the destination keystore respectively. +.TP 3 +\-ext {name{:critical}{=value}} +.LP +Denotes an X.509 certificate extension. The option can be used in \-genkeypair and \-gencert to embed extensions into the certificate generated, or in \f2\-certreq\fP to show what extensions are requested in the certificate request. The option can appear multiple times. name can be a supported extension name (see below) or an arbitrary OID number. value, if provided, denotes the parameter for the extension; if omitted, denotes the default value (if defined) of the extension or the extension requires no parameter. The \f2:critical\fP modifier, if provided, means the extension's isCritical attribute is true; otherwise, false. You may use \f2:c\fP in place of \f2:critical\fP. +.RE + +.LP +.LP +Currently keytool supports these named extensions (case\-insensitive): +.LP +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +The full form: "ca:{true|false}[,pathlen:<len>]"; or, <len>, a shorthand for "ca:true,pathlen:<len>"; or omitted, means "ca:true" +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +usage(,usage)*, usage can be one of digitalSignature, nonRepudiation (contentCommitment), keyEncipherment, dataEncipherment, keyAgreement, keyCertSign, cRLSign, encipherOnly, decipherOnly. Usage can be abbreviated with the first few letters (say, dig for digitalSignature) or in camel\-case style (say, dS for digitalSignature, cRLS for cRLSign), as long as no ambiguity is found. Usage is case\-insensitive. +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +usage(,usage)*, usage can be one of anyExtendedKeyUsage, serverAuth, clientAuth, codeSigning, emailProtection, timeStamping, OCSPSigning, or any OID string. Named usage can be abbreviated with the first few letters or in camel\-case style, as long as no ambiguity is found. Usage is case\-insensitive. +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +SAN or SubjectAlternativeName +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +type:value(,type:value)*, type can be EMAIL, URI, DNS, IP, or OID, value is the string format value for the type. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +IAN or IssuerAlternativeName +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +same as SubjectAlternativeName +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +method:location\-type:location\-value (,method:location\-type:location\-value)*, method can be "timeStamping", "caRepository" or any OID. location\-type and location\-value can be any type:value supported by the SubjectAlternativeName extension. +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +AIA or AuthorityInfoAccess +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +same as SubjectInfoAccess. method can be "ocsp","caIssuers" or any OID. +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3Name\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wBC or BasicConstraints +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wKU or KeyUsage +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wEKU or ExtendedkeyUsage +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \wSIA or SubjectInfoAccess +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 38 \n(d- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(f- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(i- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.nr 38 \w\f3Value\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 300 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Name\fP\h'|\n(41u'\f3Value\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'BC or BasicConstraints\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'KU or KeyUsage\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'EKU or ExtendedkeyUsage\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.ne \n(e|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.ne \n(g|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'SIA or SubjectInfoAccess\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.ne \n(j|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-38 + +.LP +.LP +For name as OID, value is the HEX dumped DER encoding of the extnValue for the extension excluding the OCTET STRING type and length bytes. Any extra character other than standard HEX numbers (0\-9, a\-f, A\-F) are ignored in the HEX string. Therefore, both \f2"01:02:03:04"\fP and \f2"01020304"\fP are accepted as identical values. If there is no value, the extension has an empty value field then. +.LP +.LP +A special name \f2'honored'\fP, used in \f2\-gencert\fP only, denotes how the extensions included in the certificate request should be honored. The value for this name is a comma separated list of \f2"all"\fP (all requested extensions are honored), \f2"name{:[critical|non\-critical]}"\fP (the named extension is honored, but using a different isCritical attribute) and \f2"\-name"\fP (used with all, denotes an exception). Requested extensions are not honored by default. +.LP +.LP +If, besides the \-ext honored option, another named or OID \-ext option is provided, this extension will be added to those already honored. However, if this name (or OID) also appears in the honored value, its value and criticality overrides the one in the request. +.LP +.LP +The subjectKeyIdentifier extension is always created. For non self\-signed certificates, the authorityKeyIdentifier is always created. +.LP +.LP +\f3Note:\fP Users should be aware that some combinations of extensions (and other certificate fields) may not conform to the Internet standard. See Warning Regarding Certificate Conformance for details. +.LP +.SH "COMMANDS" +.LP +.SS +Creating or Adding Data to the Keystore +.LP +.RS 3 +.TP 3 +\-gencert {\-rfc} {\-infile infile} {\-outfile outfile} {\-alias alias} {\-sigalg sigalg} {\-dname dname} {\-startdate startdate {\-ext ext}* {\-validity valDays} [\-keypass keypass] {\-keystore keystore} [\-storepass storepass] {\-storetype storetype} {\-providername provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +Generates a certificate as a response to a certificate request file (which can be created by the \f2keytool \-certreq\fP command). The command reads the request from \f2infile\fP (if omitted, from the standard input), signs it using alias's private key, and output the X.509 certificate into \f2outfile\fP (if omitted, to the standard output). If \f2\-rfc\fP is specified, output format is BASE64\-encoded PEM; otherwise, a binary DER is created. +.LP +\f2sigalg\fP specifies the algorithm that should be used to sign the certificate. \f2startdate\fP is the start time/date that the certificate is valid. \f2valDays\fP tells the number of days for which the certificate should be considered valid. +.LP +If \f2dname\fP is provided, it's used as the subject of the generated certificate. Otherwise, the one from the certificate request is used. +.LP +\f2ext\fP shows what X.509 extensions will be embedded in the certificate. Read Common Options for the grammar of \f2\-ext\fP. +.LP +The \f2\-gencert\fP command enables you to create certificate chains. The following example creates a certificate, \f2e1\fP, that contains three certificates in its certificate chain. +.LP +The following commands creates four key pairs named \f2ca\fP, \f2ca1\fP, \f2ca2\fP, and \f2e1\fP: +.nf +\f3 +.fl +keytool \-alias ca \-dname CN=CA \-genkeypair +.fl +keytool \-alias ca1 \-dname CN=CA \-genkeypair +.fl +keytool \-alias ca2 \-dname CN=CA \-genkeypair +.fl +keytool \-alias e1 \-dname CN=E1 \-genkeypair +.fl +\fP +.fi +.LP +The following two commands create a chain of signed certificates; \f2ca\fP signs ca1 and \f2ca1 signs ca2\fP, all of which are self\-issued: +.nf +\f3 +.fl +keytool \-alias ca1 \-certreq | keytool \-alias ca \-gencert \-ext san=dns:ca1 | keytool \-alias ca1 \-importcert +.fl +keytool \-alias ca2 \-certreq | $KT \-alias ca1 \-gencert \-ext san=dns:ca2 | $KT \-alias ca2 \-importcert +.fl +\fP +.fi +.LP +The following command creates the certificate \f2e1\fP and stores it in the file \f2e1.cert\fP, which is signed by \f2ca2\fP. As a result, \f2e1\fP should contain \f2ca\fP, \f2ca1\fP, and \f2ca2\fP in its certificate chain: +.nf +\f3 +.fl +keytool \-alias e1 \-certreq | keytool \-alias ca2 \-gencert > e1.cert +.fl +\fP +.fi +.TP 3 +\-genkeypair {\-alias alias} {\-keyalg keyalg} {\-keysize keysize} {\-sigalg sigalg} [\-dname dname] [\-keypass keypass] {\-startdate value} {\-ext ext}* {\-validity valDays} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +Generates a key pair (a public key and associated private key). Wraps the public key into an X.509 v3 self\-signed certificate, which is stored as a single\-element certificate chain. This certificate chain and the private key are stored in a new keystore entry identified by \f2alias\fP. +.LP +\f2keyalg\fP specifies the algorithm to be used to generate the key pair, and \f2keysize\fP specifies the size of each key to be generated. \f2sigalg\fP specifies the algorithm that should be used to sign the self\-signed certificate; this algorithm must be compatible with \f2keyalg\fP. +.LP +\f2dname\fP specifies the X.500 Distinguished Name to be associated with \f2alias\fP, and is used as the \f2issuer\fP and \f2subject\fP fields in the self\-signed certificate. If no distinguished name is provided at the command line, the user will be prompted for one. +.LP +\f2keypass\fP is a password used to protect the private key of the generated key pair. If no password is provided, the user is prompted for it. If you press RETURN at the prompt, the key password is set to the same password as that used for the keystore. \f2keypass\fP must be at least 6 characters long. +.LP +\f2startdate\fP specifies the issue time of the certificate, also known as the "Not Before" value of the X.509 certificate's Validity field. +.LP +The option value can be set in one of these two forms: +.RS 3 +.TP 3 +1. +([+\-]\f2nnn\fP[ymdHMS])+ +.TP 3 +2. +[yyyy/mm/dd] [HH:MM:SS] +.RE +.LP +With the first form, the issue time is shifted by the specified value from the current time. The value is a concatenation of a sequence of sub values. Inside each sub value, the plus sign ("+") means shifting forward, and the minus sign ("\-") means shifting backward. The time to be shifted is \f2nnn\fP units of years, months, days, hours, minutes, or seconds (denoted by a single character of "y", "m", "d", "H", "M", or "S" respectively). The exact value of the issue time is calculated using the \f2java.util.GregorianCalendar.add(int field, int amount)\fP method on each sub value, from left to right. For example, by specifying \f2"\-startdate \-1y+1m\-1d"\fP, the issue time will be: +.nf +\f3 +.fl + Calendar c = new GregorianCalendar(); +.fl + c.add(Calendar.YEAR, \-1); +.fl + c.add(Calendar.MONTH, 1); +.fl + c.add(Calendar.DATE, \-1); +.fl + return c.getTime() +.fl +\fP +.fi +.LP +With the second form, the user sets the exact issue time in two parts, year/month/day and hour:minute:second (using the local time zone). The user may provide only one part, which means the other part is the same as the current date (or time). User must provide the exact number of digits as shown in the format definition (padding with 0 if shorter). When both the date and time are provided, there is one (and only one) space character between the two parts. The hour should always be provided in 24 hour format. +.LP +When the option is not provided, the start date is the current time. The option can be provided at most once. +.LP +\f2valDays\fP specifies the number of days (starting at the date specified by \f2\-startdate\fP, or the current date if \f2\-startdate\fP is not specified) for which the certificate should be considered valid. +.LP +This command was named \f2\-genkey\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarity the new name, \f2\-genkeypair\fP, is preferred going forward. +.TP 3 +\-genseckey {\-alias alias} {\-keyalg keyalg} {\-keysize keysize} [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +Generates a secret key and stores it in a new \f2KeyStore.SecretKeyEntry\fP identified by \f2alias\fP. +.LP +\f2keyalg\fP specifies the algorithm to be used to generate the secret key, and \f2keysize\fP specifies the size of the key to be generated. \f2keypass\fP is a password used to protect the secret key. If no password is provided, the user is prompted for it. If you press RETURN at the prompt, the key password is set to the same password as that used for the keystore. \f2keypass\fP must be at least 6 characters long. +.TP 3 +\-importcert {\-alias alias} {\-file cert_file} [\-keypass keypass] {\-noprompt} {\-trustcacerts} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +Reads the certificate or certificate chain (where the latter is supplied in a PKCS#7 formatted reply or a sequence of X.509 certificates) from the file \f2cert_file\fP, and stores it in the keystore entry identified by \f2alias\fP. If no file is given, the certificate or certificate chain is read from stdin. +.LP +\f3keytool\fP can import X.509 v1, v2, and v3 certificates, and PKCS#7 formatted certificate chains consisting of certificates of that type. The data to be imported must be provided either in binary encoding format, or in printable encoding format (also known as Base64 encoding) as defined by the Internet RFC 1421 standard. In the latter case, the encoding must be bounded at the beginning by a string that starts with "\-\-\-\-\-BEGIN", and bounded at the end by a string that starts with "\-\-\-\-\-END". +.LP +You import a certificate for two reasons: +.RS 3 +.TP 3 +1. +to add it to the list of trusted certificates, or +.TP 3 +2. +to import a certificate reply received from a CA as the result of submitting a Certificate Signing Request (see the \-certreq command) to that CA. +.RE +.LP +Which type of import is intended is indicated by the value of the \f2\-alias\fP option: +.RS 3 +.TP 3 +1. +\f3If the alias does not point to a key entry\fP, then \f3keytool\fP assumes you are adding a trusted certificate entry. In this case, the alias should not already exist in the keystore. If the alias does already exist, then \f3keytool\fP outputs an error, since there is already a trusted certificate for that alias, and does not import the certificate. +.TP 3 +2. +\f3If the alias points to a key entry\fP, then \f3keytool\fP assumes you are importing a certificate reply. +.RE +\f3Importing a New Trusted Certificate\fP +.LP +Before adding the certificate to the keystore, \f3keytool\fP tries to verify it by attempting to construct a chain of trust from that certificate to a self\-signed certificate (belonging to a root CA), using trusted certificates that are already available in the keystore. +.LP +If the \f2\-trustcacerts\fP option has been specified, additional certificates are considered for the chain of trust, namely the certificates in a file named "cacerts". +.LP +If \f3keytool\fP fails to establish a trust path from the certificate to be imported up to a self\-signed certificate (either from the keystore or the "cacerts" file), the certificate information is printed out, and the user is prompted to verify it, e.g., by comparing the displayed certificate fingerprints with the fingerprints obtained from some other (trusted) source of information, which might be the certificate owner himself/herself. Be very careful to ensure the certificate is valid prior to importing it as a "trusted" certificate! \-\- see WARNING Regarding Importing Trusted Certificates. The user then has the option of aborting the import operation. If the \f2\-noprompt\fP option is given, however, there will be no interaction with the user. +\f3Importing a Certificate Reply\fP +.LP +When importing a certificate reply, the certificate reply is validated using trusted certificates from the keystore, and optionally using the certificates configured in the "cacerts" keystore file (if the \f2\-trustcacerts\fP option was specified). +.LP +The methods of determining whether the certificate reply is trusted are described in the following: +.RS 3 +.TP 2 +o +\f3If the reply is a single X.509 certificate\fP, \f3keytool\fP attempts to establish a trust chain, starting at the certificate reply and ending at a self\-signed certificate (belonging to a root CA). The certificate reply and the hierarchy of certificates used to authenticate the certificate reply form the new certificate chain of \f2alias\fP. If a trust chain cannot be established, the certificate reply is not imported. In this case, \f3keytool\fP does not print out the certificate and prompt the user to verify it, because it is very hard (if not impossible) for a user to determine the authenticity of the certificate reply. +.TP 2 +o +\f3If the reply is a PKCS#7 formatted certificate chain or a sequence of X.509 certificates\fP, the chain is ordered with the user certificate first followed by zero or more CA certificates. If the chain ends with a self\-signed root CA certificate and \f2\-trustcacerts\fP option was specified, \f3keytool\fP will attempt to match it with any of the trusted certificates in the keystore or the "cacerts" keystore file. If the chain does not end with a self\-signed root CA certificate and the \f2\-trustcacerts\fP option was specified, \f3keytool\fP will try to find one from the trusted certificates in the keystore or the "cacerts" keystore file and add it to the end of the chain. If the certificate is not found and \f2\-noprompt\fP option is not specified, the information of the last certificate in the chain is printed out, and the user is prompted to verify it. +.RE +.LP +If the public key in the certificate reply matches the user's public key already stored with under \f2alias\fP, the old certificate chain is replaced with the new certificate chain in the reply. The old chain can only be replaced if a valid \f2keypass\fP, the password used to protect the private key of the entry, is supplied. If no password is provided, and the private key password is different from the keystore password, the user is prompted for it. +.LP +This command was named \f2\-import\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarify the new name, \f2\-importcert\fP, is preferred going forward. +.TP 3 +\-importkeystore \-srckeystore srckeystore \-destkeystore destkeystore {\-srcstoretype srcstoretype} {\-deststoretype deststoretype} [\-srcstorepass srcstorepass] [\-deststorepass deststorepass] {\-srcprotected} {\-destprotected} {\-srcalias srcalias {\-destalias destalias} [\-srckeypass srckeypass] [\-destkeypass destkeypass] } {\-noprompt} {\-srcProviderName src_provider_name} {\-destProviderName dest_provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +Imports a single entry or all entries from a source keystore to a destination keystore. +.LP +When the \f2srcalias\fP option is provided, the command imports the single entry identified by the alias to the destination keystore. If a destination alias is not provided with \f2destalias\fP, then \f2srcalias\fP is used as the destination alias. If the source entry is protected by a password, \f2srckeypass\fP will be used to recover the entry. If \f2srckeypass\fP is not provided, then \f3keytool\fP will attempt to use \f2srcstorepass\fP to recover the entry. If \f2srcstorepass\fP is either not provided or is incorrect, the user will be prompted for a password. The destination entry will be protected using \f2destkeypass\fP. If \f2destkeypass\fP is not provided, the destination entry will be protected with the source entry password. +.LP +If the \f2srcalias\fP option is not provided, then all entries in the source keystore are imported into the destination keystore. Each destination entry will be stored under the alias from the source entry. If the source entry is protected by a password, \f2srcstorepass\fP will be used to recover the entry. If \f2srcstorepass\fP is either not provided or is incorrect, the user will be prompted for a password. If a source keystore entry type is not supported in the destination keystore, or if an error occurs while storing an entry into the destination keystore, the user will be prompted whether to skip the entry and continue, or to quit. The destination entry will be protected with the source entry password. +.LP +If the destination alias already exists in the destination keystore, the user is prompted to either overwrite the entry, or to create a new entry under a different alias name. +.LP +Note that if \f2\-noprompt\fP is provided, the user will not be prompted for a new destination alias. Existing entries will automatically be overwritten with the destination alias name. Finally, entries that can not be imported are automatically skipped and a warning is output. +.TP 3 +\-printcertreq {\-file file} +.LP +Prints the content of a PKCS #10 format certificate request, which can be generated by the keytool \-certreq command. The command reads the request from file; if omitted, from the standard input. +.RE + +.LP +.SS +Exporting Data +.LP +.RS 3 +.TP 3 +\-certreq {\-alias alias} {\-dname dname} {\-sigalg sigalg} {\-file certreq_file} [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +Generates a Certificate Signing Request (CSR), using the PKCS#10 format. +.LP +A CSR is intended to be sent to a certificate authority (CA). The CA will authenticate the certificate requestor (usually off\-line) and will return a certificate or certificate chain, used to replace the existing certificate chain (which initially consists of a self\-signed certificate) in the keystore. +.LP +The private key associated with \f2alias\fP is used to create the PKCS#10 certificate request. In order to access the private key, the appropriate password must be provided, since private keys are protected in the keystore with a password. If \f2keypass\fP is not provided at the command line, and is different from the password used to protect the integrity of the keystore, the user is prompted for it. If dname is provided, it's used as the subject in the CSR. Otherwise, the X.500 Distinguished Name associated with alias is used. +.LP +\f2sigalg\fP specifies the algorithm that should be used to sign the CSR. +.LP +The CSR is stored in the file \f2certreq_file\fP. If no file is given, the CSR is output to stdout. +.LP +Use the \f2importcert\fP command to import the response from the CA. +.TP 3 +\-exportcert {\-alias alias} {\-file cert_file} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-rfc} {\-v} {\-protected} {\-Jjavaoption} +.LP +Reads (from the keystore) the certificate associated with \f2alias\fP, and stores it in the file \f2cert_file\fP. +.LP +If no file is given, the certificate is output to stdout. +.LP +The certificate is by default output in binary encoding, but will instead be output in the printable encoding format, as defined by the Internet RFC 1421 standard, if the \f2\-rfc\fP option is specified. +.LP +If \f2alias\fP refers to a trusted certificate, that certificate is output. Otherwise, \f2alias\fP refers to a key entry with an associated certificate chain. In that case, the first certificate in the chain is returned. This certificate authenticates the public key of the entity addressed by \f2alias\fP. +.LP +This command was named \f2\-export\fP in previous releases. This old name is still supported in this release and will be supported in future releases, but for clarify the new name, \f2\-exportcert\fP, is preferred going forward. +.RE + +.LP +.SS +Displaying Data +.LP +.RS 3 +.TP 3 +\-list {\-alias alias} {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v | \-rfc} {\-protected} {\-Jjavaoption} +.LP +Prints (to stdout) the contents of the keystore entry identified by \f2alias\fP. If no alias is specified, the contents of the entire keystore are printed. +.LP +This command by default prints the SHA1 fingerprint of a certificate. If the \f2\-v\fP option is specified, the certificate is printed in human\-readable format, with additional information such as the owner, issuer, serial number, and any extensions. If the \f2\-rfc\fP option is specified, certificate contents are printed using the printable encoding format, as defined by the Internet RFC 1421 standard +.LP +You cannot specify both \f2\-v\fP and \f2\-rfc\fP. +.TP 3 +\-printcert {\-file cert_file | \-sslserver host[:port]} {\-jarfile JAR_file {\-rfc} {\-v} {\-Jjavaoption} +.LP +Reads the certificate from the file \f2cert_file\fP, the SSL server located at \f2host:port\fP, or the signed JAR file \f2JAR_file\fP (with the option \f2\-jarfile\fP and prints its contents in a human\-readable format. When no port is specified, the standard HTTPS port 443 is assumed. Note that \f2\-sslserver\fP and \f2\-file\fP options cannot be provided at the same time. Otherwise, an error is reported. If neither option is given, the certificate is read from stdin. +.LP +If \f2\-rfc\fP is specified, keytool prints the certificate in PEM mode as defined by the Internet RFC 1421 standard. +.LP +If the certificate is read from a file or stdin, it may be either binary encoded or in printable encoding format, as defined by the Internet RFC 1421 standard +.LP +If the SSL server is behind a firewall, \f2\-J\-Dhttps.proxyHost=proxyhost\fP and \f2\-J\-Dhttps.proxyPort=proxyport\fP can be specified on the command line for proxy tunneling. See the +.na +\f2JSSE Reference Guide\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html for more information. +.LP +\f3Note\fP: This option can be used independently of a keystore. +.TP 3 +\-printcrl \-file crl_ {\-v} +.LP +Reads the certificate revocation list (CRL) from the file \f2crl_file\fP. +.LP +A Certificate Revocation List (CRL) is a list of digital certificates which have been revoked by the Certificate Authority (CA) that issued them. The CA generates \f2crl_file\fP. +.LP +\f3Note\fP: This option can be used independently of a keystore. +.RE + +.LP +.SS +Managing the Keystore +.LP +.RS 3 +.TP 3 +\-storepasswd [\-new new_storepass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-Jjavaoption} +.LP +Changes the password used to protect the integrity of the keystore contents. The new password is \f2new_storepass\fP, which must be at least 6 characters long. +.TP 3 +\-keypasswd {\-alias alias} [\-keypass old_keypass] [\-new new_keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-Jjavaoption} +.LP +Changes the password under which the private/secret key identified by \f2alias\fP is protected, from \f2old_keypass\fP to \f2new_keypass\fP, which must be at least 6 characters long. +.LP +If the \f2\-keypass\fP option is not provided at the command line, and the key password is different from the keystore password, the user is prompted for it. +.LP +If the \f2\-new\fP option is not provided at the command line, the user is prompted for it. +.TP 3 +\-delete [\-alias alias] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +Deletes from the keystore the entry identified by \f2alias\fP. The user is prompted for the alias, if no alias is provided at the command line. +.TP 3 +\-changealias {\-alias alias} [\-destalias destalias] [\-keypass keypass] {\-storetype storetype} {\-keystore keystore} [\-storepass storepass] {\-providerName provider_name} {\-providerClass provider_class_name {\-providerArg provider_arg}} {\-v} {\-protected} {\-Jjavaoption} +.LP +Move an existing keystore entry from the specified \f2alias\fP to a new alias, \f2destalias\fP. If no destination alias is provided, the command will prompt for one. If the original entry is protected with an entry password, the password can be supplied via the "\-keypass" option. If no key password is provided, the \f2storepass\fP (if given) will be attempted first. If that attempt fails, the user will be prompted for a password. +.RE + +.LP +.SS +Getting Help +.LP +.RS 3 +.TP 3 +\-help +.LP +Lists the basic commands and their options. +.LP +For more information about a specific command, enter the following, where \f2command_name\fP is the name of the command: +.nf +\f3 +.fl + keytool \-\fP\f4command_name\fP\f3 \-help +.fl +\fP +.fi +.RE + +.LP +.SH "EXAMPLES" +.LP +.LP +Suppose you want to create a keystore for managing your public/private key pair and certificates from entities you trust. +.LP +.SS +Generating Your Key Pair +.LP +.LP +The first thing you need to do is create a keystore and generate the key pair. You could use a command such as the following: +.LP +.nf +\f3 +.fl + keytool \-genkeypair \-dname "cn=Mark Jones, ou=Java, o=Oracle, c=US" +.fl + \-alias business \-keypass \fP\f4<new password for private key>\fP\f3 \-keystore /working/mykeystore +.fl + \-storepass \fP\f4<new password for keystore>\fP\f3 \-validity 180 +.fl +\fP +.fi + +.LP +.LP +(Please note: This must be typed as a single line. Multiple lines are used in the examples just for legibility purposes.) +.LP +.LP +This command creates the keystore named "mykeystore" in the "working" directory (assuming it doesn't already exist), and assigns it the password specified by \f2<new password for keystore>\fP. It generates a public/private key pair for the entity whose "distinguished name" has a common name of "Mark Jones", organizational unit of "Java", organization of "Oracle" and two\-letter country code of "US". It uses the default "DSA" key generation algorithm to create the keys, both 1024 bits long. +.LP +.LP +It creates a self\-signed certificate (using the default "SHA1withDSA" signature algorithm) that includes the public key and the distinguished name information. This certificate will be valid for 180 days, and is associated with the private key in a keystore entry referred to by the alias "business". The private key is assigned the password specified by \f2<new password for private key>\fP. +.LP +.LP +The command could be significantly shorter if option defaults were accepted. As a matter of fact, no options are required; defaults are used for unspecified options that have default values, and you are prompted for any required values. Thus, you could simply have the following: +.LP +.nf +\f3 +.fl + keytool \-genkeypair +.fl +\fP +.fi + +.LP +.LP +In this case, a keystore entry with alias "mykey" is created, with a newly\-generated key pair and a certificate that is valid for 90 days. This entry is placed in the keystore named ".keystore" in your home directory. (The keystore is created if it doesn't already exist.) You will be prompted for the distinguished name information, the keystore password, and the private key password. +.LP +.LP +The rest of the examples assume you executed the \f2\-genkeypair\fP command without options specified, and that you responded to the prompts with values equal to those given in the first \f2\-genkeypair\fP command, above (for example, a distinguished name of "cn=Mark Jones, ou=Java, o=Oracle, c=US"). +.LP +.SS +Requesting a Signed Certificate from a Certification Authority +.LP +.LP +So far all we've got is a self\-signed certificate. A certificate is more likely to be trusted by others if it is signed by a Certification Authority (CA). To get such a signature, you first generate a Certificate Signing Request (CSR), via the following: +.LP +.nf +\f3 +.fl + keytool \-certreq \-file MarkJ.csr +.fl +\fP +.fi + +.LP +.LP +This creates a CSR (for the entity identified by the default alias "mykey") and puts the request in the file named "MarkJ.csr". Submit this file to a CA, such as VeriSign, Inc. The CA will authenticate you, the requestor (usually off\-line), and then will return a certificate, signed by them, authenticating your public key. (In some cases, they will actually return a chain of certificates, each one authenticating the public key of the signer of the previous certificate in the chain.) +.LP +.SS +Importing a Certificate for the CA +.LP +.LP +You need to replace your self\-signed certificate with a certificate chain, where each certificate in the chain authenticates the public key of the signer of the previous certificate in the chain, up to a "root" CA. +.LP +.LP +Before you import the certificate reply from a CA, you need one or more "trusted certificates" in your keystore or in the \f2cacerts\fP keystore file (which is described in importcert command): +.LP +.RS 3 +.TP 2 +o +If the certificate reply is a certificate chain, you just need the top certificate of the chain (that is, the "root" CA certificate authenticating that CA's public key). +.TP 2 +o +If the certificate reply is a single certificate, you need a certificate for the issuing CA (the one that signed it), and if that certificate is not self\-signed, you need a certificate for its signer, and so on, up to a self\-signed "root" CA certificate. +.RE + +.LP +.LP +The "cacerts" keystore file ships with several VeriSign root CA certificates, so you probably won't need to import a VeriSign certificate as a trusted certificate in your keystore. But if you request a signed certificate from a different CA, and a certificate authenticating that CA's public key hasn't been added to "cacerts", you will need to import a certificate from the CA as a "trusted certificate". +.LP +.LP +A certificate from a CA is usually either self\-signed, or signed by another CA (in which case you also need a certificate authenticating that CA's public key). Suppose company ABC, Inc., is a CA, and you obtain a file named "ABCCA.cer" that is purportedly a self\-signed certificate from ABC, authenticating that CA's public key. +.LP +.LP +Be very careful to ensure the certificate is valid prior to importing it as a "trusted" certificate! View it first (using the \f3keytool\fP \f2\-printcert\fP command, or the \f3keytool\fP \f2\-importcert\fP command without the \f2\-noprompt\fP option), and make sure that the displayed certificate fingerprint(s) match the expected ones. You can call the person who sent the certificate, and compare the fingerprint(s) that you see with the ones that they show (or that a secure public key repository shows). Only if the fingerprints are equal is it guaranteed that the certificate has not been replaced in transit with somebody else's (for example, an attacker's) certificate. If such an attack took place, and you did not check the certificate before you imported it, you would end up trusting anything the attacker has signed. +.LP +.LP +If you trust that the certificate is valid, then you can add it to your keystore via the following: +.LP +.nf +\f3 +.fl + keytool \-importcert \-alias abc \-file ABCCA.cer +.fl +\fP +.fi + +.LP +.LP +This creates a "trusted certificate" entry in the keystore, with the data from the file "ABCCA.cer", and assigns the alias "abc" to the entry. +.LP +.SS +Importing the Certificate Reply from the CA +.LP +.LP +Once you've imported a certificate authenticating the public key of the CA you submitted your certificate signing request to (or there is already such a certificate in the "cacerts" file), you can import the certificate reply and thereby replace your self\-signed certificate with a certificate chain. This chain is the one returned by the CA in response to your request (if the CA reply is a chain), or one constructed (if the CA reply is a single certificate) using the certificate reply and trusted certificates that are already available in the keystore where you import the reply or in the "cacerts" keystore file. +.LP +.LP +For example, suppose you sent your certificate signing request to VeriSign. You can then import the reply via the following, which assumes the returned certificate is named "VSMarkJ.cer": +.LP +.nf +\f3 +.fl + keytool \-importcert \-trustcacerts \-file VSMarkJ.cer +.fl +\fP +.fi + +.LP +.SS +Exporting a Certificate Authenticating Your Public Key +.LP +.LP +Suppose you have used the jarsigner(1) tool to sign a Java ARchive (JAR) file. Clients that want to use the file will want to authenticate your signature. +.LP +.LP +One way they can do this is by first importing your public key certificate into their keystore as a "trusted" entry. You can export the certificate and supply it to your clients. As an example, you can copy your certificate to a file named \f2MJ.cer\fP via the following, assuming the entry is aliased by "mykey": +.LP +.nf +\f3 +.fl + keytool \-exportcert \-alias mykey \-file MJ.cer +.fl +\fP +.fi + +.LP +.LP +Given that certificate, and the signed JAR file, a client can use the \f3jarsigner\fP tool to authenticate your signature. +.LP +.SS +Importing Keystore +.LP +.LP +The command "importkeystore" is used to import an entire keystore into another keystore, which means all entries from the source keystore, including keys and certificates, are all imported to the destination keystore within a single command. You can use this command to import entries from a different type of keystore. During the import, all new entries in the destination keystore will have the same alias names and protection passwords (for secret keys and private keys). If \f3keytool\fP has difficulties recover the private keys or secret keys from the source keystore, it will prompt you for a password. If it detects alias duplication, it will ask you for a new one, you can specify a new alias or simply allow \f3keytool\fP to overwrite the existing one. +.LP +.LP +For example, to import entries from a normal JKS type keystore key.jks into a PKCS #11 type hardware based keystore, you can use the command: +.LP +.nf +\f3 +.fl + keytool \-importkeystore +.fl + \-srckeystore key.jks \-destkeystore NONE +.fl + \-srcstoretype JKS \-deststoretype PKCS11 +.fl + \-srcstorepass \fP\f4<source keystore password>\fP\f3 \-deststorepass \fP\f4<destination keystore password>\fP\f3 +.fl +\fP +.fi + +.LP +.LP +The importkeystore command can also be used to import a single entry from a source keystore to a destination keystore. In this case, besides the options you see in the above example, you need to specify the alias you want to import. With the srcalias option given, you can also specify the destination alias name in the command line, as well as protection password for a secret/private key and the destination protection password you want. The following command demonstrates this: +.LP +.nf +\f3 +.fl + keytool \-importkeystore +.fl + \-srckeystore key.jks \-destkeystore NONE +.fl + \-srcstoretype JKS \-deststoretype PKCS11 +.fl + \-srcstorepass \fP\f4<source keystore password>\fP\f3 \-deststorepass \fP\f4<destination keystore password>\fP\f3 +.fl + \-srcalias myprivatekey \-destalias myoldprivatekey +.fl + \-srckeypass \fP\f4<source entry password>\fP\f3 \-destkeypass \fP\f4<destination entry password>\fP\f3 +.fl + \-noprompt +.fl +\fP +.fi + +.LP +.SS +Generating Certificates for a Typical SSL Server +.LP +.LP +The following are keytool commands to generate keypairs and certificates for three entities, namely, Root CA (root), Intermediate CA (ca), and SSL server (server). Ensure that you store all the certificates in the same keystore. In these examples, it is recommended that you specify RSA as the key algorithm. +.LP +.nf +\f3 +.fl +keytool \-genkeypair \-keystore root.jks \-alias root \-ext bc:c +.fl +keytool \-genkeypair \-keystore ca.jks \-alias ca \-ext bc:c +.fl +keytool \-genkeypair \-keystore server.jks \-alias server +.fl + +.fl +keytool \-keystore root.jks \-alias root \-exportcert \-rfc > root.pem +.fl + +.fl +keytool \-storepass \fP\f4<storepass>\fP\f3 \-keystore ca.jks \-certreq \-alias ca | keytool \-storepass \fP\f4<storepass>\fP\f3 \-keystore root.jks \-gencert \-alias root \-ext BC=0 \-rfc > ca.pem +.fl +keytool \-keystore ca.jks \-importcert \-alias ca \-file ca.pem +.fl + +.fl +keytool \-storepass \fP\f4<storepass>\fP\f3 \-keystore server.jks \-certreq \-alias server | keytool \-storepass \fP\f4<storepass>\fP\f3 \-keystore ca.jks \-gencert \-alias ca \-ext ku:c=dig,kE \-rfc > server.pem +.fl +cat root.pem ca.pem server.pem | keytool \-keystore server.jks \-importcert \-alias server +.fl +\fP +.fi + +.LP +.SH "TERMINOLOGY and WARNINGS" +.LP +.SS +KeyStore +.LP +.LP +A keystore is a storage facility for cryptographic keys and certificates. +.LP +.RS 3 +.TP 2 +o +\f3KeyStore Entries\fP +.LP +Keystores may have different types of entries. The two most applicable entry types for \f3keytool\fP include: +.RS 3 +.TP 3 +1. +\f3key entries\fP \- each holds very sensitive cryptographic key information, which is stored in a protected format to prevent unauthorized access. Typically, a key stored in this type of entry is a secret key, or a private key accompanied by the certificate "chain" for the corresponding public key. The \f3keytool\fP can handle both types of entries, while the \f3jarsigner\fP tool only handle the latter type of entry, that is private keys and their associated certificate chains. +.TP 3 +2. +\f3trusted certificate entries\fP \- each contains a single public key certificate belonging to another party. It is called a "trusted certificate" because the keystore owner trusts that the public key in the certificate indeed belongs to the identity identified by the "subject" (owner) of the certificate. The issuer of the certificate vouches for this, by signing the certificate. +.RE +.TP 2 +o +\f3KeyStore Aliases\fP +.LP +All keystore entries (key and trusted certificate entries) are accessed via unique \f2aliases\fP. +.LP +An alias is specified when you add an entity to the keystore using the \-genseckey command to generate a secret key, \-genkeypair command to generate a key pair (public and private key) or the \-importcert command to add a certificate or certificate chain to the list of trusted certificates. Subsequent \f3keytool\fP commands must use this same alias to refer to the entity. +.LP +For example, suppose you use the alias \f2duke\fP to generate a new public/private key pair and wrap the public key into a self\-signed certificate (see Certificate Chains) via the following command: +.nf +\f3 +.fl + keytool \-genkeypair \-alias duke \-keypass dukekeypasswd +.fl +\fP +.fi +.LP +This specifies an initial password of "dukekeypasswd" required by subsequent commands to access the private key associated with the alias \f2duke\fP. If you later want to change duke's private key password, you use a command like the following: +.nf +\f3 +.fl + keytool \-keypasswd \-alias duke \-keypass dukekeypasswd \-new newpass +.fl +\fP +.fi +.LP +This changes the password from "dukekeypasswd" to "newpass". +.LP +Please note: A password should not actually be specified on a command line or in a script unless it is for testing purposes, or you are on a secure system. If you don't specify a required password option on a command line, you will be prompted for it. +.TP 2 +o +\f3KeyStore Implementation\fP +.LP +The \f2KeyStore\fP class provided in the \f2java.security\fP package supplies well\-defined interfaces to access and modify the information in a keystore. It is possible for there to be multiple different concrete implementations, where each implementation is that for a particular \f2type\fP of keystore. +.LP +Currently, two command\-line tools (\f3keytool\fP and \f3jarsigner\fP) and a GUI\-based tool named \f3Policy Tool\fP make use of keystore implementations. Since \f2KeyStore\fP is publicly available, users can write additional security applications that use it. +.LP +There is a built\-in default implementation, provided by Oracle. It implements the keystore as a file, utilizing a proprietary keystore type (format) named "JKS". It protects each private key with its individual password, and also protects the integrity of the entire keystore with a (possibly different) password. +.LP +Keystore implementations are provider\-based. More specifically, the application interfaces supplied by \f2KeyStore\fP are implemented in terms of a "Service Provider Interface" (SPI). That is, there is a corresponding abstract \f2KeystoreSpi\fP class, also in the \f2java.security\fP package, which defines the Service Provider Interface methods that "providers" must implement. (The term "provider" refers to a package or a set of packages that supply a concrete implementation of a subset of services that can be accessed by the Java Security API.) Thus, to provide a keystore implementation, clients must implement a "provider" and supply a KeystoreSpi subclass implementation, as described in +.na +\f2How to Implement a Provider for the Java Cryptography Architecture\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html. +.LP +Applications can choose different \f2types\fP of keystore implementations from different providers, using the "getInstance" factory method supplied in the \f2KeyStore\fP class. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private/secret keys in the keystore and the integrity of the keystore itself. Keystore implementations of different types are not compatible. +.LP +\f3keytool\fP works on any file\-based keystore implementation. (It treats the keystore location that is passed to it at the command line as a filename and converts it to a FileInputStream, from which it loads the keystore information.) The \f3jarsigner\fP and \f3policytool\fP tools, on the other hand, can read a keystore from any location that can be specified using a URL. +.LP +For \f3keytool\fP and \f3jarsigner\fP, you can specify a keystore type at the command line, via the \f2\-storetype\fP option. For \f3Policy Tool\fP, you can specify a keystore type via the "Keystore" menu. +.LP +If you don't explicitly specify a keystore type, the tools choose a keystore implementation based simply on the value of the \f2keystore.type\fP property specified in the security properties file. The security properties file is called \f2java.security\fP, and it resides in the security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). +.LP +Each tool gets the \f2keystore.type\fP value and then examines all the currently\-installed providers until it finds one that implements keystores of that type. It then uses the keystore implementation from that provider. +.LP +The \f2KeyStore\fP class defines a static method named \f2getDefaultType\fP that lets applications and applets retrieve the value of the \f2keystore.type\fP property. The following line of code creates an instance of the default keystore type (as specified in the \f2keystore.type\fP property): +.nf +\f3 +.fl + KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); +.fl +\fP +.fi +.LP +The default keystore type is "jks" (the proprietary type of the keystore implementation provided by Oracle). This is specified by the following line in the security properties file: +.nf +\f3 +.fl + keystore.type=jks +.fl +\fP +.fi +.LP +To have the tools utilize a keystore implementation other than the default, you can change that line to specify a different keystore type. +.LP +For example, if you have a provider package that supplies a keystore implementation for a keystore type called "pkcs12", change the line to +.nf +\f3 +.fl + keystore.type=pkcs12 +.fl +\fP +.fi +.LP +Note: case doesn't matter in keystore type designations. For example, "JKS" would be considered the same as "jks". +.RE + +.LP +.SS +Certificate +.LP +A \f3certificate\fP (also known as a \f3public\-key certificate\fP) is a digitally signed statement from one entity (the \f2issuer\fP), saying that the public key (and some other information) of another entity (the \f2subject\fP) has some specific value. +.RS 3 +.TP 2 +o +\f3Certificate Terms\fP +.RS 3 +.TP 3 +Public Keys +.LP +These are numbers associated with a particular entity, and are intended to be known to everyone who needs to have trusted interactions with that entity. Public keys are used to verify signatures. +.TP 3 +Digitally Signed +.LP +If some data is \f2digitally signed\fP it has been stored with the "identity" of an entity, and a signature that proves that entity knows about the data. The data is rendered unforgeable by signing with the entity's private key. +.TP 3 +Identity +.LP +A known way of addressing an entity. In some systems the identity is the public key, in others it can be anything from a Unix UID to an Email address to an X.509 Distinguished Name. +.TP 3 +Signature +.LP +A signature is computed over some data using the private key of an entity (the \f2signer\fP, which in the case of a certificate is also known as the \f2issuer\fP). +.TP 3 +Private Keys +.LP +These are numbers, each of which is supposed to be known only to the particular entity whose private key it is (that is, it's supposed to be kept secret). Private and public keys exist in pairs in all public key cryptography systems (also referred to as "public key crypto systems"). In a typical public key crypto system, such as DSA, a private key corresponds to exactly one public key. Private keys are used to compute signatures. +.TP 3 +Entity +.LP +An entity is a person, organization, program, computer, business, bank, or something else you are trusting to some degree. +.RE +.LP +Basically, public key cryptography requires access to users' public keys. In a large\-scale networked environment it is impossible to guarantee that prior relationships between communicating entities have been established or that a trusted repository exists with all used public keys. Certificates were invented as a solution to this public key distribution problem. Now a \f2Certification Authority\fP (CA) can act as a trusted third party. CAs are entities (for example, businesses) that are trusted to sign (issue) certificates for other entities. It is assumed that CAs will only create valid and reliable certificates, as they are bound by legal agreements. There are many public Certification Authorities, such as +.na +\f2VeriSign\fP @ +.fi +http://www.verisign.com/, +.na +\f2Thawte\fP @ +.fi +http://www.thawte.com/, +.na +\f2Entrust\fP @ +.fi +http://www.entrust.com/, and so on. You can also run your own Certification Authority using products such as Microsoft Certificate Server or the Entrust CA product for your organization. +.LP +Using \f3keytool\fP, it is possible to display, import, and export certificates. It is also possible to generate self\-signed certificates. +.LP +\f3keytool\fP currently handles X.509 certificates. +.TP 2 +o +\f3X.509 Certificates\fP +.LP +The X.509 standard defines what information can go into a certificate, and describes how to write it down (the data format). All the data in a certificate is encoded using two related standards called ASN.1/DER. \f2Abstract Syntax Notation 1\fP describes data. The \f2Definite Encoding Rules\fP describe a single way to store and transfer that data. +.LP +All X.509 certificates have the following data, in addition to the signature: +.RS 3 +.TP 3 +Version +.LP +This identifies which version of the X.509 standard applies to this certificate, which affects what information can be specified in it. Thus far, three versions are defined. \f3keytool\fP can import and export v1, v2, and v3 certificates. It generates v3 certificates. +.LP +\f2X.509 Version 1\fP has been available since 1988, is widely deployed, and is the most generic. +.LP +\f2X.509 Version 2\fP introduced the concept of subject and issuer unique identifiers to handle the possibility of reuse of subject and/or issuer names over time. Most certificate profile documents strongly recommend that names not be reused, and that certificates should not make use of unique identifiers. Version 2 certificates are not widely used. +.LP +\f2X.509 Version 3\fP is the most recent (1996) and supports the notion of extensions, whereby anyone can define an extension and include it in the certificate. Some common extensions in use today are: \f2KeyUsage\fP (limits the use of the keys to particular purposes such as "signing\-only") and \f2AlternativeNames\fP (allows other identities to also be associated with this public key, e.g. DNS names, Email addresses, IP addresses). Extensions can be marked \f2critical\fP to indicate that the extension should be checked and enforced/used. For example, if a certificate has the KeyUsage extension marked critical and set to "keyCertSign" then if this certificate is presented during SSL communication, it should be rejected, as the certificate extension indicates that the associated private key should only be used for signing certificates and not for SSL use. +.TP 3 +Serial Number +.LP +The entity that created the certificate is responsible for assigning it a serial number to distinguish it from other certificates it issues. This information is used in numerous ways, for example when a certificate is revoked its serial number is placed in a Certificate Revocation List (CRL). +.TP 3 +Signature Algorithm Identifier +.LP +This identifies the algorithm used by the CA to sign the certificate. +.TP 3 +Issuer Name +.LP +The X.500 Distinguished Name of the entity that signed the certificate. This is normally a CA. Using this certificate implies trusting the entity that signed this certificate. (Note that in some cases, such as \f2root or top\-level\fP CA certificates, the issuer signs its own certificate.) +.TP 3 +Validity Period +.LP +Each certificate is valid only for a limited amount of time. This period is described by a start date and time and an end date and time, and can be as short as a few seconds or almost as long as a century. The validity period chosen depends on a number of factors, such as the strength of the private key used to sign the certificate or the amount one is willing to pay for a certificate. This is the expected period that entities can rely on the public value, if the associated private key has not been compromised. +.TP 3 +Subject Name +.LP +The name of the entity whose public key the certificate identifies. This name uses the X.500 standard, so it is intended to be unique across the Internet. This is the X.500 Distinguished Name (DN) of the entity, for example, +.nf +\f3 +.fl + CN=Java Duke, OU=Java Software Division, O=Oracle Corporation, C=US +.fl +\fP +.fi +.LP +(These refer to the subject's Common Name, Organizational Unit, Organization, and Country.) +.TP 3 +Subject Public Key Information +.LP +This is the public key of the entity being named, together with an algorithm identifier which specifies which public key crypto system this key belongs to and any associated key parameters. +.RE +.TP 2 +o +\f3Certificate Chains\fP +.LP +\f3keytool\fP can create and manage keystore "key" entries that each contain a private key and an associated certificate "chain". The first certificate in the chain contains the public key corresponding to the private key. +.LP +When keys are first generated (see the \-genkeypair command), the chain starts off containing a single element, a \f2self\-signed certificate\fP. A self\-signed certificate is one for which the issuer (signer) is the same as the subject (the entity whose public key is being authenticated by the certificate). Whenever the \f2\-genkeypair\fP command is called to generate a new public/private key pair, it also wraps the public key into a self\-signed certificate. +.LP +Later, after a Certificate Signing Request (CSR) has been generated (see the \-certreq command) and sent to a Certification Authority (CA), the response from the CA is imported (see \-importcert), and the self\-signed certificate is replaced by a chain of certificates. At the bottom of the chain is the certificate (reply) issued by the CA authenticating the subject's public key. The next certificate in the chain is one that authenticates the \f2CA\fP's public key. +.LP +In many cases, this is a self\-signed certificate (that is, a certificate from the CA authenticating its own public key) and the last certificate in the chain. In other cases, the CA may return a chain of certificates. In this case, the bottom certificate in the chain is the same (a certificate signed by the CA, authenticating the public key of the key entry), but the second certificate in the chain is a certificate signed by a \f2different\fP CA, authenticating the public key of the CA you sent the CSR to. Then, the next certificate in the chain will be a certificate authenticating the second CA's key, and so on, until a self\-signed "root" certificate is reached. Each certificate in the chain (after the first) thus authenticates the public key of the signer of the previous certificate in the chain. +.LP +Many CAs only return the issued certificate, with no supporting chain, especially when there is a flat hierarchy (no intermediates CAs). In this case, the certificate chain must be established from trusted certificate information already stored in the keystore. +.LP +A different reply format (defined by the PKCS#7 standard) also includes the supporting certificate chain, in addition to the issued certificate. Both reply formats can be handled by \f3keytool\fP. +.LP +The top\-level (root) CA certificate is self\-signed. However, the trust into the root's public key does not come from the root certificate itself (anybody could generate a self\-signed certificate with the distinguished name of say, the VeriSign root CA!), but from other sources like a newspaper. The root CA public key is widely known. The only reason it is stored in a certificate is because this is the format understood by most tools, so the certificate in this case is only used as a "vehicle" to transport the root CA's public key. Before you add the root CA certificate to your keystore, you should view it (using the \f2\-printcert\fP option) and compare the displayed fingerprint with the well\-known fingerprint (obtained from a newspaper, the root CA's Web page, etc.). +.TP 2 +o +\f3The cacerts Certificates File\fP +.LP +A certificates file named \f3"cacerts"\fP resides in the security properties directory, \f2java.home\fP/lib/security, where \f2java.home\fP is the runtime environment's directory (the \f2jre\fP directory in the SDK or the top\-level directory of the Java 2 Runtime Environment). +.LP +The "cacerts" file represents a system\-wide keystore with CA certificates. System administrators can configure and manage that file using \f3keytool\fP, specifying "jks" as the keystore type. The "cacerts" keystore file ships with a default set of root CA certificates; list them with the following command: +.nf +\f3 +.fl +keytool \-list \-keystore \fP\f4java.home\fP\f3/lib/security/cacerts +.fl +\fP +.fi +.LP +The initial password of the "cacerts" keystore file is "changeit". System administrators should change that password and the default access permission of that file upon installing the SDK. +.LP +\f3IMPORTANT: Verify Your \fP\f4cacerts\fP\f3 File\fP: Since you trust the CAs in the \f2cacerts\fP file as entities for signing and issuing certificates to other entities, you must manage the \f2cacerts\fP file carefully. The \f2cacerts\fP file should contain only certificates of the CAs you trust. It is your responsibility to verify the trusted root CA certificates bundled in the \f2cacerts\fP file and make your own trust decisions. To remove an untrusted CA certificate from the \f2cacerts\fP file, use the delete option of the \f2keytool\fP command. You can find the \f2cacerts\fP file in the JRE installation directory. Contact your system administrator if you do not have permission to edit this file. +.TP 2 +o +\f3The Internet RFC 1421 Certificate Encoding Standard\fP +.LP +Certificates are often stored using the printable encoding format defined by the Internet RFC 1421 standard, instead of their binary encoding. This certificate format, also known as "Base 64 encoding", facilitates exporting certificates to other applications by email or through some other mechanism. +.LP +Certificates read by the \f2\-importcert\fP and \f2\-printcert\fP commands can be in either this format or binary encoded. +.LP +The \f2\-exportcert\fP command by default outputs a certificate in binary encoding, but will instead output a certificate in the printable encoding format, if the \f2\-rfc\fP option is specified. +.LP +The \f2\-list\fP command by default prints the SHA1 fingerprint of a certificate. If the \f2\-v\fP option is specified, the certificate is printed in human\-readable format, while if the \f2\-rfc\fP option is specified, the certificate is output in the printable encoding format. +.LP +In its printable encoding format, the encoded certificate is bounded at the beginning by +.nf +\f3 +.fl +\-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\- +.fl +\fP +.fi +.LP +and at the end by +.nf +\f3 +.fl +\-\-\-\-\-END CERTIFICATE\-\-\-\-\- +.fl +\fP +.fi +.RE + +.LP +.SS +X.500 Distinguished Names +.LP +.LP +X.500 Distinguished Names are used to identify entities, such as those which are named by the \f2subject\fP and \f2issuer\fP (signer) fields of X.509 certificates. \f3keytool\fP supports the following subparts: +.LP +.RS 3 +.TP 2 +o +\f2commonName\fP \- common name of a person, e.g., "Susan Jones" +.TP 2 +o +\f2organizationUnit\fP \- small organization (e.g., department or division) name, e.g., "Purchasing" +.TP 2 +o +\f2organizationName\fP \- large organization name, e.g., "ABCSystems, Inc." +.TP 2 +o +\f2localityName\fP \- locality (city) name, e.g., "Palo Alto" +.TP 2 +o +\f2stateName\fP \- state or province name, e.g., "California" +.TP 2 +o +\f2country\fP \- two\-letter country code, e.g., "CH" +.RE + +.LP +.LP +When supplying a distinguished name string as the value of a \f2\-dname\fP option, as for the \f2\-genkeypair\fP command, the string must be in the following format: +.LP +.nf +\f3 +.fl +CN=\fP\f4cName\fP\f3, OU=\fP\f4orgUnit\fP\f3, O=\fP\f4org\fP\f3, L=\fP\f4city\fP\f3, S=\fP\f4state\fP\f3, C=\fP\f4countryCode\fP\f3 +.fl +\fP +.fi + +.LP +.LP +where all the italicized items represent actual values and the above keywords are abbreviations for the following: +.LP +.nf +\f3 +.fl + CN=commonName +.fl + OU=organizationUnit +.fl + O=organizationName +.fl + L=localityName +.fl + S=stateName +.fl + C=country +.fl +\fP +.fi + +.LP +.LP +A sample distinguished name string is +.LP +.nf +\f3 +.fl +CN=Mark Smith, OU=Java, O=Oracle, L=Cupertino, S=California, C=US +.fl +\fP +.fi + +.LP +.LP +and a sample command using such a string is +.LP +.nf +\f3 +.fl +keytool \-genkeypair \-dname "CN=Mark Smith, OU=Java, O=Oracle, L=Cupertino, +.fl +S=California, C=US" \-alias mark +.fl +\fP +.fi + +.LP +.LP +Case does not matter for the keyword abbreviations. For example, "CN", "cn", and "Cn" are all treated the same. +.LP +.LP +Order matters; each subcomponent must appear in the designated order. However, it is not necessary to have all the subcomponents. You may use a subset, for example: +.LP +.nf +\f3 +.fl +CN=Steve Meier, OU=Java, O=Oracle, C=US +.fl +\fP +.fi + +.LP +.LP +If a distinguished name string value contains a comma, the comma must be escaped by a "\\" character when you specify the string on a command line, as in +.LP +.nf +\f3 +.fl + cn=Peter Schuster, ou=Java\\, Product Development, o=Oracle, c=US +.fl +\fP +.fi + +.LP +.LP +It is never necessary to specify a distinguished name string on a command line. If it is needed for a command, but not supplied on the command line, the user is prompted for each of the subcomponents. In this case, a comma does not need to be escaped by a "\\". +.LP +.SS +WARNING Regarding Importing Trusted Certificates +.LP +.LP +IMPORTANT: Be sure to check a certificate very carefully before importing it as a trusted certificate! +.LP +.LP +View it first (using the \f2\-printcert\fP command, or the \f2\-importcert\fP command without the \f2\-noprompt\fP option), and make sure that the displayed certificate fingerprint(s) match the expected ones. For example, suppose someone sends or emails you a certificate, and you put it in a file named \f2/tmp/cert\fP. Before you consider adding the certificate to your list of trusted certificates, you can execute a \f2\-printcert\fP command to view its fingerprints, as in +.LP +.nf +\f3 +.fl + keytool \-printcert \-file /tmp/cert +.fl + Owner: CN=ll, OU=ll, O=ll, L=ll, S=ll, C=ll +.fl + Issuer: CN=ll, OU=ll, O=ll, L=ll, S=ll, C=ll +.fl + Serial Number: 59092b34 +.fl + Valid from: Thu Sep 25 18:01:13 PDT 1997 until: Wed Dec 24 17:01:13 PST 1997 +.fl + Certificate Fingerprints: +.fl + MD5: 11:81:AD:92:C8:E5:0E:A2:01:2E:D4:7A:D7:5F:07:6F +.fl + SHA1: 20:B6:17:FA:EF:E5:55:8A:D0:71:1F:E8:D6:9D:C0:37:13:0E:5E:FE +.fl + SHA256: 90:7B:70:0A:EA:DC:16:79:92:99:41:FF:8A:FE:EB:90: +.fl + 17:75:E0:90:B2:24:4D:3A:2A:16:A6:E4:11:0F:67:A4 +.fl +\fP +.fi + +.LP +.LP +Then call or otherwise contact the person who sent the certificate, and compare the fingerprint(s) that you see with the ones that they show. Only if the fingerprints are equal is it guaranteed that the certificate has not been replaced in transit with somebody else's (for example, an attacker's) certificate. If such an attack took place, and you did not check the certificate before you imported it, you would end up trusting anything the attacker has signed (for example, a JAR file with malicious class files inside). +.LP +.LP +Note: it is not required that you execute a \f2\-printcert\fP command prior to importing a certificate, since before adding a certificate to the list of trusted certificates in the keystore, the \f2\-importcert\fP command prints out the certificate information and prompts you to verify it. You then have the option of aborting the import operation. Note, however, this is only the case if you invoke the \f2\-importcert\fP command without the \f2\-noprompt\fP option. If the \f2\-noprompt\fP option is given, there is no interaction with the user. +.LP +.SS +Warning Regarding Passwords +.LP +.LP +Most commands operating on a keystore require the store password. Some commands require a private/secret key password. +.LP +.LP +Passwords can be specified on the command line (in the \f2\-storepass\fP and \f2\-keypass\fP options, respectively). However, a password should not be specified on a command line or in a script unless it is for testing purposes, or you are on a secure system. +.LP +.LP +If you don't specify a required password option on a command line, you will be prompted for it. +.LP +.SS +Warning Regarding Certificate Conformance +.LP +.LP +The Internet standard +.na +\f2RFC 5280\fP @ +.fi +http://tools.ietf.org/rfc/rfc5280.txt has defined a profile on conforming X.509 certificates, which includes what values and value combinations are valid for certificate fields and extensions. \f3keytool\fP has not enforced all these rules so it can generate certificates which do not conform to the standard, and these certificates might be rejected by JRE or other applications. Users should make sure that they provide the correct options for \f2\-dname\fP, \f2\-ext\fP, etc. +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +jar(1) tool documentation +.TP 2 +o +jarsigner(1) tool documentation +.TP 2 +o +the +.na +\f4Security\fP @ +.fi +http://docs.oracle.com/javase/tutorial/security/index.html trail of the +.na +\f4Java Tutorial\fP @ +.fi +http://docs.oracle.com/javase/tutorial/ for examples of the use of \f3keytool\fP +.RE + +.LP +.SH "CHANGES" +.LP +.LP +The command interface for keytool changed in Java SE 6. +.LP +.LP +\f3keytool\fP no longer displays password input when entered by users. Since password input can no longer be viewed when entered, users will be prompted to re\-enter passwords any time a password is being set or changed (for example, when setting the initial keystore password, or when changing a key password). +.LP +.LP +Some commands have simply been renamed, and other commands deemed obsolete are no longer listed in this document. All previous commands (both renamed and obsolete) are still supported in this release and will continue to be supported in future releases. The following summarizes all of the changes made to the keytool command interface: +.LP +.LP +Renamed commands: +.LP +.RS 3 +.TP 2 +o +\f2\-export\fP, renamed to \f2\-exportcert\fP +.TP 2 +o +\f2\-genkey\fP, renamed to \f2\-genkeypair\fP +.TP 2 +o +\f2\-import\fP, renamed to \f2\-importcert\fP +.RE + +.LP +.LP +Commands deemed obsolete and no longer documented: +.LP +.RS 3 +.TP 2 +o +.na +\f2\-keyclone\fP @ +.fi +http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html#keycloneCmd +.TP 2 +o +.na +\f2\-identitydb\fP @ +.fi +http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html#identitydbCmd +.TP 2 +o +.na +\f2\-selfcert\fP @ +.fi +http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html#selfcertCmd +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/native2ascii.1 b/Java-Visualizer/java/man/man1/native2ascii.1 new file mode 100644 index 00000000..12945a8b --- /dev/null +++ b/Java-Visualizer/java/man/man1/native2ascii.1 @@ -0,0 +1,53 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH native2ascii 1 "18 Jul 2013" + +.LP +.SH "Name" +native2ascii \- Native\-to\-ASCII Converter +.LP +.LP +Converts a file with characters in any supported character encoding to one with ASCII and/or Unicode escapes, or visa versa. +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f4native2ascii\fP\f2 [options] [inputfile [outputfile]]\fP +.fl +.fi + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f2native2ascii\fP converts files that are encoded to any character encoding that is supported by the Java runtime environment to files encoded in ASCII, using Unicode escapes ("\\uxxxx" notation) for all characters that are not part of the ASCII character set. This process is required for properties files containing characters not in ISO\-8859\-1 character sets. The tool can also perform the reverse conversion. +.LP +.LP +If \f2outputfile\fP is omitted, standard output is used for output. If, in addition, \f2inputfile\fP is omitted, standard input is used for input. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-reverse +Perform the reverse operation: Convert a file encoded in ISO\-8859\-1 with Unicode escapes to a file in any character encoding supported by the Java runtime environment. +.br +.br +.TP 3 +\-encoding encoding_name +Specifies the name of the character encoding to be used by the conversion procedure. If this option is not present, the default character encoding (as determined by the \f2java.nio.charset.Charset.defaultCharset\fP method) is used. The \f2encoding_name\fP string must be the name of a character encoding that is supported by the Java runtime environment \- see the +.na +\f4Supported Encodings\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/intl/encoding.doc.html document. +.br +.br +.TP 3 +\-Joption +Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/orbd.1 b/Java-Visualizer/java/man/man1/orbd.1 new file mode 100644 index 00000000..b6c50f1b --- /dev/null +++ b/Java-Visualizer/java/man/man1/orbd.1 @@ -0,0 +1,349 @@ +." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH orbd 1 "18 Jul 2013" + +.LP +.SH "Name" +orbd \- The Object Request Broker Daemon +.LP +.LP +\f3orbd\fP is used to enable clients to transparently locate and invoke persistent objects on servers in the CORBA environment. +.LP +.LP +\f3See also:\fP +.na +\f2Naming Service\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +orbd <\fP\f3options\fP\f3> +.fl +\fP +.fi + +.LP +.SH "DESCRIPTION" +.LP +.LP +The Server Manager included with the \f3orbd\fP tool is used to enable clients to transparently locate and invoke persistent objects on servers in the CORBA environment. The persistent servers, while publishing the persistent object references in the Naming Service, include the port number of the ORBD in the object reference instead of the port number of the Server. The inclusion of an ORBD port number in the object reference for persistent object references has the following advantages: +.LP +.RS 3 +.TP 2 +o +The object reference in the Naming Service remains independent of the server life cycle. For example, the object reference could be published by the server in the Naming Service when it is first installed, and then, independent of how many times the server is started or shutdown, the ORBD will always return the correct object reference to the invoking client. +.TP 2 +o +The client needs to lookup the object reference in the Naming Service only once, and can keep re\-using this reference independent of the changes introduced due to server life cycle. +.RE + +.LP +.LP +To access ORBD's Server Manager, the server must be started using servertool(1), which is a command\-line interface for application programmers to register, unregister, startup, and shutdown a persistent server. For more information on the Server Manager, see the section in this document titled \f2Server Manager\fP. +.LP +.LP +When \f2orbd\fP starts up, it also starts a naming service. For more information on the naming service, link to +.na +\f2Naming Service\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html. +.LP +.SH "OPTIONS" +.LP +.SS +Required Options +.LP +.RS 3 +.TP 3 +\-ORBInitialPort nameserverport +Specifies the port on which the name server should be started. Once started, \f2orbd\fP will listen for incoming requests on this port. Note that when using Solaris software, you must become root to start a process on a port under 1024. For this reason, we recommend that you use a port number greater than or equal to 1024. (required) +.RE + +.LP +.LP + +.LP +.SS +OTHER OPTIONS +.LP +.RS 3 +.TP 3 +\-port port +Specifies the activation port where ORBD should be started, and where ORBD will be accepting requests for persistent objects. The default value for this port is 1049. This port number is added to the port field of the persistent Interoperable Object References (IOR). (optional) +.RE + +.LP +.RS 3 +.TP 3 +\-defaultdb directory +Specifies the base where the ORBD persistent storage directory \f2orb.db\fP is created. If this option is not specified, the default value is "./orb.db". (optional) +.RE + +.LP +.RS 3 +.TP 3 +\-serverPollingTime milliseconds +Specifies how often ORBD checks for the health of persistent servers registered via \f2servertool\fP. The default value is 1,000 ms. The value specified for \f2milliseconds\fP must be a valid positive integer. (optional) +.RE + +.LP +.RS 3 +.TP 3 +\-serverStartupDelay milliseconds +Specifies how long ORBD waits before sending a location forward exception after a persistent server that is registered via \f2servertool\fP is restarted. The default value is 1,000 ms. The value specified for \f2milliseconds\fP must be a valid positive integer. (optional) +.RE + +.LP +.RS 3 +.TP 3 +\-Joption +Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. +.TP 3 + +.RE + +.LP +.SH "Starting and Stopping the Naming Service" +.LP +.LP +A Naming Service is a CORBA service that allows +.na +\f2CORBA objects\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlGlossary.html#CORBA%20object to be named by means of binding a name to an object reference. The +.na +\f2name binding\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlGlossary.html#name%20binding may be stored in the naming service, and a client may supply the name to obtain the desired object reference. +.LP +.LP +Prior to running a client or a server, you will start ORBD. ORBD includes a persistent Naming Service and a transient Naming Service, both of which are an implementation of the COS Naming Service. +.LP +.LP +The \f4Persistent\fP\f3 Naming Service\fP provides persistence for naming contexts. This means that this information is persistent across service shutdowns and startups, and is recoverable in the event of a service failure. If ORBD is restarted, the Persistent Naming Service will restore the naming context graph, so that the binding of all clients' and servers' names remains intact (persistent). +.LP +.LP +\ +.LP +.LP +For backward compatibility, \f2tnameserv\fP, a \f4Transient\fP\f3 Naming Service\fP shipped with older versions of the JDK, is also included in this release of J2SE. A transient naming service retains naming contexts as long as it is running. If there is a service interruption, the naming context graph is lost. +.LP +.LP +The \f2\-ORBInitialPort\fP argument is a required command\-line argument for \f2orbd\fP, and is used to set the port number on which the Naming Service will run. The following instructions assume you can use port 1050 for the Java\ IDL Object Request Broker Daemon. When using Solaris software, you must become root to start a process on a port under 1024. For this reason, we recommend that you use a port number greater than or equal to 1024. You can substitute a different port if necessary. +.LP +.LP +To start \f2orbd\fP from a UNIX command shell, enter: +.LP +.nf +\f3 +.fl + orbd \-ORBInitialPort 1050& +.fl +\fP +.fi + +.LP +.LP +From an MS\-DOS system prompt (Windows), enter: +.LP +.nf +\f3 +.fl + start orbd \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +Now that ORBD is running, you can run your server and client applications. When running the client and server applications, they must be made aware of the port number (and machine name, if applicable) where the Naming Service is running. One way to do this is to add the following code to your application: +.LP +.nf +\f3 +.fl + Properties props = new Properties(); +.fl + props.put("org.omg.CORBA.ORBInitialPort", "1050"); +.fl + props.put("org.omg.CORBA.ORBInitialHost", "MyHost"); +.fl + ORB orb = ORB.init(args, props); +.fl +\fP +.fi + +.LP +.LP +In this example, the Naming Service is running on port 1050 on host "MyHost". Another way is to specify the port number and/or machine name when running the server or client application from the command line. For example, you would start your "HelloApplication" with the following command line: +.LP +.nf +\f3 +.fl + java HelloApplication \-ORBInitialPort 1050 \-ORBInitialHost MyHost +.fl +\fP +.fi + +.LP +.LP +To stop the naming service, use the relevant operating system command, such as \f2pkill orbd\fP on Solaris, or \f2Ctrl+C\fP in the DOS window in which \f2orbd\fP is running. Note that names registered with the naming service may disappear when the service is terminated if the naming service is transient. The Java IDL naming service will run until it is explicitly stopped. +.LP +.LP +For more information on the Naming Service included with ORBD, see +.na +\f2Naming Service\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html. +.LP +.SH "Server Manager" +.LP +.LP +To access ORBD's Server Manager and run a persistent server, the server must be started using servertool(1), which is a command\-line interface for application programmers to register, unregister, startup, and shutdown a persistent server. When a server is started using \f2servertool\fP, it must be started on the same host and port on which \f2orbd\fP is executing. If the server is run on a different port, the information stored in the database for local contexts will be invalid and the service will not work properly. +.LP +.SS +Server Manager: an Example +.LP +.LP +Using the +.na +\f2sample tutorial\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlExample.html for our demonstration, you would run the \f2idlj\fP compiler and \f2javac\fP compiler as shown in the tutorial. To run the Server Manager, follow these steps for running the application: +.LP +.LP +Start \f2orbd\fP. +.LP +.LP +To start \f2orbd\fP from a UNIX command shell, enter: +.LP +.LP +\ +.LP +.nf +\f3 +.fl + orbd \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +From an MS\-DOS system prompt (Windows), enter: +.LP +.nf +\f3 +.fl + start orbd \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +Note that \f21050\fP is the port on which you want the name server to run. \f2\-ORBInitialPort\fP is a required command\-line argument. When using Solaris software, you must become root to start a process on a port under 1024. For this reason, we recommend that you use a port number greater than or equal to 1024. +.LP +.LP +Start the \f2servertool\fP: +.LP +.LP +To start the Hello server, enter: +.LP +.nf +\f3 +.fl + servertool \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +Make sure the name server (\f2orbd\fP) port is the same as in the previous step, for example, \f2\-ORBInitialPort 1050\fP. The \f2servertool\fP must be started on the same port as the name server. +.LP +.LP +The \f2servertool\fP command line interface appears. +.LP +.LP + +.LP +.LP +Start the Hello server from the \f2servertool\fP prompt: +.LP +.nf +\f3 +.fl + servertool > register \-server HelloServer \-classpath . \-applicationName +.fl + HelloServerApName +.fl +\fP +.fi + +.LP +.LP +The \f2servertool\fP registers the server, assigns it the name of "HelloServerApName", and displays its server id, along with a listing of all registered servers. +.LP +.LP + +.LP +.LP +Run the client application from another terminal window or prompt: +.LP +.LP +\ +.LP +.nf +\f3 +.fl + java HelloClient \-ORBInitialPort 1050 \-ORBInitialHost localhost +.fl +\fP +.fi + +.LP +.LP +For this example, you can omit \f2\-ORBInitialHost localhost\fP since the name server is running on the same host as the Hello client. If the name server is running on a different host, use \f2\-ORBInitialHost\fP \f2nameserverhost\fP to specify the host on which the IDL name server is running. +.LP +.LP +Specify the name server (\f2orbd\fP) port as done in the previous step, for example, \f2\-ORBInitialPort 1050\fP. +.LP +.LP +\ +.LP +.LP +\ +.LP +.LP +When you have finished experimenting with the Server Manager, be sure to shut down or kill the name server (\f2orbd\fP) and \f2servertool\fP. +.LP +.LP +To shut down \f2orbd\fP from a DOS prompt, select the window that is running the server and enter \f2Ctrl+C\fP to shut it down. To shut down \f2orbd\fPfrom a Unix shell, find the process, and kill it. The server will continue to wait for invocations until it is explicitly stopped. +.LP +.LP +To shut down the \f2servertool\fP, type \f2quit\fP and press the \f2Enter\fP key on the keyboard. +.LP +.SH "See Also" +.LP +.RS 3 +.TP 2 +o +.na +\f2Naming Service\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html +.br +.TP 2 +o +servertool(1) +.RE + +.LP +.br + +.LP + diff --git a/Java-Visualizer/java/man/man1/pack200.1 b/Java-Visualizer/java/man/man1/pack200.1 new file mode 100644 index 00000000..5b8fe095 --- /dev/null +++ b/Java-Visualizer/java/man/man1/pack200.1 @@ -0,0 +1,324 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH pack200 1 "18 Jul 2013" + +.LP +.SH "Name" +pack200 \- JAR Packing tool +.LP +.SH "SYNOPSIS" +.LP +.LP +\f4pack200\fP\f2 [ \fP\f2options\fP ] \f2output\-file\fP \f2JAR\-file\fP +.LP +.LP +Options may be in any order. The last option on the command line or in a properties file supersedes all previously specified options. +.LP +.RS 3 +.TP 3 +options +Command\-line options. +.TP 3 +output\-file +Name of the output file. +.TP 3 +JAR\-file +Name of the input file. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f2pack200\fP tool is a Java application that transforms a JAR file into a compressed \f2pack200\fP file using the Java \f2gzip\fP compressor. The \f2pack200\fP files are highly compressed files that can be directly deployed, saving bandwidth and reducing download time. +.LP +.LP +The \f2pack200\fP tool uses several options to fine\-tune and set the compression engine. +.LP +.SS +Typical usage: +.LP +.LP +\f2% pack200 myarchive.pack.gz myarchive.jar\fP +.LP +.LP +In this example, \f2myarchive.pack.gz\fP is produced using the default \f2pack200\fP settings. +.LP +.SH "OPTIONS" +.LP +.LP +\f4\-r \-\-repack\fP +.LP +.LP +Produces a JAR file by packing the file \f2myarchive.jar\fP and unpacking it. The resulting file can be used as an input to the \f2jarsigner(1)\fP tool. +.LP +.LP +\f2% pack200 \-\-repack myarchive\-packer.jar myarchive.jar\fP +.LP +.LP +\f2% pack200 \-\-repack myarchive.jar\fP +.LP +.LP +\f4\-g \-\-no\-gzip\fP +.LP +.LP +Produces a \f2pack200\fP file. With this option a suitable compressor must be used, and the target system must use a corresponding decompresser. +.LP +.LP +\f2% pack200 \-\-no\-gzip myarchive.pack myarchive.jar\fP +.LP +.LP +\f4\-G \-\-strip\-debug\fP +.LP +.LP +Strips attributes used for debugging from the output. These include \f2SourceFile\fP, \f2LineNumberTable\fP, \f2LocalVariableTable\fP and \f2LocalVariableTypeTable\fP. Removing these attributes reduces the size of both downloads and installations but reduces the usefulness of debuggers. +.LP +.LP +\f4\-\-keep\-file\-order\fP +.LP +.LP +Preserve the order of files in the input file; this is the default behavior. +.LP +.LP +\f4\-O \-\-no\-keep\-file\-order\fP +.LP +.LP +The packer will reorder and transmit all elements. Additionally, the packer may remove JAR directory names. This will reduce the download size; however, certain JAR file optimizations, such as indexing, may not work correctly. +.LP +.LP +\f4\-Svalue \-\-segment\-limit=\fP\f2value\fP +.LP +.LP +The value is the estimated target size N (in bytes) of each archive segment. If a single input file requires +.br +more than N bytes, it will be given its own archive segment. As a special case, a value of \f2\-1\fP will produce a single large segment with all input files, while a value of \f20\fP will produce one segment for each class. Larger archive segments result in less fragmentation and better compression, but processing them requires more memory. +.LP +.LP +The size of each segment is estimated by counting the size of each input file to be transmitted in the segment, along with the size of its name and other transmitted properties. +.LP +.LP +The default is \-1, which means the packer will always create a single segment output file. In cases where extremely large output files are generated, users are strongly encouraged to use segmenting or break up the input file into smaller JARs. +.LP +.LP +A 10MB JAR packed without this limit will typically pack about 10% smaller, but the packer may require a larger Java heap (about ten times the segment limit). +.LP +.LP +\f4\-Evalue \-\-effort=\fP\f2value\fP +.LP +.LP +If the value is set to a single decimal digit, the packer will use the indicated amount of effort in compressing the archive. Level \f21\fP may produce somewhat larger size and faster compression speed, while level \f29\fP will take much longer but may produce better compression. The special value \f20\fP instructs the packer to copy through the original JAR file directly with no compression. The JSR 200 standard requires any unpacker to understand this special case as a pass\-through of the entire archive. +.LP +.LP +The default is \f25\fP, investing a modest amount of time to produce reasonable compression. +.LP +.LP +\f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP +.LP +.LP +Overrides the default, which preserves the input information, but may cause the transmitted archive to be larger. The possible values are: +.LP +.RS 3 +.TP 3 +true +.TP 3 +false +In either case, the packer will set the deflation hint accordingly in the output archive, and will not transmit the individual deflation hints of archive elements. +.RE + +.LP +.RS 3 +.TP 3 +keep +Preserve deflation hints observed in the input JAR. (This is the default.) +.RE + +.LP +.LP +\f4\-mvalue \-\-modification\-time=\fP\f2value\fP +.LP +.LP +The possible values are: +.LP +.RS 3 +.TP 3 +latest +The packer will attempt to determine the latest modification time, among all the available entries in the original archive, or the latest modification time of all the available entries in that segment. This single value will be transmitted as part of the segment and applied to all the entries in each segment. This can marginally decrease the transmitted size of the archive at the expense of setting all installed files to a single date. +.TP 3 +keep +Preserves modification times observed in the input JAR. (This is the default.) +.RE + +.LP +.LP +\f4\-Pfile \-\-pass\-file=\fP\f2file\fP +.LP +.LP +Indicates that a file should be passed through bytewise with no compression. By repeating the option, multiple files may be specified. There is no pathname transformation, except that the system file separator is replaced by the JAR file separator "\f2/\fP". The resulting file names must match exactly as strings with their occurrences in the JAR file. If file is a directory name, all files under that directory will be passed. +.LP +.LP +\f4\-Uaction \-\-unknown\-attribute=\fP\f2action\fP +.LP +.LP +Overrides the default behavior; i.e., the class file containing the unknown attribute will be passed through with the specified action. The possible values for actions are: +.LP +.RS 3 +.TP 3 +error +The \f2pack200\fP operation as a whole will fail with a suitable explanation. +.TP 3 +strip +The attribute will be dropped. Note: Removing the required VM attributes may cause Class Loader failures. +.TP 3 +pass +Upon encountering this attribute, the entire class will be transmitted as though it is a resource. +.RE + +.LP +.LP +\f4\-Cattribute\-name=\fP\f2layout\fP \f3\-\-class\-attribute=\fP\f2attribute\-name=action\fP +.br +\f4\-Fattribute\-name=\fP\f2layout\fP \f3\-\-field\-attribute=\fP\f2attribute\-name=action\fP +.br +\f4\-Mattribute\-name=\fP\f2layout\fP \f3\-\-method\-attribute=\fP\f2attribute\-name=action\fP +.br +\f4\-Dattribute\-name=\fP\f2layout\fP \f3\-\-code\-attribute=\fP\f2attribute\-name=action\fP +.LP +.LP +With the above four options, the attribute layout can be specified for a class entity, such as Class attribute, Field attribute, Method attribute, and Code attribute. The attribute\-name is the name of the attribute for which the layout or action is being defined. The possible values for action are: +.LP +.RS 3 +.TP 3 +some\-layout\-string +The layout language is defined in the JSR 200 specification. +.LP +Example: \f2\-\-class\-attribute=SourceFile=RUH\fP +.TP 3 +error +Upon encountering this attribute, the pack200 operation will fail with a suitable explanation. +.TP 3 +strip +Upon encountering this attribute, the attribute will be removed from the output. Note: removing VM\-required attributes may cause Class Loader failures. +.TP 3 +pass +Upon encountering this attribute, the entire class will be transmitted as though it is a resource. +.RE + +.LP +.LP +Example: \f2\-\-class\-attribute=CompilationID=pass\fP will cause the class file containing the attribute \f2CompilationID\fP to be passed through without further action by the packer. +.LP +.LP +\f4\-f\fP\f2 \fP\f2pack.properties\fP \f3\-\-config\-file=\fP\f2pack.properties\fP +.LP +.LP +A configuration file, containing Java properties to initialize the packer, may be specified on the command line. +.LP +.LP +\f2% pack200 \-f pack.properties myarchive.pack.gz myarchive.jar\fP +.br +\f2% more pack.properties\fP +.br +\f2# Generic properties for the packer.\fP +.br +\f2modification.time=latest\fP +.br +\f2deflate.hint=false\fP +.br +\f2keep.file.order=false\fP +.br +\f2# This option will cause the files bearing new attributes to\fP +.br +\f2# be reported as an error rather than passed uncompressed.\fP +.br +\f2unknown.attribute=error\fP +.br +\f2# Change the segment limit to be unlimited.\fP +.br +\f2segment.limit=\-1\fP +.LP +.LP +\f4\-v \-\-verbose\fP +.LP +.LP +Outputs minimal messages. Multiple specification of this option will output more verbose messages. +.LP +.LP +\f4\-q \-\-quiet\fP +.LP +.LP +Specifies quiet operation with no messages. +.LP +.LP +\f4\-lfilename \-\-log\-file=\fP\f2filename\fP +.LP +.LP +Specifies a log file to output messages. +.LP +.LP +\f4\-? \-h \-\-help\fP +.LP +.LP +Prints help information about this command. +.LP +.LP +\f4\-V \-\-version\fP +.LP +.LP +Prints version information about this command. +.LP +.LP +\f4\-J\fP\f2option\fP +.LP +.LP +Passes \f2option\fP to the Java launcher called by \f2pack200\fP. For example, \f2\-J\-Xms48m\fP sets the startup memory to 48 megabytes. Although it does not begin with \f2\-X\fP, it is not a standard option of \f2pack200\fP. It is a common convention for \f2\-J\fP to pass options to the underlying VM executing applications written in Java. +.LP +.SH "EXIT STATUS" +.LP +.LP +The following exit values are returned: +.LP +.LP +\f2\ 0\fP for successful completion; +.LP +.LP +\f2>0\fP if an error occurs. +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +unpack200(1) +.TP 2 +o +.na +\f2Java SE Documentation\fP @ +.fi +http://docs.oracle.com/javase/7/docs/index.html +.TP 2 +o +.na +\f2Java Deployment Guide \- Pack200\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html +.TP 2 +o +jar(1) \- Java Archive Tool +.TP 2 +o +jarsigner(1) \- JAR Signer tool +.TP 2 +o +\f2attributes(5)\fP man page +.RE + +.LP +.SH "NOTES" +.LP +.LP +This command should not be confused with \f2pack(1)\fP. They are distinctly separate products. +.LP +.LP +The Java SE API Specification provided with the JDK is the superseding authority, in case of discrepancies. +.LP + diff --git a/Java-Visualizer/java/man/man1/policytool.1 b/Java-Visualizer/java/man/man1/policytool.1 new file mode 100644 index 00000000..3a64e3d8 --- /dev/null +++ b/Java-Visualizer/java/man/man1/policytool.1 @@ -0,0 +1,85 @@ +." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH policytool 1 "18 Jul 2013" + +.LP +.SH "Name" +policytool \- PolicyTool Administration GUI Utility +.LP +\f3policytool\fP reads and writes a plain text policy file based on user input via the utility GUI. +.SH "SYNOPSIS" +.LP +.LP +Run the policytool Administrator's utility +.LP +.LP +\f4policytool\fP +.LP +.LP +Run policytool and load the specified policy file +.LP +.LP +\f4policytool\fP\f2[\-file\ \fP\f2filename\fP\f2]\fP +.LP +.LP +where: +.LP +.RS 3 +.TP 3 +file +directs \f2policytool\fP to load a local policy file +.TP 3 +filename +The file name +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3policytool\fP is a GUI that allows users to create and manage policy files. For details, see +.na +\f2the Policytool Users Guide\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyGuide.html. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +file +Loads \f2filename\fP. +.RE + +.LP +.SH "SEE ALSO" +.LP +.na +\f2Default Policy Implementation and Syntax\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html +.br + +.LP +.na +\f2Policy Tool Users' Guide\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyGuide.html +.br + +.LP +.na +\f2Security Permissions\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/permissions.html +.br + +.LP +.na +\f2Security Overview\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/security/overview/jsoverview.html +.br + +.LP + diff --git a/Java-Visualizer/java/man/man1/rmic.1 b/Java-Visualizer/java/man/man1/rmic.1 new file mode 100644 index 00000000..8dc799ef --- /dev/null +++ b/Java-Visualizer/java/man/man1/rmic.1 @@ -0,0 +1,208 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH rmic 1 "18 Jul 2013" + +.LP +.SH "Name" +rmic \- The Java RMI Compiler +.LP +.LP +\f3rmic\fP generates stub, skeleton, and tie classes for remote objects using either the JRMP or IIOP protocols. Also generates OMG IDL. +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +rmic [ \fP\f3options\fP\f3 ] \fP\f4package\-qualified\-class\-name(s)\fP\f3 +.fl +\fP +.fi + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3rmic\fP compiler generates stub and skeleton class files (JRMP protocol) and stub and tie class files (IIOP protocol) for remote objects. These classes files are generated from compiled Java programming language classes that are remote object implementation classes. A remote implementation class is a class that implements the interface \f2java.rmi.Remote\fP. The class names in the \f3rmic\fP command must be for classes that have been compiled successfully with the \f3javac\fP command and must be fully package qualified. For example, running \f3rmic\fP on the class file name \f2HelloImpl\fP as shown here: +.LP +.nf +\f3 +.fl +rmic hello.HelloImpl +.fl +\fP +.fi + +.LP +.LP +creates the \f2HelloImpl_Stub.class\fP file in the \f2hello\fP subdirectory (named for the class's package). +.LP +.LP +A \f2skeleton\fP for a remote object is a JRMP protocol server\-side entity that has a method that dispatches calls to the actual remote object implementation. +.LP +.LP +A \f2tie\fP for a remote object is a server\-side entity similar to a skeleton, but which communicates with the client using the IIOP protocol. +.LP +.LP +A \f2stub\fP is a client\-side proxy for a remote object which is responsible for communicating method invocations on remote objects to the server where the actual remote object implementation resides. A client's reference to a remote object, therefore, is actually a reference to a local stub. +.LP +.LP +By default, \f3rmic\fP generates stub classes that use the 1.2 JRMP stub protocol version only, as if the \f2\-v1.2\fP option had been specified. (Note that the \f2\-vcompat\fP option was the default in releases prior to 5.0.) Use the \f2\-iiop\fP option to generate stub and tie classes for the IIOP protocol. +.LP +.LP +A stub implements only the remote interfaces, not any local interfaces that the remote object also implements. Because a JRMP stub implements the same set of remote interfaces as the remote object itself, a client can use the Java programming language's built\-in operators for casting and type checking. For IIOP, the \f2PortableRemoteObject.narrow\fP method must be used. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-bootclasspath path +Overrides location of bootstrap class files +.TP 3 +\-classpath path +Specifies the path \f3rmic\fP uses to look up classes. This option overrides the default or the CLASSPATH environment variable if it is set. Directories are separated by colons. Thus the general format for \f2path\fP is: +.nf +\f3 +.fl +.:<your_path> +.fl +\fP +.fi +For example: +.nf +\f3 +.fl +.:/usr/local/java/classes +.fl +\fP +.fi +.TP 3 +\-d directory +Specifies the root destination directory for the generated class hierarchy. You can use this option to specify a destination directory for the stub, skeleton, and tie files. For example, the command +.nf +\f3 +.fl +% rmic \-d /java/classes foo.MyClass +.fl +\fP +.fi +would place the stub and skeleton classes derived from \f2MyClass\fP into the directory \f2/java/classes/foo\fP. If the \f2\-d\fP option is not specified, the default behavior is as if \f2"\-d\ ."\fP were specified: the package hierarchy of the target class is created in the current directory, and stub/tie/skeleton files are placed within it. (Note that in some previous versions of \f3rmic\fP, if \f2\-d\fP was not specified, then the package hierarchy was \f2not\fP created, and all of the output files were placed directly in the current directory.) +.br +\ +.TP 3 +\-extdirs path +Overrides location of installed extensions +.TP 3 +\-g +Enables generation of all debugging information, including local variables. By default, only line number information is generated. +.TP 3 +\-idl +Causes \f2rmic\fP to generate OMG IDL for the classes specified and any classes referenced. IDL provides a purely declarative, programming language\-independent way of specifying an object's API. The IDL is used as a specification for methods and data that can be written in and invoked from any language that provides CORBA bindings. This includes Java and C++ among others. See the +.na +\f2Java Language to IDL Mapping\fP @ +.fi +http://www.omg.org/technology/documents/formal/java_language_mapping_to_omg_idl.htm (OMG) document for a complete description. +.br +.br +When the \f2\-idl\fP option is used, other options also include: +.RS 3 +.TP 3 +\-always or \-alwaysgenerate +Forces re\-generation even when existing stubs/ties/IDL are newer than the input class. +.TP 3 +\-factory +Uses factory keyword in generated IDL. +.TP 3 +\-idlModule\ fromJavaPackage[.class]\ toIDLModule +Specifies IDLEntity package mapping. For example:\ \f2\-idlModule foo.bar my::real::idlmod\fP. +.TP 3 +\-idlFile\ fromJavaPackage[.class]\ toIDLFile +Specifies IDLEntity file mapping. For example:\ \f2\-idlFile test.pkg.X TEST16.idl\fP.\ +.RE +.TP 3 +\-iiop +Causes \f2rmic\fP to generate IIOP stub and tie classes, rather than JRMP stub and skeleton classes. A stub class is a local proxy for a remote object and is used by clients to send calls to a server. Each remote interface requires a stub class, which implements that remote interface. A client's reference to a remote object is actually a reference to a stub. Tie classes are used on the server side to process incoming calls, and dispatch the calls to the proper implementation class. Each implementation class requires a tie class. +.br +.br +Invoking \f2rmic\fP with the \f2\-iiop\fP generates stubs and ties that conform to this naming convention: +.nf +\f3 +.fl +_<implementationName>_stub.class +.fl +_<interfaceName>_tie.class +.fl +\fP +.fi +When the \f2\-iiop\fP option is used, other options also include: +.RS 3 +.TP 3 +\-always or \-alwaysgenerate +Forces re\-generation even when existing stubs/ties/IDL are newer than the input class. +.TP 3 +\-nolocalstubs +Do not create stubs optimized for same\-process clients and servers. +.TP 3 +\-noValueMethods +Must be used with the \f2\-idl\fP option. Prevents addition of \f2valuetype\fP methods and initializers to emitted IDL. These methods and initializers are optional for \f2valuetype\fPs, and are generated unless the \f2\-noValueMethods\fP option is specified when using the \f2\-idl\fP option. +.TP 3 +\-poa +Changes the inheritance from \f2org.omg.CORBA_2_3.portable.ObjectImpl\fP to \f2org.omg.PortableServer.Servant\fP. The \f2PortableServer\fP module for the +.na +\f2Portable Object Adapter\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/POA.html (POA) defines the native \f2Servant\fP type. In the Java programming language, the \f2Servant\fP type is mapped to the Java \f2org.omg.PortableServer.Servant\fP class. It serves as the base class for all POA servant implementations and provides a number of methods that may be invoked by the application programmer, as well as methods which are invoked by the POA itself and may be overridden by the user to control aspects of servant behavior. Based on the OMG IDL to Java Language Mapping Specification, CORBA V 2.3.1 ptc/00\-01\-08.pdf. +.RE +.TP 3 +\-J +Used in conjunction with any \f2java\fP option, it passes the option following the \f2\-J\fP (no spaces between the \-J and the option) on to the \f2java\fP interpreter. +.TP 3 +\-keep or \-keepgenerated +Retains the generated \f2.java\fP source files for the stub, skeleton, and/or tie classes and writes them to the same directory as the \f2.class\fP files. +.TP 3 +\-nowarn +Turns off warnings. If used the compiler does not print out any warnings. +.TP 3 +\-nowrite +Does not write compiled classes to the file system. +.TP 3 +\-vcompat +Generates stub and skeleton classes compatible with both the 1.1 and 1.2 JRMP stub protocol versions. (This option was the default in releases prior to 5.0.) The generated stub classes will use the 1.1 stub protocol version when loaded in a JDK 1.1 virtual machine and will use the 1.2 stub protocol version when loaded into a 1.2 (or later) virtual machine. The generated skeleton classes will support both 1.1 and 1.2 stub protocol versions. The generated classes are relatively large in order to support both modes of operation. +.TP 3 +\-verbose +Causes the compiler and linker to print out messages about what classes are being compiled and what class files are being loaded. +.TP 3 +\-v1.1 +Generates stub and skeleton classes for the 1.1 JRMP stub protocol version only. Note that this option is only useful for generating stub classes that are serialization\-compatible with pre\-existing, statically\-deployed stub classes that were generated by the \f3rmic\fP tool from JDK 1.1 and that cannot be upgraded (and dynamic class loading is not being used). +.TP 3 +\-v1.2 +(default) Generates stub classes for the 1.2 JRMP stub protocol version only. No skeleton classes are generated with this option because skeleton classes are not used with the 1.2 stub protocol version. The generated stub classes will not work if they are loaded into a JDK 1.1 virtual machine. +.RE + +.LP +.SH "ENVIRONMENT VARIABLES" +.LP +.RS 3 +.TP 3 +CLASSPATH +Used to provide the system a path to user\-defined classes. Directories are separated by colons. For example, +.nf +\f3 +.fl +.:/usr/local/java/classes +.fl +\fP +.fi +.RE + +.LP +.SH "SEE ALSO" +.LP +.LP +java(1), javac(1), +.na +\f2CLASSPATH\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#classpath +.LP + diff --git a/Java-Visualizer/java/man/man1/rmid.1 b/Java-Visualizer/java/man/man1/rmid.1 new file mode 100644 index 00000000..2813c95c --- /dev/null +++ b/Java-Visualizer/java/man/man1/rmid.1 @@ -0,0 +1,309 @@ +." Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH rmid 1 "18 Jul 2013" + +.LP +.SH "Name" +rmid \- The Java RMI Activation System Daemon +.LP +.LP +\f3rmid\fP starts the activation system daemon that allows objects to be registered and activated in a virtual machine (VM). +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +rmid [options] +.fl +\fP +.fi + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3rmid\fP tool starts the activation system daemon. The activation system daemon must be started before activatable objects can be either registered with the activation system or activated in a VM. See the +.na +\f2Java RMI Specification\fP @ +.fi +http://docs.oracle.com/javase/7/docs/platform/rmi/spec/rmiTOC.html and +.na +\f2Activation tutorials\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/activation/overview.html for details on how to write programs that use activatable remote objects. +.LP +.LP +The daemon can be started by executing the \f2rmid\fP command, and specifying a security policy file, as follows: +.LP +.nf +\f3 +.fl + rmid \-J\-Djava.security.policy=rmid.policy +.fl +\fP +.fi + +.LP +.LP +\f3Note:\fP When running Sun's implementation of \f2rmid\fP, by default you will need to specify a security policy file so that \f2rmid\fP can verify whether or not the information in each \f2ActivationGroupDesc\fP is allowed to be used to launch a VM for an activation group. Specifically, the command and options specified by the \f2CommandEnvironment\fP and any \f2Properties\fP passed to an \f2ActivationGroupDesc\fP's constructor must now be explicitly allowed in the security policy file for \f2rmid\fP. The value of the \f2sun.rmi.activation.execPolicy\fP property dictates the policy that \f2rmid\fP uses to determine whether or not the information in an \f2ActivationGroupDesc\fP may be used to launch a VM for an activation group. +.LP +.LP +Executing \f2rmid\fP by default +.LP +.RS 3 +.TP 2 +o +starts the Activator and an internal registry on the default port, 1098, and +.TP 2 +o +binds an \f2ActivationSystem\fP to the name \f2java.rmi.activation.ActivationSystem\fP in this internal registry. +.RE + +.LP +.LP +To specify an alternate port for the registry, you must specify the \f2\-port\fP option when starting up \f2rmid\fP. For example, +.LP +.nf +\f3 +.fl + rmid \-J\-Djava.security.policy=rmid.policy \-port 1099 +.fl +\fP +.fi + +.LP +.LP +starts the activation system daemon and a registry on the registry's default port, 1099. +.LP +.SS +Starting rmid from inetd/xinetd +.LP +.LP +An alternative to starting \f2rmid\fP from the command line is to configure \f2inetd\fP (Solaris) or \f2xinetd\fP (Linux) to start \f2rmid\fP on demand. +.LP +.LP +When \f2rmid\fP starts up, it attempts to obtain an inherited channel (inherited from \f2inetd\fP/\f2xinetd\fP) by invoking the \f2System.inheritedChannel\fP method. If the inherited channel is \f2null\fP or not an instance of \f2java.nio.channels.ServerSocketChannel\fP, then \f2rmid\fP assumes that it was not started by \f2inetd\fP/\f2xinetd\fP, and it starts up as described above. +.LP +.LP +If the inherited channel is a \f2ServerSocketChannel\fP instance, then \f2rmid\fP uses the \f2java.net.ServerSocket\fP obtained from the \f2ServerSocketChannel\fP as the server socket that accepts requests for the remote objects it exports, namely the registry in which the \f2java.rmi.activation.ActivationSystem\fP is bound and the \f2java.rmi.activation.Activator\fP remote object. In this mode, \f2rmid\fP behaves the same as when it is started from the command line, \f2except\fP: +.LP +.RS 3 +.TP 2 +o +Output printed to \f2System.err\fP is redirected to a file. This file is located in the directory specified by the \f2java.io.tmpdir\fP system property (typically \f2/var/tmp\fP or \f2/tmp\fP) with the prefix \f2"rmid\-err"\fP and the suffix \f2"tmp"\fP. +.TP 2 +o +The \f2\-port\fP option is disallowed. If this option is specified, \f2rmid\fP will exit with an error message. +.TP 2 +o +The \f2\-log\fP option is required. If this option is not specified, \f2rmid\fP will exit with an error message. +.RE + +.LP +.LP +See the man pages for \f2inetd\fP (Solaris) or \f2xinetd\fP (Linux) for details on how to configure services to be started on demand. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-C<someCommandLineOption> +Specifies an option that is passed as a command\-line argument to each child process (activation group) of \f2rmid\fP when that process is created. For example, you could pass a property to each virtual machine spawned by the activation system daemon: +.nf +\f3 +.fl + rmid \-C\-Dsome.property=value +.fl +\fP +.fi +This ability to pass command\-line arguments to child processes can be useful for debugging. For example, the following command: +.nf +\f3 +.fl + rmid \-C\-Djava.rmi.server.logCalls=true +.fl +\fP +.fi +will enable server\-call logging in all child VMs. +.LP +.TP 3 +\-J<someCommandLineOption> +Specifies an option that is passed to the \f2java\fP interpreter running \f2rmid\fP. For example, to specify that \f2rmid\fP use a policy file named \f2rmid.policy\fP, the \f2\-J\fP option can be used to define the \f2java.security.policy\fP property on \f2rmid\fP's command line, for example: +.nf +\f3 +.fl + rmid \-J\-Djava.security.policy=rmid.policy +.fl +\fP +.fi +.TP 3 +\-J\-Dsun.rmi.activation.execPolicy=<policy> +Specifies the policy that \f2rmid\fP employs to check commands and command\-line options used to launch the VM in which an activation group runs. Please note that this option exists only in Sun's implementation of the Java RMI activation daemon. If this property is not specified on the command line, the result is the same as if \f2\-J\-Dsun.rmi.activation.execPolicy=default\fP were specified. The possible values of \f2<policy>\fP can be \f2default\fP, \f2<policyClassName>\fP, or \f2none\fP: +.RS 3 +.TP 2 +o +\f3default (or if this property is \fP\f4unspecified\fP\f3)\fP +.LP +The default \f2execPolicy\fP allows \f2rmid\fP to execute commands with specific command\-line options only if \f2rmid\fP has been granted permission to execute those commands and options in the security policy file that \f2rmid\fP uses. Only the default activation group implementation can be used with the \f2default\fP execution policy. +.LP +\f2rmid\fP launches a VM for an activation group using the information in the group's registered activation group descriptor, an \f2ActivationGroupDesc\fP. The group descriptor specifies an optional \f2ActivationGroupDesc.CommandEnvironment\fP which includes the \f2command\fP to execute to start the activation group as well as any command line \f2options\fP to be added to the command line. By default, \f2rmid\fP uses the \f2java\fP command found in \f2java.home\fP. The group descriptor also contains \f2properties\fP overrides that are added to the command line as options defined as: +.nf +\f3 +.fl + \-D\fP\f4<property>\fP\f3=\fP\f4<value>\fP\f3 +.fl +\fP +.fi +.LP +The permission \f2com.sun.rmi.rmid.ExecPermission\fP is used to grant \f2rmid\fP permission to execute a command, specified in the group descriptor's \f2CommandEnvironment\fP to launch an activation group. The permission \f2com.sun.rmi.rmid.ExecOptionPermission\fP is used to allow \f2rmid\fP to use command\-line options, specified as properties overrides in the group descriptor or as options in the \f2CommandEnvironment\fP, when launching the activation group. +.LP +When granting \f2rmid\fP permission to execute various commands and options, the permissions \f2ExecPermission\fP and \f2ExecOptionPermission\fP need to be granted universally (i.e., granted to all code sources). +.RS 3 +.TP 3 +ExecPermission +The \f2ExecPermission\fP class represents permission for \f2rmid\fP to execute a specific \f2command\fP to launch an activation group. +.LP +\f3Syntax\fP +.br +The \f2name\fP of an \f2ExecPermission\fP is the path name of a command to grant \f2rmid\fP permission to execute. A path name that ends in "/*" indicates all the files contained in that directory (where "/" is the file\-separator character, \f2File.separatorChar\fP). A path name that ends with "/\-" indicates all files and subdirectories contained in that directory (recursively). A path name consisting of the special token "<<ALL FILES>>" matches \f3any\fP file. +.LP +\f3Note:\fP A path name consisting of a single "*" indicates all the files in the current directory, while a path name consisting of a single "\-" indicates all the files in the current directory and (recursively) all files and subdirectories contained in the current directory. +.TP 3 +ExecOptionPermission +The \f2ExecOptionPermission\fP class represents permission for \f2rmid\fP to use a specific command\-line \f2option\fP when launching an activation group. The \f2name\fP of an \f2ExecOptionPermission\fP is the value of a command line option. +.LP +\f3Syntax\fP +.br +Options support a limited wildcard scheme. An asterisk signifies a wildcard match, and it may appear as the option name itself (i.e., it matches any option), or an asterisk may appear at the end of the option name only if the asterisk follows either a "." or "=". +.LP +For example: "*" or "\-Dfoo.*" or "\-Da.b.c=*" is valid, "*foo" or "\-Da*b" or "ab*" is not. +.TP 3 +Policy file for rmid +When granting \f2rmid\fP permission to execute various commands and options, the permissions \f2ExecPermission\fP and \f2ExecOptionPermission\fP need to be granted universally (i.e., granted to all code sources). It is safe to grant these permissions universally because only \f2rmid\fP checks these permissions. +.LP +An example policy file that grants various execute permissions to \f2rmid\fP is: +.nf +\f3 +.fl +grant { +.fl + permission com.sun.rmi.rmid.ExecPermission +.fl + "/files/apps/java/jdk1.7.0/solaris/bin/java"; +.fl + +.fl + permission com.sun.rmi.rmid.ExecPermission +.fl + "/files/apps/rmidcmds/*"; +.fl + +.fl + permission com.sun.rmi.rmid.ExecOptionPermission +.fl + "\-Djava.security.policy=/files/policies/group.policy"; +.fl + +.fl + permission com.sun.rmi.rmid.ExecOptionPermission +.fl + "\-Djava.security.debug=*"; +.fl + +.fl + permission com.sun.rmi.rmid.ExecOptionPermission +.fl + "\-Dsun.rmi.*"; +.fl +}; +.fl +\fP +.fi +The first permission granted allow \f2rmid\fP to execute the 1.7.0 version of the \f2java\fP command, specified by its explicit path name. Note that by default, the version of the \f2java\fP command found in \f2java.home\fP is used (the same one that \f2rmid\fP uses), and does not need to be specified in the policy file. The second permission allows \f2rmid\fP to execute any command in the directory \f2/files/apps/rmidcmds\fP. +.LP +The third permission granted, an \f2ExecOptionPermission\fP, allows \f2rmid\fP to launch an activation group that defines the security policy file to be \f2/files/policies/group.policy\fP. The next permission allows the \f2java.security.debug\fP property to be used by an activation group. The last permission allows any property in the \f2sun.rmi\fP property name hierarchy to be used by activation groups. +.LP +To start \f2rmid\fP with a policy file, the \f2java.security.policy\fP property needs to be specified on \f2rmid\fP's command line, for example: +.LP +\f2rmid \-J\-Djava.security.policy=rmid.policy\fP +.RE +.TP 2 +o +\f4<policyClassName>\fP +.LP +If the default behavior is not flexible enough, an administrator can provide, when starting \f2rmid\fP, the name of a class whose \f2checkExecCommand\fP method is executed in order to check commands to be executed by rmid. +.LP +The \f2policyClassName\fP specifies a public class with a public, no\-argument constructor and an implementation of the following \f2checkExecCommand\fP method: +.nf +\f3 +.fl + public void checkExecCommand(ActivationGroupDesc desc, +.fl + String[] command) +.fl + throws SecurityException; +.fl +\fP +.fi +Before launching an activation group, \f2rmid\fP calls the policy's \f2checkExecCommand\fP method, passing it the activation group descriptor and an array containing the complete command to launch the activation group. If the \f2checkExecCommand\fP throws a \f2SecurityException\fP, \f2rmid\fP will not launch the activation group and an \f2ActivationException\fP will be thrown to the caller attempting to activate the object. +.TP 2 +o +\f3none\fP +.LP +If the \f2sun.rmi.activation.execPolicy\fP property value is "none", then \f2rmid\fP will not perform any validation of commands to launch activation groups. +.RE +.LP +.TP 3 +\-log dir +Specifies the name of the directory the activation system daemon uses to write its database and associated information. The log directory defaults to creating a directory, \f2log\fP, in the directory in which the \f2rmid\fP command was executed. +.LP +.TP 3 +\-port port +Specifies the port \f2rmid\fP's registry uses. The activation system daemon binds the \f2ActivationSystem\fP, with the name \f2java.rmi.activation.ActivationSystem\fP, in this registry. Thus, the \f2ActivationSystem\fP on the local machine can be obtained using the following \f2Naming.lookup\fP method call: +.nf +\f3 +.fl + import java.rmi.*; +.fl + import java.rmi.activation.*; +.fl + +.fl + ActivationSystem system; system = (ActivationSystem) +.fl + Naming.lookup("//:\fP\f4port\fP/java.rmi.activation.ActivationSystem"); +.fl +.fi +.TP 3 +\-stop +Stops the current invocation of \f2rmid\fP, for a port specified by the \f2\-port\fP option. If no port is specified, it will stop the \f2rmid\fP running on port 1098. +.RE + +.LP +.SH "ENVIRONMENT VARIABLES" +.LP +.RS 3 +.TP 3 +CLASSPATH +Used to provide the system a path to user\-defined classes. Directories are separated by colons. For example: +.nf +\f3 +.fl + .:/usr/local/java/classes +.fl +\fP +.fi +.RE + +.LP +.SH "SEE ALSO" +.LP +.LP +rmic(1), +.na +\f2CLASSPATH\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/tools/index.html#classpath, java(1) +.LP + diff --git a/Java-Visualizer/java/man/man1/rmiregistry.1 b/Java-Visualizer/java/man/man1/rmiregistry.1 new file mode 100644 index 00000000..2bd8b299 --- /dev/null +++ b/Java-Visualizer/java/man/man1/rmiregistry.1 @@ -0,0 +1,64 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH rmiregistry 1 "18 Jul 2013" + +.LP +.SH "Name" +rmiregistry \- The Java Remote Object Registry +.LP +.RS 3 +The \f3rmiregistry\fP command starts a remote object registry on the specified port on the current host. +.RE + +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +rmiregistry [\fP\f4port\fP\f3] +.fl +\fP +.fi + +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f3rmiregistry\fP command creates and starts a remote object registry on the specified \f2port\fP on the current host. If \f2port\fP is omitted, the registry is started on port 1099. The \f3rmiregistry\fP command produces no output and is typically run in the background. For example: +.LP +.LP +\f2rmiregistry &\fP +.LP +.LP +A remote object registry is a bootstrap naming service that is used by RMI servers on the same host to bind remote objects to names. Clients on local and remote hosts can then look up remote objects and make remote method invocations. +.LP +.LP +The registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn will provide application\-specific support for finding other objects. +.LP +.LP +The methods of the \f2java.rmi.registry.LocateRegistry\fP class are used to get a registry operating on the local host or local host and port. +.LP +.LP +The URL\-based methods of the \f2java.rmi.Naming\fP class operate on a registry and can be used to look up a remote object on any host, and on the local host: bind a simple (string) name to a remote object, rebind a new name to a remote object (overriding the old binding), unbind a remote object, and list the URLs bound in the registry. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-J +Used in conjunction with any \f2java\fP option, it passes the option following the \f2\-J\fP (no spaces between the \-J and the option) on to the \f2java\fP interpreter. +.RE + +.LP +.SH "SEE ALSO" +.LP +java(1), +.na +\f2java.rmi.registry.LocateRegistry\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/rmi/registry/LocateRegistry.html and +.na +\f2java.rmi.Naming\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/rmi/Naming.html diff --git a/Java-Visualizer/java/man/man1/schemagen.1 b/Java-Visualizer/java/man/man1/schemagen.1 new file mode 100644 index 00000000..21a255aa --- /dev/null +++ b/Java-Visualizer/java/man/man1/schemagen.1 @@ -0,0 +1,108 @@ +." Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH schemagen 1 "18 Jul 2013" + +.LP +.SH "Name" +schemagen \- Java(TM) Architecture for XML Binding Schema Generator +.LP +.LP +\f3Specification Version:\fP 2.1 +.br +\f3Implementation Version:\fP 2.1.3 +.LP +.SH "Launching schemagen" +.LP +.LP +The schema generator can be launched using the appropriate \f2schemagen\fP shell script in the \f2bin\fP directory for your platform. +.LP +.LP +The current schema generator can process either Java source files or class files. +.LP +.LP +We also provide an Ant task to run the schema generator \- see the instructions for +.na +\f2using schemagen with Ant\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html. +.LP +.nf +\f3 +.fl +% schemagen.sh Foo.java Bar.java ... +.fl +Note: Writing schema1.xsd +.fl +\fP +.fi + +.LP +.LP +If your java sources/classes reference other classes, they must be accessable on your system CLASSPATH environment variable, or they need to be given to the tool by using the \f2\-classpath\fP/\f2\-cp\fP options. Otherwise you will see errors when generating your schema. +.LP +.SS +Command Line Options +.LP +.nf +\f3 +.fl +Usage: schemagen [\-options ...] <java files> +.fl + +.fl +Options: +.fl + \-d <path> : specify where to place processor and javac generated class files +.fl + \-cp <path> : specify where to find user specified files +.fl + \-classpath <path> : specify where to find user specified files +.fl + \-encoding <encoding> : specify encoding to be used for apt/javac invocation +.fl + +.fl + \-episode <file> : generate episode file for separate compilation +.fl + \-version : display version information +.fl + \-help : display this usage message +.fl +\fP +.fi + +.LP +.SH "Generated Resource Files" +.LP +.LP +The current schema generator simply creates a schema file for each namespace referenced in your Java classes. There is no way to control the name of the generated schema files at this time. For that purpose, use +.na +\f2the schema generator ant task\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html. +.LP +.SH "Name" +See Also +.LP +.RS 3 +.TP 2 +o +Running the schema generator (schemagen): [ +.na +\f2command\-line instructions\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagen.html, +.na +\f2using the SchemaGen Ant task\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html] +.TP 2 +o +.na +\f2Java Architecture for XML Binding (JAXB)\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/man/man1/serialver.1 b/Java-Visualizer/java/man/man1/serialver.1 new file mode 100644 index 00000000..49a20c08 --- /dev/null +++ b/Java-Visualizer/java/man/man1/serialver.1 @@ -0,0 +1,78 @@ +." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH serialver 1 "18 Jul 2013" + +.LP +.SH "Name" +serialver \- The Serial Version Command +.LP +.LP +The \f3serialver\fP command returns the \f2serialVersionUID\fP. +.LP +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +\fP\f3serialver\fP [ options ] [ classnames ] +.fl +.fi + +.LP +.RS 3 +.TP 3 +options +Command\-line options, as specified in this document. +.TP 3 +classnames +One or more class names +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f3serialver\fP returns the \f2serialVersionUID\fP for one or more classes in a form suitable for copying into an evolving class. When invoked with no arguments it prints a usage line. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-classpath <directories and zip/jar files separated by :> +Set search path for application classes and resources. +.RE + +.LP +.RS 3 +.TP 3 +\-show +Displays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the serialVersionUID. +.TP 3 +\-Joption +Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. +.RE + +.LP +.SH "NOTES" +.LP +.LP +The \f3serialver\fP command loads and initializes the specified classes in its virtual machine, and by default, it does not set a security manager. If \f3serialver\fP is to be run with untrusted classes, a security manager can be set with the following option: +.LP +.LP +\f2\-J\-Djava.security.manager\fP +.LP +.LP +and, if necessary, a security policy can be specified with the following option: +.LP +.LP +\f2\-J\-Djava.security.policy=<policy file>\fP +.LP +.SH "SEE ALSO" +.LP +.LP +.na +\f2java.io.ObjectStreamClass\fP @ +.fi +http://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.html +.LP + diff --git a/Java-Visualizer/java/man/man1/servertool.1 b/Java-Visualizer/java/man/man1/servertool.1 new file mode 100644 index 00000000..4b293c9e --- /dev/null +++ b/Java-Visualizer/java/man/man1/servertool.1 @@ -0,0 +1,94 @@ +." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH servertool 1 "18 Jul 2013" + +.LP +.SH "Name" +servertool \- The Java(TM) IDL Server Tool +.LP +\f3servertool\fP provides a command\-line interface for application programmers to register, unregister, startup, and shutdown a persistent server. +.SH "SYNOPSIS" +.LP +.nf +\f3 +.fl +servertool \-ORBInitialPort \fP\f4nameserverport\fP\f3 \fP\f3options\fP\f3 [ \fP\f3commands\fP\f3 ] +.fl +\fP +.fi + +.LP +.LP +If you did not enter a command when starting \f2servertool\fP, the command\-line tool displays with a \f2servertool >\fP prompt. Enter commands at the \f2servertool >\fP prompt. +.LP +.LP +If you enter a command when starting \f2servertool\fP, the Java IDL Server Tool starts, runs the command, and exits. +.LP +.LP +The \f2\-ORBInitialPort\fP \f2nameserverport\fP option is \f3required\fP. The value for \f2nameserverport\fP must specify the port on which \f2orbd\fP is running and listening for incoming requests. When using Solaris software, you must become root to start a process on a port under 1024. For this reason, we recommend that you use a port number greater than or equal to 1024 for the \f2nameserverport\fP. +.LP +.SH "DESCRIPTION" +.LP +.LP +The \f2servertool\fP provides the command\-line interface for the application programmers to register, unregister, startup, and shutdown a persistent server. Other commands are provided to obtain various statistical information about the server. +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-ORBInitialHost nameserverhost +Specifies the host machine on which the name server is running and listening for incoming requests. The \f2nameserverhost\fP defaults to \f2localhost\fP if this option is not specified. If \f2orbd\fP and \f2servertool\fP are running on different machines, you must specify the name or IP address of the host on which \f2orbd\fP is running. +.TP 3 +\-Joption +Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. +.RE + +.LP +.SH "COMMANDS" +.LP +.RS 3 +.TP 3 +register \-server\ <server\ class\ name> \ \-classpath\ <classpath\ to\ server> [\ \-applicationName\ <application\ name> \-args\ <args\ to\ server> \-vmargs\ <flags\ to\ be\ passed\ to\ Java\ VM> \ ] +Register a new persistent server with the Object Request Broker Daemon (ORBD). If the server is not already registered, it is registered and activated. This command causes an install method to be invoked in the main class of the server identified by the \f2\-server\fP option. The install method must be \f2public static void install(org.omg.CORBA.ORB)\fP. The install method is optional and enables the developer to provide their own server installation behavior (for example, creating database schema). +.TP 3 +unregister \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +Unregister a server from the ORBD by using either its server id or its application name. This command causes an uninstall method to be invoked in the main class of the server identified by the \f2\-server\fP option. The uninstall method must be \f2public static void uninstall(org.omg.CORBA.ORB)\fP. The uninstall method is optional and enables the developer to provide their own server uninstall behavior (for example, undoing the behavior of the install method). +.TP 3 +getserverid \-applicationName\ <application\ name> +Return the server id that corresponds with an application. +.TP 3 +list +List information about all persistent servers registered with the ORBD. +.TP 3 +listappnames +List the application names for all servers currently registered with the ORBD. +.TP 3 +listactive +List information about all persistent servers that have been launched by the ORBD and are currently running. +.TP 3 +locate \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-endpointType\ <endpointType>\ ] +Locate the endpoints (ports) of a specific type for all ORBs created by a registered server. If a server is not already running, it is activated. If an endpoint type is not specified, then the plain/non\-protected endpoint associated with each ORB in a server is returned. +.TP 3 +locateperorb \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-orbid\ <ORB\ name>\ ] +Locate all the endpoints (ports) registered by a specific ORB of registered server. If a server is not already running, then it is activated. If an \f2orbid\fP is not specified, the default value of "" is assigned to the \f2orbid\fP. If any ORBs are created with an \f2orbid\fP of empty string, all ports registered by it are returned. +.TP 3 +orblist \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +Lists the ORBId of the ORBs defined on a server. An ORBId is the string name for the ORB created by the server. If the server is not already running, it is activated. +.TP 3 +shutdown \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +Shutdown an active server that is registered with ORBD. During execution of this command, the \f2shutdown()\fP method defined in the class specified by either the \f2\-serverid\fP or \f2\-applicationName\fP parameter is also invoked to shutdown the server process appropriately. +.TP 3 +startup \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> +Startup or activate a server that is registered with ORBD. If the server is not running, this command launches the server. If the server is already running, an error message is returned to the user. +.TP 3 +help +List all the commands available to the server through the server tool. +.TP 3 +quit +Exit the server tool. +.RE + +.LP +.SH "SEE ALSO" +.LP +orbd(1) diff --git a/Java-Visualizer/java/man/man1/tnameserv.1 b/Java-Visualizer/java/man/man1/tnameserv.1 new file mode 100644 index 00000000..996f0579 --- /dev/null +++ b/Java-Visualizer/java/man/man1/tnameserv.1 @@ -0,0 +1,475 @@ +." Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH tnameserv 1 "18 Jul 2013" + +.LP +.SH "Name" +Java IDL: Transient Naming Service \- \f2tnameserv\fP +.LP +.LP +This document discusses using the Java IDL Transient Naming Service, \f2tnameserv\fP. Java IDL also includes the Object Request Broker Daemon (ORBD). ORBD is a daemon process containing a Bootstrap Service, a Transient Naming Service, a \f3Persistent\fP Naming Service, and a Server Manager. The Java IDL tutorials all use ORBD, however, you can substitute \f2tnameserv\fP for \f2orbd\fP in any of the examples that use a Transient Naming Service. For documentation on the \f2orbd\fP tool, link to its orbd(1) or the +.na +\f2Java IDL Naming Service Included with ORBD\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlNaming.html topic. +.LP +.LP +Topics in this section include: +.LP +.RS 3 +.TP 2 +o +Java\ IDL Transient Naming Service +.TP 2 +o +Starting the Java\ IDL Transient Naming Service +.TP 2 +o +Stopping the Java\ IDL Transient Naming Service +.TP 2 +o +Sample Client: Adding Objects to the Namespace +.TP 2 +o +Sample Client: Browsing the Namespace +.RE + +.LP +.SH "Java\ IDL Transient Naming Service" +.LP +.LP +The CORBA COS (Common Object Services) Naming Service provides a tree\-like directory for object references much like a filesystem provides a directory structure for files. The Transient Naming Service provided with Java IDL, \f2tnameserv\fP, is a simple implementation of the COS Naming Service specification. +.LP +.LP +Object references are stored in the namespace by name and each object reference\-name pair is called a name \f2binding\fP. Name bindings may be organized under \f2naming contexts\fP. Naming contexts are themselves name bindings and serve the same organizational function as a file system subdirectory. All bindings are stored under the \f2initial naming context\fP. The initial naming context is the only persistent binding in the namespace; the rest of the namespace is lost if the Java IDL naming service process halts and restarts. +.LP +.LP +For an applet or application to use COS naming, its ORB must know the port of a host running a naming service or have access to a stringified initial naming context for that naming service. The naming service can either be the Java\ IDL naming service or another COS\-compliant naming service. +.LP +.SH "Starting the Java\ IDL Transient Naming Service" +.LP +.LP +You must start the Java\ IDL naming service before an application or applet that uses its naming service. Installation of the Java\ IDL product creates a script (Solaris: \f2tnameserv\fP) or executable file (Windows NT: \f2tnameserv.exe\fP) that starts the Java\ IDL naming service. Start the naming service so it runs in the background. +.LP +.LP +If you do not specify otherwise, the Java\ IDL naming service listens on port 900 for the bootstrap protocol used to implement the ORB \f2resolve_initial_references()\fP and \f2list_initial_references()\fP methods, as follows: +.LP +.nf +\f3 +.fl + tnameserv \-ORBInitialPort \fP\f4nameserverport\fP\f3& +.fl +\fP +.fi + +.LP +.LP +If you do not specify the name server port, port 900 is used by default. When running Solaris software, you must become root to start a process on a port under 1024. For this reason, we recommend that you use a port number greater than or equal to 1024. To specify a different port, for example, 1050, and to run the naming service in the background, from a UNIX command shell, enter: +.LP +.nf +\f3 +.fl + tnameserv \-ORBInitialPort 1050& +.fl +\fP +.fi + +.LP +.LP +From an MS\-DOS system prompt (Windows), enter: +.LP +.nf +\f3 +.fl + start tnameserv \-ORBInitialPort 1050 +.fl +\fP +.fi + +.LP +.LP +Clients of the name server must be made aware of the new port number. Do this by setting the \f2org.omg.CORBA.ORBInitialPort\fP property to the new port number when creating the ORB object. +.LP +.SS +Running the server and client on different hosts +.LP +.LP +In most of the Java IDL and RMI\-IIOP tutorials, the Naming Service, Server, and Client are all running on the development machine. In real world deployment, it is likely that the client and server will run on different host machines than the Naming Service. +.LP +.LP +For the client and server to find the Naming Service, they must be made aware of the port number and host on which the naming service is running. Do this by setting the \f2org.omg.CORBA.ORBInitialPort\fP and \f2org.omg.CORBA.ORBInitialHost\fP properties in the client and server files to the machine name and port number on which the Naming Service is running. An example of this is shown in +.na +\f2The Hello World Example Using RMI\-IIOP\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/rmi\-iiop/rmiiiopexample.html. You could also use the command line options \f2\-ORBInitialPort\fP \f2nameserverport#\fP and \f2\-ORBInitialHost\fP \f2nameserverhostname\fP to tell the client and server where to find the Naming Service. +.na +\f2Java IDL: Running the Hello World Example on TWO Machines\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/idl/tutorial/jidl2machines.html shows one way of doing this using the command line option. +.LP +.LP +For example, suppose the Transient Naming Service, \f2tnameserv\fP is running on port 1050 on host \f2nameserverhost\fP. The client is running on host \f2clienthost\fP and the server is running on host \f2serverhost\fP. +.LP +.RS 3 +.TP 2 +o +Start \f2tnameserv\fP on the host \f2nameserverhost\fP, as follows: +.nf +\f3 +.fl + tnameserv \-ORBInitialPort 1050 +.fl + +.fl +\fP +.fi +.TP 2 +o +Start the server on the \f2serverhost\fP, as follows: +.nf +\f3 +.fl + java Server \-ORBInitialPort 1050 \-ORBInitialHost nameserverhost +.fl +\fP +.fi +.TP 2 +o +Start the client on the \f2clienthost\fP, as follows: +.nf +\f3 +.fl + java Client \-ORBInitialPort 1050 \-ORBInitialHost nameserverhost +.fl +\fP +.fi +.RE + +.LP +.SS +The \-J option +.LP +This command\-line option is available for use with \f2tnameserve\fP: +.RS 3 +.TP 3 +\-Joption +Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes. It is a common convention for \f3\-J\fP to pass options to the underlying virtual machine. +.RE + +.LP +.SH "Stopping the Java\ IDL Transient Naming Service" +.LP +.LP +To stop the Java\ IDL naming service, use the relevant operating system command, such as \f2kill\fP for a Unix process, or \f2Ctrl\-C\fP for a Windows process. The naming service will continue to wait for invocations until it is explicitly shutdown. Note that names registered with the Java\ IDL naming service disappear when the service is terminated. +.LP +.SH "Sample Client: Adding Objects to the Namespace" +.LP +.LP +The following sample program illustrates how to add names to the namespace. It is a self\-contained Transient Naming Service client that creates the following simple tree. +.LP +.RS 3 +.TP 2 +o +\f4Initial Naming Context\fP +.RS 3 +.TP 2 +* +\f3plans\fP +.TP 2 +* +\f4Personal\fP +.RS 3 +.TP 2 +- +\f3calendar\fP +.TP 2 +- +\f3schedule\fP +.RE +.RE +.RE + +.LP +.LP +In this example, \f3plans\fP is an object reference and \f3Personal\fP is a naming context that contains two object references: \f3calendar\fP and \f3schedule\fP. +.LP +.nf +\f3 +.fl +import java.util.Properties; +.fl +import org.omg.CORBA.*; +.fl +import org.omg.CosNaming.*; +.fl + +.fl +public class NameClient +.fl +{ +.fl + public static void main(String args[]) +.fl + { +.fl + try { +.fl +\fP +.fi + +.LP +In the above section, Starting the Java IDL Transient Naming Service, the nameserver was started on port 1050. The following code ensures that the client program is aware of this port number. +.nf +\f3 +.fl + Properties props = new Properties(); +.fl + props.put("org.omg.CORBA.ORBInitialPort", "1050"); +.fl + ORB orb = ORB.init(args, props); +.fl + +.fl +\fP +.fi + +.LP +This code obtains the initial naming context and assigns it to \f3ctx\fP. The second line copies \f3ctx\fP into a dummy object reference \f3objref\fP that we'll attach to various names and add into the namespace. +.nf +\f3 +.fl + NamingContext ctx = +.fl +NamingContextHelper.narrow(orb.resolve_initial_references("NameService")); +.fl + NamingContext objref = ctx; +.fl + +.fl +\fP +.fi + +.LP +This code creates a name "plans" of type "text" and binds it to our dummy object reference. "plans" is then added under the initial naming context using \f2rebind\fP. The \f2rebind\fP method allows us to run this program over and over again without getting the exceptions we'd get from using \f2bind\fP. +.nf +\f3 +.fl + NameComponent nc1 = new NameComponent("plans", "text"); +.fl + NameComponent[] name1 = {nc1}; +.fl + ctx.rebind(name1, objref); +.fl + System.out.println("plans rebind successful!"); +.fl + +.fl +\fP +.fi + +.LP +This code creates a naming context called "Personal" of type "directory". The resulting object reference, \f3ctx2\fP, is bound to the name and added under the initial naming context. +.nf +\f3 +.fl + NameComponent nc2 = new NameComponent("Personal", "directory"); +.fl + NameComponent[] name2 = {nc2}; +.fl + NamingContext ctx2 = ctx.bind_new_context(name2); +.fl + System.out.println("new naming context added.."); +.fl + +.fl +\fP +.fi + +.LP +The remainder of the code binds the dummy object reference using the names "schedule" and "calendar" under the "Personal" naming context (\f3ctx2\fP). +.nf +\f3 +.fl + NameComponent nc3 = new NameComponent("schedule", "text"); +.fl + NameComponent[] name3 = {nc3}; +.fl + ctx2.rebind(name3, objref); +.fl + System.out.println("schedule rebind successful!"); +.fl + +.fl + NameComponent nc4 = new NameComponent("calender", "text"); +.fl + NameComponent[] name4 = {nc4}; +.fl + ctx2.rebind(name4, objref); +.fl + System.out.println("calender rebind successful!"); +.fl + +.fl + +.fl + } catch (Exception e) { +.fl + e.printStackTrace(System.err); +.fl + } +.fl + } +.fl +} +.fl +\fP +.fi + +.LP +.SH "Sample Client: Browsing the Namespace" +.LP +.LP +The following sample program illustrates how to browse the namespace. +.LP +.nf +\f3 +.fl +import java.util.Properties; +.fl +import org.omg.CORBA.*; +.fl +import org.omg.CosNaming.*; +.fl + +.fl +public class NameClientList +.fl +{ +.fl + public static void main(String args[]) +.fl + { +.fl + try { +.fl +\fP +.fi + +.LP +In the above section, Starting the Java IDL Transient Naming Service, the nameserver was started on port 1050. The following code ensures that the client program is aware of this port number. +.nf +\f3 +.fl + +.fl + Properties props = new Properties(); +.fl + props.put("org.omg.CORBA.ORBInitialPort", "1050"); +.fl + ORB orb = ORB.init(args, props); +.fl + +.fl + +.fl +\fP +.fi + +.LP +The following code obtains the initial naming context. +.nf +\f3 +.fl + NamingContext nc = +.fl +NamingContextHelper.narrow(orb.resolve_initial_references("NameService")); +.fl + +.fl +\fP +.fi + +.LP +The \f2list\fP method lists the bindings in the naming context. In this case, up to 1000 bindings from the initial naming context will be returned in the BindingListHolder; any remaining bindings are returned in the BindingIteratorHolder. +.nf +\f3 +.fl + BindingListHolder bl = new BindingListHolder(); +.fl + BindingIteratorHolder blIt= new BindingIteratorHolder(); +.fl + nc.list(1000, bl, blIt); +.fl + +.fl +\fP +.fi + +.LP +This code gets the array of bindings out of the returned BindingListHolder. If there are no bindings, the program ends. +.nf +\f3 +.fl + Binding bindings[] = bl.value; +.fl + if (bindings.length == 0) return; +.fl + +.fl +\fP +.fi + +.LP +The remainder of the code loops through the bindings and prints the names out. +.nf +\f3 +.fl + for (int i=0; i < bindings.length; i++) { +.fl + +.fl + // get the object reference for each binding +.fl + org.omg.CORBA.Object obj = nc.resolve(bindings[i].binding_name); +.fl + String objStr = orb.object_to_string(obj); +.fl + int lastIx = bindings[i].binding_name.length\-1; +.fl + +.fl + // check to see if this is a naming context +.fl + if (bindings[i].binding_type == BindingType.ncontext) { +.fl + System.out.println( "Context: " + +.fl +bindings[i].binding_name[lastIx].id); +.fl + } else { +.fl + System.out.println("Object: " + +.fl +bindings[i].binding_name[lastIx].id); +.fl + } +.fl + } +.fl + +.fl + } catch (Exception e) { +.fl + e.printStackTrace(System.err); +.fl + } +.fl + } +.fl +} +.fl +\fP +.fi + +.LP + diff --git a/Java-Visualizer/java/man/man1/unpack200.1 b/Java-Visualizer/java/man/man1/unpack200.1 new file mode 100644 index 00000000..d2aad781 --- /dev/null +++ b/Java-Visualizer/java/man/man1/unpack200.1 @@ -0,0 +1,137 @@ +." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH unpack200 1 "18 Jul 2013" + +.LP +.SH "Name" +unpack200 \- JAR Unpacking tool +.LP +.SH "SYNOPSIS" +.LP +.LP +\f4unpack200\fP\f2 [ \fP\f2options\fP ] \f2input\-file\fP \f2JAR\-file\fP +.LP +.LP +Options may be in any order. The last option on the command line supersedes all previously specified options. +.LP +.RS 3 +.TP 3 +input\-file +Name of the input file, which can be a pack200 gzip file or a pack200 file. The input could also be JAR file produced by pack200(1) with an effort of 0. In this case the contents of the input file will be copied to the output JAR file with the Pack200 marker. +.TP 3 +JAR\-file +Name of the output JAR file. +.RE + +.LP +.SH "DESCRIPTION" +.LP +.LP +\f2unpack200\fP is a native implementation that transforms a packed file produced by \f2pack200\fP(1) into a JAR file. Typical usage: +.LP +.LP +\f2% unpack200 myarchive.pack.gz myarchive.jar\fP +.LP +.LP +In this example, the \f2myarchive.jar\fP is produced from \f2myarchive.pack.gz\fP using the default \f2unpack200\fP settings. +.LP +.SH "OPTIONS" +.LP +.LP +\f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP +.LP +.LP +Sets the deflation to be \f2true\fP, \f2false\fP, or \f2keep\fP on all entries within a JAR file. The default mode is \f2keep\fP. If \f2true\fP or \f2false\fP, overrides the default behavior and sets the deflation mode on all entries within the output JAR file. +.LP +.LP +\f4\-r \-\-remove\-pack\-file\fP +.LP +.LP +Removes the input packed file. +.LP +.LP +\f4\-v \-\-verbose\fP +.LP +.LP +Outputs minimal messages. Multiple specification of this option will output more verbose messages. +.LP +.LP +\f4\-q \-\-quiet\fP +.LP +.LP +Specifies quiet operation with no messages. +.LP +.LP +\f4\-lfilename \-\-log\-file=\fP\f2filename\fP +.LP +.LP +Specifies a log file to output messages. +.LP +.LP +\f4\-? \-h \-\-help\fP +.LP +.LP +Prints help information about this command. +.LP +.LP +\f4\-V \-\-version\fP +.LP +.LP +Prints version information about this command. +.LP +.LP +\f4\-J\fP\f2option\fP +.LP +.LP +Passes \f2option\fP to the Java launcher called by \f2unpack200\fP. +.LP +.SH "EXIT STATUS" +.LP +.LP +The following exit values are returned: +.LP +.LP +\f2\ 0\fP if successful completion; +.LP +.LP +\f2>0\fP if an error occurred. +.LP +.SH "SEE ALSO" +.LP +.RS 3 +.TP 2 +o +pack200(1) +.TP 2 +o +.na +\f2Java SE Documentation\fP @ +.fi +http://docs.oracle.com/javase/7/docs/index.html +.TP 2 +o +.na +\f2Java Deployment Guide \- Pack200\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html +.TP 2 +o +jar(1) \- Java Archive Tool +.TP 2 +o +jarsigner(1) \- JAR Signer tool +.TP 2 +o +\f2attributes(5)\fP man page +.RE + +.LP +.SH "NOTES" +.LP +.LP +This command should not be confused with \f2unpack(1)\fP. They are distinctly separate products. +.LP +.LP +The Java SE API Specification provided with the JDK is the superseding authority, in case of discrepancies. +.LP + diff --git a/Java-Visualizer/java/man/man1/wsgen.1 b/Java-Visualizer/java/man/man1/wsgen.1 new file mode 100644 index 00000000..ee1e9b86 --- /dev/null +++ b/Java-Visualizer/java/man/man1/wsgen.1 @@ -0,0 +1,579 @@ +." Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH wsgen 1 "18 Jul 2013" +.SH "Name" +wsgen \- Java(TM) API for XML Web Services (JAX\-WS) 2.0 +.LP +\f3Specification Version:\fP 2.1 +.br +\f3Implementation Version:\fP 2.1.1 +.LP +The \f2wsgen\fP tool generates JAX\-WS portable artifacts used in JAX\-WS web services. The tool reads a web service endpoint implementation class (SEI) and generates all the required artifacts for web service deployment, and invocation +.SH "Overview" +.LP +The \f2wsgen\fP tool generates JAX\-WS portable artifacts used in JAX\-WS web services. The tool reads a web service endpoint class and generates all the required artifacts for web service deployment, and invocation. JAXWS 2.1.1 RI also provides a wsgen ant task, see +.na +\f2Wsgen ant task\fP @ +.fi +https://jax\-ws.dev.java.net/nonav/2.1.1/docs/wsgenant.html for details. +.LP +.SH "Launching wsgen" +.RS 3 +.TP 2 +o +\f3Solaris/Linux\fP +.RS 3 +.TP 2 +* +\f2export JAXWS_HOME=/pathto/jaxws\-ri\fP +.TP 2 +* +\f2$JAXWS_HOME/bin/wsgen.sh \-help\fP +.RE +.TP 2 +o +\f3Windows\fP +.RS 3 +.TP 2 +* +\f2set JAXWS_HOME=c:\\pathto\\jaxws\-ri\fP +.TP 2 +* +\f2%JAXWS_HOME%\\bin\\wsgen.bat \-help\fP +.RE +.RE + +.LP +.SH "Syntax" +.nf +\f3 +.fl +wsgen [options] <SEI>\fP +.br +\f3 +.fl +\fP +.fi +.LP +The following table lists the \f2wsgen\fP options. +.br +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specify where to find input class files +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Same as \f2\-classpath <path>\fP +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specify where to place generated output files +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +allow vendor extensions (functionality not specified by the specification). Use of extensions may result in applications that are not portable or may not interoperate with other implementations +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Used only in conjunction with the \-wsdl option. Specify where to place generated resource files such as WSDLs +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specify where to place generated source files +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Output messages about what the compiler is doing +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Print version information. Use of this option will ONLY print version information. Normal processing will not occur. +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +By default \f2wsgen\fP does not generate a WSDL file. This flag is optional and will cause \f2wsgen\fP to generate a WSDL file and is usually only used so that the developer can look at the WSDL before the endpoint is deploy. The \f2protocol\fP is optional and is used to specify what protocol should be used in the \f2wsdl:binding\fP. Valid protocols include: \f2soap1.1\fP and \f2Xsoap1.2\fP. The default is \f2soap1.1\fP. \f2Xsoap1.2\fP is not standard and can only be used in conjunction with the \f2\-extension\fP option. +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Used only in conjunction with the \f2\-wsdl\fP option. Used to specify a particular \f2wsdl:service\fP name to be generated in the WSDL. Example, \f2\-servicename "{http://mynamespace/}MyService"\fP +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Used only in conjunction with the \f2\-wsdl\fP option. Used to specify a particular \f2wsdl:port\fP name to be generated in the WSDL. Example, \f2\-portname "{http://mynamespace/}MyPort"\fP +.br +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3Option\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-classpath <path>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-cp <path>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-d <directory>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-extension\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-help\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-keep\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-r <directory>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-s <directory>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-verbose\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-version\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-wsdl[:protocol]\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-servicename <name>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f4\-portname <name>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wDisplay help +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wKeep generated files +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 114 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-classpath <path>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-cp <path>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-d <directory>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-extension\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-help\fP\h'|\n(41u'Display help +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-keep\fP\h'|\n(41u'Keep generated files +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-r <directory>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-s <directory>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(g|u+\n(.Vu +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-verbose\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-version\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-wsdl[:protocol]\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-servicename <name>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f4\-portname <name>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-53 + +.LP +.SH "Example" +.nf +\f3 +.fl +\fP\f3wsgen \-d stock \-cp myclasspath stock.StockService\fP +.fl +.fi +.LP +This will generate the wrapper classes needed for StockService annotated with @WebService annotation inside \f3stock\fPdirectory. +.nf +\f3 +.fl +\fP\f3wsgen \-wsdl \-d stock \-cp myclasspath stock.StockService\fP +.fl +.fi +.LP +This will generate a SOAP 1.1 WSDL and schema for your Java class stock.StockService annotated with @WebService annotation. +.nf +\f3 +.fl +\fP\f3wsgen \-wsdl:Xsoap1.2 \-d stock \-cp myclasspath stock.StockService\fP +.fl +.fi +.LP +Will generate a SOAP 1.2 WSDL. +.LP +Note that you do not have to generate WSDL at the development time as JAXWS runtime will automatically generate a WSDL for you when you deploy your service. diff --git a/Java-Visualizer/java/man/man1/wsimport.1 b/Java-Visualizer/java/man/man1/wsimport.1 new file mode 100644 index 00000000..743b685b --- /dev/null +++ b/Java-Visualizer/java/man/man1/wsimport.1 @@ -0,0 +1,960 @@ +." Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH wsimport 1 "18 Jul 2013" +.SH "Name" +wsimport \- Java(TM) API for XML Web Services (JAX\-WS) 2.0 +.LP +\f3Specification Version:\fP 2.1 +.br +\f3Implementation Version:\fP 2.1.1 +.br +.SH "Overview" +.LP +The \f2wsimport\fP tool generates JAX\-WS portable artifacts, such as: +.RS 3 +.TP 2 +o +Service Endpoint Interface (SEI) +.TP 2 +o +Service +.TP 2 +o +Exception class mapped from wsdl:fault (if any) +.TP 2 +o +Async Reponse Bean derived from response wsdl:message (if any) +.TP 2 +o +JAXB generated value types (mapped java classes from schema types) +.RE +.LP +These artifacts can be packaged in a WAR file with the WSDL and schema documents along with the endpoint implementation to be deployed. also provides wsimport ant task, see +.na +\f2Wsimport ant task\fP @ +.fi +https://jax\-ws.dev.java.net/nonav/2.1.1/docs/wsimportant.html. +.br + +.LP +.SH "Launching wsimport" +.RS 3 +.TP 2 +o +\f3Solaris/Linux\fP +.RS 3 +.TP 2 +* +\f2/bin/wsimport.sh \-help\fP +.RE +.TP 2 +o +\f3Windows\fP +.RS 3 +.TP 2 +* +\f2\\bin\\wsimport.bat \-help\fP +.RE +.RE + +.LP +.SH "Syntax" +.nf +\f3 +.fl +wsimport [options] <wsdl> +.fl +\fP +.fi +.LP +The following table lists the \f2wsimport\fP options. +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specify where to place generated output files +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specify external JAX\-WS or JAXB binding files (Each \f2<file>\fP must have its own \f2\-b\fP) +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Pass this option to JAXB schema compiler +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specify catalog file to resolve external entity references, it supports TR9401, XCatalog, and OASIS XML Catalog format. Please read the documentation of +.na +\f2catalog\fP @ +.fi +https://jax\-ws.dev.java.net/nonav/2.1.1/docs/catalog\-support.html and see \f3catalog\fP sample. +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Allow vendor extensions (functionality not specified by the specification). Use of extensions may result in applications that are not portable or may not interoperate with other implementations +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3\-httpproxy:<host>:<port> \fP +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di g+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specify an HTTP proxy server (port defaults to 8080) +.br +.di +.nr g| \n(dn +.nr g- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di h+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specifying a target package via this command\-line option, overrides any wsdl and schema binding customization for package name and the default package name algorithm defined in the specification +.br +.di +.nr h| \n(dn +.nr h- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di i+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Specify where to place generated source files +.br +.di +.nr i| \n(dn +.nr i- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di j+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Output messages about what the compiler is doing +.br +.di +.nr j| \n(dn +.nr j- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di k+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Print version information +.br +.di +.nr k| \n(dn +.nr k- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di l+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3\-wsdllocation <location>\fP +.br +.di +.nr l| \n(dn +.nr l- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di m+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +\f2@WebServiceClient.wsdlLocation\fP value +.br +.di +.nr m| \n(dn +.nr m- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di n+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Generate code as per the given JAX\-WS specification version. version 2.0 will generate compliant code for JAX\-WS 2.0 spec. +.br +.di +.nr n| \n(dn +.nr n- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3Option\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-d <directory> \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-b <path> \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-B <jaxbOption>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-catalog\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-extension \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-help \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-keep \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-p \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-s <directory> \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-verbose \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-version \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-target \fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-quiet \fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 38 \n(f- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \n(l- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wDisplay help +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wKeep generated files +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \wSuppress wsimport output +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(d- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(g- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(h- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(i- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(j- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(k- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(m- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(n- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 138 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-d <directory> \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-b <path> \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-B <jaxbOption>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-catalog\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(e|u+\n(.Vu +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-extension \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-help \fP\h'|\n(41u'Display help +.ne \n(f|u+\n(.Vu +.ne \n(g|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.g+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-keep \fP\h'|\n(41u'Keep generated files +.ne \n(h|u+\n(.Vu +.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-p \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.h+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(i|u+\n(.Vu +.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-s <directory> \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.i+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(j|u+\n(.Vu +.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-verbose \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.j+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(k|u+\n(.Vu +.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-version \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.k+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(l|u+\n(.Vu +.ne \n(m|u+\n(.Vu +.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v) +.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.l+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.m+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(n|u+\n(.Vu +.if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-target \fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.n+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-quiet \fP\h'|\n(41u'Suppress wsimport output +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.rm g+ +.rm h+ +.rm i+ +.rm j+ +.rm k+ +.rm l+ +.rm m+ +.rm n+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-66 +.LP +Multiple JAX\-WS and JAXB binding files can be specified using \f2\-b\fP option and they can be used to customize various things like package names, bean names, etc. More information on JAX\-WS and JAXB binding files can be found in the +.na +\f2customization documentation\fP @ +.fi +https://jax\-ws.dev.java.net/nonav/2.1.1/docs/customizations.html. +.LP +The following table lists \f2wsimport\fP non\-standard options: +.LP +.TS +.if \n+(b.=1 .nr d. \n(.c-\n(c.-1 +.de 35 +.ps \n(.s +.vs \n(.vu +.in \n(.iu +.if \n(.u .fi +.if \n(.j .ad +.if \n(.j=0 .na +.. +.nf +.nr #~ 0 +.if n .nr #~ 0.6n +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.fc +.nr 33 \n(.s +.rm 80 81 +.nr 34 \n(.lu +.eo +.am 81 +.br +.di a+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Map headers not bound to request or response message to Java method parameters. +.br +.di +.nr a| \n(dn +.nr a- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di b+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +WSDL URI that specifies the file that contains authorization information; this URI is in the following format: http://\f2<user name>\fP:\f2<password>\fP@\f2<host name>\fP/\f2<Web service name>\fP?wsdl +.br +.di +.nr b| \n(dn +.nr b- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di c+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Print debugging information. +.br +.di +.nr c| \n(dn +.nr c- \n(dl +.. +.ec \ +.eo +.am 80 +.br +.di d+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(80 .ll \n(80u +.in 0 +\f3\-Xno\-addressing\-databinding\fP +.br +.di +.nr d| \n(dn +.nr d- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di e+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Enable binding of W3C \f2EndpointReferenceType\fP to Java. +.br +.di +.nr e| \n(dn +.nr e- \n(dl +.. +.ec \ +.eo +.am 81 +.br +.di f+ +.35 +.ft \n(.f +.ll \n(34u*1u/3u +.if \n(.l<\n(81 .ll \n(81u +.in 0 +Do not compile generated Java files. +.br +.di +.nr f| \n(dn +.nr f- \n(dl +.. +.ec \ +.35 +.nf +.ll \n(34u +.nr 80 0 +.nr 38 \w\f3Option\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-XadditionalHeaders\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-Xauthfile <file>\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-Xdebug\fP +.if \n(80<\n(38 .nr 80 \n(38 +.nr 38 \w\f3\-Xnocompile\fP +.if \n(80<\n(38 .nr 80 \n(38 +.80 +.rm 80 +.nr 38 \n(d- +.if \n(80<\n(38 .nr 80 \n(38 +.nr 81 0 +.nr 38 \w\f3Description\fP +.if \n(81<\n(38 .nr 81 \n(38 +.81 +.rm 81 +.nr 38 \n(a- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(b- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(c- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(e- +.if \n(81<\n(38 .nr 81 \n(38 +.nr 38 \n(f- +.if \n(81<\n(38 .nr 81 \n(38 +.35 +.nf +.ll \n(34u +.nr 38 1n +.nr 79 0 +.nr 40 \n(79+(0*\n(38) +.nr 80 +\n(40 +.nr 41 \n(80+(3*\n(38) +.nr 81 +\n(41 +.nr TW \n(81 +.if t .if \n(TW>\n(.li .tm Table at line 174 file Input is too wide - \n(TW units +.fc   +.nr #T 0-1 +.nr #a 0-1 +.eo +.de T# +.ds #d .d +.if \(ts\n(.z\(ts\(ts .ds #d nl +.mk ## +.nr ## -1v +.ls 1 +.ls +.. +.ec +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Description\fP +.ne \n(a|u+\n(.Vu +.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-XadditionalHeaders\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.a+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(b|u+\n(.Vu +.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-Xauthfile <file>\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.b+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(c|u+\n(.Vu +.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-Xdebug\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.c+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(d|u+\n(.Vu +.ne \n(e|u+\n(.Vu +.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v) +.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(40u +.in +\n(37u +.d+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.e+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.ne \n(f|u+\n(.Vu +.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v) +.ta \n(80u \n(81u +.nr 31 \n(.f +.nr 35 1m +\&\h'|\n(40u'\f3\-Xnocompile\fP\h'|\n(41u' +.mk ## +.nr 31 \n(## +.sp |\n(##u-1v +.nr 37 \n(41u +.in +\n(37u +.f+ +.in -\n(37u +.mk 32 +.if \n(32>\n(31 .nr 31 \n(32 +.sp |\n(31u +.fc +.nr T. 1 +.T# 1 +.35 +.rm a+ +.rm b+ +.rm c+ +.rm d+ +.rm e+ +.rm f+ +.TE +.if \n-(b.=0 .nr c. \n(.c-\n(d.-26 + +.LP +.SH "Example" +.nf +\f3 +.fl +\fP\f3wsimport \-p stockquote http://stockquote.example.com/quote?wsdl\fP +.fl +.fi +.LP +This will generate the Java artifacts and compile them by importing the \f2http://stockquote.example.com/quote?wsdl\fP. +.br + diff --git a/Java-Visualizer/java/man/man1/xjc.1 b/Java-Visualizer/java/man/man1/xjc.1 new file mode 100644 index 00000000..62289bde --- /dev/null +++ b/Java-Visualizer/java/man/man1/xjc.1 @@ -0,0 +1,278 @@ +." Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +." +.TH xjc 1 "18 Jul 2013" + +.LP +.SH "Name" +xjc \- Java(TM) Architecture for XML Binding +.br +Binding Compiler +.LP +.LP +\f3Specification Version:\fP 2.1 +.br +\f3Reference Implementation (RI) Version:\fP 2.1.3 +.LP +.SH "Launching xjc" +.LP +.LP +The binding compiler can be launched using the appropriate \f2xjc\fP shell script in the \f2bin\fP directory for your platform. We also provide an Ant task to run the binding complier \- see the instructions for +.na +\f2using the XJC Ant task\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/xjcTask.html. +.LP +.LP +\f2% xjc \-help\fP +.LP +.SS +Output +.LP +.nf +\f3 +.fl +Usage: xjc [\-options ...] <schema file/URL/dir/jar> ... [\-b <bindinfo>] ... +.fl +If dir is specified, all schema files in it will be compiled. +.fl +If jar is specified, /META\-INF/sun\-jaxb.episode binding file will be compiled. +.fl +Options: +.fl + \-nv : do not perform strict validation of the input schema(s) +.fl + \-extension : allow vendor extensions \- do not strictly follow the Compatibility Rules and App E.2 from the JAXB Spec +.fl + \-b <file/dir> : specify external bindings files (each <file> must have its own \-b); if a directory is given, **/*.xjb is searched +.fl + \-d <dir> : generated files will go into this directory +.fl + \-p <pkg> : specifies the target package +.fl + \-httpproxy <proxy> : set HTTP/HTTPS proxy; format is [user[:password]@]proxyHost:proxyPort +.fl + \-httpproxyfile <f> : works like \-httpproxy but takes the argument in a file to protect password +.fl + \-classpath <arg> : specify where to find user class files +.fl + \-catalog <file> : specify catalog files to resolve external entity references; support TR9401, XCatalog, and OASIS XML Catalog format +.fl + \-readOnly : generated files will be in read\-only mode +.fl + \-npa : suppress generation of package level annotations (**/package\-info.java) +.fl + \-no\-header : suppress generation of a file header with timestamp +.fl + \-target 2.0 : behave like XJC 2.0 and generate code that doesnt use any 2.1 features +.fl + \-xmlschema : treat input as W3C XML Schema (default) +.fl + \-relaxng : treat input as RELAX NG (experimental,unsupported) +.fl + \-relaxng\-compact : treat input as RELAX NG compact syntax (experimental,unsupported) +.fl + \-dtd : treat input as XML DTD (experimental,unsupported) +.fl + \-wsdl : treat input as WSDL and compile schemas inside it (experimental,unsupported) +.fl + \-verbose : be extra verbose +.fl + \-quiet : suppress compiler output +.fl + \-help : display this help message +.fl + \-version : display version information +.fl + +.fl + +.fl +Extensions: +.fl + \-Xlocator : enable source location support for generated code +.fl + \-Xsync\-methods : generate accessor methods with the 'synchronized' keyword +.fl + \-mark\-generated : mark the generated code as @javax.annotation.Generated +.fl + \-episode <FILE> : generate the episode file for separate compilation +.fl +\fP +.fi + +.LP +.SH "OPTIONS" +.LP +.RS 3 +.TP 3 +\-nv +By default, the XJC binding compiler performs strict validation of the source schema before processing it. Use this option to disable strict schema validation. This does not mean that the binding compiler will not perform any validation, it simply means that it will perform less\-strict validation. +.TP 3 +\-extension +By default, the XJC binding compiler strictly enforces the rules outlined in the Compatibility chapter of the JAXB Specification. Appendix E.2 defines a set of W3C XML Schema features that are not completely supported by JAXB v1.0. In some cases, you may be allowed to use them in the "\-extension" mode enabled by this switch. In the default (strict) mode, you are also limited to using only the binding customizations defined in the specification. By using the "\-extension" switch, you will be allowed to use the JAXB Vendor Extensions +.TP 3 +\-b <file> +Specify one or more external binding files to process. (Each binding file must have its own \f2"\-b"\fP switch.) The syntax of the external binding files is extremely flexible. You may have a single binding file that contains customizations for multiple schemas or you can break the customizations into multiple bindings files: \f2xjc schema1.xsd schema2.xsd schema3.xsd \-b bindings123.xjb\fP +.br +\f2xjc schema1.xsd schema2.xsd schema3.xsd \-b bindings1.xjb \-b bindings2.xjb \-b bindings3.xjb\fP In addition, the ordering of the schema files and binding files on the command line does not matter. +.TP 3 +\-d <dir> +By default, the XJC binding compiler will generate the Java content classes in the current directory. Use this option to specify an alternate output directory. The output directory must already exist, the XJC binding compiler will not create it for you. +.TP 3 +\-p <pkg> +Specifying a target package via this command\-line option overrides any binding customization for package name and the default package name algorithm defined in the specification. +.TP 3 +\-httpproxy <proxy> +Specify the HTTP/HTTPS proxy. The format is [user[:password]@]proxyHost[:proxyPort]. The old \f2\-host\fP and \f2\-port\fP are still supported by the RI for backwards compatibility, but they have been deprecated. Note that the password specified with this option is an argument that is visible to other users who use the \f2top\fP command, for example. For greater security, use \f2\-httpproxyfile\fP, below. +.TP 3 +\-httpproxyfile <file> +Specify the HTTP/HTTPS proxy using a file. Same format as above, but the password specified in the file is not visible to other users. +.TP 3 +\-classpath <arg> +Specify where to find client application class files used by the \f2<jxb:javaType>\fP and \f2<xjc:superClass>\fP customizations. +.TP 3 +\-catalog <file> +Specify catalog files to resolve external entity references. Supports TR9401, XCatalog, and OASIS XML Catalog format. Please read the XML Entity and URI Resolvers document or the \f2catalog\-resolver\fP sample application. +.TP 3 +\-readOnly +By default, the XJC binding compiler does not write\-protect the Java source files it generates. Use this option to force the XJC binding compiler to mark the generated Java sources read\-only. +.TP 3 +\-npa +Supress the generation of package level annotations into **/package\-info.java. Using this switch causes the generated code to internalize those annotations into the other generated classes. +.TP 3 +\-no\-header +Supress the generation of a file header comment that includes some note and timestamp. Using this makes the generated code more diff\-friendly. +.TP 3 +\-target 2.0 +Avoid generating code that relies on any JAXB 2.1 features. This will allow the generated code to run with JAXB 2.0 runtime (such as JavaSE 6.) +.TP 3 +\-xmlschema +Treat input schemas as W3C XML Schema (default). If you do not specify this switch, your input schemas will be treated as W3C XML Schema. +.TP 3 +\-relaxng +Treat input schemas as RELAX NG (experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. +.TP 3 +\-relaxng\-compact +Treat input schemas as RELAX NG compact syntax(experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. +.TP 3 +\-dtd +Treat input schemas as XML DTD (experimental, unsupported). Support for RELAX NG schemas is provided as a JAXB Vendor Extension. +.TP 3 +\-wsdl +Treat input as WSDL and compile schemas inside it (experimental,unsupported). +.TP 3 +\-quiet +Suppress compiler output, such as progress information and warnings. +.TP 3 +\-verbose +Be extra verbose, such as printing informational messages or displaying stack traces upon some errors. +.TP 3 +\-help +Display a brief summary of the compiler switches. +.TP 3 +\-version +Display the compiler version information. +.TP 3 +<schema file/URL/dir> +Specify one or more schema files to compile. If you specify a directory, then xjc will scan it for all schema files and compile them. +.RE + +.LP +.SS +Non\-Standard Command Line Options +.LP +.RS 3 +.TP 3 +\-Xlocator +Causes the generated code to expose SAX Locator information about the source XML in the Java bean instances after unmarshalling. +.TP 3 +\-Xsync\-methods +Causes all of the generated method signatures to include the \f2synchronized\fP keyword. +.TP 3 +\-mark\-generated +Mark the generated code with the annotation \f2@javax.annotation.Generated\fP. +.TP 3 +\-episode <file> +Generate the specified episode file for separate compilation. +.RE + +.LP +.SS +Deprecated and Removed Command Line Options +.LP +.RS 3 +.TP 3 +\-host & \-port +These options have been deprecated and replaced with the \f3\-httpproxy\fP option. For backwards compatibility, we will continue to support these options, but they will no longer be documented and may be removed from future releases. +.TP 3 +\-use\-runtime +Since the JAXB 2.0 specification has defined a portable runtime, it is no longer necessary for the JAXB RI to generate **/impl/runtime packages. Therefore, this switch is obsolete and has been removed. +.TP 3 +\-source +The \-source compatibility switch was introduced in the first JAXB 2.0 Early Access release. We have decided to remove this switch from future releases of JAXB 2.0. If you need to generate 1.0.x code, please use an installation of the 1.0.x codebase. +.RE + +.LP +.SS +Compiler Restrictions +.LP +.LP +In general, it is safest to compile all related schemas as a single unit with the same binding compiler switches. +.LP +.LP +Please keep the following list of restrictions in mind when running xjc. Most of these issues only apply when compiling multiple schemas with multiple invocations of xjc. +.LP +.RS 3 +.TP 2 +o +To compile multiple schemas at the same time, keep the following precedence rules for the target Java package name in mind: +.RS 3 +.TP 3 +1. +The "\f2\-p\fP" command line option takes the highest precedence. +.TP 3 +2. +<\f2jaxb:package\fP> customization +.TP 3 +3. +If \f2targetNamespace\fP is declared, apply \f2targetNamespace\fP \-> Java package name algorithm defined in the specification. +.TP 3 +4. +If no \f2targetNamespace\fP is declared, use a hardcoded package named "generated". +.RE +.TP 2 +o +It is not legal to have more than one <\f2jaxb:schemaBindings\fP> per namespace, so it is impossible to have two schemas in the same target namespace compiled into different Java packages. +.TP 2 +o +All schemas being compiled into the same Java package must be submitted to the XJC binding compiler at the same time \- they cannot be compiled independently and work as expected. +.TP 2 +o +Element substitution groups spread across multiple schema files must be compiled at the same time. +.RE + +.LP +.SH "See Also" +.LP +.RS 3 +.TP 2 +o +Running the binding compiler (XJC): [ +.na +\f2command\-line instructions\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/xjc.html, +.na +\f2using the XJC Ant task\fP @ +.fi +https://jaxb.dev.java.net/nonav/2.1.3/docs/xjcTask.html] +.TP 2 +o +.na +\f2Java Architecture for XML Binding (JAXB)\fP @ +.fi +http://docs.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html +.RE + +.LP + diff --git a/Java-Visualizer/java/release b/Java-Visualizer/java/release new file mode 100644 index 00000000..34b8dd0e --- /dev/null +++ b/Java-Visualizer/java/release @@ -0,0 +1,6 @@ +JAVA_VERSION="1.7.0" +OS_NAME="Linux" +OS_VERSION="2.6" +OS_ARCH="amd64" +SOURCE=" .:f19659de2034 corba:353be4a0a6ec deploy:395e14323635 hotspot:426e09df7eda hotspot/make/closed:de7a50bbd29a hotspot/src/closed:d4e9ca0a721f hotspot/test/closed:66a3b6ec7e26 install:eff2478cba10 jaxp:acfe75cb9d7a jaxws:f6417ecaede6 jdk:daa5092b07a7 jdk/make/closed:b7fa0c57c970 jdk/src/closed:9b930f093b52 jdk/test/closed:0351bbdb4915 langtools:f2b4d5e42318 pubs:dcfb9621fcbe sponsors:9eb1d4df2def" +BUILD_TYPE=commercial diff --git a/Java-Visualizer/java/rt.jar b/Java-Visualizer/java/rt.jar new file mode 100644 index 00000000..ac3f4358 Binary files /dev/null and b/Java-Visualizer/java/rt.jar differ diff --git a/Java-Visualizer/java/src.zip b/Java-Visualizer/java/src.zip new file mode 100644 index 00000000..429e9a22 Binary files /dev/null and b/Java-Visualizer/java/src.zip differ diff --git a/Java-Visualizer/java/tools.jar b/Java-Visualizer/java/tools.jar new file mode 100644 index 00000000..ba104e81 Binary files /dev/null and b/Java-Visualizer/java/tools.jar differ diff --git a/app/assets/javascripts/OpenPOP/JsavWrapper.js b/app/assets/javascripts/OpenPOP/JsavWrapper.js new file mode 100644 index 00000000..287e213b --- /dev/null +++ b/app/assets/javascripts/OpenPOP/JsavWrapper.js @@ -0,0 +1,33 @@ +'use strict'; +/** + * Function that compares this list of nodes with the otherArray + * @param {*} otherArray + */ +function comparer(otherArray) { + return function(current) { + return otherArray.filter(function(other) { + return other.getData() === current.getData() && other.getReference() === current.getReference() + //no compare for the next to enable detecting the deleted nodes only + }).length == 0; + } +} + +/** + * function to create a linked list for each trace + * @param {List} trace the complete trace + */ +function CreateListOfLinkedLists(trace) { + var linkLists = []; + for (var i = 0; i < trace.size(); i++) + linkLists.push(new LinkedList(trace.getTraceHeap(i))); + return linkLists; +} + +/** + * Code for the main function + */ +function visualize(testVisualizerTrace) { + var traces = new TraceList(testVisualizerTrace.trace); + var code = new StudentCode(testVisualizerTrace.code); + var vis = new Visualization(traces, code); +} diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/EncodedLocal.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/EncodedLocal.js new file mode 100644 index 00000000..74b32368 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/EncodedLocal.js @@ -0,0 +1,14 @@ +/** + * class to represent the encoded locals for the heap stack + */ +class EncodedLocal{ + /** + * Class constructor + * @param {String} key the variable name + * @param {reference} value the variable memory reference + */ + constructor(key, value) { + this.variableName = key; + this.referenceValue = (value === null) ? null : value[1]; + } +} \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/JsavLinkedListObject.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/JsavLinkedListObject.js new file mode 100644 index 00000000..f53e2db2 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/JsavLinkedListObject.js @@ -0,0 +1,189 @@ +/** + * This class represents the JSAV linked list object thea will be used in the visualization + */ +class JsavLinkedListObject{ + /** + * Class constructor + * @param {JSAVpesudocodeobject} codeObject This object is used to show the student code in the slide show + * @param {JSAV} av the JSAV object that is used to draw the visualizations + */ + constructor(codeObject, av) { + this.JsavLinkedList = av.ds.list({ nodegap: 30, top: 40, left: codeObject.element.outerWidth() + 100 }); + this.circular = false; + this.size = 0; + this.av = av; + this.listOfNewNodesNotPartOfTheList = []; + this.listOfNodesReferences = []; + } + /** + * Create new node in the JSAV linked list. This node is not part of the list yet. + * @param {Object} data the linked list node data + * @returns the new JSAV linked list node + */ + newNode(data) { + var newnode = this.JsavLinkedList.newNode(data); + this.listOfNewNodesNotPartOfTheList.push(newnode); + return newnode; + } + /** + * Search for a node that is not in the linked list. + * @param {Object} data The data will be used to find the requested node + * @returns the linked list node + */ + getNodeNotPartOfTheListByData(data) { + for (var i = 0; i < this.listOfNewNodesNotPartOfTheList.length; i++) + if (this.listOfNewNodesNotPartOfTheList[i].value() === data) + return this.listOfNewNodesNotPartOfTheList[i]; + } + /** + * Creates and adds a new node at the first of the list. + * @param {Object} data The created node data + * @param {String} ref The created node memory reference. + */ + addFirst(data, ref) { + this.JsavLinkedList.addFirst(data); + this.listOfNodesReferences.splice(0, 0, ref.toString()); + this.size++; + } + /** + * Creates and adds a new node at the end on the list. + * @param {Object} data The created node data + * @param {String} ref The created node memory reference. + */ + addLast(data, ref) { + this.JsavLinkedList.addLast(data); + this.listOfNodesReferences.push(ref.toString()); + this.size++; + } + /** + * Creates and adds a new node at the specified index of the list. + * @param {Integer} index The specified index on the list + * @param {Object} data The created node data + * @param {String} ref The created node memory reference. + */ + add(index, data, ref) { + this.JsavLinkedList.add(index, data); + this.listOfNodesReferences.splice(index, 0, ref.toString()); + this.size++; + } + /** + * returns the JSAV Linked list object. + */ + getJsavLinkedList() { + return this.JsavLinkedList; + } + /** + * returns the node at the specified index on the list. + * @param {Integer} index The specified index of the list + */ + get(index) { + return this.JsavLinkedList.get(index); + } + /** + * removes the node at the specified index on the list. + * @param {Integer} index The specified index of the list + */ + remove(index) { + this.size--; + return this.JsavLinkedList.remove(index); + this.listOfNodesReferences.splice(index, 1); + } + /** + * connects the last node with the first node + * @param {JSAVNode} last + * @param {JSAVNode} first + */ + CreateCircularArrow(last, first) { + this.circularEdge = this.connection(last.element, first.element); + this.circularEdge.hide(); + } + /** + * Draws a link from obj1 to obj2 + * @param {JSAVNode} obj1 + * @param {JSAVNode} obj2 + * @returns the new link + */ + connection(obj1, obj2) { + var position = this.position(); + //if (obj1 === obj2) { return; } + var pos1 = obj1.offset(); + var pos2 = obj2.offset(); + var fx = pos1.left + obj1.outerWidth() / 2.0; + var tx = pos2.left - obj2.outerWidth() / 2.0; + var fy = position.top + obj1.outerHeight(); ///2.0 + tx += 22; + return this.av.g.path(["M", fx, fy, "h", 20, "v", 30, "h", (tx - fx - 30 - 20), "v", -30, "h", 20].join(","), { + "arrow-end": "classic-wide-long", + opacity: 0, + "stroke-width": 2 + }); + } + /** + * Converts the list to Circular linked list + */ + convertToCircularList(toRef) { + if(toRef === null){ + this.CreateCircularArrow(this.get(this.size - 1), this.get(0)); + + } + else{ + var index = this.getNodeIndexByReference(toRef) + this.CreateCircularArrow(this.get(this.size - 1), this.get(index)); + } + this.circularEdge.show(); + this.last().next(this.first()); + var edge = this.get(this.size - 1).edgeToNext(); + edge.hide(); + return true; + } + /** + * redraw the JSAV linked list + */ + layout(toRef = null) { + this.JsavLinkedList.layout(); + if (this.circular) + this.convertToCircularList(toRef); + } + /** + * returns the size of the linked list + */ + size() { + return this.JsavLinkedList.size(); + } + /** + * returns the position of the JSAV linked list object + */ + position() { + return this.JsavLinkedList.position(); + } + /** + * returns the last JSAV node in the list + */ + last() { + return this.JsavLinkedList.last(); + } + /** + * returns the first JSAV node in the list + */ + first() { + return this.JsavLinkedList.first(); + } + /** + * Returns the index of the node with the given value + * @param {Object} value the value that used to find the node index + */ + getNodeIndexByValue(value) { + for (var i = 0; i < this.JsavLinkedList.size(); i++) + if (this.JsavLinkedList.get(i).value() === value) + return i; + } + /** + * Returns the index of the node with the given reference + * @param {String} reference the reference value that used to find the node index + */ + getNodeIndexByReference(reference) { + for (var i = 0; i < this.listOfNodesReferences.length; i++) + if (this.listOfNodesReferences[i] === reference.toString()) + return i; + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkClassValue.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkClassValue.js new file mode 100644 index 00000000..6661fc02 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkClassValue.js @@ -0,0 +1,30 @@ +/** + * class to represent the heap for Link class only + */ +class LinkClassValue{ + /** + * class constructor + * @param {reference} next the reference for the next node in the list + * @param {Object} data the value of the current node in the list + */ + constructor(object1, object2) { + var data, next; + if(object1[0] == "data") + { + data = object1; + next = object2; + } + else{ + data = object2; + next = object1; + } + this.LinkNodeNext = null; + if (next[1] !== null && next[1].constructor === Array) + this.LinkNodeNext = next[1][1]; + this.LinkNodeData = null; + if (data[1].constructor === Array) + this.LinkNodeData = data[1][1]; + else + this.LinkNodeData = data[1]; +} +} \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedList.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedList.js new file mode 100644 index 00000000..0f456a90 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedList.js @@ -0,0 +1,116 @@ +/** + * Class that creates a linked list for a single visualization step + */ +class LinkedList{ + /** + * Class constructor + * @param {Object} traceHeapForStep The trace heap for a single step + */ +constructor(traceHeapForStep) { + this.LinkedListNodes = []; + this.circularList = false; + for (var i = 0; i < traceHeapForStep.length; i++) { + var traceItem = traceHeapForStep[i]; + this.LinkedListNodes.push(new LinkedListNode(traceItem.value.LinkNodeData, + traceItem.reference, + traceItem.value.LinkNodeNext)); + } + this.checkIfCircularList(); +} + /** + * returns the number of nodes inside the linked list + */ + size() { + return this.LinkedListNodes.length; + } + /** + * returns the node at the given index + */ + getNode(index) { + return this.LinkedListNodes[index] + } + /** + * returns the reference of the node that has the given reference + */ + getNodeByReference(reference) { + var resultNode = null; + this.LinkedListNodes.forEach(function(node, index) { + if (node.getReference() === reference.toString()) + resultNode = node; + }); + return resultNode; + } + /** + * return the location of the node with the specified reference + * @param {String} reference the node reference + */ + getNodeLocation(reference) { + var resultNode = null; + this.LinkedListNodes.forEach(function(node, index) { + if (node.getReference() === reference.toString()) + resultNode = index; + }); + return resultNode; + } + /** + * checks if the current linked list is equal to the other linked list + * @param {LinkedList} OtherLinkedList the other linked list that will be compared to the current linked list + */ + equals(OtherLinkedList) { + if (this.size() !== OtherLinkedList.size()) + return false; + for (var i = 0; i < this.size(); i++) { + if (!this.getNode(i).equals(OtherLinkedList.getNode(i))) + return false; + } + return true; + } + /** + * Calculats the difference between this linked list and the other linkedlist + * @param {LinkedList} OtherLinkedList The other linked list that will be compared with this linked list + * @param {Hash} diff Hash table + */ + difference(OtherLinkedList, diff) { + if (this.size() !== OtherLinkedList.size()) { //determine if there is addition or deletion + if (this.size() < OtherLinkedList.size()) + diff.linkedListForStep.size = JSON.stringify({ addNodes: this.size(), To: OtherLinkedList.size() }); + else { + diff.linkedListForStep.size = JSON.stringify({ removeNodes: this.size(), To: OtherLinkedList.size() }); + } + } else { //same size but different nodes + for (var i = 0; i < this.size(); i++) { + if (!this.getNode(i).equals(OtherLinkedList.getNode(i))) { + diff.linkedListForStep.node = {}; + diff = this.getNode(i).difference(OtherLinkedList.getNode(i), diff, i); + } + } + } + return diff; + } + /** + * Removes a node at the specified index + * @param {Integer} index The index of the node that will be removed + */ + removeAt(index) { + this.LinkedListNodes.splice(index, 1); + } + /** + * Check if the linked list is circular or not + */ + checkIfCircularList() { + var circular = true; + if(this.size() > 0){ + if (this.getNode(this.size() - 1).getNext() === null) + circular = false; + this.circularList = circular; + } + else + return false; + } + /** + * returns the true if the list is circular, false otherwise + */ + isCircular() { + return this.circularList; + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedListNode.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedListNode.js new file mode 100644 index 00000000..85a2ab13 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedListNode.js @@ -0,0 +1,81 @@ +/** + * class to initialize a linked list node + */ +class LinkedListNode{ + /** + * Class constructor + * @param {Object} nodeData the data value for the node + * @param {reference} nodeReference The reference value for the pointer + * @param {reference} nodeNext The reference value for the next node in the chain + */ + constructor(nodeData, nodeReference, nodeNext) { + this.nodeData = nodeData; + this.nodeReference = nodeReference; + this.nodeNext = nodeNext; + } + /** + * get the node value + */ + getData() { + return this.nodeData; + } + /** + * set the value of the node + * @param {Object} value the node value + */ + setData(value) { + this.nodeData = value; + } + /** + * get the reference value for the node + */ + getReference() { + return this.nodeReference; + } + /** + * set the reference value for the node + * @param {reference} value the reference value for the node + */ + setReference(value) { + this.nodeReference = value; + } + /** + * get the reference for the next node in the chain + */ + getNext() { + return this.nodeNext; + } + /** + * set the reference for the next node in the chain + * @param {reference} value the reference value for the next node in the chain + */ + setNext(value) { + this.nodeNext = value; + } + /** + * checks if the current node is equal to the other node + * @param {LinkedListNode} OtherNode the other node that will be compared to the current node + */ + equals(OtherNode) { + return (this.nodeData === OtherNode.nodeData && this.nodeReference === OtherNode.nodeReference && + this.nodeNext === OtherNode.nodeNext); + } + /** + * + * Calculats the difference between this linkedlist node and the other linkedlist node + * @param {LinkedListNode} OtherNode The other linked list that will be compared with this linked list + * @param {Hash} diff Hash table + * @param {Integer} index the node index + */ + difference(OtherNode, diff, index) { + var str = null; + if (this.nodeData !== OtherNode.nodeData) + str = { nodeIndex: index, data: this.getData(), To: OtherNode.getData() }; + /*if (this.nodeReference !== OtherNode.nodeReference) + str += '"reference": ' + this.nodeReference + ', "To": ' + OtherNode.nodeReference + '}';*/ + if (this.nodeNext !== OtherNode.nodeNext) + str = { nodeIndex: index, next: this.getNext(), To: OtherNode.getNext() }; + diff.linkedListForStep.node = JSON.stringify(str); + return diff; + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedListPointersForStep.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedListPointersForStep.js new file mode 100644 index 00000000..de566b1f --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/LinkedListPointersForStep.js @@ -0,0 +1,84 @@ +/** + * class to represent the pointers used to point at nodes in the linked list + */ +class LinkedListPointersForStep{ + /** + * class constructor + * @param {TraceStack} traceStackForStep Trace object that represent on step + * @param {LinkedList} LinkedListForStep Linked List for the step + */ + constructor(traceStackForStep, LinkedListForStep) { + this.stepPointers = []; + for (var i = 0; i < traceStackForStep.encodedLocals.length; i++) { + var currentLocal = traceStackForStep.encodedLocals[i]; + if (currentLocal.referenceValue !== null) + this.stepPointers.push(new Pointer(currentLocal.variableName, + currentLocal.referenceValue, + /* LinkedListForStep.getNodeByReference(currentLocal.referenceValue),*/ + LinkedListForStep.getNodeLocation(currentLocal.referenceValue))); + else + this.stepPointers.push(new Pointer(currentLocal.variableName, + currentLocal.referenceValue, + /* null, */ + -1)); + } + } + + /** + * returns the number of pointers in the list + */ + size() { + return this.stepPointers.length; + } + /** + * return the pointer at the specified index + */ + getPointer(index) { + return this.stepPointers[index]; + } + /** + * checks if the current LinkedListPointersForStep is equal to the other LinkedListPointersForStep + * @param {LinkedListPointersForStep} OtherLinkedListPointersForStep the other LinkedListPointersForStep that will be compared to the current LinkedListPointersForStep + */ + equals(OtherLinkedListPointersForStep) { + if (this.size() !== OtherLinkedListPointersForStep.size()) + return false; + for (var i = 0; i < this.size(); i++) { + if (!this.getPointer(i).equals(OtherLinkedListPointersForStep.getPointer(i))) + return false; + } + return true; + } + /** + * Calculats the difference between this linked list pointers and the other linkedlist pointers + * @param {LinkedListPointersForStep} OtherLinkedListPointersForStep The other linked list pointers that will be compared with this linked list pointers + * @param {Hash} diff Hash table + */ + difference(OtherLinkedListPointersForStep, diff) { + if (this.size() !== OtherLinkedListPointersForStep.size()) { + if (this.size() < OtherLinkedListPointersForStep.size()) + diff.pointerForStep.size = JSON.stringify({ addPointers: this.size(), To: OtherLinkedListPointersForStep.size() }); + else + diff.pointerForStep.size = JSON.stringify({ removePointers: this.size(), To: OtherLinkedListPointersForStep.size() }); + } else { //same size put change in pointers locations + for (var i = 0; i < this.size(); i++) { + if (!this.getPointer(i).equals(OtherLinkedListPointersForStep.getPointer(i))) { + diff.pointerForStep.pointer = {}; + diff = this.getPointer(i).difference(OtherLinkedListPointersForStep.getPointer(i), diff, i); + } + } + } + return diff; + } + /** + * creates a new pointer + * @param {String} pointerName the pointer name + * @param {String} pointeeReference the pointer reference value + * @param {Object} LinkedListNodePosition Linked List pointee node poistion + */ + addPointer(pointerName, pointeeReference, LinkedListNodePosition) { + var newnode = new Pointer(pointerName, pointeeReference, LinkedListNodePosition); + this.stepPointers.push(newnode); + return newnode; + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Pointer.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Pointer.js new file mode 100644 index 00000000..f90395fc --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Pointer.js @@ -0,0 +1,127 @@ +/** + * Class to represent any pointer that will be used in the visualizations + */ +class Pointer +{ +/** + * constructor to initialize a pointer to a linked list node + * @param {String} pointerName pointer name + * @param {reference} pointeeReference the reference for pointee node + * @param {reference} linkedNodePosition pointee position + */ + constructor(pointerName, pointeeReference /*, pointerPointee*/ , linkedNodePosition) { + this.pointerName = pointerName; + this.pointeeReference = pointeeReference; + //this.pointerPointee = pointerPointee; + this.LinkedNodePosition = linkedNodePosition; + this.JsavPointer = null; + } + + clone() { + return new Pointer(this.pointerName, this.pointeeReference, this.linkedNodePosition); + } + /** + * get pointer name + */ + getName(){ + return this.pointerName; + } + /** + * set pointer name + * @param {String} value pointer name value + */ + setName(value) { + this.pointerName = value; + } + /** + * get the pointer memory reference value + */ + getPointeeReference() { + return this.pointeeReference; + } + /** + * set the pointer memory reference value + * @param {reference} value pointer memory reference value + */ + setPointeeReference(value) { + this.pointeeReference = value; + } + /** + * get the linked list node pointee index + */ + getPointeePosition() { + return this.LinkedNodePosition; + } + /** + * set the linked list node pointee index + * @param {Integer} value the linked list node pointee index + */ + setPointeePosition(value) { + this.LinkedNodePosition = value; + } + /** + * checks if the current pointer is equal to the other pointer + * @param {Pointer} OtherPointer the other pointer that will be compared to the current pointer + */ + equals(OtherPointer) { + return (this.pointerName === OtherPointer.pointerName && + this.pointeeReference === OtherPointer.pointeeReference && + /* this.pointerPointee.equals(OtherPointer.pointerPointee) &&*/ + this.LinkedNodePosition === OtherPointer.LinkedNodePosition); + } + difference(OtherPointer, diff, index) { + var str = null; + if (this.pointerName !== OtherPointer.pointerName) + str = { pointerIndex: index, name: this.pointerName, To: OtherPointer.pointerName }; + else if (this.pointeeReference !== OtherPointer.pointeeReference) + str = { pointerIndex: index, reference: this.pointeeReference, To: OtherPointer.pointeeReference }; + //the below is commented as we do not need to check if the location is changed or not as if the reference changed then the location will change + //and if the reference did not change this means that the list has some addition or deletion and the code will handel this change + else if (this.LinkedNodePosition !== OtherPointer.LinkedNodePosition) + str = { pointerIndex: index, nodePosition: this.LinkedNodePosition, To: OtherPointer.LinkedNodePosition }; + diff.pointerForStep.pointer = JSON.stringify(str); + return diff; + } + drawPointer(av, JsavLinkedList, pointersForVisualization = null) { + var left = 0; + if(pointersForVisualization !== null) + { + for(var i = 0; i< pointersForVisualization.size(); i++) + { + if(pointersForVisualization.getPointer(i).getName() != this.getName() && + pointersForVisualization.getPointer(i).getPointeePosition() === this.getPointeePosition()) + left+=25; + } + } + if (this.getPointeePosition() !== -1) { + if (this.JsavPointer === null) + this.JsavPointer = av.pointer(this.getName(), JsavLinkedList.get(this.getPointeePosition()), {left: left}); + else + this.JsavPointer.target(JsavLinkedList.get(this.getPointeePosition()),{left: left}); + } else {//draw null pointer + if (this.JsavPointer === null) { + this.JsavPointer = av.pointer(this.getName(), JsavLinkedList, {anchor:"center bottom", myAnchor:"right top",top:0, left:-35, arrowAnchor: "center bottom"}); + } + this.JsavPointer.target(null); + } + } + movePointerToNewNode(nodeIndex, toPointeeReference, JsavLinkedList, av, pointersForVisualization) { + this.setPointeePosition(nodeIndex); + this.setPointeeReference(toPointeeReference); + //pointer.setPointee(newNode); + this.drawPointer(av, JsavLinkedList, pointersForVisualization); + } + movePointerToSeparateNode(node, reference, av) { + this.setPointeePosition(-1); //we do not know the index of this node yet + this.setPointeeReference(reference); + if (this.JsavPointer === null) + this.JsavPointer = av.pointer(this.getName(), node); + else + this.JsavPointer.target(node); + } + makeNull(av, JsavLinkedList) { + this.setPointeePosition(-1); + this.setPointeeReference(null); + this.drawPointer(av, JsavLinkedList); + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/StudentCode.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/StudentCode.js new file mode 100644 index 00000000..3a50769b --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/StudentCode.js @@ -0,0 +1,67 @@ +/** + * class to represent the code written by students + */ +class StudentCode{ + /** + * class constructor + * @param {String} code string that contains the student solution + */ + constructor(code) { + this.code = this.filterCode(code); + } + /** + * remove empty lines + */ + filterCode(code) { + var lines = code.split('\n'); + var newLines = []; + var tabs = 0; + lines.forEach(function(line) { + if (line === '}') + tabs--; + if (line.trim() !== "") { + for (var i = 0; i < tabs; i++) + line = ' ' + line; + newLines.push(line); + } + if (line === '{') + tabs++; + + }); + newLines.push('return statement'); + if (newLines.length > 1) + return newLines.join('\n'); + else + return newLines[0]; + } + /** + * returns the code line based on the line number + */ + getCodeAtLine(lineNumber) { + var line = null; + this.code.forEach(function(element, index) { + if (index === lineNumber) { + line = element; + } + }); + return line; + } + /** + * returns the line number for the given code + */ + getCodeLineNumber(codeLine) { + var line = null; + this.code.forEach(function(element, index) { + if (element === codeLine) { + line = index; + } + }); + return line; + } + /** + * returns the student code. + */ + getCode() { + return this.code; + } +} \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Trace.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Trace.js new file mode 100644 index 00000000..6bf9337e --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Trace.js @@ -0,0 +1,18 @@ +/** + * class to represent a single trace item + */ +class Trace{ + /** + * class constructor + * @param {Object} trace trace item + */ + constructor(trace) { + this.trace = trace; + this.traceCode = trace.code; + this.traceCodeLineNumber = trace.lineNumber; + this.traceStack = new TraceStack(trace.stack); + this.traceHeap = []; + for (var key in trace.heap) + this.traceHeap.push(new TraceHeap(key, trace.heap[key])); +} +} \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceHeap.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceHeap.js new file mode 100644 index 00000000..af9b90eb --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceHeap.js @@ -0,0 +1,19 @@ +/** + * class to represent a trace heap element + */ +class TraceHeap{ + /** + * class constructor + * @param {reference} key the reference value of the current heap element + * @param {List} value the list of values of the current heap element + */ + constructor(key, value) { + this.reference = key; + this.value = null; + if (value[1] === "Link") { //link class value + this.value = new LinkClassValue(value[2], value[3]); + } else { //new classes not implemented yet + window.alert("Other Classes"); + } +} +} \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceList.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceList.js new file mode 100644 index 00000000..5a3e7c4c --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceList.js @@ -0,0 +1,51 @@ +/** + * class that represents the OpenPOP trace + */ +class TraceList{ + /** + * Class constructor + * @param {Object} traceList Object that represents the OpenPOP trace + */ +constructor(traceList) { + this.listOfTraces = []; + for (var i = 0; i<traceList[0].length; i++) { + var trace = traceList[0][i]; + this.listOfTraces.push(new Trace(trace)); + } + } + + /** + * get the number of traces + */ + size() { + return this.listOfTraces.length; + } + /** + * get the trace item at the specified index + */ + getTraceItem(index) { + if (index < this.size()) + return this.listOfTraces[index]; + } + /** + * get the code for the trace item at the specified index + */ + getTraceCode(index) { + if (index < this.size()) + return this.listOfTraces[index].traceCode; + } + /** + * get the stack for the trace at the specified index + */ + getTraceStack(index) { + if (index < this.size()) + return this.listOfTraces[index].traceStack; + } + /** + * get the heap for the trace at the specified index + */ + getTraceHeap(index) { + if (index < this.size()) + return this.listOfTraces[index].traceHeap; + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceStack.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceStack.js new file mode 100644 index 00000000..a9d535b6 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/TraceStack.js @@ -0,0 +1,22 @@ +/** + * class to represent the trace stack + */ +class TraceStack{ + /** + * class constructor + * @param {Object} traceStack the trace stack value + */ + constructor(traceStack) { + this.orderedVariableNames = traceStack.ordered_variable_names; + this.encodedLocals = []; + for (var key in traceStack.encoded_locals) { + this.encodedLocals.push(new EncodedLocal(key, traceStack.encoded_locals[key])); + } +} + /** + * returns the specified encoded local at the given index + */ + getEncodedLocals(index) { + return this.encodedLocals[index]; + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Visualization.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Visualization.js new file mode 100644 index 00000000..4e926fd3 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/Visualization.js @@ -0,0 +1,486 @@ +/** + * create all step for the visualization + * @param {TraceList} traces list of all traces + */ +class Visualization{ + constructor(traces, code) { + this.steps = []; + this.code = code; + for (var i = 0; i < traces.size(); i++) { + this.steps.push(new VisualizationStep(traces.getTraceItem(i))); + } + var linkedListForStep = new LinkedList(traces.getTraceItem(0).traceHeap); + this.pointersForVisualization = new LinkedListPointersForStep(traces.getTraceItem(0).traceStack, linkedListForStep); + this.currentStep = 0; + this.visualizer = new JSAV($('.avcontainer')); + this.codeObject = this.visualizer.code(code.getCode(), { top: 40, left: 50 }); + this.codeObject.show(); + this.drawInitialState(); + this.visualizeAllSteps(); + this.drawFinalState(); +} + /** + * returns the current step + */ + getCurrentStep() { + return this.steps[this.currentStep]; + } + getCurrentIndex() { + return this.currentStep; + } + /** + * 1- check change in the linked list number, values, order + 2- check change in pointers pointee (becomes null), position, add new pointer + return the step with the next step with the change or the last step (return statement step) + */ + getNextStep() { + if (this.currentStep < this.size() - 1) { + while (this.currentStep < this.size() - 1) { + var nextStep = this.steps[this.currentStep + 1]; + var currentStep = this.steps[this.currentStep]; + this.currentStep++; + if (!currentStep.equals(nextStep)) + return nextStep; + } + if (this.currentStep == this.size() - 1) //return the last step (return statement step) + if (!currentStep.equals(nextStep)) //if they are not equal then return the step + return nextStep; + else + return null; + } else + window.alert("Steps Out of Bound"); + } + /** + * reset the current step value + */ + resetSteps() { + this.currentStep = 0; + } + /** + * returns the total number of steps + */ + size() { + return this.steps.length; + } + /** + * returns the specified step based on the given index + * @param {Integer} index the step index + */ + getStep(index) { + if (index < this.size()) + return this.steps[index]; + } + /** + * use the diff to identify the changes. The changes are in the form of Json object string + */ + determineTheChange(diff) { + var listOfChanges = []; + if (diff.hasOwnProperty('linkedListForStep')) { //this means there is a change in the linked lists + if (diff.linkedListForStep.hasOwnProperty('size')) { //change in the list size means that a node added or deleted + listOfChanges.push(diff.linkedListForStep.size); + } + if (diff.linkedListForStep.hasOwnProperty('node')) { //change in nodes + listOfChanges.push(diff.linkedListForStep.node); + } + } + if (diff.hasOwnProperty('pointerForStep')) { //this means there is a change in the pointers + if (diff.pointerForStep.hasOwnProperty('size')) { //change in the number of pointers, means add new pointer or remove a pointer + listOfChanges.push(diff.pointerForStep.size); + } + if (diff.pointerForStep.hasOwnProperty('pointer')) { //change in pointer it self, change its name, location, ... + listOfChanges.push(diff.pointerForStep.pointer); + } + + } + return listOfChanges; + } + /** + * Draws the initial configuration + */ + drawInitialState() { + this.JsavLinkedList = new JsavLinkedListObject(this.codeObject, this.visualizer); + var initialLinkedList = this.steps[0].getLinkedListForStep(); + for (var i = 0; i < initialLinkedList.size(); i++) { + this.JsavLinkedList.addLast(initialLinkedList.getNode(i).getData(), initialLinkedList.getNode(i).getReference()); + } + if (initialLinkedList.isCircular()) + this.JsavLinkedList.circular = true; + this.JsavLinkedList.layout(); + var initialPointers = this.pointersForVisualization; + for (i = 0; i < initialPointers.size(); i++) { + var pointer = initialPointers.getPointer(i); + if (pointer.getPointeeReference() === null) + this.nullifyPointer(i); + else + pointer.drawPointer(this.visualizer, this.JsavLinkedList.getJsavLinkedList()); + + } + this.visualizer.umsg("Initial Configuration"); + this.codeObject.setCurrentLine(0); + this.visualizer.displayInit(); + } + /** + * Draws the final configuration + */ + drawFinalState() { + this.visualizer.umsg("Final Configuration"); + var lastStep = this.steps[this.size() - 1]; + this.codeObject.setCurrentLine(lastStep.getStepCodeLineNumber()); + this.visualizer.recorded(); + } + /** + * move a pointer based on its index inside the list of pointers for a step, to any position in the linked list + * @param {Integer} pointerIndex pointer index inside the list of pointers for a step + * @param {Integer} toIndex the index for a node in the Linked list to be pointed by the pointer + */ + movePointer(pointerIndex, toIndex, toPointeeReference) { + var pointer = this.pointersForVisualization.getPointer(pointerIndex); + if (toIndex !== -1) { + pointer.movePointerToNewNode(toIndex, toPointeeReference, this.JsavLinkedList.getJsavLinkedList(), this.visualizer, this.pointersForVisualization); + this.visualizer.umsg('change pointer ' + pointer.getName(0) + ' pointee'); + //this.JsavLinkedList.layout(); + } else //make the pointer null + pointer.makeNull(this.visualizer); + } + /** + * function to make pointer pointes to a node that is not in the list + */ + movePointerToSeparateNode(pointerIndex, node, nodeReference) { + var pointer = this.pointersForVisualization.getPointer(pointerIndex); + pointer.movePointerToSeparateNode(node, nodeReference, this.visualizer); + this.visualizer.umsg('change pointer ' + pointer.getName(0) + ' pointee'); + this.JsavLinkedList.layout(); + } + /** + * Make the pointer value to null and visualize it appropriately + * @param {Integer} pointerIndex the index of the pointer + */ + nullifyPointer(pointerIndex) { + var pointer = this.pointersForVisualization.getPointer(pointerIndex); + this.visualizer.umsg("Pointer " + pointer.getName() + " points to NULL"); + pointer.makeNull(this.visualizer, this.JsavLinkedList.getJsavLinkedList()); + //if there is a node pointed only by this pointer, it should be removed from the list + } + /** + * Visualizes all steps. + */ + visualizeAllSteps() { + while (this.currentStep < this.size() - 1) { + var current = this.getCurrentStep(); + var index = this.getCurrentIndex(); + var next = this.getNextStep(); + if(next != null){ + this.visualizeChanges(current, next); + //FIX ME temp solution to code line number issue + var lineNumber = next.getStepCodeLineNumber(); + this.codeObject.setCurrentLine(lineNumber > 1 ? lineNumber - 1 : lineNumber); + this.visualizer.step(); + } + } + } + /** + * Visualize the change from the current step to the next step + * @param {VisualizationStep} current the current step + * @param {VisualizationStep} next the next step + */ + visualizeChanges(current, next) { + var diff = current.difference(next); + var str = this.determineTheChange(diff); + var value = str[0]; + var changeObject = JSON.parse(value); + if (changeObject.hasOwnProperty('pointerIndex') || changeObject.hasOwnProperty('addPointers')) + this.visualizePointers(current, changeObject); + else if (changeObject.hasOwnProperty('nodeIndex')) + this.visualizeLinkedListNodes(current, next, changeObject); + else if (changeObject.hasOwnProperty('removeNodes')) { + if (str.length > 1) { //means that there is another change in the list + for (var i = 1; i < str.length; i++) { //search for a pointer change + var anotherValue = str[i]; + if (anotherValue !== "IGNORE") { + var anotherChange = JSON.parse(anotherValue); + if (anotherChange.hasOwnProperty('pointerIndex')) { //found + this.remove_nodesFromTheList(current, next, changeObject, anotherChange); + } + } else + this.remove_nodesFromTheList(current, next, changeObject, null); + } + } else + this.remove_nodesFromTheList(current, next, changeObject, null); + } else if (changeObject.hasOwnProperty('addNodes')) { + if (str.length > 1) + for (var i = 1; i < str.length; i++) { //search for a pointer change + var anotherValue = str[i]; + var anotherChange = JSON.parse(anotherValue); + if (anotherChange.hasOwnProperty('pointerIndex')) { //found + this.add_nodesToTheList(current, next, changeObject, anotherChange); + } + } + else + this.add_nodesToTheList(current, next, changeObject, null); + } else + window.alert("Other Type of Change"); + + } + /** + * Visualizes the pointers based on the current visualization step + * @param {VisualizationStep} current the current visualization step + * @param {Hash} changeObject Hash table that contains the changes to be applied on pointers + */ + visualizePointers(current, changeObject) { + if (changeObject.hasOwnProperty('pointerIndex')) { + if (changeObject.hasOwnProperty('reference')) { + if (changeObject.To === null) { + this.nullifyPointer(changeObject.pointerIndex); + } else { + var toReference = changeObject.To; + var node = current.getLinkedListForStep().getNodeByReference(toReference.toString()); + var nodeLocation = current.getLinkedListForStep().getNodeLocation(toReference.toString()); + var NodeIndex = this.JsavLinkedList.getNodeIndexByReference(node.getReference()); + this.movePointer(changeObject.pointerIndex, NodeIndex, toReference.toString()); + } + } else { + var toIndex = changeObject.To; + var pointerIndex = changeObject.pointerIndex; + if (toIndex === -1) + this.nullifyPointer(pointerIndex); + else { + var node = current.getLinkedListForStep().getNode(toIndex); + this.movePointer(pointerIndex, node.getReference(), toIndex); + } + } + } else if (changeObject.hasOwnProperty('addPointers')) { + this.addNewPointerAndVisualizeIt(changeObject); + } + } + /** + * Visualizes the change in the order of nodes (next values), or the values of nodes + * @param {VisualizationStep} current the current visualization step + * @param {VisualizationStep} next the next visualization step + * @param {Hash} changeObject Hash table that contains the changes to be applied on list nodes + */ + visualizeLinkedListNodes(current, next, changeObject) { + if (changeObject.hasOwnProperty('data')) { //change of node data values + var nodeIndex = changeObject.nodeIndex; + var newData = changeObject.To; + this.visualizer.umsg("Change the value of node number " + nodeIndex + " From: " + this.JsavLinkedList.get(nodeIndex).value() + " To: " + newData); + this.JsavLinkedList.get(nodeIndex).value(newData); + } else if (changeObject.hasOwnProperty('next')) { + //first check if the node is part of the list or not + var partOfTheList = false; + var nodeIndex = changeObject.nodeIndex; + var node = current.getLinkedListForStep().getNode(nodeIndex); + for (var i = 0; i < current.getLinkedListForStep().size(); i++) { + var listNode = current.getLinkedListForStep().getNode(i); + if (listNode.getNext() !== null && listNode.getNext().toString() === node.getReference()) + partOfTheList = true; + } + if (!partOfTheList) { + var newNode = this.JsavLinkedList.getNodeNotPartOfTheListByData(current.getLinkedListForStep().getNode(nodeIndex).getData()); + var nextIndex = current.getLinkedListForStep().getNodeLocation(changeObject.To.toString()); + if (nextIndex == 0) { //add the new node at first + this.JsavLinkedList.addFirst(newNode, current.getLinkedListForStep().getNode(nodeIndex).getReference()); + this.JsavLinkedList.layout(); + this.visualizer.umsg("add the node with value " + current.getLinkedListForStep().getNode(nodeIndex).getData() + " at the first position in the list"); + //correct all lists as the + } else + newNode.next(this.JsavLinkedList.get(nextIndex)); + + } else if (!current.getLinkedListForStep().isCircular() && next.getLinkedListForStep().isCircular()) //make the linked list circular + { + this.JsavLinkedList.circular = true; + this.JsavLinkedList.layout(changeObject.To.toString()); + this.visualizer.umsg("set the next link for the node with value " + current.getLinkedListForStep().getNode(changeObject.nodeIndex).getData() + " to the node with value " + + next.getLinkedListForStep().getNodeByReference(changeObject.To).getData()); + } else if (current.getLinkedListForStep().isCircular() && !next.getLinkedListForStep().isCircular()) { //remove the circular edge + //implement me + window.alert("implement Me"); + } else if (changeObject.To === null) { //remove the next link + var jsavNode = this.JsavLinkedList.get(changeObject.nodeIndex); + jsavNode.next(null); + jsavNode.edgeToNext().hide(); + this.visualizer.umsg("set the next link for the node with value " + current.getLinkedListForStep().getNode(changeObject.nodeIndex).getData() + " to null"); + } + } + } + /** + * There is a change in the number of nodes inside the list. So, we need to detect, apply and visualize the change + * @param {VisualizationStep} current the current visualization step + * @param {VisualizationStep} next the next visualization step + * @param {Hash} changeObject Hash table that contains the changes to be applied on list nodes + * @param {Hash} pointerChange Hash table that contains the changes to be applied on pointers + */ + remove_nodesFromTheList(current, next, changeObject, pointerChange) { + var removedNodes = current.getLinkedListForStep().LinkedListNodes. + filter(comparer(next.getLinkedListForStep().LinkedListNodes)); + if (changeObject.To === 0) //means that the list will be null + { + for (var i = 0; i < this.pointersForVisualization.size(); i++) //make all pointers to null + this.nullifyPointer(i); + for (i = current.getLinkedListForStep().size() - 1; i >= 0; i--) { + this.JsavLinkedList.remove(i); + //Update the current Linked List stpe nodes + current.getLinkedListForStep().removeAt(i); + } + return; + } + //We need to determine if we should remove first or move the pointer first + //if the pointer pointes to a node after a removed node so it is normal to see a change in the index of the node + //if it points to a node before the removed one so we should apply the pointer change + + var after = false; + if(pointerChange!== null){ + var oldPointerPointeeIndex = pointerChange.nodePosition; + var differenceInIndices = pointerChange.nodePosition - pointerChange.To; + for (var i = 0; i < removedNodes.length; i++) { + var node = removedNodes[i]; + var nodeIndex = current.getLinkedListForStep().getNodeLocation(node.getReference()); + if (nodeIndex < oldPointerPointeeIndex) + differenceInIndices--; + } + } + if (pointerChange !== null && differenceInIndices !== 0) { + var pointer = this.pointersForVisualization.getPointer(pointerChange.pointerIndex); + var toIndex = -1; + if (pointerChange.hasOwnProperty('nodeReference')) + toIndex = current.getLinkedListForStep().getNodeLocation(pointerChange.To); + else if (pointerChange.hasOwnProperty('nodePosition')) + toIndex = current.getLinkedListForStep().getNode(pointerChange.To); + this.movePointer(pointerChange.pointerIndex, toIndex, pointerChange.To); + this.visualizer.step(); + pointerChange = null; //done + } + //remove every node from the linked list + for (var i = 0; i < removedNodes.length; i++) { + var node = removedNodes[i]; + var nodeIndex = current.getLinkedListForStep().getNodeLocation(node.getReference()); + if (nodeIndex != 0) { //means that the node is in the middle of the list. So, we need to visualize the remove + var parentNode = this.JsavLinkedList.get(nodeIndex - 1); + parentNode.edgeToNext().hide(); + var edge = this.JsavLinkedList.connection(parentNode.element, this.JsavLinkedList.get(nodeIndex + 1).element); + edge.show(); + this.visualizer.umsg("change the next of the node with value " + current.getLinkedListForStep().getNode(nodeIndex - 1).getData() + " to point to the node with value " + + current.getLinkedListForStep().getNode(nodeIndex + 1).getData()); + this.visualizer.step(); + edge.hide(); + } + this.visualizer.umsg('remove node with data equals ' + current.getLinkedListForStep().getNode(nodeIndex).getData()); + this.JsavLinkedList.remove(nodeIndex); + //Update the current Linked List stpe nodes + current.getLinkedListForStep().removeAt(nodeIndex); + this.JsavLinkedList.layout(); + if (i !== removedNodes.length - 1) + this.visualizer.step(); + } + //correct the indices of pointers pointee location. The difference occurred due to deleted nodes + this.correctPointersForVisualization(next); + } + /** + * Adds a node the the current Visualized linked list and visualize the addition + * @param {VisualizationStep} current the current visualization step + * @param {VisualizationStep} next the next visualization step + * @param {Hash} changeObject Hash table that contains the changes to be applied on list nodes + * @param {Hash} pointerChange Hash table that contains the changes to be applied on pointers + */ + add_nodesToTheList(current, next, changeObject, pointerChange) { + var addedNodes = next.getLinkedListForStep().LinkedListNodes.filter(comparer(current.getLinkedListForStep().LinkedListNodes)); + for (var i = 0; i < addedNodes.length; i++) { + var node = addedNodes[i]; + var nodeIndex = next.getLinkedListForStep().getNodeLocation(node.getReference()); + //if this new node is not pointed by any other node, so this node is not in the list + var partOfTheList = false; + if(current.getLinkedListForStep().size() > 0){ + var newNodeReference = node.getReference(); + for (var j = 0; j < next.getLinkedListForStep().size(); j++) { + if (j !== nodeIndex) { + if (next.getLinkedListForStep().getNode(j).getNext() !== null && + next.getLinkedListForStep().getNode(j).getNext().toString() === newNodeReference) + partOfTheList = true; + } + } + + if (!partOfTheList) { //means that the node is either will be added at the beginning of the list or the node is separate from the list + //check to see if the node will be added in the beginning of the list + var atBeginning = false; + var node = addedNodes[i]; + if(node.getNext() !== null){ + for (var j = 0; j < next.getLinkedListForStep().size(); j++) { + if (j !== nodeIndex) { + if (next.getLinkedListForStep().getNode(j).getNext() !== null && + next.getLinkedListForStep().getNode(j).getReference().toString() === node.getNext().toString()) + atBeginning = true; + } + } + } + if (atBeginning) { + this.JsavLinkedList.addFirst(node.getData(), node.getReference()); + + this.JsavLinkedList.layout(); + this.visualizer.umsg("add new node with value " + node.getData() + " at the beginning of the list"); + } else { //means the node is separated from the list + var newNode = this.JsavLinkedList.newNode(node.getData()); + newNode.css({ + top: +100, + left: 0 //first + }); + } + if (pointerChange.hasOwnProperty('reference') && pointerChange.To.toString() === newNodeReference) { + if (atBeginning) { + this.visualizer.step(); + this.movePointer(pointerChange.pointerIndex, 0, node.getReference()); + } else { + this.movePointerToSeparateNode(pointerChange.pointerIndex, newNode, newNodeReference); + } + this.visualizer.umsg("make pointer " + this.pointersForVisualization.getPointer(pointerChange.pointerIndex).getName() + " points to node with value " + node.getData()); + pointerChange = null; //to prevent re-displaying the pointer latter in this function + } + } else { + this.JsavLinkedList.add(nodeIndex, node.getData(), node.getReference()); + this.visualizer.umsg("Create new Node with data value " + node.getData() + ' and add it to the list at location ' + nodeIndex); + this.JsavLinkedList.layout(); + } + } + else{ + this.JsavLinkedList.add(nodeIndex, node.getData(), node.getReference()); + this.visualizer.umsg("Create new Node with data value " + node.getData() + ' and add it to the list at location ' + nodeIndex); + this.JsavLinkedList.layout(); + } + } + //now if there is a change in pointers we will visualize it + if (pointerChange !== null) { + if (pointerChange.hasOwnProperty('reference')) { + var toIndex = next.getLinkedListForStep().getNodeLocation(pointerChange.To); + this.visualizer.step(); + + this.movePointer(pointerChange.pointerIndex, toIndex, pointerChange.To); + } + } + } + /** + * modify the pointers references and pointee location for the next step + * @param {VisualizationStep} nextStep the next step to be used to correct the pointers in the current visualized linked list + */ + correctPointersForVisualization(nextStep) { + for (var i = 0; i < this.pointersForVisualization.size(); i++) { + var pointer = this.pointersForVisualization.getPointer(i); + var nextStepPointer = nextStep.getPointersForStep().getPointer(i); + if (pointer.getName() === nextStepPointer.getName()) { + pointer.setPointeePosition(nextStepPointer.getPointeePosition()); + pointer.setPointeeReference(nextStepPointer.getPointeeReference()); + } else + window.alert("LOOK AT ME"); + } + } + /** + * Adds new pointer to the visualized linked list. + * @param {Hash} changeObject Hash table that contains the changes to be applied on list nodes + */ + addNewPointerAndVisualizeIt(changeObject) { + var currentList = this.getCurrentStep().getPointersForStep(); + var newPointer = currentList.getPointer(changeObject.addPointers); + newPointer = this.pointersForVisualization.addPointer(newPointer.getName(), + newPointer.getPointeeReference(), + newPointer.getPointeePosition()); + this.visualizer.umsg('add new pointer ' + newPointer.getName()); + newPointer.drawPointer(this.visualizer, this.JsavLinkedList.getJsavLinkedList(), this.pointersForVisualization); + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/VisualizationStep.js b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/VisualizationStep.js new file mode 100644 index 00000000..e8fbd96e --- /dev/null +++ b/app/assets/javascripts/OpenPOP/LinkedListVisualizationCode/VisualizationStep.js @@ -0,0 +1,61 @@ +/** + * classes for the visualization steps + * @param {Trace} traceForStep the trace object correspond to a single step + */ +class VisualizationStep{ +constructor(traceForStep) { + this.traceForStep = traceForStep; + this.linkedListForStep = new LinkedList(traceForStep.traceHeap); + this.pointerForStep = new LinkedListPointersForStep(traceForStep.traceStack, this.linkedListForStep); + this.stepCodeLine = traceForStep.traceCode; + this.stepCodeLineNumber = traceForStep.traceCodeLineNumber; + } + /** + * gets the linked list for this step + */ + getLinkedListForStep() { + return this.linkedListForStep; + } + /** + * gets the pointers for this step + */ + getPointersForStep() { + return this.pointerForStep; + } + /** + * gets the code for this step + */ + getStepCode() { + return this.stepCodeLine; + } + /** + * checks if the current VisualizationStep is equal to the other VisualizationStep + * @param {VisualizationStep} OtherVisualizationStep the other VisualizationStep that will be compared to the current VisualizationStep + */ + equals(OtherVisualizationStep) { + return (this.linkedListForStep.equals(OtherVisualizationStep.linkedListForStep) && + this.pointerForStep.equals(OtherVisualizationStep.pointerForStep)); + } + /** + * calculate the difference between the current step and the next step + * @param {VisualizationStep} next the next step + */ + difference(next) { + var diff = {}; + if (!this.linkedListForStep.equals(next.linkedListForStep)) { + diff.linkedListForStep = {}; + diff = this.linkedListForStep.difference(next.linkedListForStep, diff); + } + if (!this.pointerForStep.equals(next.pointerForStep)) { + diff.pointerForStep = {}; + diff = this.pointerForStep.difference(next.pointerForStep, diff); + } + return diff; + } + /** + * returns the current step code line number + */ + getStepCodeLineNumber() { + return this.stepCodeLineNumber; + } +}; \ No newline at end of file diff --git a/app/assets/javascripts/OpenPOP/answers.coffee b/app/assets/javascripts/OpenPOP/answers.coffee new file mode 100644 index 00000000..24f83d18 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/answers.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://coffeescript.org/ diff --git a/app/assets/javascripts/OpenPOP/cable.js b/app/assets/javascripts/OpenPOP/cable.js new file mode 100644 index 00000000..8ba066de --- /dev/null +++ b/app/assets/javascripts/OpenPOP/cable.js @@ -0,0 +1,13 @@ +// Action Cable provides the framework to deal with WebSockets in Rails. +// You can generate new channels where WebSocket features live using the `rails generate channel` command. +// +// require action_cable +//= require_self +//= require_tree ./channels + +(function() { + this.App || (this.App = {}); + + App.cable = ActionCable.createConsumer(); + +}).call(this); diff --git a/app/assets/javascripts/OpenPOP/exercises.coffee b/app/assets/javascripts/OpenPOP/exercises.coffee new file mode 100644 index 00000000..24f83d18 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/exercises.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://coffeescript.org/ diff --git a/app/assets/javascripts/OpenPOP/hooks.js b/app/assets/javascripts/OpenPOP/hooks.js new file mode 100644 index 00000000..1e4fa49e --- /dev/null +++ b/app/assets/javascripts/OpenPOP/hooks.js @@ -0,0 +1,71 @@ +/* API for adding a hook, created by David Pritchard + + An external user should call +add_pytutor_hook("hook_name_here", function(args) {...}) + args will be a javascript object with several named properties; + this is meant to be similar to Python's keyword arguments. + + The hooked function should return an array whose first element is a boolean: + true if it completely handled the situation (no further hooks + nor the base function should be called); false otherwise (wasn't handled). + If the hook semantically represents a function that returns something, + the second value of the returned array is that semantic return value. + + E.g. for the Java visualizer a simplified version of a hook we use is: + +add_pytutor_hook( + "isPrimitiveType", + function(args) { + var obj = args.obj; // unpack + if (obj instanceof Array && obj[0] == "CHAR-LITERAL") + return [true, true]; // yes we handled it, yes it's primitive + return [false]; // didn't handle it, let someone else + }); + + Hook callbacks can return false or undefined (i.e. no return + value) in lieu of [false]. + + NB: If multiple functions are added to a hook, the oldest goes first. +*/ + +var add_pytutor_hook = function(hook_name, func) { + if (pytutor_hooks[hook_name]) + pytutor_hooks[hook_name].push(); + else + pytutor_hooks[hook_name] = [func]; +} + +// this is global in order to reach static functions like isPrimitiveType +var pytutor_hooks = {}; // keys, hook names; values, list of functions + +/* +try_hook(hook_name, args): how the internal codebase invokes a hook. + args will be a javascript object with several named properties; + this is meant to be similar to Python's keyword arguments. + E.g., + +function isPrimitiveType(obj) { + var hook_result = try_hook("isPrimitiveType", {obj:obj}); + if (hook_result[0]) return hook_result[1]; + // go on as normal if the hook didn't handle it + + Although add_pytutor_hook allows the hooked function to + return false or undefined, try_hook will always return + something with the strict format [false], [true] or [true, ...]. +*/ + +var try_hook = function(hook_name, args) { + if (pytutor_hooks[hook_name]) { + for (var i=0; i<pytutor_hooks[hook_name].length; i++) { + + // apply w/o "this", and pack sole arg into array as required by apply + var handled_and_result + = pytutor_hooks[hook_name][i].apply(null, [args]); + + if (handled_and_result && handled_and_result[0]) + return handled_and_result; + } + } + return [false]; +} + diff --git a/app/assets/javascripts/OpenPOP/trace.coffee b/app/assets/javascripts/OpenPOP/trace.coffee new file mode 100644 index 00000000..24f83d18 --- /dev/null +++ b/app/assets/javascripts/OpenPOP/trace.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://coffeescript.org/ diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 4cb5185e..ea9008fa 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -33,6 +33,11 @@ //= require student_search //= require workout_form //= require flatpickr +// +//-----------------OpenPOP---------------------------- +// require rails-ujs +// require turbolinks +//= require_tree ./OpenPOP // Add the route helpers directly into the window object for easy access. $.extend(window, Routes); diff --git a/app/assets/stylesheets/OpenPOP/JSAV.css b/app/assets/stylesheets/OpenPOP/JSAV.css new file mode 100644 index 00000000..d5afe92b --- /dev/null +++ b/app/assets/stylesheets/OpenPOP/JSAV.css @@ -0,0 +1,844 @@ +.jsavcontainer { + overflow:hidden; + width: auto; + padding: 0.7em; + border: 1px solid black; + background-color: white; + position: relative; + /* prevent text selection within container */ + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.jsavcanvas { + position: relative; + background-color: inherit; + overflow-x: auto; +} + +.jsavnode { + width: 45px; + height: 45px; + text-align: center; + border: 1px solid black; + background-color: white; + color: black; + opacity: 1; + padding: 0; + /* prevent text cursor on nodes*/ + cursor: default; + /* add a subtle shadow to nodes */ + box-shadow: 2px 2px 5px rgba(120, 120, 120, 0.5); +} +.jsavcenter { + margin-left: auto; + margin-right: auto; +} + +.jsavarray, .jsavlabel, .jsavcode, .jsavlist, .jsavtree, .jsavgraph, .jsavmatrix { + margin-top: 1em; + margin-bottom: 1em; +} +.jsavhighlight, .jsavarray.jsavbararray .jsavindex.jsavhighlight .jsavvalue, .jsavvariable.jsavhighlight .jsavvalue { + background-color: yellow !important; + color: black !important; +} + +.jsavvalue { + /* FF doesn't respect 100% here when using display: table so have to fix the height */ + height: 45px; + width: 100%; + min-height: inherit; + min-width: inherit; + background-color: transparent; + display: table; + border-radius: inherit; +} + +.jsavvaluelabel { + display: table-cell; + vertical-align: middle; +} + +.jsavautoresize .jsavnode { + width: auto; + min-width: 45px; + height: auto; + min-height: 45px; +} + +/***** STYLING OF THE ARRAY DATA STRUCTURE *****/ +.jsavarray { + position: relative; + list-style: none; + min-height: 50px; + padding: 0; + clear:both; + white-space: nowrap; + -webkit-transform-style: preserve-3d; +} +.jsavarray * { + -webkit-transform-style: preserve-3d; +} +.jsavarray:after { + content: ""; + clear: both; + display: block; +} +.jsavindexlabel { + width: 100%; + height: 25px; + line-height: 25px; + color: black; + position: absolute; + vertical-align: middle; +} +.jsavindex { + box-sizing: border-box; +} +.jsavindex span { + z-index: 99; +} +.jsavhorizontalarray .jsavindex { + display: inline-block; + position: relative; +} +/* remove right borders from everything but the last index */ +.jsavhorizontalarray .jsavindex:not(:last-of-type) { + border-right: none; +} +.jsavhorizontalarray .jsavindexlabel { + bottom: -25px; + left: 0; +} +.jsavhorizontalarray .jsavindex:first-of-type { + -ms-border-top-left-radius: 8px; + -ms-border-bottom-left-radius: 8px; + -moz-border-top-left-radius: 8px; + -moz-border-bottom-left-radius: 8px; + -o-border-top-left-radius: 8px; + -o-border-bottom-left-radius: 8px; + -webkit-border-top-left-radius: 8px; + -webkit-border-bottom-left-radius: 8px; + border-top-left-radius: 8px; + border-bottom-left-radius: 8px; +} +.jsavhorizontalarray .jsavindex:last-of-type { + -ms-border-top-right-radius: 8px; + -ms-border-bottom-right-radius: 8px; + -moz-border-top-right-radius: 8px; + -moz-border-bottom-right-radius: 8px; + -o-border-top-right-radius: 8px; + -o-border-bottom-right-radius: 8px; + -webkit-border-top-right-radius: 8px; + -webkit-border-bottom-right-radius: 8px; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; +} + +.jsavbararray { + height: 150px; + overflow: visible; + padding-bottom: 30px; +} +.jsavbararray .jsavnode { + /* remove shadow from the white bars */ + box-shadow: none; +} +.jsavbararray .jsavindex { + height: 100%; + vertical-align: bottom; + border: none; + background-color: #ddd; + margin-left: 2px; + float: left; + position: relative; +} +.jsavbararray .jsavvalue { + z-index: 100; + bottom: 0; + background-color: inherit; + min-height: 0; + -moz-border-radius: 0; + -o-border-radius: 0; + -ms-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0; + /* add a subtle shadow to bars */ + box-shadow: 2px 2px 5px rgba(120, 120, 120, 0.5); +} +.jsavbararray .jsavvalue span { + position: absolute; + width: inherit; + bottom: 0; + left: 0; +} +.jsavbararray .jsavvalue, .jsavbararray .jsavvaluebar { + display: block; + padding: 0; + position: absolute; + width: 100%; +} +.jsavbararray .jsavvaluebar { + height: 100%; + top: 0; + background-color: #fff; +} +.jsavbararray .jsavindexlabel { + font-size: 90%; + position: relative; + top: 100%; + vertical-align: middle; +} + +/* vertical array */ +.jsavverticalarray.jsavindexed .jsavindex { + position: relative; +} +.jsavverticalarray .jsavindex { + margin-bottom: -1px; + float: left; + clear: left; +} +.jsavverticalarray .jsavindexlabel { + position: absolute; + text-align: right; + width: auto; + left: -17px; +} +.jsavverticalarray .jsavindex:first-of-type, .jsavverticalarray .jsavindex:first-of-type .jsavvalue { + -ms-border-top-left-radius: 8px; + -moz-border-top-left-radius: 8px; + -o-border-top-left-radius: 8px; + -webkit-border-top-left-radius: 8px; + border-top-left-radius: 8px; + -ms-border-top-right-radius: 8px; + -moz-border-top-right-radius: 8px; + -o-border-top-right-radius: 8px; + -webkit-border-top-right-radius: 8px; + border-top-right-radius: 8px; +} +.jsavverticalarray .jsavindex:last-of-type, .jsavverticalarray .jsavindex:last-of-type .jsavvalue { + -ms-border-bottom-left-radius: 8px; + -moz-border-bottom-left-radius: 8px; + -o-border-bottom-left-radius: 8px; + -webkit-border-bottom-left-radius: 8px; + border-bottom-left-radius: 8px; + -ms-border-bottom-right-radius: 8px; + -moz-border-bottom-right-radius: 8px; + -o-border-bottom-right-radius: 8px; + -webkit-border-bottom-right-radius: 8px; + border-bottom-right-radius: 8px; +} + +/* bar array marker line */ +.jsavmark { + position: absolute; + display: none; + background-color: #FF6464; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + -ms-border-radius: 10px; + -o-border-radius: 10px; + border-radius: 10px; + width: 8px; + height: 8px; + z-index: 190; +} +.jsavmarkline { + position: absolute; + display: none; + height:1px; + background-color: #FF6464; + background-color: rgba(255, 100, 100, 0.6); + z-index: 190; +} + +/***** END STYLING OF THE ARRAY DATA STRUCTURE *****/ + +/*** OUTPUT STYLING ***/ +.jsavline { + overflow: visible; + border: none; + background-color: inherit; + height:50px; +} +.jsavscroll { + overflow: auto; + background-color: white; + border: 1px solid black; + height:220px; +} +.jsavoutput .jsavtitle { + display:block; + margin-top:2.5em; + font-size:300%; + text-align:center; +} + +.jsavindex.jsavarrow:before { + content: ""; + background-color: transparent; + position: absolute; + width: 0; + height: 0; + border: 6px solid transparent; + border-top: 6px solid black; + top: -10px; + left: 17px; +} + +/**** END OUTPUT STYLING ***/ + +.jsavcanvas svg { + position: absolute; + height: 100%; + width: 100%; + z-index: 110; +} + +.jsavcontainer svg { + pointer-events: none; +} +.jsavcontainer svg * { + pointer-events: visible; +} + +/**** STYLING THE CONTROLS ****/ +.jsavcontrols { + text-align: center; +} +.jsavcontrols span { + display: inline-block; + color: #777; + font-family: 'Times New Roman'; + font-size: 20px; + font-weight: bolder; + line-height: 45px; + width: 45px; + height: 45px; + margin: 15px 40px; + background-color: #fff; + border: 1px solid #777; + -o-border-radius: 50%; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + -ms-border-radius: 50%; + border-radius: 50%; + cursor: pointer; +} +.jsavplaying span { + cursor: default; +} +.jsavbegin, .jsavend { + letter-spacing: -2px; +} +/**** END STYLING THE CONTROLS ****/ + +/**** STYLING THE DIALOG ****/ +.jsavdialog { + border: 1px solid #aaa; + background-color: #fff; + z-index: 1000; + position: absolute; + top: 0; + left: 0; + box-shadow: 0 0 15px rgba(0,0,0,0.8); +} +.jsavsettings-dialog { + border-radius: 10px; +} +.jsavsettings-dialog.arrow-top-left { + border-top-left-radius: 0; +} +.jsavsettings-dialog.arrow-top-right { + border-top-right-radius: 0; +} +.jsavsettings-dialog.arrow-bottom-left { + border-bottom-left-radius: 0; +} +.jsavsettings-dialog.arrow-bottom-right { + border-bottom-right-radius: 0; +} +.jsavsettings-dialog:after { + content: ""; + display: block; + width: 0; + height: 0; + position: absolute; + border: 8px solid transparent; + border-left-color: #eee; + transform: rotate(-90deg); +} +.jsavsettings-dialog.arrow-top-left:after { + top: -16px; + left: 0; +} +.jsavsettings-dialog.arrow-top-right:after { + top: -16px; + right: 0; +} +.jsavsettings-dialog.arrow-bottom-left:after, +.jsavsettings-dialog.arrow-bottom-right:after { + border-left-color: #fff; + transform: rotate(90deg); + bottom: -16px; +} +.jsavsettings-dialog.arrow-bottom-left:after { + left: 0; +} +.jsavsettings-dialog.arrow-bottom-right:after { + right: 0; +} +.jsavsettings-dialog h2 { + border-radius: 10px 10px 0 0; +} +.jsavsettings-dialog.arrow-top-left h2 { + border-radius: 0 10px 0 0; +} +.jsavsettings-dialog.arrow-top-right h2 { + border-radius: 10px 0 0 0; +} +.jsavmodal { + z-index: 999; + background-color: rgb(120, 120, 120); + background-color: rgba(0, 0, 0, 0.2); + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; +} +.jsavdialog h2 { + background-color: #eee; + color: black; + font-family: Helvetica, Arial; + font-size: 1.5em; + font-weight: bold; + margin: 0; + padding: 7px 15px; + cursor: -moz-grab; + cursor: -webkit-grab; + cursor: grab; +} +.jsavdialog.ui-draggable-dragging, .jsavdialog.ui-draggable-dragging h2 { + cursor: -moz-grabbing; + cursor: -webkit-grabbing; + cursor: grabbing; +} +a.jsavdialogclose { + border: 1px solid #777; + -ms-border-radius: 20px; + -webkit-border-radius: 20px; + -moz-border-radius: 20px; + -o-border-radius: 20px; + border-radius: 20px; + color: #777; + float: right; + font-family: monospace; + font-size: 30px; + font-weight: normal; + height: 20px; + padding: 3px; + text-align: center; + text-decoration: none; + width: 20px; + line-height: 22px; +} +a.jsavdialogclose:hover { + background-color: #ccc; +} + +.jsavsettings { + padding: 15px; + font-family: Helvetica, Arial +} +a.jsavsettings { + background-image: url(images/settings.png); + width: 20px; + height: 20px; + background-position: 50% 50%; + background-repeat: no-repeat; + background-color: #aaa; + text-indent: 120%; + padding: 2px; + border: 1px solid #777; + -o-border-radius: 3px; + -ms-border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 50%; + float:right; + margin-right:10px; + display:block; + white-space: nowrap; + overflow: hidden; +} +a.jsavsettings:hover { + background-color: #888; +} +.jsavsettings .jsavhelp { + font-size: 80%; + margin-left: 40px; +} +.jsavsettings .jsavversion { + float: right; + font-size: smaller; +} +.jsavrow { + margin: 15px 8px 4px 8px; +} +.jsavsettings label { + display: inline; +} +/**** END STYLING THE DIALOG ****/ + +/**** MODEL ANSWER ********/ +.jsavmodelanswer.jsavcontainer { + padding: 0; + padding-bottom: 5px; + background-color: white; + border-width: 0; + border-radius: 8px; + position: relative; +} +.jsavmodelanswer .jsavcounter { + float: left; + left: 10px; + position: absolute; + top: 15px; +} +.jsavmodelanswer .jsavcontrols span { + margin: 5px 20px 0 0; +} +.jsavmodelanswer .jsavcontrols .jsavend { + margin-right: 0; +} +/* move the (model answer) dialog outside of view when preparing it */ +.jsavdialog.jsavmodelpreparing { + left: -110% !important; +} + +.jsavexercisecontrols { + position: relative; +} + +.jsavexercisecontrols .actionIndicator { + display: inline-block; + width: 15px; + height: 15px; + position: absolute; +} +.jsavexercisecontrols.active .actionIndicator { + background-image: url(images/spinner.gif); +} +/* Customized buttons */ +.jsavexercisecontrols input[type="button"] { + background-color: #eee; + background: linear-gradient(#fff, #ccc); + border: 1px solid #777; + margin: 0; + padding: 3px 10px; + cursor: pointer; +} +.jsavexercisecontrols input[type="button"]:hover { + background-color: #ddd; + background: linear-gradient(#fff, #bbb); +} +.jsavexercisecontrols input[type="button"]:last-of-type { + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; +} +.jsavexercisecontrols input[type="button"]:first-of-type { + border-top-left-radius: 7px; + border-bottom-left-radius: 7px; +} +.jsavexercisecontrols input[type="button"]:not(:last-of-type) { + border-right: none; +} +/********* TREE / GRAPH DATA STRUCTURE *******/ + +.jsavtree, .jsavgraph, .jsavlist { + position: relative; + background-color: inherit; +} +.jsavtreenode, .jsavgraphnode { + border-radius: 23px; + position: absolute; +} +.jsavnullnode { + min-width: 20px; + border-color: #eee; + opacity: 0; +} +.jsavnulledge { + stroke: transparent; + opacity: 0; +} + +.jsavedgelabel { + background-color: inherit; + z-index: 700; + position: absolute; + display: inline-block; + margin: 0; +} + +/******** LINKED LIST STRUCTURE ******/ +.jsavpointerarea { + background-color: #eee; + display: block; +} +.jsavhorizontallist .jsavpointerarea { + border-left: 1px solid black; + position: absolute; + right: 0; + top: 0; + width: 10px; + height: 100%; +} + +.jsavverticallist .jsavpointerarea { + border-top: 1px solid black; + bottom: 0; + height: 10px; + position: absolute; + width: 100%; +} +.jsavhorizontallist.jsavautoresize .jsavnode { + min-width: 33px; + min-height: 45px; + padding-right: 12px; +} +.jsavverticallist.jsavautoresize .jsavnode { + min-width: 45px; + min-height: 33px; +} +.jsavlistnode { + position: absolute; + border-radius: 3px; +} +.jsavverticallist .jsavlistnode .jsavpointerarea { + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; +} +.jsavhorizontallist .jsavlistnode .jsavpointerarea { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.jsavhorizontallist .jsavnonext .jsavpointerarea:after { + display: inline-block; + content: ""; + height: 104%; + width: 1px; + background-color: #000; + transform: rotate(12deg); +} +.jsavlist .jsavedge { + stroke-width: 2; +} + +/******** PSEUDOCODE VIEW *******/ +.jsavcode { + font-family: monospace; +} +ul.jsavcode { + list-style: none; + padding: 0; +} +.jsavcodeline { + background-color: #FAFAFA; + padding: 2px 10px; + white-space: pre; +} +.jsavcodeline.jsavpreviousline { + background-color: #eee; +} +.jsavcodeline.jsavcurrentline { + background-color: #ccc; +} +.jsavcodeline.jsavhighlight { + background-color: yellow; +} +.jsavhiddencode { + display: none !important; +} + +/******** POINTER STRUCTURE ****/ +.jsavpointer .jsavpointerarea { + border: 1px solid black; + height: 10px; + width: 10px; + margin: 0 auto; + position: relative; +} +.jsavnullpointer .jsavpointerarea:after { + content: ""; + display: block; + width: 14px; /* sqrt(width^2+height^2) */ + height: 1px; + position: absolute; + right: 0; + top: 0; + background-color: red; + -webkit-transform: rotate(-45deg); + -webkit-transform-origin: right top; + -ms-transform: rotate(-45deg); + -ms-transform-origin: right top; + -o-transform: rotate(-45deg); + -o-transform-origin: right top; + -moz-transform: rotate(-45deg); + -moz-transform-origin: right top; + transform: rotate(-45deg); + transform-origin: right top; +} +.jsavpointer .jsavlabel { + margin-top: 0; + margin-bottom: 0; +} + +/******** MATRIX DATA STRUCTURE ****/ +.jsavmatrix .jsavarray { + margin: 0 auto; + height: 30px; + min-height: 30px; +} +.jsavmatrix .jsavarray li.jsavnode { + border-radius: 0; + width: 30px; + height: 30px; + font-size: 14px; + border-top: none; +} +.jsavmatrix .jsavarray.jsavautoresize li.jsavnode { + min-height: 30px; + min-width: 30px; + height: auto; + width: auto; +} +.jsavmatrix .jsavarray .jsavvalue { + height: 30px; +} +.jsavmatrix .jsavarray:first-child li { + border-top: 1px solid black; +} + +.jsavmatrix.jsavmatrixplain .jsavarray li.jsavnode, +.jsavmatrix.jsavmatrixmatrix .jsavarray li.jsavnode { + border: none; + box-shadow: none; +} +.jsavmatrix.jsavmatrixmatrix { + border-left: 2px solid black; + border-right: 2px solid black; + border-radius: 10px; + padding: 10px; +} + + +/******** Event prevention DIV shutter ******/ +.jsavshutter { + display: none; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 900; +} +.jsavplaying .jsavshutter { + display: block; + /* prevent text selection when playing */ + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.jsavquestionframe { + width: 100%; + height: 100%; +} + +.jsavswap, .jsavswap .jsavvalue { + background-color: pink !important; + color: red !important; +} + +.jsavdisabled { + pointer-events: none; +} + +/******** KEY-VALUE PAIR DATA STRUCTURE ****/ +.jsav-pair-section { + display: flex; + margin-top: 5px; +} + +.jsav-pair { + min-width: 70%; + position: relative; + display: inline-block; + text-align: center; + margin: 0 auto; + list-style: none; + border: 2px solid black; + font-size: 1.1em; + font-family: monospace; + box-shadow: 2px 2px 5px rgba(120, 120, 120, 0.5); +} + +.jsav-pair.jsav-pair-highlight { + background-color: green; +} + +.jsav-pair-key, +.jsav-pair-values { + line-height: 40px; + display: inline-block; + box-sizing: border-box; +} + +.jsav-pair-key { + width: 40%; + float: left; + position: absolute; + top: 0; + left: 0; + bottom: 0; +} + +.jsav-pair-key.jsav-pair-key-highlight { + background-color: cornflowerblue; +} + +.jsav-pair-values { + width: 60%; + float: right; + border-left: 2px solid black; +} + +.jsav-pair-values.jsav-pair-values-highlight { + background-color: yellow; +} + +.jsav-pair:hover { + background-color: rgba(0, 0, 0, 0.2); + cursor: pointer; +} + +.idContainer { + width: 100px; + height: 44px; + color: black; + display: inline-block; + text-align: center; + margin: 0 auto; + box-sizing: border-box; + border: 2px solid black; +} \ No newline at end of file diff --git a/app/assets/stylesheets/OpenPOP/answers.scss b/app/assets/stylesheets/OpenPOP/answers.scss new file mode 100644 index 00000000..24dc3aee --- /dev/null +++ b/app/assets/stylesheets/OpenPOP/answers.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Answers controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/assets/stylesheets/OpenPOP/exercises.scss b/app/assets/stylesheets/OpenPOP/exercises.scss new file mode 100644 index 00000000..c16bb6a6 --- /dev/null +++ b/app/assets/stylesheets/OpenPOP/exercises.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Exercises controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/assets/stylesheets/OpenPOP/odsaAV-min.css b/app/assets/stylesheets/OpenPOP/odsaAV-min.css new file mode 100644 index 00000000..b89eaadf --- /dev/null +++ b/app/assets/stylesheets/OpenPOP/odsaAV-min.css @@ -0,0 +1,590 @@ +/*! normalize.css v3.0.1 | MIT License | git.io/normalize */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9/10. + */ + +img { + border: 0; +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; + color: #545454; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} +body, +input, +select { + font-size: 15px; + font-family: Arial, sans-serif; +} + +/* Creates a header which standardizes the layout for proficiency exercise controls and buttons */ +.proHeaderTable { + + /*margin-top: -20px;*/ + margin-top: -30px; + border-bottom: 0 none; + width: 100%; +} + +/* Creates a header which standardizes the layout for AV controls */ +.headerTable { + + /*margin-top: -10px;*/ + + /*border-bottom: 1px solid black;*/ + border-bottom: 1px solid #B6C0B2; + width: 100%; +} + +/* Left column of the standardized header */ +table .headerLeft { + width: 142px; +} + +/* Center column of the standardized header */ +table .headerCenter { + font-size: 2em; + text-align: center; +} + +/* Right column of the standardized header */ +table .headerRight { + text-align: right; + width: 142px; +} + +/* Affects the margin of buttons in the header table */ +table td input { + + /*margin-top: 10px;*/ + margin-top: 0; +} + +/* AV title */ +div h1 { + text-align: center; + margin: 10px 5px 5px; +} + +form { + clear: both; + border: 0; +} + +/* Style for container holding AV content */ +.avcontainer { + margin-top: -15px; +} + +.jsavcontainer { + + /*background-color: #efe;*/ + background-color: transparent; + border: 0 none; +} + +.jsavexercisecontrols { + + /*margin-top: 10px;*/ + margin-top: 20px; + text-align: center; +} + +.jsavcontrols { + margin-top: -10px; +} + +.jsavmodelanswer .jsavline { + margin: 0 0 0 20px; + width: auto; +} + +.jsavmodelanswer .jsavcontrols { + margin-top: 0; +} + +.jsavmodelanswer .jsavcontrols span { + margin: 10px 20px 0 0; +} + +.jsavcounter { + position: absolute; + width: 100px; +} + +.jsavline { + height: 30px; + margin: 0; + width: 100%; +} + +.jsavsettings { + display: block; + margin-top: 0; + margin-left: 10px; +} + +/* Style of proficiency exercise "Instructions" label */ +.instructLabel { + margin-top: -5px; +} + +/* Style for the container holding proficiency exercise instructions */ +.instructions { + padding: 10px; /*border: 1px solid black;*/ + border: 1px solid #B6C0B2; + margin-top: -15px; +} + +/* Style for the div containing the entire AV or exercise */ +#container { + + /*border: 1px solid black; + background-color: #efe;*/ + border: 1px solid #B6C0B2; + background-color: #E2EEDD; + padding: 5px; + overflow: hidden; +} + +/* Style for the form holding AV inputs */ +#ssperform { + margin-top: -5px; +} + +/* Set placement for About button */ +#about { + margin-top: 0; + float: right; +} + +/* Set placement for Help button */ +#help { + margin-top: 0; + float: left; +} + +#increments, +#arrayValues { + padding-left: 5px; +} + +#prof_check_mark { + position: absolute; + top: 10px; + right: 10px; + opacity: .8; +} \ No newline at end of file diff --git a/app/assets/stylesheets/OpenPOP/odsaStyle-min.css b/app/assets/stylesheets/OpenPOP/odsaStyle-min.css new file mode 100644 index 00000000..7afc1fc5 --- /dev/null +++ b/app/assets/stylesheets/OpenPOP/odsaStyle-min.css @@ -0,0 +1,247 @@ +.jsavcanvas { + font-family: Helvetica, Arial; +} + +/* Mark that an item (such as an array cell) is currently being processed + by the algorithm. This color is a medium blue. */ +.processing { + background-color: #ddf !important; +} + +/* For array cells and the like that are unused */ +.unused { + background-color: #ddd; +} + +/* For marking a node (array cell, etc) as "special". This is a light red. */ +.special { + background-color: #FFB6C1 !important; +} + +/* For de-emphasizing the label/value of a node (array cell, etc). Light grey. */ +.deemph .jsavvalue { + color: #ccc; +} + +.invisnode { /* Make a tree node invisible in a slideshow */ + background-color: #eed; + color: #eed; + border-color: #eed; + box-shadow: 2px 2px 2px rgba(120, 120, 120, 0.0); +} + + +/* Make a node's edge thick */ +.thicknode { + border-width: 2px; +} + +/* Make a slideshow tree node invisible (except for label) */ +.clearnode { + background-color: #eed; + border-color: #eed; + box-shadow: 2px 2px 2px rgba(120, 120, 120, 0.0); +} + +/* Make font bigger, used typically with click handler setting up swap */ +.enlarge .jsavvalue { + font-size: 120%; +} + +/* Makes (just) the text of a node or array cell to be green */ +.greentext .jsavvalue { + color: #0b0; + font-weight: bold; +} + +.redback { + background-color: #f00 !important; +} + +.jsavcontainer { + border: 0; +} + +.jsavnode.sorted { + background-color: #ffffcc !important; +} + +.jsavautoresize .jsavnode { + min-width: 30px; + min-height: 30px; +} + +.jsavhorizontalarray .jsavnode { + line-height: 30px !important; + min-width: 30px !important; + max-width: 30px !important; + min-height: 30px !important; + max-height: 30px !important; +} + +.jsavverticalarray .jsavnode { + line-height: 30px !important; + min-width: 30px !important; + max-width: 30px !important; + min-height: 30px !important; + max-height: 30px !important; +} + +.jsavnode.jsavtreenode { + min-width: 30px; + max-width: 30px; + min-height: 30px; + max-height: 30px; +} + +.jsavhorizontallist.jsavautoresize .jsavnode { + min-width: 30px; + max-width: 30px; + min-height: 30px; + max-height: 30px; + line-height: 30px; + padding-right: 12px; +} + +.jsavnode .jsavhorizontalarray .jsavvalue { /* Center array cell values vertically */ + height: 30px; +} + +.jsavnode .jsavverticalarray .jsavvalue { /* Center array cell values vertically */ + height: 30px; +} + +.jsavnode .jsavvalue { /* Center tree node values vertically */ + height: 30px; +} + +.jsavlist .jsavvalue { /* Center linked list cell values vertically */ + height: 30px; +} + +.jsavarray .jsavvalue { /* Center array cell values vertically */ + height: 30px; +} + +.jsavcodeline { + margin-bottom: 1px; + font-size: 14px; + line-height: 16px; +} + +/* Put a white border around the code block. Do it this way to + keep from putting border around the line numbers. */ +.jsavcodeline { + border-left: 1px solid #fff; + border-right: 1px solid #fff; +} + +.jsavcodeline:first-child { + border-top: 1px solid #fff; + padding-top: 1px; +} + +.jsavcodeline:last-child { + border-bottom: 1px solid #fff; + padding-bottom: 1px; +} + +.jsavcodeline.jsavhighlight { + background-color: #ccc !important; +} + +.jsavcodeline:hover { + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + font-size: 14px; + line-height: 16px; + padding: 1px 10px; +} + +.jsavbararray .jsavindex { + background-color: #eee; +} + +.jsavbararray.jsavindexed { + margin-bottom: 0; +} + +.jsavstack { + position: relative; + background-color: inherit; +} + +.jsavstack .jsavstacknode { + font-size: 120%; + position: absolute; + border-radius: 5px; + width: 30px; + height: 30px; + z-index: 100; +} + +.jsavtreenode.emptynode { + border: 1px dashed #777 !important; + background-color: #fff !important; + color: #777 !important; + cursor: pointer; +} + +.jsavtreenode.rednode { + background-color: #f00; + color: #fff; +} + +.jsavtreenode.blacknode { + background-color: #000; + color: #fff; +} + +.selected, .selected .jsavvalue, .jsavarray.jsavbararray .jsavindex.selected .jsavvalue { + font-size: 110%; + background-color: #ddf; +} + +.jsavtreenode.jsavredblacknode.rednode.selected { + background-color: #f00; +} + +.jsavtreenode.jsavredblacknode.blacknode.selected { + background-color: #000; +} + +.jsavtreenode.jsavredblacknode.selected { + box-shadow: 0 0 5px 10px #ddf; +} + +.greybg, .greybg.jsavvalue, .jsavarray.jsavbararray .jsavindex.greybg .jsavvalue { + background-color: #eee; +} + +.greenbg, .greenbg.jsavvalue, .jsavarray.jsavbararray .jsavindex.greenbg .jsavvalue { + background-color: #3f5; +} + +.jsavgraph .jsavedge { + stroke-width: 1.5px; +} + + +/* jquery-ui customization */ +.ui-state-active a, .ui-state-hover a, .ui-state-visited a, .ui-state-focus a { + border: none; + outline: none; +} + +.ui-state-focus { + border: none; + outline: none; +} + +.ui-state-active { + border: none; + outline: none; +} +.redbg{ + background-color: #FFB6C1 !important; +} \ No newline at end of file diff --git a/app/assets/stylesheets/OpenPOP/opt-frontend.css b/app/assets/stylesheets/OpenPOP/opt-frontend.css new file mode 100644 index 00000000..13849246 --- /dev/null +++ b/app/assets/stylesheets/OpenPOP/opt-frontend.css @@ -0,0 +1,97 @@ +/* CSS accompanying ../visualize.html */ + +h1 { + font-weight: normal; + font-size: 20pt; + font-family: georgia, serif; + line-height: 1em; /* enforce single spacing so that Georgia works */ + + margin-top: 0px; + margin-bottom: 8px; +} + +h2 { + font-size: 12pt; + font-weight: normal; + font-family: georgia, serif; + line-height: 1.1em; /* enforce single spacing so that Georgia works */ + + margin-top: 2px; + margin-bottom: 20px; +} + + +body { + background-color: white; + font-family: verdana, arial, helvetica, sans-serif; + font-size: 10pt; +} + +a, +a:visited, +a:hover { + color: #3D58A2; +} + +span { + padding: 0px; +} + +table#pyOutputPane { + padding: 10px; +} + +#pyInputPane { + margin-top: 20px; + margin-bottom: 20px; + + max-width: 700px; + /* center align */ + margin-left: auto; + margin-right: auto; +} + +#codeInputPane { + margin-top: 5px; + font-size: 12pt; + border: 1px solid #ddd; +} + +button.smallBtn { + font-size: 10pt; + padding: 3px; +} + +button.bigBtn { + font-size: 12pt; + padding: 6px; + margin-top: 6px; +} + +button.surveyBtn { + font-size: 8pt; + margin-top: 8px; +} + +#footer { + color: #666666; + font-size: 9pt; + border-top: 1px solid #bbbbbb; + padding-top: 5px; + margin-top: 5px; + + max-width: 700px; + /* center align */ + margin-left: auto; + margin-right: auto; +} + +#frontendErrorOutput { + color: #e93f34; /* should match brightRed JavaScript variable */ + font-size: 12pt; + line-height: 1.5em; + margin-top: 8px; +} + +/* necessary for CodeMirror error line highlighting to work! */ +.CodeMirror .errorLine { background: #ffff3f !important; } diff --git a/app/assets/stylesheets/OpenPOP/pytutor-customizations.css b/app/assets/stylesheets/OpenPOP/pytutor-customizations.css new file mode 100644 index 00000000..e2c94728 --- /dev/null +++ b/app/assets/stylesheets/OpenPOP/pytutor-customizations.css @@ -0,0 +1,75 @@ +div.ExecutionVisualizer .numberObj { + white-space: nowrap; +} + +div.ExecutionVisualizer div#codeDisplayDiv { + width: default; +} + +div.ExecutionVisualizer #pyStdout { + -moz-box-sizing: border-box; + box-sizing: border-box; + + width: 100%; +} + +/* stack and queue css by Will Gwozdz */ +div.ExecutionVisualizer table.queueTbl, +div.ExecutionVisualizer table.stackTbl { + background-color: #ffffc6; +} + +div.ExecutionVisualizer table.queueTbl, +div.ExecutionVisualizer table.stackTbl { + border: 0px solid black; + border-spacing: 0px; +} + +div.ExecutionVisualizer table.stackTbl td.stackElt, +div.ExecutionVisualizer table.queueTbl td.queueElt { + padding-left: 8px; + padding-right: 8px; + padding-top: 2px; + padding-bottom: 3px; + border-top: 1px solid #555555; + border-bottom: 1px solid #555555; + border-left: 1px dashed #555555; +} + +div.ExecutionVisualizer table.stackTbl td.stackFElt, +div.ExecutionVisualizer table.queueTbl td.queueFElt { + background-color: white; + border-top: 1px solid #555555; + border-bottom: 1px solid #555555; +} + +div.ExecutionVisualizer table.stackTbl td.stackLElt { + background-color: white; + border-left: 1px solid #555555; +} + +div.ExecutionVisualizer table.queueTbl td.queueLElt { + background-color: white; + border-top: 1px solid#555555; + border-bottom: 1px solid #555555; + border-left: 1px dashed #555555; +} + +/* This ensures a border is drawn around a dict + if its nested in another object. */ +div.ExecutionVisualizer td.stackElt table.dictTbl, +div.ExecutionVisualizer td.stackLElt table.dictTbl, +div.ExecutionVisualizer td.stackFElt table.dictTbl, +div.ExecutionVisualizer td.queueElt table.dictTbl, +div.ExecutionVisualizer td.queueLElt table.dictTbl, +div.ExecutionVisualizer td.queueFElt table.dictTbl { + border: 1px #888 solid; +} + +div.ExecutionVisualizer .highlight-cur { + background-color: #FFFF66; +} + +.symbolic { + font-size: 18pt; +} \ No newline at end of file diff --git a/app/assets/stylesheets/OpenPOP/trace.scss b/app/assets/stylesheets/OpenPOP/trace.scss new file mode 100644 index 00000000..837311d3 --- /dev/null +++ b/app/assets/stylesheets/OpenPOP/trace.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Trace controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 55b08089..37e30db0 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -19,4 +19,6 @@ *= require custom *= require flatpickr.min *= require jquery-ui-1.10.3.custom + *-----------------OpenPop---------------------------- + * require_tree ./OpenPOP */ diff --git a/app/controllers/answers_controller.rb b/app/controllers/answers_controller.rb new file mode 100644 index 00000000..e2be88aa --- /dev/null +++ b/app/controllers/answers_controller.rb @@ -0,0 +1,134 @@ +class AnswersController < ApplicationController + respond_to :json, :html + def create + + if @exercise.nil? && @answer.nil? + @exercise = Popexercise.find(params[:pop_exercise_id]) + @answer = @exercise.answers.create(answer_params) + student_answer = params[:answer][:StudentCode] + @answer = Answer.find_by_StudentCode(student_answer) + if @answer.nil? + #puts"new one created" + @answer = @exercise.answers.create(StudentCode: student_answer) + end + if @answer.trace.nil? + #puts"new trace created" + trace = generate_code_trace(@exercise.code, student_answer) + @trace = @answer.create_trace(exercise_trace: trace) + else + #puts"old trace used" + @trace = @answer.trace + end + end + + redirect_to pop_exercise_path(@exercise) + end + + def destroy + @exercise = Popexercise.find(params[:pop_exercise_id]) + @answer = @exercise.answers.find(params[:id]) + @answer.trace.destroy unless @answer.trace.nil? + @answer.destroy + redirect_to pop_exercise_path(@exercise) + end + + def visualize + # puts params.inspect + @exercise = Popexercise.find(params[:exercise_id]) + + @answer = @exercise.answers.find(params[:id]) + # puts @answer.trace + if @answer.trace.nil? + # puts"new trace created" + # puts @answer.trace + trace = generate_code_trace(@exercise.code, @answer.StudentCode) + @trace = @answer.create_trace(exercise_trace: trace) + else + # puts"old trace used" + @trace = @answer.trace + end + # puts @trace.exercise_trace + @openpop_results = build_visualization(@trace.exercise_trace, + @answer.StudentCode) + end + + def solve + @exercise = Popexercise.find_by_exercise_id(params[:exercise_id]) + student_answer = params[:code] + student_answer = student_answer[student_answer.index('{')+1..student_answer.index('return')-1] + @answer = Answer.find_by_StudentCode(student_answer) + if @answer.nil? + #puts"new one created" + @answer = @exercise.answers.create(StudentCode: student_answer) + end + if @answer.trace.nil? + #puts"new trace created" + trace = generate_code_trace(@exercise.code, student_answer) + @trace = @answer.create_trace(exercise_trace: trace) + else + #puts"old trace used" + @trace = @answer.trace + end + #puts @trace.exercise_trace + #results = JSON.parse('[' + trace + ']') + #respond_with json: trace + respond_to do |format| + format.json { render :json => @trace } # note, no :location or :status options + end + end + + def oldsolve + id = params[:exerciseByID] + solution = params[:solution] + @exercise = Popexercise.find_by_exercise_id(id) + @answer = Answer.create(StudentCode: solution) + #puts @exercise.code + @answer = @exercise.answers.create(StudentCode: solution) + redirect_to "/answers/visualize/exercises/#{@exercise.id}/answers/#{@answer.id}" + end + + private + def answer_params + params.require(:answer).permit(:StudentCode) + end + + def generate_code_trace(exercise, code) + wrapper_code = exercise# @exercise.code + answer_text = code # @answer.StudentCode + path = File.join(File.dirname(File.expand_path('../..', __FILE__)), 'Java-Visualizer') + Dir.chdir path + require path + '/' + 'RubyJsonFilter.rb' + code_body = wrapper_code.sub(/\b__\b/, answer_text) + code_body.gsub! "\r",'' + code_body.gsub! '\r','' + code_trace = main_path('',code_body) + #remove the last comma + #trace = "" + #(0...code_trace.length).each do |y| + # if y == code_trace.length - 1 + # temp_string = code_trace[y] + # temp_string = temp_string[0...-1] + # trace = trace + temp_string + # else + # temp_string = code_trace[y] + # trace = trace + temp_string + "\n" + # end + #end + #results = "<script>" + codeTrace.split('$')[0] + "</script>" + ##@openpop_results = "<script>" + create_student_full_code('{p=r;\n return 0;}').split('$')[0] + "</script>" + #results.sub!('$', '</script><script> $') + #@openpop_results = results + #Dir.chdir pwd + #return trace + code_trace + end + + def build_visualization(trace, student_code) + newStudentCode = student_code.split(/\n/).join('\\n') + first = 'var testvisualizerTrace = {"code":"' + newStudentCode + '"' + second = ',"trace":[' + trace + last = ']}' + body = '<body onload="visualize(testvisualizerTrace);"/>' + '<script>' + first + second + last + '</script>' + body + end +end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 3b0f0ce4..84667bbc 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -63,4 +63,10 @@ def allow_iframe response.headers.except! 'X-Frame-Options' end + #--------------------------------------------------------------- + #method from OpenPOP + def go + redirect_to exercise_answer_path + end + end diff --git a/app/controllers/pop_exercises_controller.rb b/app/controllers/pop_exercises_controller.rb new file mode 100644 index 00000000..015081c0 --- /dev/null +++ b/app/controllers/pop_exercises_controller.rb @@ -0,0 +1,50 @@ +class PopExercisesController < ApplicationController + respond_to :json + + def index + @exercise = Popexercise.all + end + + def show + @exercise = Popexercise.find(params[:id]) + end + + def new + @exercise = Popexercise.new + end + + def edit + @exercise = Popexercise.find(params[:id]) + end + + def create + @exercise = Popexercise.new(exercise_params) + if @exercise.save + redirect_to pop_exercises_path + else + render 'new' + end + + end + + def update + @exercise = Popexercise.find(params[:id]) + if @exercise.update(exercise_params) + redirect_to edit_pop_exercise_path(@exercise) + else + render 'edit' + end + end + + def destroy + @exercise = Popexercise.find(params[:id]) + @exercise.destroy + redirect_to pop_exercises_path + end + + private + def exercise_params + params.require(:popexercise).permit(:exercise_id, :code) + end + end + diff --git a/app/controllers/traces_controller.rb b/app/controllers/traces_controller.rb new file mode 100644 index 00000000..9b805756 --- /dev/null +++ b/app/controllers/traces_controller.rb @@ -0,0 +1,9 @@ +class TracesController < ApplicationController + def index + @trace = Trace.all + end + + def show + @trace = Trace.find(params[:id]) + end +end diff --git a/app/models/answer.rb b/app/models/answer.rb new file mode 100644 index 00000000..9f0db774 --- /dev/null +++ b/app/models/answer.rb @@ -0,0 +1,4 @@ +class Answer < ActiveRecord::Base + belongs_to :popexercise + has_one :trace +end diff --git a/app/models/popexercise.rb b/app/models/popexercise.rb new file mode 100644 index 00000000..994fb500 --- /dev/null +++ b/app/models/popexercise.rb @@ -0,0 +1,6 @@ +class Popexercise < ActiveRecord::Base + has_many :answers + + validates :exercise_id, presence: true + validates :code, presence: true +end diff --git a/app/models/trace.rb b/app/models/trace.rb new file mode 100644 index 00000000..40da9776 --- /dev/null +++ b/app/models/trace.rb @@ -0,0 +1,4 @@ +class Trace < ActiveRecord::Base + belongs_to :answer + validates :exercise_trace, presence: true +end diff --git a/app/views/answers/_answer.html.erb b/app/views/answers/_answer.html.erb new file mode 100644 index 00000000..041412fa --- /dev/null +++ b/app/views/answers/_answer.html.erb @@ -0,0 +1,18 @@ +<p> + <strong>Answer:</strong> + <%= answer.StudentCode %> +</p> +<h2>Trace</h2> + +<p> + <strong>Trace:</strong> + <%= answer.trace.nil? ? "NONE": answer.trace.exercise_trace%> +</p> +<p> + <%= link_to 'Visualize', visualize_path(answer.popexercise, answer)%> | + + + <%= link_to 'Destroy Answer', pop_exercise_answer_path(answer.popexercise, answer), + method: :delete, + data: { confirm: 'Are you sure?' } %> +</p> \ No newline at end of file diff --git a/app/views/answers/visualize.html.erb b/app/views/answers/visualize.html.erb new file mode 100644 index 00000000..ad445209 --- /dev/null +++ b/app/views/answers/visualize.html.erb @@ -0,0 +1,41 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<%= yield %> +<%=raw @openpop_results %> +<body> +<head> + <title>Java Visualizer + + <%= stylesheet_link_tag('https://opendsa-server.cs.vt.edu/OpenDSA/JSAV/css/JSAV.css') %> + <%= stylesheet_link_tag('https://opendsa-server.cs.vt.edu/OpenDSA/lib/odsaAV-min.css') %> + <%= stylesheet_link_tag('https://opendsa-server.cs.vt.edu/OpenDSA/lib/odsaStyle-min.css') %> + <%= javascript_include_tag('https://code.jquery.com/jquery-2.1.4.min.js') %> + <%= javascript_include_tag('https://code.jquery.com/ui/1.11.4/jquery-ui.min.js') %> + <%= javascript_include_tag('https://opendsa-server.cs.vt.edu/OpenDSA/JSAV/lib/jquery.transit.js') %> + <%= javascript_include_tag('https://opendsa-server.cs.vt.edu/OpenDSA/JSAV/lib/raphael.js') %> + <%= javascript_include_tag('https://opendsa-server.cs.vt.edu/OpenDSA/JSAV/build/JSAV-min.js') %> + <%= javascript_include_tag('https://opendsa-server.cs.vt.edu/OpenDSA/lib/odsaUtils-min.js') %> + <%= javascript_include_tag('https://opendsa-server.cs.vt.edu/OpenDSA/lib/odsaAV-min.js') %> + + + + + + + +

+
+ +
+

+
+
+ + + \ No newline at end of file diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 466762b2..8fb30ca7 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -2,4 +2,4 @@ .full-height.content#main .below-nav = render partial: 'layouts/flash' - = yield \ No newline at end of file + = yield \ No newline at end of file diff --git a/app/views/layouts/header.html.haml b/app/views/layouts/header.html.haml index a0e915cd..0b133b73 100644 --- a/app/views/layouts/header.html.haml +++ b/app/views/layouts/header.html.haml @@ -20,4 +20,4 @@ - if @lti_launch - classes << 'embedded' %body{ class: classes } - = yield + = yield diff --git a/app/views/pop_exercises/edit.html.erb b/app/views/pop_exercises/edit.html.erb new file mode 100644 index 00000000..c6bb5ed9 --- /dev/null +++ b/app/views/pop_exercises/edit.html.erb @@ -0,0 +1,42 @@ +

Edit exercise

+ +<%= form_for @exercise, url:pop_exercise_path do |form| %> + + <% if @exercise.errors.any? %> +
+

+ <%= pluralize(@exercise.errors.count, "error") %> prohibited + this article from being saved: +

+
    + <% @exercise.errors.full_messages.each do |msg| %> +
  • <%= msg %>
  • + <% end %> +
+
+ <% end %> + +

+ <%= form.label :exercise_id %>
+ <%= form.text_field :exercise_id %> +

+ +

+ <%= form.label :code %>
+ <%= form.text_area :code %> +

+ +

+ <%= form.submit %> +

+ +<% end %> + +<%= link_to 'Back', pop_exercises_path %> \ No newline at end of file diff --git a/app/views/pop_exercises/index.html.erb b/app/views/pop_exercises/index.html.erb new file mode 100644 index 00000000..a046fa92 --- /dev/null +++ b/app/views/pop_exercises/index.html.erb @@ -0,0 +1,29 @@ +

Listing exercises

+ + + + + + + + <% @exercise.each do |exercise| %> + + + + + + + + <% end %> +
Exercise_idcode
<%= exercise.exercise_id %><%= exercise.code %><%= link_to 'Show', pop_exercise_path(exercise) %><%= link_to 'Edit', edit_pop_exercise_path(exercise) %><%= link_to 'Destroy', pop_exercise_path(exercise), + method: :delete, + data: { confirm: 'Are you sure?' } %>
+ +<%= link_to 'New exercise', new_pop_exercise_path %> \ No newline at end of file diff --git a/app/views/pop_exercises/new.html.erb b/app/views/pop_exercises/new.html.erb new file mode 100644 index 00000000..75291405 --- /dev/null +++ b/app/views/pop_exercises/new.html.erb @@ -0,0 +1,44 @@ +

New Exercise

+ +<%= form_for @exercise, url:pop_exercises_path do |form| %> + + <% if @exercise.errors.any? %> +
+

+ <%= pluralize(@exercise.errors.count, "error") %> prohibited + this article from being saved: +

+
    + <% @exercise.errors.full_messages.each do |msg| %> +
  • <%= msg %>
  • + <% end %> +
+
+ <% end %> + +

+ <%= form.label :exercise_id %>
+ <%= form.text_field :exercise_id %> +

+ +

+ <%= form.label :code %>
+ <%= form.text_area :code %> +

+ +

+ <%= form.submit "Create Exercise" %> +

+ +<% end %> + + + +<%= link_to 'Back', pop_exercises_path %> \ No newline at end of file diff --git a/app/views/pop_exercises/show.html.erb b/app/views/pop_exercises/show.html.erb new file mode 100644 index 00000000..0a319007 --- /dev/null +++ b/app/views/pop_exercises/show.html.erb @@ -0,0 +1,34 @@ +

+ ID: + <%= @exercise.exercise_id %> +

+ +

+ Code: + <%= @exercise.code %> +

+ +

Answers

+<%= render @exercise.answers%> + +

Add an answer:

+ + <%= form_for [ @exercise, @exercise.answers.build], url: pop_exercise_answers_path(@exercise) do |form| %> +

+ <%= form.label :StudentCode %>
+ <%= form.text_area :StudentCode %> +

+

+ <%= form.submit %> +

+<% end %> + +<%= link_to 'Edit', edit_pop_exercise_path(@exercise) %> | +<%= link_to 'Back', pop_exercises_path %> \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 458a8fdf..5ead2df5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -189,8 +189,23 @@ match 'help/:action', to: 'help', via: [:get] match 'static_pages/:action', controller: 'static_pages', via: [:get] + #copied from OpenPOP + #get 'answers/visualize' => 'answers#visualize' + get 'answers/visualize/pop_exercises/:exercise_id/answers/:id' => 'answers#visualize', as: 'visualize' + post 'answers/solve/' => 'answers#solve', as: 'solve' + #get 'answers/solve/:exercise_id' => 'answers#solve', as: 'solve' + + resources :pop_exercises do + resources :answers do + resource :trace + end + end end + +#--------------------------------------------------- + + #== Route Map =begin Prefix Verb URI Pattern Controller#Action diff --git a/db/migrate/20210406203424_create_popexercises.rb b/db/migrate/20210406203424_create_popexercises.rb new file mode 100644 index 00000000..d581137a --- /dev/null +++ b/db/migrate/20210406203424_create_popexercises.rb @@ -0,0 +1,10 @@ +class CreatePopexercises < ActiveRecord::Migration + def change + create_table :popexercises do |t| + t.string :exercise_id + t.text :code + + t.timestamps + end + end +end diff --git a/db/migrate/20210406204405_create_answers.rb b/db/migrate/20210406204405_create_answers.rb new file mode 100644 index 00000000..c77cd033 --- /dev/null +++ b/db/migrate/20210406204405_create_answers.rb @@ -0,0 +1,10 @@ +class CreateAnswers < ActiveRecord::Migration + def change + create_table :answers do |t| + t.text :StudentCode + t.references :popexercise, foreign_key: true + + t.timestamps + end + end +end diff --git a/db/migrate/20210406204417_create_traces.rb b/db/migrate/20210406204417_create_traces.rb new file mode 100644 index 00000000..fb0ff68d --- /dev/null +++ b/db/migrate/20210406204417_create_traces.rb @@ -0,0 +1,10 @@ +class CreateTraces < ActiveRecord::Migration + def change + create_table :traces do |t| + t.string :exercise_trace + t.references :answer, foreign_key: true + + t.timestamps + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 2c4d9f78..7e5badd4 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -28,6 +28,15 @@ add_index "active_admin_comments", ["namespace"], name: "index_active_admin_comments_on_namespace", using: :btree add_index "active_admin_comments", ["resource_type", "resource_id"], name: "index_active_admin_comments_on_resource_type_and_resource_id", using: :btree + create_table "answers", force: :cascade do |t| + t.text "StudentCode", limit: 65535 + t.integer "popexercise_id", limit: 4 + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "answers", ["popexercise_id"], name: "fk_rails_20458d031a", using: :btree + create_table "attempts", force: :cascade do |t| t.integer "user_id", limit: 4, null: false t.integer "exercise_version_id", limit: 4, null: false @@ -414,6 +423,13 @@ add_index "ownerships", ["filename"], name: "index_ownerships_on_filename", using: :btree add_index "ownerships", ["resource_file_id"], name: "index_ownerships_on_resource_file_id", using: :btree + create_table "popexercises", force: :cascade do |t| + t.string "exercise_id", limit: 255 + t.text "code", limit: 65535 + t.datetime "created_at" + t.datetime "updated_at" + end + create_table "prompt_answers", force: :cascade do |t| t.integer "attempt_id", limit: 4 t.integer "prompt_id", limit: 4 @@ -576,6 +592,15 @@ t.datetime "updated_at" end + create_table "traces", force: :cascade do |t| + t.string "exercise_trace", limit: 255 + t.integer "answer_id", limit: 4 + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "traces", ["answer_id"], name: "fk_rails_bd5f23337a", using: :btree + create_table "user_groups", force: :cascade do |t| t.string "name", limit: 255 t.datetime "created_at" @@ -717,6 +742,7 @@ add_index "workouts", ["external_id"], name: "index_workouts_on_external_id", unique: true, using: :btree add_index "workouts", ["is_public"], name: "index_workouts_on_is_public", using: :btree + add_foreign_key "answers", "popexercises" add_foreign_key "attempts", "exercise_versions", name: "attempts_exercise_version_id_fk" add_foreign_key "attempts", "users", name: "attempts_user_id_fk" add_foreign_key "attempts", "workout_scores", column: "active_score_id", name: "attempts_active_score_id_fk" @@ -764,6 +790,7 @@ add_foreign_key "test_case_results", "test_cases", name: "test_case_results_test_case_id_fk" add_foreign_key "test_case_results", "users", name: "test_case_results_user_id_fk" add_foreign_key "test_cases", "coding_prompts", name: "test_cases_coding_prompt_id_fk" + add_foreign_key "traces", "answers" add_foreign_key "users", "global_roles", name: "users_global_role_id_fk" add_foreign_key "users", "time_zones", name: "users_time_zone_id_fk" add_foreign_key "users", "workout_scores", column: "current_workout_score_id", name: "users_current_workout_score_id_fk"