8198697: Simplify initialization of platform encoding
Reviewed-by: redestad, sherman
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name javax/activation/ActivationDataFlavor
header extends java/awt/datatransfer/DataFlavor flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V flags 1
method name <init> descriptor (Ljava/lang/Class;Ljava/lang/String;)V flags 1
method name <init> descriptor (Ljava/lang/String;Ljava/lang/String;)V flags 1
method name getMimeType descriptor ()Ljava/lang/String; flags 1
method name getRepresentationClass descriptor ()Ljava/lang/Class; flags 1
method name getHumanPresentableName descriptor ()Ljava/lang/String; flags 1
method name setHumanPresentableName descriptor (Ljava/lang/String;)V flags 1
method name equals descriptor (Ljava/awt/datatransfer/DataFlavor;)Z flags 1
method name isMimeTypeEqual descriptor (Ljava/lang/String;)Z flags 1
method name normalizeMimeTypeParameter descriptor (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; flags 4 deprecated true
method name normalizeMimeType descriptor (Ljava/lang/String;)Ljava/lang/String; flags 4 deprecated true
class name javax/activation/CommandInfo
header extends java/lang/Object flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor (Ljava/lang/String;Ljava/lang/String;)V flags 1
method name getCommandName descriptor ()Ljava/lang/String; flags 1
method name getCommandClass descriptor ()Ljava/lang/String; flags 1
method name getCommandObject descriptor (Ljavax/activation/DataHandler;Ljava/lang/ClassLoader;)Ljava/lang/Object; thrownTypes java/io/IOException,java/lang/ClassNotFoundException flags 1
class name javax/activation/CommandMap
header extends java/lang/Object flags 421 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor ()V flags 1
method name getDefaultCommandMap descriptor ()Ljavax/activation/CommandMap; flags 9
method name setDefaultCommandMap descriptor (Ljavax/activation/CommandMap;)V flags 9
method name getPreferredCommands descriptor (Ljava/lang/String;)[Ljavax/activation/CommandInfo; flags 401
method name getPreferredCommands descriptor (Ljava/lang/String;Ljavax/activation/DataSource;)[Ljavax/activation/CommandInfo; flags 1
method name getAllCommands descriptor (Ljava/lang/String;)[Ljavax/activation/CommandInfo; flags 401
method name getAllCommands descriptor (Ljava/lang/String;Ljavax/activation/DataSource;)[Ljavax/activation/CommandInfo; flags 1
method name getCommand descriptor (Ljava/lang/String;Ljava/lang/String;)Ljavax/activation/CommandInfo; flags 401
method name getCommand descriptor (Ljava/lang/String;Ljava/lang/String;Ljavax/activation/DataSource;)Ljavax/activation/CommandInfo; flags 1
method name createDataContentHandler descriptor (Ljava/lang/String;)Ljavax/activation/DataContentHandler; flags 401
method name createDataContentHandler descriptor (Ljava/lang/String;Ljavax/activation/DataSource;)Ljavax/activation/DataContentHandler; flags 1
method name getMimeTypes descriptor ()[Ljava/lang/String; flags 1
class name javax/activation/CommandObject
header extends java/lang/Object flags 601 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name setCommandContext descriptor (Ljava/lang/String;Ljavax/activation/DataHandler;)V thrownTypes java/io/IOException flags 401
class name javax/activation/DataContentHandler
header extends java/lang/Object flags 601 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name getTransferDataFlavors descriptor ()[Ljava/awt/datatransfer/DataFlavor; flags 401
method name getTransferData descriptor (Ljava/awt/datatransfer/DataFlavor;Ljavax/activation/DataSource;)Ljava/lang/Object; thrownTypes java/awt/datatransfer/UnsupportedFlavorException,java/io/IOException flags 401
method name getContent descriptor (Ljavax/activation/DataSource;)Ljava/lang/Object; thrownTypes java/io/IOException flags 401
method name writeTo descriptor (Ljava/lang/Object;Ljava/lang/String;Ljava/io/OutputStream;)V thrownTypes java/io/IOException flags 401
class name javax/activation/DataContentHandlerFactory
header extends java/lang/Object flags 601 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name createDataContentHandler descriptor (Ljava/lang/String;)Ljavax/activation/DataContentHandler; flags 401
class name javax/activation/DataHandler
header extends java/lang/Object implements java/awt/datatransfer/Transferable flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor (Ljavax/activation/DataSource;)V flags 1
method name <init> descriptor (Ljava/lang/Object;Ljava/lang/String;)V flags 1
method name <init> descriptor (Ljava/net/URL;)V flags 1
method name getDataSource descriptor ()Ljavax/activation/DataSource; flags 1
method name getName descriptor ()Ljava/lang/String; flags 1
method name getContentType descriptor ()Ljava/lang/String; flags 1
method name getInputStream descriptor ()Ljava/io/InputStream; thrownTypes java/io/IOException flags 1
method name writeTo descriptor (Ljava/io/OutputStream;)V thrownTypes java/io/IOException flags 1
method name getOutputStream descriptor ()Ljava/io/OutputStream; thrownTypes java/io/IOException flags 1
method name getTransferDataFlavors descriptor ()[Ljava/awt/datatransfer/DataFlavor; flags 21
method name isDataFlavorSupported descriptor (Ljava/awt/datatransfer/DataFlavor;)Z flags 1
method name getTransferData descriptor (Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object; thrownTypes java/awt/datatransfer/UnsupportedFlavorException,java/io/IOException flags 1
method name setCommandMap descriptor (Ljavax/activation/CommandMap;)V flags 21
method name getPreferredCommands descriptor ()[Ljavax/activation/CommandInfo; flags 1
method name getAllCommands descriptor ()[Ljavax/activation/CommandInfo; flags 1
method name getCommand descriptor (Ljava/lang/String;)Ljavax/activation/CommandInfo; flags 1
method name getContent descriptor ()Ljava/lang/Object; thrownTypes java/io/IOException flags 1
method name getBean descriptor (Ljavax/activation/CommandInfo;)Ljava/lang/Object; flags 1
method name setDataContentHandlerFactory descriptor (Ljavax/activation/DataContentHandlerFactory;)V flags 29
class name javax/activation/DataSource
header extends java/lang/Object flags 601 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name getInputStream descriptor ()Ljava/io/InputStream; thrownTypes java/io/IOException flags 401
method name getOutputStream descriptor ()Ljava/io/OutputStream; thrownTypes java/io/IOException flags 401
method name getContentType descriptor ()Ljava/lang/String; flags 401
method name getName descriptor ()Ljava/lang/String; flags 401
class name javax/activation/FileDataSource
header extends java/lang/Object implements javax/activation/DataSource flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor (Ljava/io/File;)V flags 1
method name <init> descriptor (Ljava/lang/String;)V flags 1
method name getInputStream descriptor ()Ljava/io/InputStream; thrownTypes java/io/IOException flags 1
method name getOutputStream descriptor ()Ljava/io/OutputStream; thrownTypes java/io/IOException flags 1
method name getContentType descriptor ()Ljava/lang/String; flags 1
method name getName descriptor ()Ljava/lang/String; flags 1
method name getFile descriptor ()Ljava/io/File; flags 1
method name setFileTypeMap descriptor (Ljavax/activation/FileTypeMap;)V flags 1
class name javax/activation/FileTypeMap
header extends java/lang/Object flags 421 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor ()V flags 1
method name getContentType descriptor (Ljava/io/File;)Ljava/lang/String; flags 401
method name getContentType descriptor (Ljava/lang/String;)Ljava/lang/String; flags 401
method name setDefaultFileTypeMap descriptor (Ljavax/activation/FileTypeMap;)V flags 9
method name getDefaultFileTypeMap descriptor ()Ljavax/activation/FileTypeMap; flags 9
class name javax/activation/MailcapCommandMap
header extends javax/activation/CommandMap flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor ()V flags 1
method name <init> descriptor (Ljava/lang/String;)V thrownTypes java/io/IOException flags 1
method name <init> descriptor (Ljava/io/InputStream;)V flags 1
method name getPreferredCommands descriptor (Ljava/lang/String;)[Ljavax/activation/CommandInfo; flags 21
method name getAllCommands descriptor (Ljava/lang/String;)[Ljavax/activation/CommandInfo; flags 21
method name getCommand descriptor (Ljava/lang/String;Ljava/lang/String;)Ljavax/activation/CommandInfo; flags 21
method name addMailcap descriptor (Ljava/lang/String;)V flags 21
method name createDataContentHandler descriptor (Ljava/lang/String;)Ljavax/activation/DataContentHandler; flags 21
method name getMimeTypes descriptor ()[Ljava/lang/String; flags 21
method name getNativeCommands descriptor (Ljava/lang/String;)[Ljava/lang/String; flags 21
class name javax/activation/MimeType
header extends java/lang/Object implements java/io/Externalizable flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor ()V flags 1
method name <init> descriptor (Ljava/lang/String;)V thrownTypes javax/activation/MimeTypeParseException flags 1
method name <init> descriptor (Ljava/lang/String;Ljava/lang/String;)V thrownTypes javax/activation/MimeTypeParseException flags 1
method name getPrimaryType descriptor ()Ljava/lang/String; flags 1
method name setPrimaryType descriptor (Ljava/lang/String;)V thrownTypes javax/activation/MimeTypeParseException flags 1
method name getSubType descriptor ()Ljava/lang/String; flags 1
method name setSubType descriptor (Ljava/lang/String;)V thrownTypes javax/activation/MimeTypeParseException flags 1
method name getParameters descriptor ()Ljavax/activation/MimeTypeParameterList; flags 1
method name getParameter descriptor (Ljava/lang/String;)Ljava/lang/String; flags 1
method name setParameter descriptor (Ljava/lang/String;Ljava/lang/String;)V flags 1
method name removeParameter descriptor (Ljava/lang/String;)V flags 1
method name toString descriptor ()Ljava/lang/String; flags 1
method name getBaseType descriptor ()Ljava/lang/String; flags 1
method name match descriptor (Ljavax/activation/MimeType;)Z flags 1
method name match descriptor (Ljava/lang/String;)Z thrownTypes javax/activation/MimeTypeParseException flags 1
method name writeExternal descriptor (Ljava/io/ObjectOutput;)V thrownTypes java/io/IOException flags 1
method name readExternal descriptor (Ljava/io/ObjectInput;)V thrownTypes java/io/IOException,java/lang/ClassNotFoundException flags 1
class name javax/activation/MimeTypeParameterList
header extends java/lang/Object flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor ()V flags 1
method name <init> descriptor (Ljava/lang/String;)V thrownTypes javax/activation/MimeTypeParseException flags 1
method name parse descriptor (Ljava/lang/String;)V thrownTypes javax/activation/MimeTypeParseException flags 4
method name size descriptor ()I flags 1
method name isEmpty descriptor ()Z flags 1
method name get descriptor (Ljava/lang/String;)Ljava/lang/String; flags 1
method name set descriptor (Ljava/lang/String;Ljava/lang/String;)V flags 1
method name remove descriptor (Ljava/lang/String;)V flags 1
method name getNames descriptor ()Ljava/util/Enumeration; flags 1
method name toString descriptor ()Ljava/lang/String; flags 1
class name javax/activation/MimeTypeParseException
header extends java/lang/Exception flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor ()V flags 1
method name <init> descriptor (Ljava/lang/String;)V flags 1
class name javax/activation/MimetypesFileTypeMap
header extends javax/activation/FileTypeMap flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor ()V flags 1
method name <init> descriptor (Ljava/lang/String;)V thrownTypes java/io/IOException flags 1
method name <init> descriptor (Ljava/io/InputStream;)V flags 1
method name addMimeTypes descriptor (Ljava/lang/String;)V flags 21
method name getContentType descriptor (Ljava/io/File;)Ljava/lang/String; flags 1
method name getContentType descriptor (Ljava/lang/String;)Ljava/lang/String; flags 21
class name javax/activation/URLDataSource
header extends java/lang/Object implements javax/activation/DataSource flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor (Ljava/net/URL;)V flags 1
method name getContentType descriptor ()Ljava/lang/String; flags 1
method name getName descriptor ()Ljava/lang/String; flags 1
method name getInputStream descriptor ()Ljava/io/InputStream; thrownTypes java/io/IOException flags 1
method name getOutputStream descriptor ()Ljava/io/OutputStream; thrownTypes java/io/IOException flags 1
method name getURL descriptor ()Ljava/net/URL; flags 1
class name javax/activation/UnsupportedDataTypeException
header extends java/io/IOException flags 21 classAnnotations @Ljdk/Profile+Annotation;(value=I4)
method name <init> descriptor ()V flags 1
method name <init> descriptor (Ljava/lang/String;)V flags 1